cubieboard: Initialize memory in bootblock
commit5d8b0a9fb31ff5d595aab08165ce686dd1a65dfc
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 31 Dec 2013 05:57:30 +0000 (31 00:57 -0500)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 9 Jan 2014 00:12:56 +0000 (9 01:12 +0100)
tree4ffabd476b127f396b68866469bf52427f2f15d0
parent391622ae30d36ff6a666892d2da7eba67120a400
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>
src/cpu/allwinner/a10/Makefile.inc
src/mainboard/cubietech/cubieboard/bootblock.c