mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 05:55:02 -04:00
smc91111_eeprom: drop CONFIG stub protection
Since the Makefile now controls the compilation of this, there is no need for CONFIG checking nor the stub function. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
f3a7bddc06
commit
64a480601a
@ -33,8 +33,6 @@
|
|||||||
struct eth_device { unsigned long iobase; };
|
struct eth_device { unsigned long iobase; };
|
||||||
#include "../drivers/net/smc91111.h"
|
#include "../drivers/net/smc91111.h"
|
||||||
|
|
||||||
#ifdef CONFIG_SMC91111
|
|
||||||
|
|
||||||
#ifndef SMC91111_EEPROM_INIT
|
#ifndef SMC91111_EEPROM_INIT
|
||||||
# define SMC91111_EEPROM_INIT()
|
# define SMC91111_EEPROM_INIT()
|
||||||
#endif
|
#endif
|
||||||
@ -391,13 +389,3 @@ void dump_reg (struct eth_device *dev)
|
|||||||
printf ("\n");
|
printf ("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
int smc91111_eeprom (int argc, char *argv[])
|
|
||||||
{
|
|
||||||
printf("Not supported for this board\n");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user