public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Flash HRCW for MPC8272ADS
@ 2005-04-11 14:01 alebas at televes.com
  2005-10-04 21:58 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: alebas at televes.com @ 2005-04-11 14:01 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-05  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11 14:01 [U-Boot-Users] [PATCH] Flash HRCW for MPC8272ADS alebas at televes.com
2005-10-04 21:58 ` Wolfgang Denk
2005-10-05  8:38   ` Alexandre BASTOS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox