[U-Boot-Users] Can ethernet be disabled?

I'm porting u-boot to a custom PXA255 board. At present there is no network interface so I'm only interested in loading data over a serial port. Can I disable network support pre-compilation to cut down the size of u-boot?
ie. Is there an equivalent of " #define CONFIG_LCD 0 " to disable network support.?
So far builds fail unless I define at least one network controller.
Cheers

David Miles dave@minervatech.net schreibt:
I'm porting u-boot to a custom PXA255 board. At present there is no network interface so I'm only interested in loading data over a serial port. Can I disable network support pre-compilation to cut down the size of u-boot?
ie. Is there an equivalent of " #define CONFIG_LCD 0 " to disable network support.?
So far builds fail unless I define at least one network controller.
Could you please be more specific?
- which version of u-boot? - in what way does your build fail?
I've just been through the process of porting u-boot to a freshly developed PXA255-base board, and even though I didn't define any network controller I did't experience any such weird dependency problem.
Perhaps what you're seeing is a side-effect of some configuration error?
Cheers Anders

In message 200310021408.41668.dave@minervatech.net you wrote:
I'm porting u-boot to a custom PXA255 board. At present there is no network interface so I'm only interested in loading data over a serial port. Can I disable network support pre-compilation to cut down the size of u-boot?
ie. Is there an equivalent of " #define CONFIG_LCD 0 " to disable network support.?
It doesn't work this way. "#define CONFIG_LCD 0" is extremely misleading. Don't ever do this. Either #define the option (which enables it, no matter which value the variable has, if any at all, or do NOT #define it.
Don't #define network options (including the network related commands, and no network support will be included.
Best regards,
Wolfgang Denk
participants (3)
-
Anders Larsen
-
David Miles
-
Wolfgang Denk