Show DRAM size in early stage

This commit is contained in:
Takumi Sueda 2020-05-15 20:33:22 +09:00
parent 7cc38fda11
commit dcbee452e2

View File

@ -136,6 +136,8 @@ void mxs_common_spl_init(const uint32_t arg, const uint32_t *resptr,
data->mem_dram_size = mxs_mem_get_size();
data->boot_mode_idx = bootmode;
printf("dram_size=%08x mode=%08x\n", data->mem_dram_size, data->boot_mode_idx);
data->mem_dram_size = 0x8000000;
mxs_power_wait_pswitch();