aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-31 08:25:50 -0700
committerSimon Glass <sjg@chromium.org>2024-01-07 13:45:07 -0700
commit31f950a963a382d48193ecd79698f795b7603846 (patch)
tree9c6b1ca02ba3df2c14cd7239ddf40afd32141ed9 /lib
parent138e69149b84180753da4dca59d4cb4f03da3ca7 (diff)
downloadu-boot-31f950a963a382d48193ecd79698f795b7603846.zip
u-boot-31f950a963a382d48193ecd79698f795b7603846.tar.gz
u-boot-31f950a963a382d48193ecd79698f795b7603846.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/smbios.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/smbios.c b/lib/smbios.c
index 7f79d96..cfd451e 100644
--- a/lib/smbios.c
+++ b/lib/smbios.c
@@ -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;
/*