[U-Boot-Users] [PATCH 0/2] Coldfire Ethernet initialization changes

Ben Warren
2008-07-08T18:42:47Z

Liew Tsi Chung wrote:
> Ben,
>
>
>> I'm pushing these patches to a 'testing' branch on the net repo.
>>
> Please clone it as follows:
>
>> $ 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...
> 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...
> -#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