diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-03 09:09:50 +0000 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-03 10:41:59 +0000 |
commit | 83a42fa7774c73bf542e27326e9d04d9b016c74b (patch) | |
tree | ef309c9292ebcf00e8b56cef2cb75f00fd8868f8 | |
parent | 58530b0a9c4f95acf3fe9bcd3cf153ebdcd54cff (diff) | |
download | blackbird-obmc-uboot-83a42fa7774c73bf542e27326e9d04d9b016c74b.tar.gz blackbird-obmc-uboot-83a42fa7774c73bf542e27326e9d04d9b016c74b.zip |
Update U-Boot control transfer to kernel GPIO for Blackbird
-rw-r--r-- | common/bootm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/bootm.c b/common/bootm.c index 9f4493feeb..355e7b0465 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -705,15 +705,15 @@ int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], } /* HACK - * For Talos™ II systems ONLY + * For Blackbird systems ONLY * Set U-Boot complete GPIO */ { - uint32_t* gpio_ctl_reg = 0x1e780084; - uint32_t* gpio_data_reg = 0x1e780080; + uint32_t* gpio_ctl_reg = 0x1e780024; + uint32_t* gpio_data_reg = 0x1e780020; - *gpio_ctl_reg |= 0x00800000; - *gpio_data_reg &= ~0x00800000; + *gpio_ctl_reg |= 0x00010000; + *gpio_data_reg &= ~0x00010000; } /* Now run the OS! We hope this doesn't return */ |