summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-22 03:00:10 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 11:17:36 +0000
commit58530b0a9c4f95acf3fe9bcd3cf153ebdcd54cff (patch)
treeb4040b610e127ad4c109ead1d1e310cd4237dc54 /common/bootm.c
parentc28537189afe91f9d0035b464bee3822bb6e3651 (diff)
downloadtalos-obmc-uboot-58530b0a9c4f95acf3fe9bcd3cf153ebdcd54cff.tar.gz
talos-obmc-uboot-58530b0a9c4f95acf3fe9bcd3cf153ebdcd54cff.zip
Move U-Boot control transfer to kernel GPIO on Talos™ II systems
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 24f117c86d..9f4493feeb 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -709,11 +709,11 @@ int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
* Set U-Boot complete GPIO
*/
{
- uint32_t* gpio_ctl_reg = 0x1e78007c;
- uint32_t* gpio_data_reg = 0x1e780078;
+ uint32_t* gpio_ctl_reg = 0x1e780084;
+ uint32_t* gpio_data_reg = 0x1e780080;
- *gpio_ctl_reg |= 0x00400000;
- *gpio_data_reg &= ~0x00400000;
+ *gpio_ctl_reg |= 0x00800000;
+ *gpio_data_reg &= ~0x00800000;
}
/* Now run the OS! We hope this doesn't return */
OpenPOWER on IntegriCloud