[U-Boot] [PATCH] Move CONFIG_MXC_UART macro

Marek Vasut marek.vasut at gmail.com
Sun Dec 25 14:46:57 CET 2016


On 12/25/2016 06:34 AM, Suniel Mahesh wrote:
> move CONFIG_MXC_UART from include/configs/*.h to configs
> 
> Signed-off-by: Suniel Mahesh <suniel at openedev.com>
> 
> ---
> 
>  Kconfig                                   | 10 ++++++++++
>  configs/apalis_imx6_defconfig             |  3 +--
>  configs/apalis_imx6_nospl_com_defconfig   |  1 +
>  configs/apalis_imx6_nospl_it_defconfig    |  3 +--
>  configs/apf27_defconfig                   |  1 +
>  configs/aristainetos2_defconfig           |  1 +
>  configs/aristainetos2b_defconfig          |  1 +
>  configs/aristainetos_defconfig            |  1 +
>  configs/cgtqmx6eval_defconfig             |  1 +
>  configs/cm_fx6_defconfig                  |  1 +
>  configs/colibri_imx6_defconfig            |  1 +
>  configs/colibri_imx6_nospl_defconfig      |  3 +--
>  configs/colibri_imx7_defconfig            |  1 +
>  configs/dms-ba16-1g_defconfig             |  3 ++-
>  configs/dms-ba16_defconfig                |  3 ++-
>  configs/flea3_defconfig                   |  1 +
>  configs/ge_b450v3_defconfig               |  3 ++-
>  configs/ge_b650v3_defconfig               |  3 ++-
>  configs/ge_b850v3_defconfig               |  3 ++-
>  configs/gwventana_defconfig               |  1 +
>  configs/imx31_phycore_defconfig           |  1 +
>  configs/imx31_phycore_eet_defconfig       |  1 +
>  configs/liteboard_defconfig               |  1 +
>  configs/m53evk_defconfig                  |  1 +
>  configs/marsboard_defconfig               |  1 +
>  configs/mx25pdk_defconfig                 |  3 ++-
>  configs/mx31ads_defconfig                 |  1 +
>  configs/mx31pdk_defconfig                 |  1 +
>  configs/mx35pdk_defconfig                 |  1 +
>  configs/mx51evk_defconfig                 |  1 +
>  configs/mx53ard_defconfig                 |  3 ++-
>  configs/mx53evk_defconfig                 |  1 +
>  configs/mx53loco_defconfig                |  1 +
>  configs/mx53smd_defconfig                 |  1 +
>  configs/mx6cuboxi_defconfig               |  1 +
>  configs/mx6dlarm2_defconfig               |  1 +
>  configs/mx6dlarm2_lpddr2_defconfig        |  1 +
>  configs/mx6dlsabreauto_defconfig          |  1 +
>  configs/mx6dlsabresd_defconfig            |  1 +
>  configs/mx6qarm2_defconfig                |  1 +
>  configs/mx6qarm2_lpddr2_defconfig         |  1 +
>  configs/mx6qpsabreauto_defconfig          |  1 +
>  configs/mx6qsabreauto_defconfig           |  1 +
>  configs/mx6qsabrelite_defconfig           |  1 +
>  configs/mx6qsabresd_defconfig             |  1 +
>  configs/mx6sabresd_spl_defconfig          |  1 +
>  configs/mx6slevk_defconfig                |  1 +
>  configs/mx6slevk_spinor_defconfig         |  1 +
>  configs/mx6slevk_spl_defconfig            |  1 +
>  configs/mx6sllevk_defconfig               |  1 +
>  configs/mx6sllevk_plugin_defconfig        |  1 +
>  configs/mx6sxsabreauto_defconfig          |  1 +
>  configs/mx6sxsabresd_defconfig            |  1 +
>  configs/mx6sxsabresd_spl_defconfig        |  1 +
>  configs/mx6ul_14x14_evk_defconfig         |  1 +
>  configs/mx6ul_9x9_evk_defconfig           |  1 +
>  configs/mx6ull_14x14_evk_defconfig        |  1 +
>  configs/mx6ull_14x14_evk_plugin_defconfig |  3 ++-
>  configs/mx7dsabresd_defconfig             |  1 +
>  configs/mx7dsabresd_secure_defconfig      |  7 ++++---
>  configs/nitrogen6dl2g_defconfig           |  1 +
>  configs/nitrogen6dl_defconfig             |  1 +
>  configs/nitrogen6q2g_defconfig            |  1 +
>  configs/nitrogen6q_defconfig              |  1 +
>  configs/nitrogen6s1g_defconfig            |  1 +
>  configs/nitrogen6s_defconfig              |  1 +
>  configs/novena_defconfig                  |  1 +
>  configs/ot1200_defconfig                  |  1 +
>  configs/ot1200_spl_defconfig              |  1 +
>  configs/pcm058_defconfig                  |  1 +
>  configs/pico-imx6ul_defconfig             |  3 ++-
>  configs/platinum_picon_defconfig          |  1 +
>  configs/platinum_titanium_defconfig       |  1 +
>  configs/riotboard_defconfig               |  1 +
>  configs/secomx6quq7_defconfig             |  1 +
>  configs/tbs2910_defconfig                 |  1 +
>  configs/titanium_defconfig                |  1 +
>  configs/tqma6q_mba6_mmc_defconfig         |  3 ++-
>  configs/tqma6q_mba6_spi_defconfig         |  3 ++-
>  configs/tqma6s_mba6_mmc_defconfig         |  3 ++-
>  configs/tqma6s_mba6_spi_defconfig         |  3 ++-
>  configs/tqma6s_wru4_mmc_defconfig         |  3 ++-
>  configs/ts4800_defconfig                  |  1 +
>  configs/udoo_defconfig                    |  1 +
>  configs/udoo_neo_defconfig                |  3 ++-
>  configs/usbarmory_defconfig               |  1 +
>  configs/vining_2000_defconfig             |  3 +--
>  configs/wandboard_defconfig               |  1 +
>  configs/warp7_defconfig                   |  1 +
>  configs/warp7_secure_defconfig            |  1 +
>  configs/warp_defconfig                    |  1 +
>  configs/woodburn_defconfig                |  1 +
>  configs/woodburn_sd_defconfig             |  1 +
>  configs/xpress_defconfig                  |  1 +
>  configs/xpress_spl_defconfig              |  1 +
>  configs/zc5202_defconfig                  |  1 +
>  configs/zc5601_defconfig                  |  1 +
>  configs/zmx25_defconfig                   |  1 +
>  include/configs/advantech_dms-ba16.h      |  1 -
>  include/configs/apalis_imx6.h             |  1 -
>  include/configs/apf27.h                   |  1 -
>  include/configs/aristainetos-common.h     |  2 --
>  include/configs/cgtqmx6eval.h             |  1 -
>  include/configs/cm_fx6.h                  |  1 -
>  include/configs/colibri_imx6.h            |  1 -
>  include/configs/el6x_common.h             |  2 --
>  include/configs/embestmx6boards.h         |  2 --
>  include/configs/flea3.h                   |  1 -
>  include/configs/ge_bx50v3.h               |  1 -
>  include/configs/gw_ventana.h              |  1 -
>  include/configs/imx27lite-common.h        |  1 -
>  include/configs/imx31_phycore.h           |  1 -
>  include/configs/liteboard.h               |  1 -
>  include/configs/m53evk.h                  |  1 -
>  include/configs/mx25pdk.h                 |  1 -
>  include/configs/mx31ads.h                 |  1 -
>  include/configs/mx31pdk.h                 |  1 -
>  include/configs/mx35pdk.h                 |  1 -
>  include/configs/mx51evk.h                 |  1 -
>  include/configs/mx53ard.h                 |  1 -
>  include/configs/mx53evk.h                 |  1 -
>  include/configs/mx53loco.h                |  1 -
>  include/configs/mx53smd.h                 |  1 -
>  include/configs/mx6cuboxi.h               |  1 -
>  include/configs/mx6qarm2.h                |  1 -
>  include/configs/mx6sabre_common.h         |  2 --
>  include/configs/mx6slevk.h                |  1 -
>  include/configs/mx6sllevk.h               |  1 -
>  include/configs/mx6sxsabreauto.h          |  1 -
>  include/configs/mx6sxsabresd.h            |  1 -
>  include/configs/mx6ul_14x14_evk.h         |  1 -
>  include/configs/mx6ullevk.h               |  1 -
>  include/configs/mx7_common.h              |  1 -
>  include/configs/nitrogen6x.h              |  1 -
>  include/configs/novena.h                  |  1 -
>  include/configs/ot1200.h                  |  1 -
>  include/configs/pcm058.h                  |  1 -
>  include/configs/pico-imx6ul.h             |  1 -
>  include/configs/platinum.h                |  1 -
>  include/configs/secomx6quq7.h             |  1 -
>  include/configs/tbs2910.h                 |  1 -
>  include/configs/titanium.h                |  1 -
>  include/configs/tqma6.h                   |  2 --
>  include/configs/ts4800.h                  |  1 -
>  include/configs/udoo.h                    |  1 -
>  include/configs/udoo_neo.h                |  1 -
>  include/configs/usbarmory.h               |  1 -
>  include/configs/vining_2000.h             |  1 -
>  include/configs/wandboard.h               |  1 -
>  include/configs/warp.h                    |  1 -
>  include/configs/woodburn_common.h         |  1 -
>  include/configs/xpress.h                  |  1 -
>  include/configs/zmx25.h                   |  1 -
>  153 files changed, 125 insertions(+), 86 deletions(-)
> 
> diff --git a/Kconfig b/Kconfig
> index a44ac91..52c598b 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -324,3 +324,13 @@ source "fs/Kconfig"
>  source "lib/Kconfig"
>  
>  source "test/Kconfig"
> +
> +menu "moving CONFIG macros"
> +
> +config MXC_UART
> +        bool "CONFIG_MXC_UART"
> +        help
> +          Move CONFIG_MXC_UART for all the architecture
> +
> +endmenu

This is an UART driver, so it should be in drivers/serial .
The help message is completely bogus for this entry too.
It'd be much better to just default y for this on all MXC
systems instead of patching all the defconfigs.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list