commit | 29b351122ed23124f70473a411c65074d5a61146 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 26 09:19:50 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Apr 30 17:16:12 2020 +0800 |
tree | 3291b96b1660fcc0fad1db917def8f2f14768370 | |
parent | 288edc78213433526e42cbc7c3dabca4fdf8e671 [diff] |
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>