summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/bootm.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 2431019b3f..24f117c86d 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -704,6 +704,18 @@ int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
return ret;
}
+ /* HACK
+ * For Talos™ II systems ONLY
+ * Set U-Boot complete GPIO
+ */
+ {
+ uint32_t* gpio_ctl_reg = 0x1e78007c;
+ uint32_t* gpio_data_reg = 0x1e780078;
+
+ *gpio_ctl_reg |= 0x00400000;
+ *gpio_data_reg &= ~0x00400000;
+ }
+
/* Now run the OS! We hope this doesn't return */
if (!ret && (states & BOOTM_STATE_OS_GO))
ret = boot_selected_os(argc, argv, BOOTM_STATE_OS_GO,
OpenPOWER on IntegriCloud