diff options
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 "" |