From fd33f184a9aeada5760d5c157a0468aad84a873e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 7 Nov 2013 08:15:07 -0600 Subject: [PATCH] rambi: mirror bayleybay's eMMC gpio setup These changes to the eMMC pads allows the kernel to see the eMMC device. One is able to install onto the eMMC device, and the kernel is loaded and booted from eMMC device. Note, that it may not fully boot because of other issues such as not-completely working ACPI support. BUG=chrome-os-partner:22580 BRANCH=None TEST=booted off of usb drive. can see eMMC device. Change-Id: I9c088398297a0b559383bdf4a389dd19a1110e0f Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/176073 Reviewed-by: Duncan Laurie --- src/mainboard/google/rambi/gpio.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/mainboard/google/rambi/gpio.c b/src/mainboard/google/rambi/gpio.c index 9919d30bd4..ad1da09531 100644 --- a/src/mainboard/google/rambi/gpio.c +++ b/src/mainboard/google/rambi/gpio.c @@ -71,17 +71,17 @@ static const struct soc_gpio_map gpscore_gpio_map[] = { GPIO_NC, /* S0-SC013 - NC */ GPIO_INPUT, /* S0-SC014 - DET_TRIGGER - INT */ GPIO_INPUT, /* S0-SC015 - AJACK_MICPRES_L - INT */ - GPIO_FUNC3, /* S0-SC016 - MMC1_CLK */ - GPIO_FUNC3, /* S0-SC017 - MMC1_D[0] */ - GPIO_FUNC3, /* S0-SC018 - MMC1_D[1] */ - GPIO_FUNC3, /* S0-SC019 - MMC1_D[2] */ - GPIO_FUNC3, /* S0-SC020 - MMC1_D[3] */ - GPIO_FUNC3, /* S0-SC021 - MMC1_D[4] */ - GPIO_FUNC3, /* S0-SC022 - MMC1_D[5] */ - GPIO_FUNC3, /* S0-SC023 - MMC1_D[6] */ - GPIO_FUNC3, /* S0-SC024 - MMC1_D[7] */ - GPIO_FUNC3, /* S0-SC025 - MMC1_CMD */ - GPIO_FUNC3, /* S0-SC026 - MMC1_RST */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC016 - MMC1_45_CLK */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC017 - MMC1_45_D[0] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC018 - MMC1_45_D[1] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC019 - MMC1_45_D[2] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC020 - MMC1_45_D[3] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC021 - MMC1_45_D[4] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC022 - MMC1_45_D[5] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC023 - MMC1_45_D[6] */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC024 - MMC1_45_D[7] */ + GPIO_FUNC(3, PULL_UP, 2K), /* S0-SC025 - MMC1_45_CMD */ + GPIO_FUNC(3, PULL_UP, 10K), /* S0-SC026 - MMC1_45_RST */ GPIO_NC, /* S0-SC027 - NC */ GPIO_NC, /* S0-SC028 - NC */ GPIO_NC, /* S0-SC029 - NC */