X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcm41xx%2Fcm41xx.c;h=d9dff4e1e5cf87eb22e517e481b6c2c8b683a7c2;hb=714afa64f3d81a660715b61785f1f3a3b986f852;hp=02d05afef6e824b618e872670a3af75c7e6723e2;hpb=197b049b8b8a488384f351b988dd15f78830ba4e;p=u-boot diff --git a/board/cm41xx/cm41xx.c b/board/cm41xx/cm41xx.c index 02d05afef6..d9dff4e1e5 100644 --- a/board/cm41xx/cm41xx.c +++ b/board/cm41xx/cm41xx.c @@ -30,6 +30,7 @@ #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -46,8 +47,8 @@ DECLARE_GLOBAL_DATA_PTR; */ int env_flash_cmdline (void) { - unsigned char *sp = (unsigned char *) 0x0201c020; - unsigned char *ep; + char *sp = (char *) 0x0201c020; + char *ep; int len; /* Check if "erase" push button is depressed */ @@ -74,6 +75,10 @@ int board_late_init (void) return 0; } +int board_eth_init(bd_t *bis) +{ + return ks8695_eth_initialize(); +} int board_init (void) {