sysinfo: Add SYSID_BOARD_RAM_SIZE_MB
authorBaocheng Su <baocheng.su@siemens.com>
Tue, 18 Feb 2025 02:36:12 +0000 (10:36 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 28 Feb 2025 14:41:54 +0000 (08:41 -0600)
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.su@siemens.com>
include/sysinfo.h

index 2866ac2..e87cf96 100644 (file)
@@ -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,