public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware
@ 2008-01-09 13:11 Oliver Weber
  2008-01-09 14:23 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Weber @ 2008-01-09 13:11 UTC (permalink / raw)
  To: u-boot

Hi,

the following patch is for the MPC5200 Bestcomm firmware.
This patch removes the absolute adressing of the MBAR registers at
address 0xf0000000 and makes the FEC driver runable on custom boards
which have the MBAR located at other places.

Best regards

Oliver Weber


diff --git a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
index 1d83fe2..a07c776 100644
--- a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
+++ b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
@@ -23,7 +23,7 @@ scEthernetRecv_Entry:		/* Task 0 */
  .long   0x00000000
  .long   0x00000000
  .long   scEthernetRecv_CSave - taskTable	/* Task 0 context save space */
-.long   0xf0000000
+.long   CFG_MBAR
  .globl scEthernetXmit_Entry
  scEthernetXmit_Entry:		/* Task 1 */
  .long   scEthernetXmit_TDT - taskTable	/* Task 1 Descriptor Table */
@@ -33,7 +33,7 @@ scEthernetXmit_Entry:		/* Task 1 */
  .long   0x00000000
  .long   0x00000000
  .long   scEthernetXmit_CSave - taskTable	/* Task 1 context save space */
-.long   0xf0000000
+.long   CFG_MBAR


  .globl scEthernetRecv_TDT
@@ -151,7 +151,7 @@ scEthernetRecv_VarTab:	/* Task 0 Variabl
  .long   0x00000000	/* var[6] */
  .long   0x00000000	/* var[7] */
  .long   0x00000000	/* var[8] */
-.long   0xf0008800	/* var[9] */
+.long   (CFG_MBAR + 0x8800)	/* var[9] */
  .long   0x00000008	/* var[10] */
  .long   0x0000000c	/* var[11] */
  .long   0x80000000	/* var[12] */
@@ -190,7 +190,7 @@ scEthernetXmit_VarTab:	/* Task 1 Variabl
  .long   0x00000000	/* var[8] */
  .long   0x00000000	/* var[9] */
  .long   0x00000000	/* var[10] */
-.long   0xf0008800	/* var[11] */
+.long   (CFG_MBAR + 0x8800)	/* var[11] */
  .long   0x00000000	/* var[12] */
  .long   0x80000000	/* var[13] */
  .long   0x10000000	/* var[14] */

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

* [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware
  2008-01-09 13:11 [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware Oliver Weber
@ 2008-01-09 14:23 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-01-09 14:23 UTC (permalink / raw)
  To: u-boot

In message <4784C7E8.4080209@gmx.de> you wrote:
> Hi,
> 
> the following patch is for the MPC5200 Bestcomm firmware.
> This patch removes the absolute adressing of the MBAR registers at
> address 0xf0000000 and makes the FEC driver runable on custom boards
> which have the MBAR located at other places.

Your patch has corrupted whit space and cannot be applied.  Please fix
your mailer and resubmit.

And make sure to add the required signed-off-by line.

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
Worlds may change, galaxies disintegrate, but a woman always  remains
a woman.
	-- Kirk, "The Conscience of the King", stardate 2818.9

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

* [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware
@ 2008-01-09 16:04 Oliver Weber
  2008-01-12 20:19 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Weber @ 2008-01-09 16:04 UTC (permalink / raw)
  To: u-boot

I hope now everything is ok with the format.

Best Regards

Oliver Weber

Signed-off-by: Oliver Weber <almoeli@gmx.de>

diff --git a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
index 1d83fe2..a07c776 100644
--- a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
+++ b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
@@ -23,7 +23,7 @@ scEthernetRecv_Entry:		/* Task 0 */
 .long   0x00000000
 .long   0x00000000
 .long   scEthernetRecv_CSave - taskTable	/* Task 0 context save space */
-.long   0xf0000000
+.long   CFG_MBAR
 .globl scEthernetXmit_Entry
 scEthernetXmit_Entry:		/* Task 1 */
 .long   scEthernetXmit_TDT - taskTable	/* Task 1 Descriptor Table */
@@ -33,7 +33,7 @@ scEthernetXmit_Entry:		/* Task 1 */
 .long   0x00000000
 .long   0x00000000
 .long   scEthernetXmit_CSave - taskTable	/* Task 1 context save space */
-.long   0xf0000000
+.long   CFG_MBAR
 
 
 .globl scEthernetRecv_TDT
@@ -151,7 +151,7 @@ scEthernetRecv_VarTab:	/* Task 0 Variabl
 .long   0x00000000	/* var[6] */
 .long   0x00000000	/* var[7] */
 .long   0x00000000	/* var[8] */
-.long   0xf0008800	/* var[9] */
+.long   (CFG_MBAR + 0x8800)	/* var[9] */
 .long   0x00000008	/* var[10] */
 .long   0x0000000c	/* var[11] */
 .long   0x80000000	/* var[12] */
@@ -190,7 +190,7 @@ scEthernetXmit_VarTab:	/* Task 1 Variabl
 .long   0x00000000	/* var[8] */
 .long   0x00000000	/* var[9] */
 .long   0x00000000	/* var[10] */
-.long   0xf0008800	/* var[11] */
+.long   (CFG_MBAR + 0x8800)	/* var[11] */
 .long   0x00000000	/* var[12] */
 .long   0x80000000	/* var[13] */
 .long   0x10000000	/* var[14] */

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

* [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware
  2008-01-09 16:04 Oliver Weber
@ 2008-01-12 20:19 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-01-12 20:19 UTC (permalink / raw)
  To: u-boot

In message <20080109160438.175110@gmx.net> you wrote:
> I hope now everything is ok with the format.
> 
> Best Regards
> 
> Oliver Weber
> 
> Signed-off-by: Oliver Weber <almoeli@gmx.de>

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always try to do things in chronological order; it's  less  confusing
that way.

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

end of thread, other threads:[~2008-01-12 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 13:11 [U-Boot-Users] [PATCH] Not use absolute MBAR in MPC5200 Bestcomm firmware Oliver Weber
2008-01-09 14:23 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-01-09 16:04 Oliver Weber
2008-01-12 20:19 ` Wolfgang Denk

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