cubieboard: Initialize memory in bootblock
Even though the Allwinner A10 is limited to a 24KiB bootblock, the memory initialization takes only about 3KiB and leaves enough room for an MMC or NAND driver, so init the memory early on. The advantage is that we can eliminate complicated logistics of where to cache CBFS and where to load the ramstage in SRAM. Change-Id: Id549552ed509434e831db60deaef28e04d62417f Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4630 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
bootblock-y += clock.c
|
||||
bootblock-y += raminit.c
|
||||
bootblock-y += gpio.c
|
||||
bootblock-y += pinmux.c
|
||||
bootblock-y += timer.c
|
||||
bootblock-y += bootblock_media.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart_console.c
|
||||
|
Reference in New Issue
Block a user