[PATCH 1/3] ARM: clps711x: clep7212: Increase the wait state for chip select 3
Alexander Shiyan
shc_work at mail.ru
Fri Jul 15 21:26:19 PDT 2016
CS3 is used for a variety of external bus devices.
Increase the wait state for this chip select for the possibility
of more widespread use.
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
arch/arm/boards/clep7212/clep7212.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/clep7212/clep7212.c b/arch/arm/boards/clep7212/clep7212.c
index de125ea..dfdd0d3 100644
--- a/arch/arm/boards/clep7212/clep7212.c
+++ b/arch/arm/boards/clep7212/clep7212.c
@@ -30,7 +30,7 @@ static int clps711x_devices_init(void)
clps711x_setup_memcfg(1, MEMCFG_WAITSTATE_6_1 | MEMCFG_BUS_WIDTH_8);
clps711x_setup_memcfg(2, MEMCFG_WAITSTATE_8_3 | MEMCFG_BUS_WIDTH_16 |
MEMCFG_CLKENB);
- clps711x_setup_memcfg(3, MEMCFG_WAITSTATE_6_1 | MEMCFG_BUS_WIDTH_32);
+ clps711x_setup_memcfg(3, MEMCFG_WAITSTATE_7_1 | MEMCFG_BUS_WIDTH_32);
cfi_io = map_io_sections(CS0_BASE, (void *)0x90000000, SZ_32M);
add_cfi_flash_device(DEVICE_ID_DYNAMIC, (unsigned long)cfi_io, SZ_32M,
--
2.4.9
More information about the barebox
mailing list