X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Fpsyent%2Fpk1c20%2Fpk1c20.c;h=0a248669601271ca687dc5b2ba3617512e78fb54;hb=e6441c4f4070aac6825f5b195f38dfe1da53675c;hp=1924ae3d172b3f2ea2a87d91bb6ca6e4207a66b0;hpb=5c952cf0245421feb4644f2e71487c0b2e1dbd13;p=u-boot diff --git a/board/psyent/pk1c20/pk1c20.c b/board/psyent/pk1c20/pk1c20.c index 1924ae3d17..0a24866960 100644 --- a/board/psyent/pk1c20/pk1c20.c +++ b/board/psyent/pk1c20/pk1c20.c @@ -22,6 +22,7 @@ */ #include +#include int board_early_init_f (void) { @@ -34,7 +35,18 @@ int checkboard (void) return 0; } -long int initdram (int board_type) +phys_size_t initdram (int board_type) { return (0); } + +#ifdef CONFIG_CMD_NET +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_SMC91111 + rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); +#endif + return rc; +} +#endif