summaryrefslogtreecommitdiff
path: root/include/sysinfo.h
diff options
context:
space:
mode:
authorBaocheng Su <[email protected]>2025-02-18 10:36:12 +0800
committerTom Rini <[email protected]>2025-02-28 08:41:54 -0600
commitc01d633c750e44780843845944256b93869c2b6f (patch)
treeac81cc884ce27585379097b0604513d2d1703c1a /include/sysinfo.h
parent920629c5942dc458b2b818a59ba789601185a101 (diff)
sysinfo: Add SYSID_BOARD_RAM_SIZE_MB
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 <[email protected]>
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index 2866ac293cb..e87cf969fcd 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,