From 9602a4ac77223eb0b471200959b45f5c7b1f87f4 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 28 Jan 2021 17:06:01 +0100 Subject: [PATCH] mb/google/auron/var/samus: Replace define with literal The `GPIO_OUT_HIGH` macro is not present on Lynxpoint headers. Change-Id: I12dd065bee49097c602febf18c6c9940ecec5106 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/50078 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/mainboard/google/auron/variants/samus/variant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/auron/variants/samus/variant.c b/src/mainboard/google/auron/variants/samus/variant.c index 1e4a258749..92226c1e83 100644 --- a/src/mainboard/google/auron/variants/samus/variant.c +++ b/src/mainboard/google/auron/variants/samus/variant.c @@ -29,11 +29,11 @@ void mainboard_post_raminit(const int s3resume) printk(BIOS_INFO, "MLB: board version %s\n", samus_board_version()); /* Bring SSD out of reset */ - set_gpio(BOARD_SSD_RESET_GPIO, GPIO_OUT_HIGH); + set_gpio(BOARD_SSD_RESET_GPIO, 1); /* * Enable PP3300_AUTOBAHN_EN after initial GPIO setup * to prevent possible brownout. */ - set_gpio(BOARD_PP3300_AUTOBAHN_GPIO, GPIO_OUT_HIGH); + set_gpio(BOARD_PP3300_AUTOBAHN_GPIO, 1); }