mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
smbios: Require the caller to align the SMBIOS table
All callers handle this alignment, so drop the unnecessary code. This simplifies things a little. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -563,8 +563,6 @@ ulong write_smbios_table(ulong addr)
|
||||
ctx.dev = NULL;
|
||||
}
|
||||
|
||||
/* 16 byte align the table address */
|
||||
addr = ALIGN(addr, 16);
|
||||
start_addr = addr;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user