commit | b87f76fb9968781fef6faab5896f9904d6b8f639 | [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 | 866f691c7439adae9b7b3cdeac783847e5f968f4 [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>