> From: Janne Grunau <[email protected]> > Date: Fri, 16 Jan 2026 14:44:46 +0100 > > Enable verbose SMBIOS table generation so that user space applications > can use the SMBIOS table to provide details about the system. The > desired information is chassis-type to determine whether the system is > laptop. > Adding the chassis-type property is proposed for the upstream device > trees in the Linux kernel in [1]. > Enable CMD_SMBIOS as debugging aid as the platform can easily deal with > large u-boot binaries. > > Link: > https://lore.kernel.org/asahi/[email protected]/ > [1] > Reviewed-by: Tom Rini <[email protected]> > Signed-off-by: Janne Grunau <[email protected]>
Reviewed-by: Mark Kettenis <[email protected]> > --- > Changes in v2: > - Added CMD_SMBIOS as suggested by Mark > - Added Tom's Reviewed-by: trailer > - Link to v1: > https://lore.kernel.org/r/[email protected] > --- > I do not plan to update u-boot's in-tree device trees. The Linux device > trees have almost reached feature parity. The main missing features are > the USB Type-C ports (on track for next merge window) and the laptop > keyboards. I think it makes more sense to close the feature gap and > switch to upstream device trees instead of adding to the in-tree device > trees. > --- > configs/apple_m1_defconfig | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig > index > 2d685da8c9eee2084b0144050e12c03c77e5184e..1ce69f2882a1baf8d3713c18f8fe6b3fe5e2ae57 > 100644 > --- a/configs/apple_m1_defconfig > +++ b/configs/apple_m1_defconfig > @@ -10,12 +10,15 @@ CONFIG_SYS_PBSIZE=276 > # CONFIG_DISPLAY_CPUINFO is not set > CONFIG_DISPLAY_BOARDINFO_LATE=y > CONFIG_BOARD_LATE_INIT=y > +CONFIG_CMD_SMBIOS=y > CONFIG_CMD_SELECT_FONT=y > CONFIG_NO_NET=y > CONFIG_SYS_64BIT_LBA=y > CONFIG_APPLE_SPI_KEYB=y > # CONFIG_MMC is not set > CONFIG_NVME_APPLE=y > +CONFIG_SYSINFO=y > +CONFIG_SYSINFO_SMBIOS=y > CONFIG_USB_XHCI_HCD=y > CONFIG_USB_XHCI_DWC3=y > CONFIG_USB_XHCI_PCI=y > @@ -25,4 +28,4 @@ CONFIG_VIDEO_FONT_16X32=y > CONFIG_SYS_WHITE_ON_BLACK=y > CONFIG_NO_FB_CLEAR=y > CONFIG_VIDEO_SIMPLE=y > -# CONFIG_SMBIOS is not set > +CONFIG_GENERATE_SMBIOS_TABLE_VERBOSE=y > > --- > base-commit: 127a42c7257a6ffbbd1575ed1cbaa8f5408a44b3 > change-id: 20260109-apple-defconfig-smbios-a37802021452 > > Best regards, > -- > Janne Grunau <[email protected]> > >

