diff options
author | Julius Werner <jwerner@chromium.org> | 2020-09-09 16:53:51 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-09-10 21:40:07 +0000 |
commit | 8678d47debc97bfe13c8e1bd2f0d99d8f8169b81 (patch) | |
tree | 7d671ee3d13cbfdce6251df55419bdd672881a9b | |
parent | b2545cc3c6388d0328ce24a81df104a6d069e952 (diff) | |
download | coreboot-8678d47debc97bfe13c8e1bd2f0d99d8f8169b81.tar.xz |
trogdor: Strappings_update_final3.1_second_thisistherealone.patch
Apparently what I thought was lazor-rev2 is actually lazor-rev3 and
nobody is really sure what lazor-rev4 is going to be at this point or
how we proceed from there. What seems to be somewhat agreed upon is that
for now all Lazor revisions use the "old" GPIO mapping and it's not very
clear if that's ever going to change for Lazor, so let's take the
revision restriction out from Lazor for now.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I4939ccfd8464da6e72b5e01a58489b8c80f5b4df
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45225
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Philip Chen <philipchen@google.com>
-rw-r--r-- | src/mainboard/google/trogdor/boardid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/google/trogdor/boardid.c b/src/mainboard/google/trogdor/boardid.c index f60dddbeeb..edde164746 100644 --- a/src/mainboard/google/trogdor/boardid.c +++ b/src/mainboard/google/trogdor/boardid.c @@ -16,11 +16,12 @@ uint32_t board_id(void) return id; } -/* Whether a revision was built before or after the great pin migration of August 2020. */ +/* Some boards/revisions use one GPIO mapping and others use another. There's no real rhyme or + reason to it. Don't try to think about it too much... */ static bool use_old_pins(void) { return ((CONFIG(BOARD_GOOGLE_TROGDOR) && board_id() < 2) || - (CONFIG(BOARD_GOOGLE_LAZOR) && board_id() < 3) || + CONFIG(BOARD_GOOGLE_LAZOR) || (CONFIG(BOARD_GOOGLE_POMPOM) && board_id() < 1)); } |