Skip to content

Coldfire Ethernet initialization changes

Ben Warren u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/2] Coldfire Ethernet initialization changes
Quoted 7 lines · Liew Tsi Chung

Ben,

Quoted 2 lines

I'm pushing these patches to a 'testing' branch on the net repo.

Please clone it as follows:

Quoted 9 lines
Quoted 2 lines
$ git clone git://git.denx.de/u-boot-net.git $ cd u-boot-net $ git

checkout testing
There is no testing branch in u-boot-net, so I applied the two patches you sent on top of current u-boot-net tree (commit 63676841ca2d603b13765f3f7b72ff1a61c23f90 - Jun 18. Remove duplicate code in cpu/arm926ejs/davinci/lxt972.c).

There is a testing branch in the repo:
http://git.denx.de/?p=u-boot/u-boot-net.git;a=shortlog;h=refs/heads/testing

I just don't know how to use git properly...

Quoted 6 lines

Only one conflict and error:
The first patch - CONFIG_FSLDMAFEC for 547x_8x and is correct. Then, the second patch - CONFIG_MCFFEC, appended #if after ||, either remove CONFIG_MCFFEC for 547x_8x or remove "#if ".

Oh yeah, duh! I need to free up some space on my hard drive so I can have more tools...

Review

Quoted 10 lines
(quoted diff) +7 -1
-#if defined(CONFIG_FSLDMAFEC)
+#if defined(CONFIG_FSLDMAFEC) || #if defined(CONFIG_MCFFEC)
+/* Default initializations for MCFFEC controllers.  To override,
+ * create a board-specific function called:
+ * 	int board_eth_init(bd_t *bis)
+ */
+
 extern int mcdmafec_initialize(bd_t *bis);
+extern int mcffec_initialize(bd_t*);

Does it work after you fix this up?

thanks a lot!
Ben