Initialize 4th RAM bank with CONFIG_EP93XX_SDRAM_BANK3_SIZE, not CONFIG_EP93XX_SDRAM_BANK2_SIZE. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/edb93xx/edb93xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/edb93xx/edb93xx.c b/arch/arm/boards/edb93xx/edb93xx.c index d83980d..c314320 100644 --- a/arch/arm/boards/edb93xx/edb93xx.c +++ b/arch/arm/boards/edb93xx/edb93xx.c @@ -45,7 +45,7 @@ static int ep93xx_mem_init(void) #endif #if (CONFIG_EP93XX_SDRAM_NUM_BANKS == 4) arm_add_mem_device("ram3", CONFIG_EP93XX_SDRAM_BANK3_BASE, - CONFIG_EP93XX_SDRAM_BANK2_SIZE); + CONFIG_EP93XX_SDRAM_BANK3_SIZE); #endif return 0; -- 2.1.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox