summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-11-07 08:15:07 -0600
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-06 17:17:27 +0200
commit952d85e5f2d951850551572b756a6518c734e069 (patch)
tree0ce00415f7c96ee1351af74a984597cdf4e16b6b /src
parent8de0ca435e7cee39cd5b7523aea4c7c59d1113d8 (diff)
downloadcoreboot-952d85e5f2d951850551572b756a6518c734e069.tar.xz
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 <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/176073 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/4945 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/rambi/gpio.c22
1 files 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 */