summaryrefslogtreecommitdiffstats
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>2018-01-22 03:00:10 -0600
commita0f4d951939a133cea9469f2c2da3ce76b21d62e (patch)
tree46d6f006704ba52597eb79566596c4a07cbbfe59
parent6cd98b6c54a3254c42155d633cc3aa97546fea79 (diff)
downloadtalos-obmc-uboot-a0f4d951939a133cea9469f2c2da3ce76b21d62e.tar.gz
talos-obmc-uboot-a0f4d951939a133cea9469f2c2da3ce76b21d62e.zip
Move U-Boot control transfer to kernel GPIO on Talos™ II systems
-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