git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920629c
)
sysinfo: Add SYSID_BOARD_RAM_SIZE_MB
author
Baocheng Su
<baocheng.su@siemens.com>
Tue, 18 Feb 2025 02:36:12 +0000
(10:36 +0800)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/include/sysinfo.h
b/include/sysinfo.h
index
2866ac2
..
e87cf96
100644
(file)
--- 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,