From: Heiko Schocher Date: Tue, 24 Jan 2023 17:06:55 +0000 (+0100) Subject: powerpc/mpc85xx: socrates: drop second flash bank X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=aeb9db908026faf14d6ed96ef7fe0d99493dc90e;p=u-boot.git powerpc/mpc85xx: socrates: drop second flash bank drop second flash bank, as not used anymore. Signed-off-by: Heiko Schocher --- diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index 17c12aed7d..770f37a0be 100644 --- a/configs/socrates_defconfig +++ b/configs/socrates_defconfig @@ -68,9 +68,6 @@ CONFIG_CHIP_SELECTS_PER_CTRL=2 CONFIG_SYS_BR0_PRELIM_BOOL=y CONFIG_SYS_BR0_PRELIM=0xFE001001 CONFIG_SYS_OR0_PRELIM=0xFE000030 -CONFIG_SYS_BR1_PRELIM_BOOL=y -CONFIG_SYS_BR1_PRELIM=0xFC001001 -CONFIG_SYS_OR1_PRELIM=0xFE000030 CONFIG_SYS_BR2_PRELIM_BOOL=y CONFIG_SYS_BR2_PRELIM=0xC80018A1 CONFIG_SYS_OR2_PRELIM=0xFC000000 @@ -89,7 +86,6 @@ CONFIG_FLASH_CFI_MTD=y CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_FLASH_QUIET_TEST=y CONFIG_SYS_MAX_FLASH_SECT=256 -CONFIG_SYS_MAX_FLASH_BANKS=2 CONFIG_MTD_RAW_NAND=y CONFIG_PHY_LXT=y CONFIG_PHY_MARVELL=y diff --git a/include/configs/socrates.h b/include/configs/socrates.h index ed1003158b..e2afba96cd 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -66,10 +66,9 @@ * Flash on the LocalBus */ #define CFG_SYS_FLASH0 0xFE000000 -#define CFG_SYS_FLASH1 0xFC000000 -#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH1, CFG_SYS_FLASH0 } +#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH0 } -#define CFG_SYS_LBC_FLASH_BASE CFG_SYS_FLASH1 /* Localbus flash start */ +#define CFG_SYS_LBC_FLASH_BASE CFG_SYS_FLASH0 /* Localbus flash start */ #define CFG_SYS_FLASH_BASE CFG_SYS_LBC_FLASH_BASE /* start of FLASH */ #define CFG_SYS_LBC_LCRR 0x00030004 /* LB clock ratio reg */