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-04-12 16:08:58 -0500
commitcfee45a3ef2a592d130573ce3b7d8bcfe056060b (patch)
tree9819d6f81801b8541ac3773984c17b81bfefda51
parent1ac52fc09eb9b954c900acf230818765597164cb (diff)
downloadtalos-obmc-uboot-cfee45a3ef2a592d130573ce3b7d8bcfe056060b.tar.gz
talos-obmc-uboot-cfee45a3ef2a592d130573ce3b7d8bcfe056060b.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