Add a new field SYSID_BOARD_RAM_SIZE_MB to sysinfo structure to store the size of RAM in MB. dram_init can use this field to get the RAM size via sysinfo driver.
Signed-off-by: Baocheng Su <baocheng...@siemens.com> --- (no changes since v3) Changes in v3: - New include/sysinfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sysinfo.h b/include/sysinfo.h index 2866ac293cbb..e87cf969fcd1 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -153,6 +153,7 @@ enum sysinfo_id { SYSID_BOARD_MODEL, SYSID_BOARD_MANUFACTURER, SYSID_BOARD_MAC_ADDR, + SYSID_BOARD_RAM_SIZE_MB, SYSID_PRIOR_STAGE_VERSION, SYSID_PRIOR_STAGE_DATE, -- 2.39.5