summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-22 10:30:54 +0000
committerwdenk <wdenk>2003-06-22 10:30:54 +0000
commit9a0e21a3a87830f66a93c17d1bca66fd12d860ae (patch)
tree3af4cd1c59ef65a6f8a19b09bd151a71aff5ac9b
parent592c5cabe78fe1cef4eb733904c81a9555d59a7e (diff)
downloadu-boot-imx-9a0e21a3a87830f66a93c17d1bca66fd12d860ae.zip
u-boot-imx-9a0e21a3a87830f66a93c17d1bca66fd12d860ae.tar.gz
u-boot-imx-9a0e21a3a87830f66a93c17d1bca66fd12d860ae.tar.bz2
Had to move the RTC area for ATC board to upper addresses
(0xf5000000, to be specific). The reason is that the RTC first gets accessed before MMU is initialized and, consequently, it needs to be placed at physical addresses which are later mapped to the same virtual addresses (like 0xf5000000 physical is mapped to 0xf5000000 virtual).
-rw-r--r--include/configs/atc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/atc.h b/include/configs/atc.h
index 6898496..1fb6ed8 100644
--- a/include/configs/atc.h
+++ b/include/configs/atc.h
@@ -173,7 +173,7 @@
#define CONFIG_RTC_DS12887
-#define RTC_BASE_ADDR 0x02800000
+#define RTC_BASE_ADDR 0xF5000000
#define RTC_PORT_ADDR RTC_BASE_ADDR + 0x800
#define RTC_PORT_DATA RTC_BASE_ADDR + 0x808
@@ -212,7 +212,7 @@
* HRCW_DPPCxx requires you to also change CFG_SIUMCR.
*/
#define CFG_HRCW_MASTER (HRCW_CIP | HRCW_ISB100 | HRCW_BMS | \
- HRCW_BPS10 | HRCW_DPPC10 |\
+ HRCW_BPS10 |\
HRCW_APPC10)
/* no slaves so just fill with zeros */
@@ -321,7 +321,7 @@
* SIUMCR - SIU Module Configuration 4-31
*-----------------------------------------------------------------------
*/
-#define CFG_SIUMCR (SIUMCR_BBD|SIUMCR_DPPC10|SIUMCR_APPC10|\
+#define CFG_SIUMCR (SIUMCR_BBD|SIUMCR_APPC10|\
SIUMCR_CS10PC00|SIUMCR_BCTLC10)
/*-----------------------------------------------------------------------