summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJimmy Zhang <jimmzhang@nvidia.com>2014-12-09 15:37:29 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-13 17:04:31 +0200
commitf055aa0632729bfab3116233309bb29294379931 (patch)
treedd99c078f834d0840e00a106e5bf1f4e0f9c3453 /src/mainboard
parentd4dff621756486d9cde20a1a27f656dd37e3494f (diff)
downloadcoreboot-f055aa0632729bfab3116233309bb29294379931.tar.xz
ryu: display: Move display api to mainboard
Display configuration is board specific. The change here is preparing for supporting other than dsi interface. BUG=chrome-os-partner:34336 BRANCH=none TEST=build ryu and test dev/rec mode, also build rush ok Change-Id: Ied39d5d539d2be4983ab70976bffbe51fccba276 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: 36be6b2e35c6246d5384d71b9ab9d4ddbf17764a Original-Change-Id: I494a04f7d6c0dbad2d472f4c2cd0aabfb23b8c97 Original-Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/234271 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9584 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rush_ryu/mainboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c
index 8efd0a0de7..2b234815b5 100644
--- a/src/mainboard/google/rush_ryu/mainboard.c
+++ b/src/mainboard/google/rush_ryu/mainboard.c
@@ -32,6 +32,8 @@
#include <soc/funitcfg.h>
#include <soc/nvidia/tegra/i2c.h>
#include <soc/padconfig.h>
+#include <soc/nvidia/tegra/dc.h>
+#include <soc/display.h>
#include <vendorcode/google/chromeos/chromeos.h>
#if IS_ENABLED(CONFIG_CHROMEOS)
#include <vboot_struct.h>
@@ -280,6 +282,11 @@ static void mainboard_init(device_t dev)
configure_display_blocks();
}
+void display_startup(device_t dev)
+{
+ dsi_display_startup(dev);
+}
+
static void mainboard_enable(device_t dev)
{
dev->ops->init = &mainboard_init;