veyron_rialto: Force 3G modem off
This basically does the same thing for firmware what CL:290631 did in the kernel. We want to keep the modem off until it needs to be used to avoid enumeration/detection issues. BUG=chrome-os-partner:43271 BRANCH=none TEST=needs testing Change-Id: I3b63a77c732dc4895b728b30f1dd71210a9c0e90 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Original-Commit-Id: a90ccd7fbffe44abe05e96341cc77067442c85e4 Original-Change-Id: I3516de1ea9160f7186ad7f5fb3b5d29ac73143b5 Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/290890 Original-Reviewed-by: Alexandru Stan <amstan@chromium.org> Reviewed-on: http://review.coreboot.org/11385 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
50967870a9
commit
bf62b8cc8b
|
@ -72,6 +72,14 @@ static void configure_codec(void)
|
|||
rkclk_configure_i2s(12288000);
|
||||
}
|
||||
|
||||
static void configure_3g(void)
|
||||
{
|
||||
/* Force 3G modem off to avoid confusing the EHCI host and
|
||||
* causing problems during enumeration/init */
|
||||
gpio_output(GPIO(5, C, 1), 1); /* 3G_SHUTDOWN */
|
||||
gpio_output(GPIO(4, D, 2), 0); /* 3G_ON_OFF */
|
||||
}
|
||||
|
||||
static void mainboard_init(device_t dev)
|
||||
{
|
||||
gpio_output(GPIO_RESET, 0);
|
||||
|
@ -79,6 +87,7 @@ static void mainboard_init(device_t dev)
|
|||
configure_usb();
|
||||
configure_emmc();
|
||||
configure_codec();
|
||||
configure_3g();
|
||||
/* No video. */
|
||||
|
||||
elog_init();
|
||||
|
|
Loading…
Reference in New Issue