diff options
author | Chris Packham <judge.packham@gmail.com> | 2016-09-22 12:56:13 +1200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2016-09-24 10:07:48 +0200 |
commit | 53d601fdcd9815abeed1acc42b827526e4f5ef2a (patch) | |
tree | 719a2b7009f6cb8b07a555aeb1dce2d66bb64f25 /arch | |
parent | 9ed00b072be8fe346604eaec805359fa762fcb59 (diff) | |
download | u-boot-53d601fdcd9815abeed1acc42b827526e4f5ef2a.zip u-boot-53d601fdcd9815abeed1acc42b827526e4f5ef2a.tar.gz u-boot-53d601fdcd9815abeed1acc42b827526e4f5ef2a.tar.bz2 |
arm: mvebu: create generic 88F6820 config option
88F6820 is a specific Armada-38x chip that is used on the DB-88F6820-GP
board. Rather than having DB_88F6820_GP and TARGET_DB_88F6820_GP which
selects the former. Rename DB_88F6820_GP to 88F6820 so that other boards
using the 88F6820 can be added.
Stefan:
Change 88F6820 for clearfog as well.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mvebu/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 220886a..8ce0c9e 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -21,7 +21,7 @@ config MV78460 bool select ARMADA_XP -config DB_88F6820_GP +config 88F6820 bool select ARMADA_38X @@ -31,7 +31,7 @@ choice config TARGET_CLEARFOG bool "Support ClearFog" - select DB_88F6820_GP + select 88F6820 config TARGET_DB_88F6720 bool "Support DB-88F6720 Armada 375" @@ -39,7 +39,7 @@ config TARGET_DB_88F6720 config TARGET_DB_88F6820_GP bool "Support DB-88F6820-GP" - select DB_88F6820_GP + select 88F6820 config TARGET_DB_MV784MP_GP bool "Support db-mv784mp-gp" diff --git a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c index 49d704a..cc3e5e2 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c +++ b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c @@ -45,7 +45,7 @@ u32 g_dev_id = -1; u32 mv_board_id_get(void) { -#if defined(CONFIG_DB_88F6820_GP) +#if defined(CONFIG_TARGET_DB_88F6820_GP) return DB_GP_68XX_ID; #else /* |