From ea1e36694d67f0db613839f5a5a4c336d1711a13 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 24 Oct 2022 13:58:30 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68767 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Hung-Te Lin Reviewed-by: Bill XIE Reviewed-by: Lean Sheng Tan --- tests/lib/coreboot_table-test.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3