Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support
Change-Id: Ibea14a4cfb7285af42a7493742636c8dc8fe0a33 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/drivers/uart/oxpcie_early.c 1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/37041/1
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c index f6b4040..17f9868 100644 --- a/src/drivers/uart/oxpcie_early.c +++ b/src/drivers/uart/oxpcie_early.c @@ -14,12 +14,11 @@ #include <stdint.h> #include <stddef.h> #include <device/pci_ops.h> -#include <arch/early_variables.h> #include <console/uart.h> #include <device/pci.h> #include <device/pci_def.h>
-static unsigned int oxpcie_present CAR_GLOBAL; +static unsigned int oxpcie_present; static DEVTREE_CONST u32 uart0_base = CONFIG_EARLY_PCI_MMIO_BASE + 0x1000;
int pci_early_device_probe(u8 bus, u8 dev, u32 mmio_base) @@ -58,13 +57,13 @@ reg16 |= PCI_COMMAND_MEMORY; pci_s_write_config16(device, PCI_COMMAND, reg16);
- car_set_var(oxpcie_present, 1); + oxpcie_present = 1; return 0; }
static int oxpcie_uart_active(void) { - return (car_get_var(oxpcie_present)); + return (oxpcie_present); }
uintptr_t uart_platform_base(int idx)
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37041/1/src/drivers/uart/oxpcie_ear... File src/drivers/uart/oxpcie_early.c:
https://review.coreboot.org/c/coreboot/+/37041/1/src/drivers/uart/oxpcie_ear... PS1, Line 66: return (oxpcie_present); return is not a function, parentheses are not required
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37041/2/src/drivers/uart/oxpcie_ear... File src/drivers/uart/oxpcie_early.c:
https://review.coreboot.org/c/coreboot/+/37041/2/src/drivers/uart/oxpcie_ear... PS2, Line 66: return (oxpcie_present); return is not a function, parentheses are not required
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37041/3/src/drivers/uart/oxpcie_ear... File src/drivers/uart/oxpcie_early.c:
https://review.coreboot.org/c/coreboot/+/37041/3/src/drivers/uart/oxpcie_ear... PS3, Line 66: return (oxpcie_present); return is not a function, parentheses are not required
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37041/4/src/drivers/uart/oxpcie_ear... File src/drivers/uart/oxpcie_early.c:
https://review.coreboot.org/c/coreboot/+/37041/4/src/drivers/uart/oxpcie_ear... PS4, Line 66: return (oxpcie_present); return is not a function, parentheses are not required
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37041
to look at the new patch set (#5).
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support
Change-Id: Ibea14a4cfb7285af42a7493742636c8dc8fe0a33 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/drivers/uart/oxpcie_early.c 1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/37041/5
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 7: Code-Review+1
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
Patch Set 7: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/37041 )
Change subject: drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support ......................................................................
drivers/uart/oxpcie_early.c: Drop CAR_GLOBAL_MIGRATION support
Change-Id: Ibea14a4cfb7285af42a7493742636c8dc8fe0a33 Signed-off-by: Arthur Heymans arthur@aheymans.xyz Reviewed-on: https://review.coreboot.org/c/coreboot/+/37041 Reviewed-by: HAOUAS Elyes ehaouas@noos.fr Reviewed-by: Kyösti Mälkki kyosti.malkki@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/drivers/uart/oxpcie_early.c 1 file changed, 3 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Kyösti Mälkki: Looks good to me, approved HAOUAS Elyes: Looks good to me, but someone else must approve
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c index f6b4040..d12b42a 100644 --- a/src/drivers/uart/oxpcie_early.c +++ b/src/drivers/uart/oxpcie_early.c @@ -14,12 +14,11 @@ #include <stdint.h> #include <stddef.h> #include <device/pci_ops.h> -#include <arch/early_variables.h> #include <console/uart.h> #include <device/pci.h> #include <device/pci_def.h>
-static unsigned int oxpcie_present CAR_GLOBAL; +static unsigned int oxpcie_present; static DEVTREE_CONST u32 uart0_base = CONFIG_EARLY_PCI_MMIO_BASE + 0x1000;
int pci_early_device_probe(u8 bus, u8 dev, u32 mmio_base) @@ -58,13 +57,13 @@ reg16 |= PCI_COMMAND_MEMORY; pci_s_write_config16(device, PCI_COMMAND, reg16);
- car_set_var(oxpcie_present, 1); + oxpcie_present = 1; return 0; }
static int oxpcie_uart_active(void) { - return (car_get_var(oxpcie_present)); + return oxpcie_present; }
uintptr_t uart_platform_base(int idx)