diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-01-17 16:14:24 -0600 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 11:17:36 +0000 |
commit | c28537189afe91f9d0035b464bee3822bb6e3651 (patch) | |
tree | 9a97b7a3fcc6a27fc7970b30da33eaf841ececf0 | |
parent | 3c33d1e84ebb8d2305725c509a7c6df1125afa62 (diff) | |
download | blackbird-obmc-uboot-c28537189afe91f9d0035b464bee3822bb6e3651.tar.gz blackbird-obmc-uboot-c28537189afe91f9d0035b464bee3822bb6e3651.zip |
Signal U-Boot control transfer to kernel on Talos™ II systems
-rw-r--r-- | common/bootm.c | 12 |
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, |