public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Can ethernet be disabled?
@ 2003-10-02 21:08 David Miles
  2003-10-06  7:02 ` Anders Larsen
  2003-10-06  8:16 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: David Miles @ 2003-10-02 21:08 UTC (permalink / raw)
  To: u-boot

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
Minerva Technology Inc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Can ethernet be disabled?
  2003-10-02 21:08 [U-Boot-Users] Can ethernet be disabled? David Miles
@ 2003-10-06  7:02 ` Anders Larsen
  2003-10-06  8:16 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Anders Larsen @ 2003-10-06  7:02 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Can ethernet be disabled?
  2003-10-02 21:08 [U-Boot-Users] Can ethernet be disabled? David Miles
  2003-10-06  7:02 ` Anders Larsen
@ 2003-10-06  8:16 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2003-10-06  8:16 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
A little suffering is good for the soul.
	-- Kirk, "The Corbomite Maneuver", stardate 1514.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-06  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-02 21:08 [U-Boot-Users] Can ethernet be disabled? David Miles
2003-10-06  7:02 ` Anders Larsen
2003-10-06  8:16 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox