From e994a8038849fdb360d30d195fa6d8bf417ea29a Mon Sep 17 00:00:00 2001 From: Jimmy Zhang Date: Tue, 9 Dec 2014 16:44:21 -0800 Subject: 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 Change-Id: Iddf19195722856865a7c06ce96492012ab729184 Signed-off-by: Stefan Reinauer Original-Commit-Id: 31492f51c030aeb7a3ac792a02665642ec999405 Original-Change-Id: I4daca43239235ca6d233c4457096d3b98fcaf65c Original-Reviewed-on: https://chromium-review.googlesource.com/234274 Original-Tested-by: Jimmy Zhang Original-Reviewed-by: Aaron Durbin Original-Commit-Queue: Jimmy Zhang Reviewed-on: http://review.coreboot.org/9586 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/rush/Kconfig | 2 ++ src/mainboard/google/rush/mainboard.c | 7 +++++++ 2 files changed, 9 insertions(+) (limited to 'src/mainboard/google') 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 #include #include +#include +#include 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; -- cgit v1.2.3