[U-Boot-Users] [PATCH] Flash HRCW for MPC8272ADS
alebas at televes.com
alebas at televes.com
Mon Apr 11 16:01:06 CEST 2005
Hi,
This patch adds HRCW for Flash Lowboot support on Freescale MPC8272ADS board.
This extends the recently applied patches for PQ2ADS lowboot from Jerry Van
Baren to this board.
Best Regards,
Alexandre Bastos
--- include/configs/MPC8260ADS.h.orig 2005-04-11 13:52:08.285856000 +0200
+++ include/configs/MPC8260ADS.h 2005-04-11 15:05:39.589236080 +0200
@@ -307,12 +307,21 @@
#ifdef CFG_LOWBOOT
+#if CONFIG_ADSTYPE == CFG_8272ADS
+/* MPC8272ADS Flash HRCW 0x0E74B20A */
+#define CFG_HRCW_MASTER ( ( HRCW_BPS11 | HRCW_CIP ) |\
+ ( HRCW_L2CPC01 | HRCW_DPPC11 | HRCW_ISB100 )
|\
+ ( HRCW_BMS | HRCW_MMR11 | HRCW_LBPC00 |
HRCW_APPC10 ) |\
+ ( HRCW_MODCK_H1010 ) \
+ )
+#else
/* PQ2FADS flash HRCW = 0x0EB4B645 */
#define CFG_HRCW_MASTER ( ( HRCW_BPS11 | HRCW_CIP ) |\
( HRCW_L2CPC10 | HRCW_DPPC11 | HRCW_ISB100 ) |\
( HRCW_BMS | HRCW_MMR11 | HRCW_LBPC01 | HRCW_APPC10
) |\
( HRCW_CS10PC01 | HRCW_MODCK_H0101 ) \
)
+#endif /*CFG_8272ADS*/
#else
/* PQ2FADS BCSR HRCW = 0x0CB23645 */
#define CFG_HRCW_MASTER ( ( HRCW_BPS11 | HRCW_CIP ) |\
@@ -320,7 +329,7 @@
( HRCW_BMS | HRCW_APPC10 ) |\
( HRCW_MODCK_H0101 ) \
)
-#endif
+#endif /*CFG_LOWBOOT*/
/* no slaves */
#define CFG_HRCW_SLAVE1 0
#define CFG_HRCW_SLAVE2 0
More information about the U-Boot
mailing list