summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-28 17:06:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-15 08:52:47 +0000
commit9602a4ac77223eb0b471200959b45f5c7b1f87f4 (patch)
treeff63da0d108ff6414dd5048b4f2915df9bae9ffe
parente80fb4bd3014d7467970b5347f0ec6c1a783f272 (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50078 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/auron/variants/samus/variant.c4
1 files 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);
}