diff options
author | Tom Rini <trini@konsulko.com> | 2017-10-22 17:55:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-05 11:21:35 -0500 |
commit | 43ede0bca7fc1590b623832b743213b818257a27 (patch) | |
tree | c7612aadc5ff9c2768b26d383858d83b7339b13b /include/configs/km | |
parent | 804dcf771aacc75f595d3656be0ca6a7887b6672 (diff) | |
download | u-boot-43ede0bca7fc1590b623832b743213b818257a27.tar.gz |
Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.
Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/km')
-rw-r--r-- | include/configs/km/keymile-common.h | 4 | ||||
-rw-r--r-- | include/configs/km/km83xx-common.h | 13 | ||||
-rw-r--r-- | include/configs/km/km_arm.h | 10 | ||||
-rw-r--r-- | include/configs/km/kmp204x-common.h | 10 |
4 files changed, 2 insertions, 35 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 1971ba4f7e..4d9a133dd4 100644 --- a/include/configs/km/keymile-common.h +++ b/include/configs/km/keymile-common.h @@ -215,8 +215,8 @@ "init=/sbin/init-overlay.sh\0" \ "load_addr_r="__stringify(CONFIG_KM_KERNEL_ADDR) "\0" \ "load=tftpboot ${load_addr_r} ${u-boot}\0" \ - "mtdids=" MTDIDS_DEFAULT "\0" \ - "mtdparts=" MTDPARTS_DEFAULT "\0" \ + "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ + "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "" #endif /* CONFIG_KM_DEF_ENV */ diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h index 810b23e8fa..f0ec5cf405 100644 --- a/include/configs/km/km83xx-common.h +++ b/include/configs/km/km83xx-common.h @@ -12,19 +12,6 @@ #include "keymile-common.h" #include "km-powerpc.h" -#ifndef MTDIDS_DEFAULT -# define MTDIDS_DEFAULT "nor0=boot" -#endif /* MTDIDS_DEFAULT */ - -#ifndef MTDPARTS_DEFAULT -# define MTDPARTS_DEFAULT "mtdparts=" \ - "boot:" \ - "768k(u-boot)," \ - "128k(env)," \ - "128k(envred)," \ - "-(" CONFIG_KM_UBI_PARTITION_NAME_BOOT ");" -#endif /* MTDPARTS_DEFAULT */ - #define CONFIG_MISC_INIT_R /* * System Clock Setup diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 8866658b00..277f8be60e 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -227,16 +227,6 @@ int get_scl(void); #define FLASH_GPIO_PIN 0x00010000 #define KM_FLASH_GPIO_PIN 16 -#ifndef MTDIDS_DEFAULT -# define MTDIDS_DEFAULT "nand0=orion_nand" -#endif /* MTDIDS_DEFAULT */ - -#ifndef MTDPARTS_DEFAULT -# define MTDPARTS_DEFAULT "mtdparts=" \ - "orion_nand:" \ - "-(" CONFIG_KM_UBI_PARTITION_NAME_BOOT ");" -#endif /* MTDPARTS_DEFAULT */ - #define CONFIG_KM_UPDATE_UBOOT \ "update=" \ "sf probe 0;sf erase 0 +${filesize};" \ diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h index ff3bce8eea..6aa2b9d3cc 100644 --- a/include/configs/km/kmp204x-common.h +++ b/include/configs/km/kmp204x-common.h @@ -391,16 +391,6 @@ int get_scl(void); #define CONFIG_KM_DEF_ENV "km-common=empty\0" #endif -#ifndef MTDIDS_DEFAULT -# define MTDIDS_DEFAULT "nand0=fsl_elbc_nand" -#endif /* MTDIDS_DEFAULT */ - -#ifndef MTDPARTS_DEFAULT -# define MTDPARTS_DEFAULT "mtdparts=" \ - "fsl_elbc_nand:" \ - "-(" CONFIG_KM_UBI_PARTITION_NAME_BOOT ");" -#endif /* MTDPARTS_DEFAULT */ - /* architecture specific default bootargs */ #define CONFIG_KM_DEF_BOOT_ARGS_CPU "" |