diff options
| author | Simon Glass <sjg@chromium.org> | 2020-04-26 09:19:50 -0600 |
|---|---|---|
| committer | Bin Meng <bmeng.cn@gmail.com> | 2020-04-30 17:16:12 +0800 |
| commit | 29b351122ed23124f70473a411c65074d5a61146 (patch) | |
| tree | 3291b96b1660fcc0fad1db917def8f2f14768370 /include/linux/linux_string.h | |
| parent | 288edc78213433526e42cbc7c3dabca4fdf8e671 (diff) | |
| download | u-boot-29b351122ed23124f70473a411c65074d5a61146.tar.gz u-boot-29b351122ed23124f70473a411c65074d5a61146.tar.xz u-boot-29b351122ed23124f70473a411c65074d5a61146.zip | |
acpi: Move acpi_add_table() to generic code
Move this code to a generic location so that we can test it with sandbox.
This requires adding a few new fields to acpi_ctx, so drop the local
variables used in the original code.
Also use mapmem to avoid pointer-to-address casts which don't work on
sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
