litedram: only run sdram init at first boot
authorMatt Johnston <matt@codeconstruct.com.au>
Thu, 27 Oct 2022 03:20:27 +0000 (11:20 +0800)
committerMatt Johnston <matt@codeconstruct.com.au>
Mon, 31 Oct 2022 06:41:15 +0000 (14:41 +0800)
commit1874cad5b70309f5a690527661bc1ad2b0276e08
tree5144e4e8180ab51bec31b9a700640918657c475a
parent4bd45af739214d8659a4940485500ae508399ecd
litedram: only run sdram init at first boot

Subsequent boots can skip the dram configuration, it will already
be in a usable state.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
litedram/gen-src/sdram_init/main.c