projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API
[oweals/u-boot.git]
/
include
/
configs
/
bf533-ezkit.h
diff --git
a/include/configs/bf533-ezkit.h
b/include/configs/bf533-ezkit.h
index 8342ec7d2b170a8478b2382497f66a0fe6fb9f77..c80ddcabdf2c8cc3c1db03d961ce35987c229894 100644
(file)
--- a/
include/configs/bf533-ezkit.h
+++ b/
include/configs/bf533-ezkit.h
@@
-65,12
+65,14
@@
* Network Settings
*/
#define ADI_CMDS_NETWORK 1
* Network Settings
*/
#define ADI_CMDS_NETWORK 1
-#define CONFIG_DRIVER_SMC91111 1
+#define CONFIG_NET_MULTI
+#define CONFIG_SMC91111 1
#define CONFIG_SMC91111_BASE 0x20310300
#define SMC91111_EEPROM_INIT() \
do { \
#define CONFIG_SMC91111_BASE 0x20310300
#define SMC91111_EEPROM_INIT() \
do { \
- *pFIO_DIR |= PF1; \
- *pFIO_FLAG_S = PF1; \
+ bfin_write_FIO_DIR(bfin_read_FIO_DIR() | PF1 | PF0); \
+ bfin_write_FIO_FLAG_C(PF1); \
+ bfin_write_FIO_FLAG_S(PF0); \
SSYNC(); \
} while (0)
#define CONFIG_HOSTNAME bf533-ezkit
SSYNC(); \
} while (0)
#define CONFIG_HOSTNAME bf533-ezkit