summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2021-09-16 20:38:24 -0700
committerFurquan Shaikh <furquan@google.com>2021-09-21 01:10:06 +0000
commit56fd6419c33ae648b96dc876d35c78d3f85d4acb (patch)
treea921e43ace9cb868ac5cec0502716674f2120a31 /src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
parente7821e8de00fa673f75d620fa320ce7629ef2ce1 (diff)
mb/google/guybrush: Switch to using device pointers
This change replaces the device tree walks with device pointers by adding alias for following devices: 1. FPMCU 2. WWAN Additionally, this change drops the __weak attribute for variant_has_* functions as there is no need for different implementations for the variants. Change-Id: I8af5e27f226270e6b40a50640c87de99a5a703f7 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57743 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb')
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb b/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
index 6de2545a1a..afe5673d65 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
+++ b/src/mainboard/google/guybrush/variants/nipperkin/overridetree.cb
@@ -122,7 +122,7 @@ chip soc/amd/cezanne
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_21)"
register "wake" = "GEVENT_5"
register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
- device generic 0 on
+ device generic 0 alias fpmcu on
probe FP FP_PRESENT
end
end