]> git.sur5r.net Git - u-boot/commitdiff
Had to move the RTC area for ATC board to upper addresses LABEL_2003_06_22_1530
authorwdenk <wdenk>
Sun, 22 Jun 2003 10:30:54 +0000 (10:30 +0000)
committerwdenk <wdenk>
Sun, 22 Jun 2003 10:30:54 +0000 (10:30 +0000)
(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).

include/configs/atc.h

index 68984965b92c3fc8481db4fd9bc996320b97e40c..1fb6ed8f12c5c06828b2618809fd17bfb6f17ec6 100644 (file)
 
 #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
 
  * 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 */
  * 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)
 
 /*-----------------------------------------------------------------------