Drop the info structure parsing of the board in favor of our new sysinfo
driver to avoid code duplication.
Signed-off-by: Baocheng Su
Signed-off-by: Li Hua Qian
[Jan: rebasing, split-up, cleanup]
Signed-off-by: Jan Kiszka
---
(no changes since v3)
Changes in v3:
- reworked to align with the
This brings a sysinfo driver and DT entry for the IOT2050 board series.
It translates the board information passed from SE-Boot to SPL into
values that can be retrieved via the sysinfo API. Will is already used
to fill the SMBIOS table when booting via EFI.
Signed-off-by: Baocheng Su
Signed-off
This commit introduces a new API to the sysinfo module, allowing access
to data elements. This is particularly useful for handling data with
multiple instances, such as MAC addresses.
Signed-off-by: Baocheng Su
---
(no changes since v3)
Changes in v3:
- New
drivers/sysinfo/sysinfo-uclass.c
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
---
(no changes since v3)
Changes in v3:
- New
include/sysinfo.h | 1 +
1 file changed, 1 insertion
Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will
be first used by the IOT2050 boards.
Signed-off-by: Li Hua Qian
Signed-off-by: Jan Kiszka
Signed-off-by: Baocheng Su
---
(no changes since v3)
Changes in v3:
- use sysinfo_get_data to get the SMBios UUID bin
- s/strncpy
master, adding the missing 6.12 cherry-picks from
devicetree-rebasing
Baocheng Su (5):
smbios: Fill UUID from sysinfo when available
sysinfo: Add API for accessing data elements
sysinfo: Add SYSID_BOARD_RAM_SIZE_MB
sysinfo: Add driver for IOT2050 boards
board: siemens: iot2050: Use
This brings a sysinfo driver and DT entry for the IOT2050 board series.
It translates the board information passed from SE-Boot to SPL into
values that can be retrieved via the sysinfo API. Will is already used
to fill the SMBIOS table when booting via EFI.
Signed-off-by: Baocheng Su
Signed-off
Drop the info structure parsing of the board in favor of our new sysinfo
driver to avoid code duplication.
Signed-off-by: Baocheng Su
Signed-off-by: Li Hua Qian
[Jan: rebasing, split-up, cleanup]
Signed-off-by: Jan Kiszka
---
Changes in v3:
- reworked to align with the sysinfo driver updates
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
---
Changes in v3:
- New
include/sysinfo.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include
This commit introduces a new API to the sysinfo module, allowing access
to data elements. This is particularly useful for handling data with
multiple instances, such as MAC addresses.
Signed-off-by: Baocheng Su
---
Changes in v3:
- New
drivers/sysinfo/sysinfo-uclass.c | 29
Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will
be first used by the IOT2050 boards.
Signed-off-by: Li Hua Qian
Signed-off-by: Jan Kiszka
Signed-off-by: Baocheng Su
---
Changes in v3:
- use sysinfo_get_data to get the SMBios UUID bin
- s/strncpy/memcpy/ for the UUID
Baocheng Su (5):
smbios: Fill UUID from sysinfo when available
sysinfo: Add API for accessing data elements
sysinfo: Add SYSID_BOARD_RAM_SIZE_MB
sysinfo: Add driver for IOT2050 boards
board: siemens: iot2050: Use sysinfo for board initialization
.../dts/k3-am65-iot2050-common-u-boot.dtsi
12 matches
Mail list logo