
7 Oct
2004
7 Oct
'04
9:14 a.m.
Hi all,
I am currently trying to run u-boot on 8241 based board. I am copying my settings from MUSENKI which is also based on 8241.
The board has on board Realtek8139 based ethernet port, so I enable CONFIG_RTL8139. But during compilation, the following error occur: rtl8139.c: In function 'rtl8139_probe': rtl8139.c:253: '_IO_BASE' undeclared (first us in the function) ...
Basically the out* definitions refused to compile because it is tranlated into _out*( (addr)+_IO_BASE, ... ). So how do you get this _IO_BASE? Should I define it in the "include/config/<board>.h" ?
The only other board using RTL8139 is TB0229 but I also can't find _IO_BASE definition anywhere.
Thanks, any help is appreciated.
Yusdi