Skip to contentSkip to conversation

Flash HRCW for MPC8272ADS

PATCH New alebas at televes.com 2 participants 3 messages Apr 11, 2005 – Oct 5, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Flash HRCW for MPC8272ADS

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

configs/MPC8260ADS.h 2005-04-11 15:05:39.589236080 +0200 renamed from configs/MPC8260ADS.h.orig 2005-04-11 13:52:08.285856000 +0200 +4 -0
@@ -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

#1 lore raw

PATCH 1/1 Flash HRCW for MPC8272ADS

Quoted 4 lines · In message <[email protected]:443> you wrote:

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.

Sorry, but your patch is broken:

Quoted 5 lines
configs/MPC8260ADS.h 2005-04-11 15:05:39.589236080 +0200 renamed from configs/MPC8260ADS.h.orig 2005-04-11 13:52:08.285856000 +0200 +4 -0
+#if CONFIG_ADSTYPE == CFG_8272ADS
+/* MPC8272ADS Flash HRCW 0x0E74B20A */
+#define CFG_HRCW_MASTER (   ( HRCW_BPS11 | HRCW_CIP )                      |\
+                               ( HRCW_L2CPC01 | HRCW_DPPC11 | HRCW_ISB100 )   

|\

^^^^^

Your mailer garbled and wrapped lines; please resubmit if still needed.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When you say "I wrote a program that crashed  Windows",  people  just
stare  at you blankly and say "Hey, I got those with the system, *for
free*".        - Linus Torvalds in <[email protected]>
#2 lore raw

PATCH 1/1 Flash HRCW for MPC8272ADS

Hi,

Sorry about that.
I send it now as attachment.
Hope this works.

Best regards,

Alex

Quoted 16 lines
Quoted 2 lines · In message <[email protected]:443> you wrote:

This patch adds HRCW for Flash Lowboot support on Freescale MPC8272ADS

board.

Quoted 2 lines

This extends the recently applied patches for PQ2ADS lowboot from Jerry Van Baren to this board.

Sorry, but your patch is broken:

configs/MPC8260ADS.h 2005-04-11 15:05:39.589236080 +0200

Quoted 3 lines
configs/MPC8260ADS.h 2005-04-11 15:05:39.589236080 +0200 renamed from configs/MPC8260ADS.h.orig 2005-04-11 13:52:08.285856000 +0200 +3 -0
+#if CONFIG_ADSTYPE == CFG_8272ADS
+/* MPC8272ADS Flash HRCW 0x0E74B20A */
+#define CFG_HRCW_MASTER (   ( HRCW_BPS11 | HRCW_CIP )

|\

Quoted 1 line

+ ( HRCW_L2CPC01 | HRCW_DPPC11 | HRCW_ISB100

)

Quoted 1 line

|\

Quoted 8 lines

^^^^^

Your mailer garbled and wrapped lines; please resubmit if still needed.

Best regards,

Wolfgang Denk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20050411_lowboot_mpc8272ads.diff
Type: text/x-patch
Size: 1142 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20051005/d8daf625/attachment.bin