Am Mo., 29. Apr. 2019 um 17:41 Uhr schrieb Simon Glass <[email protected]>: > > Hi, > > On Thu, 25 Apr 2019 at 04:09, Alexander Graf <[email protected]> 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 <[email protected]> > > > --- > > > 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
Will try my best :) -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

