[PATCH 4/6] sysinfo: add IDs for RAM size and variant

Feilke, Alexander alexander.feilke at ew.tq-group.com
Mon May 11 10:44:37 CEST 2026


Hi Simon,

On 08/05/2026 20:00, Simon Glass wrote:
>> diff --git a/include/sysinfo.h b/include/sysinfo.h
>> @@ -161,6 +161,9 @@ enum sysinfo_id {
>>       SYSID_PRIOR_STAGE_VERSION,
>>       SYSID_PRIOR_STAGE_DATE,
>>
>> +     SYSID_RAM_SIZE,
>> +     SYSID_RAM_VARIANT,
>> +
> Please document the units, e.g. SYSID_BOARD_RAM_SIZE_MB encodes the
> unit in the name.

Since SYSID_BOARD_RAM_SIZE_MB is only used by siemens iot2050 and effectively serves the same
purpose, it would be an option to simply rename it to SYSID_RAM_SIZE_MB and reuse this already
existing ID, instead of introducing a new one for RAM soldered on the SoM.

Regards,
Alex


More information about the U-Boot mailing list