diff options
author | Ravi Kumar Bokka <rbokka@codeaurora.org> | 2021-06-03 20:14:39 +0530 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2021-07-23 17:21:07 +0000 |
commit | 12184db008736c7d0c9fc7f03a872bef6cd7feab (patch) | |
tree | d64b2d17ae05b608cd3ad62f403ec967d2ce90e8 /src/mainboard/google/herobrine/board.h | |
parent | 1cfb5999928c1a5cf5965b5ea520562fd3f7912a (diff) |
herobrine: get boardid from GPIO configuration
Getting boardid information for the different SKU variants
BUG=b:182963902, b:193807794
TEST=Validated on qualcomm sc7280 development board
Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
Change-Id: I2b7625f9b98563438d1ac20e6f29411ef1058cf4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55950
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/herobrine/board.h')
-rw-r--r-- | src/mainboard/google/herobrine/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/herobrine/board.h b/src/mainboard/google/herobrine/board.h index 0d2b2dba68..33c8c7df51 100644 --- a/src/mainboard/google/herobrine/board.h +++ b/src/mainboard/google/herobrine/board.h @@ -8,6 +8,10 @@ #define GPIO_SD_CD_L GPIO(91) +#define QCOM_SC7280_SKU1 0x0 +#define QCOM_SC7280_SKU2 0x1 +#define QCOM_SC7280_SKU3 0x2 + void setup_chromeos_gpios(void); #endif /* _COREBOOT_SRC_MAINBOARD_GOOGLE_HEROBRINE_BOARD_H_ */ |