rrright. ok. these modifications to sdram_init allow it
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 Jan 2022 15:34:38 +0000 (15:34 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 Jan 2022 15:34:38 +0000 (15:34 +0000)
commit9b5bd2d757966b696dddb1d0ec9dd1f953f38983
tree76921cb2801d17cf3d29ad054961da4a17ccf0b8
parent5a0fddb9771953112e24f9719fc8ec6d20bf24c9
rrright.  ok.  these modifications to sdram_init allow it
to be compiled and used stand-alone.  sdram initialisation is disabled.
the general idea here is to make this a useful mini-BIOS bootloader,
focussing initially on verilator start-up.  to that end, the first
addition is a SYS_REG_BRAM_BOOTADDR addition to syscon which is the
location where the chain-loading continues (if SPI and SDRAM are not
available, where SDRAM is definitely out at this point)
include/microwatt_soc.h
litedram/gen-src/sdram_init/Makefile
litedram/gen-src/sdram_init/head.S
litedram/gen-src/sdram_init/main.c