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

* [U-Boot-Users] [PATCH] Flash HRCW for MPC8272ADS
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-10-04 21:58 UTC (permalink / raw)
  To: u-boot

In message <1113228066.425a8322051b2@webmail.televes.com: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:

> +#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

-- 
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 <3itc77$9lj@ninurta.fer.uni-lj.si>

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

* [U-Boot-Users] [PATCH] Flash HRCW for MPC8272ADS
  2005-10-04 21:58 ` Wolfgang Denk
@ 2005-10-05  8:38   ` Alexandre BASTOS
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre BASTOS @ 2005-10-05  8:38 UTC (permalink / raw)
  To: u-boot

Hi,

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

Best regards,

Alex

> In message <1113228066.425a8322051b2@webmail.televes.com: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:
>
> > +#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

-------------- 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 

^ 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