[PATCH 4/6] sysinfo: add IDs for RAM size and variant
Simon Glass
sjg at chromium.org
Fri May 8 20:00:45 CEST 2026
Hi Nora,
On 2026-05-08T08:48:28, Feilke, Alexander
<Alexander.Feilke at ew.tq-group.com> wrote:
> sysinfo: add IDs for RAM size and variant
>
> The interpretation of the RAM variant is board-specific. Still
> add it as a generic ID, so it can be exposed to RAM drivers.
>
> Signed-off-by: Nora Schiffer <nora.schiffer at ew.tq-group.com>
> Signed-off-by: Alexander Feilke <alexander.feilke at ew.tq-group.com>
>
> include/sysinfo.h | 3 +++
> 1 file changed, 3 insertions(+)
> 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.
Regards,
Simon
More information about the U-Boot
mailing list