x86: Add a new API for e820
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:25:53 +0000 (14:25 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000 (11:41 -0600)
commite15db0236279138959340d4fdda80f93c494db64
tree56f51c4a2587888da1339ce1939fe402bde41943
parent1e559930f7d0ab846723fcff52849e8bcacaa57b
x86: Add a new API for e820

The existing mechanism is pretty painful as it requires manual
calculations for anything but a trivial setup.

Add a new API for adding e820 entries.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/e820.h
arch/x86/lib/e820.c