summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/nyan/romstage.c20
-rw-r--r--src/mainboard/google/nyan_big/romstage.c20
-rw-r--r--src/mainboard/google/nyan_blaze/romstage.c20
3 files changed, 0 insertions, 60 deletions
diff --git a/src/mainboard/google/nyan/romstage.c b/src/mainboard/google/nyan/romstage.c
index 1af3c31f22..a71f68269b 100644
--- a/src/mainboard/google/nyan/romstage.c
+++ b/src/mainboard/google/nyan/romstage.c
@@ -22,7 +22,6 @@
#include <arch/exception.h>
#include <arch/io.h>
#include <arch/stages.h>
-#include <device/device.h>
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
@@ -190,25 +189,6 @@ static void __attribute__((noinline)) romstage(void)
cpu_reset();
}
- /* For quality of the user experience, it's important to get
- * the video going ASAP. Because there are long delays in some
- * of the powerup steps, we do some very early setup here in
- * romstage. The only thing setup_display does is manage
- * 4 GPIOs, under control of the config struct members.
- * In general, it is safe to enable panel power, and disable
- * anything related to the backlight. If we get something wrong,
- * we can easily fix it in ramstage by further GPIO manipulation,
- * so we feel it is ok to do some setting at this point.
- */
-
- const struct device *soc = dev_find_slot(DEVICE_PATH_CPU_CLUSTER, 0);
- printk(BIOS_SPEW, "s%s: soc is %p\n", __func__, soc);
- if (soc && soc->chip_info) {
- const struct soc_nvidia_tegra124_config *config =
- soc->chip_info;
- setup_display((struct soc_nvidia_tegra124_config *)config);
- }
-
cbmem_initialize_empty();
// Enable additional peripherals we need for ROM stage.
diff --git a/src/mainboard/google/nyan_big/romstage.c b/src/mainboard/google/nyan_big/romstage.c
index 1af3c31f22..a71f68269b 100644
--- a/src/mainboard/google/nyan_big/romstage.c
+++ b/src/mainboard/google/nyan_big/romstage.c
@@ -22,7 +22,6 @@
#include <arch/exception.h>
#include <arch/io.h>
#include <arch/stages.h>
-#include <device/device.h>
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
@@ -190,25 +189,6 @@ static void __attribute__((noinline)) romstage(void)
cpu_reset();
}
- /* For quality of the user experience, it's important to get
- * the video going ASAP. Because there are long delays in some
- * of the powerup steps, we do some very early setup here in
- * romstage. The only thing setup_display does is manage
- * 4 GPIOs, under control of the config struct members.
- * In general, it is safe to enable panel power, and disable
- * anything related to the backlight. If we get something wrong,
- * we can easily fix it in ramstage by further GPIO manipulation,
- * so we feel it is ok to do some setting at this point.
- */
-
- const struct device *soc = dev_find_slot(DEVICE_PATH_CPU_CLUSTER, 0);
- printk(BIOS_SPEW, "s%s: soc is %p\n", __func__, soc);
- if (soc && soc->chip_info) {
- const struct soc_nvidia_tegra124_config *config =
- soc->chip_info;
- setup_display((struct soc_nvidia_tegra124_config *)config);
- }
-
cbmem_initialize_empty();
// Enable additional peripherals we need for ROM stage.
diff --git a/src/mainboard/google/nyan_blaze/romstage.c b/src/mainboard/google/nyan_blaze/romstage.c
index 2e526485c8..522ee91043 100644
--- a/src/mainboard/google/nyan_blaze/romstage.c
+++ b/src/mainboard/google/nyan_blaze/romstage.c
@@ -22,7 +22,6 @@
#include <arch/exception.h>
#include <arch/io.h>
#include <arch/stages.h>
-#include <device/device.h>
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
@@ -190,25 +189,6 @@ static void __attribute__((noinline)) romstage(void)
cpu_reset();
}
- /* For quality of the user experience, it's important to get
- * the video going ASAP. Because there are long delays in some
- * of the powerup steps, we do some very early setup here in
- * romstage. The only thing setup_display does is manage
- * 4 GPIOs, under control of the config struct members.
- * In general, it is safe to enable panel power, and disable
- * anything related to the backlight. If we get something wrong,
- * we can easily fix it in ramstage by further GPIO manipulation,
- * so we feel it is ok to do some setting at this point.
- */
-
- const struct device *soc = dev_find_slot(DEVICE_PATH_CPU_CLUSTER, 0);
- printk(BIOS_SPEW, "s%s: soc is %p\n", __func__, soc);
- if (soc && soc->chip_info) {
- const struct soc_nvidia_tegra124_config *config =
- soc->chip_info;
- setup_display((struct soc_nvidia_tegra124_config *)config);
- }
-
cbmem_initialize_empty();
// Enable additional peripherals we need for ROM stage.