Hi, On Thu, 25 Apr 2019 at 04:09, Alexander Graf <ag...@csgraf.de> wrote: > > > On 16.04.19 13:38, Christian Gmeiner wrote: > > Add an very simple API to be able to access SMBIOS strings > > like vendor, model and bios version. > > > > Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> > > --- > > include/smbios.h | 37 ++++++++++ > > lib/Kconfig | 6 ++ > > lib/Makefile | 1 + > > lib/smbios-parser.c | 162 ++++++++++++++++++++++++++++++++++++++++++++ > > 4 files changed, 206 insertions(+) > > create mode 100644 lib/smbios-parser.c
Can you please also add a test for each of these functions, with sample data. BTW here is some code to write fake tables in case it helps: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1062212/6/chromeos-config/libcros_config/identity_x86.cc Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot