Home
last modified time | relevance | path

Searched hist:"8 b42dfc3b6a2c9204be2fb1079d235daa1b733fc" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/cpu/coreboot/
H A Dsdram.c8b42dfc3b6a2c9204be2fb1079d235daa1b733fc Mon Apr 15 11:22:49 UTC 2013 Simon Glass <sjg@chromium.org> x86: Fix DRAM bank size init with generic board

The intention of the memory init code is that it should work the same with
CONFIG_SYS_GENERIC_BOARD and without. This is tricky because dram_init()
is called prior to relocation with generic board (matching other archs)
and after relocation without generic board.

Adjust the init sequence so that dram_init() is not called in the generic
board case, which seems like the easiest fix for now. Also ensure that
relocation addresses are still calculated.

Signed-off-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/common/
H A Dboard_f.c8b42dfc3b6a2c9204be2fb1079d235daa1b733fc Mon Apr 15 11:22:49 UTC 2013 Simon Glass <sjg@chromium.org> x86: Fix DRAM bank size init with generic board

The intention of the memory init code is that it should work the same with
CONFIG_SYS_GENERIC_BOARD and without. This is tricky because dram_init()
is called prior to relocation with generic board (matching other archs)
and after relocation without generic board.

Adjust the init sequence so that dram_init() is not called in the generic
board case, which seems like the easiest fix for now. Also ensure that
relocation addresses are still calculated.

Signed-off-by: Simon Glass <sjg@chromium.org>