diff options
author | Jimmy Zhang <jimmzhang@nvidia.com> | 2014-12-09 16:44:21 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-13 17:04:51 +0200 |
commit | e994a8038849fdb360d30d195fa6d8bf417ea29a (patch) | |
tree | 8061ee497f755c20fd3b2f96670697e0aef6462d /src/mainboard/google/rush | |
parent | 099efebb1ea9f6ab1529e18fc4142c2e784d7cb5 (diff) | |
download | coreboot-e994a8038849fdb360d30d195fa6d8bf417ea29a.tar.xz |
rush: Add and select DO_SOR_INIT config option
Select DO_SOR_INIT to enable dp display api
BUG=chrome-os-partner:34336
BRANCH=none
TEST=build rush
Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
Change-Id: Iddf19195722856865a7c06ce96492012ab729184
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 31492f51c030aeb7a3ac792a02665642ec999405
Original-Change-Id: I4daca43239235ca6d233c4457096d3b98fcaf65c
Original-Reviewed-on: https://chromium-review.googlesource.com/234274
Original-Tested-by: Jimmy Zhang <jimmzhang@nvidia.com>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Jimmy Zhang <jimmzhang@nvidia.com>
Reviewed-on: http://review.coreboot.org/9586
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/rush')
-rw-r--r-- | src/mainboard/google/rush/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/google/rush/mainboard.c | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/rush/Kconfig b/src/mainboard/google/rush/Kconfig index 95597b00f9..e565f47d0e 100644 --- a/src/mainboard/google/rush/Kconfig +++ b/src/mainboard/google/rush/Kconfig @@ -25,8 +25,10 @@ config BOARD_SPECIFIC_OPTIONS # dummy select EC_GOOGLE_CHROMEEC select EC_GOOGLE_CHROMEEC_SPI select EC_SOFTWARE_SYNC + select MAINBOARD_DO_NATIVE_VGA_INIT select SPI_FLASH select SOC_NVIDIA_TEGRA132 + select MAINBOARD_DO_SOR_INIT select MAINBOARD_HAS_BOOTBLOCK_INIT select VIRTUAL_DEV_SWITCH select BOARD_ROMSIZE_KB_4096 diff --git a/src/mainboard/google/rush/mainboard.c b/src/mainboard/google/rush/mainboard.c index 341d373971..0b85cc0356 100644 --- a/src/mainboard/google/rush/mainboard.c +++ b/src/mainboard/google/rush/mainboard.c @@ -29,6 +29,8 @@ #include <soc/nvidia/tegra/usb.h> #include <soc/padconfig.h> #include <soc/spi.h> +#include <soc/nvidia/tegra/dc.h> +#include <soc/display.h> static const struct pad_config sdmmc3_pad[] = { /* MMC3(SDCARD) */ @@ -146,6 +148,11 @@ static void mainboard_init(device_t dev) i2c_init(I2C1_BUS); /* for max98090 codec */ } +void display_startup(device_t dev) +{ + dp_display_startup(dev); +} + static void mainboard_enable(device_t dev) { dev->ops->init = &mainboard_init; |