diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-10-24 13:58:30 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-26 14:12:06 +0000 |
commit | ea1e36694d67f0db613839f5a5a4c336d1711a13 (patch) | |
tree | ed34cefe027de9e699495a3dd49942a0daa4c912 /tests/lib | |
parent | 7203aa5c2dcb90e50356305cabbe062bd4f4dc76 (diff) |
coreboot_tables: Drop uart PCI addr
Only edk2 used this to fill in a different struct but even there the
entries go unused, so removing this struct element from coreboot has
no side effects.
Change-Id: Iadd2678c4e01d30471eac43017392d256adda341
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68767
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/coreboot_table-test.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/lib/coreboot_table-test.c b/tests/lib/coreboot_table-test.c index 20438efa74..52575522e9 100644 --- a/tests/lib/coreboot_table-test.c +++ b/tests/lib/coreboot_table-test.c @@ -127,7 +127,6 @@ static void test_lb_add_serial(void **state) serial.baud = 115200; serial.regwidth = 1; serial.input_hertz = 115200 * 16; - serial.uart_pci_addr = 0x0; lb_add_serial(&serial, header); assert_int_equal(1, header->table_entries); @@ -244,7 +243,6 @@ void uart_fill_lb(void *data) serial.baud = 115200; serial.regwidth = 1; serial.input_hertz = 115200 * 16; - serial.uart_pci_addr = 0x0; lb_add_serial(&serial, data); lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data); @@ -419,7 +417,6 @@ static void test_write_tables(void **state) assert_int_equal(115200, serial->baud); assert_int_equal(1, serial->regwidth); assert_int_equal(115200 * 16, serial->input_hertz); - assert_int_equal(0x0, serial->uart_pci_addr); break; case LB_TAG_CONSOLE: assert_int_equal(sizeof(struct lb_console), record->size); |