commit | 8856d613cb79876e1b1e1ef01b7507725810b7c5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 15 21:39:09 2023 -0600 |
committer | Bin Meng <bmeng@tinylab.org> | Mon Jul 17 17:12:26 2023 +0800 |
tree | 70e42c68634fb434b46182f524107e3adef8a084 | |
parent | 24e7c3e9fcb7cb1987456140fd57ae390be3f645 [diff] |
x86: Refactor table-writing code a little The implementation of write_tables() is confusing because it uses the rom_table_start variable as the address pointer as it progresses. Rename it to rom_addr to make the code clearer. Move the rom_table_end variable into the block where it is used. Also update logging to use the ACPI category, now that it is available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>