[U-Boot-Users] [PATCH 00/14] Fix CONFIG_BOOTP and cleanup CFG_CMD refs.

Jon Loeliger jdl at jdl.com
Tue Jul 10 18:31:34 CEST 2007


Folks,

This teeny set of 14 patches adds the missing CONFIG_BOOTP_
definitions to those board port files that used to #include
cmd_confdefs.h but didn't define CONFIG_BOOTP_MASK directly,
thus tacitly using the so-called default BOOTP options.

It also cleans out references to old CFG_CMD_* symbols that
were mostly molding in comments.

However there were places that incorrectly used something like

    #if defined(CFG_CMD_IDE)

that were changed to the (now) correct test on CONFIG_CMD_IDE.
Since CFG_CMD_IDE was a bitvalue, it was always TRUE, and so
some code was (incorrectly) always being compiled even though
the intent was to make it selected.

Think of it as smaller images now!  But also note that it may
cause link problems that must now be resolved properly.

This really should be the end of this effort, modulo lingering
cleanup and typos.

No, really.

All applied to, and available here too:

    www.jdl.com/software/u-boot-cfg.jdl

jdl



 board/Marvell/common/serial.c    |    2 +-
 board/amirix/ap1000/serial.c     |    2 +-
 board/bc3450/bc3450.c            |    4 ++--
 board/bc3450/cmd_bc3450.c        |    2 +-
 board/bf537-stamp/ether_bf537.c  |    2 +-
 board/c2mon/pcmcia.c             |    2 +-
 board/cpc45/cpc45.c              |    2 +-
 board/emk/top5200/top5200.c      |    4 ++--
 board/esd/common/auto_update.c   |    2 +-
 board/esd/cpci5200/cpci5200.c    |    4 ++--
 board/esd/cpci750/ide.c          |    2 +-
 board/esd/cpci750/serial.c       |    2 +-
 board/esd/mecp5200/mecp5200.c    |    4 ++--
 board/esd/pf5200/pf5200.c        |    4 ++--
 board/evb64260/eth.c             |    2 +-
 board/evb64260/serial.c          |    2 +-
 board/evb64260/zuma_pbb.c        |    2 +-
 board/fads/fads.c                |    2 +-
 board/fads/fads.h                |   14 ++++++++++++--
 board/gen860t/gen860t.c          |    2 +-
 board/genietv/genietv.c          |    2 +-
 board/hymod/bsp.c                |    4 +---
 board/icecube/icecube.c          |    4 ++--
 board/icu862/pcmcia.c            |    2 +-
 board/ids8247/ids8247.c          |    2 +-
 board/inka4x0/inka4x0.c          |    4 ++--
 board/jupiter/jupiter.c          |    4 ++--
 board/kup/common/pcmcia.c        |    2 +-
 board/lwmon/lwmon.c              |    2 +-
 board/lwmon/pcmcia.c             |    2 +-
 board/mcc200/auto_update.c       |    2 +-
 board/mcc200/mcc200.c            |    4 ++--
 board/netta/pcmcia.c             |    2 +-
 board/pcippc2/pcippc2.c          |    2 +-
 board/pm520/pm520.c              |    4 ++--
 board/r360mpi/pcmcia.c           |    2 +-
 board/sacsng/sacsng.c            |    2 +-
 board/siemens/pcu_e/pcu_e.c      |    2 +-
 board/sixnet/sixnet.c            |    2 +-
 board/ssv/adnpesc1/adnpesc1.c    |    2 +-
 board/ssv/common/cmd_sled.c      |    2 +-
 board/ssv/common/wd_pio.c        |    2 +-
 board/total5200/total5200.c      |    4 ++--
 board/tqm5200/cmd_stk52xx.c      |    2 +-
 board/tqm5200/cmd_tb5200.c       |    2 +-
 board/tqm5200/tqm5200.c          |    4 ++--
 board/tqm8272/tqm8272.c          |    2 +-
 board/trab/auto_update.c         |    2 +-
 board/trab/cmd_trab.c            |    2 +-
 board/trab/trab_fkt.c            |   20 ++++++++++----------
 board/uc100/pcmcia.c             |    2 +-
 board/v38b/v38b.c                |    4 ++--
 board/xilinx/ml300/serial.c      |    2 +-
 common/cmd_autoscript.c          |    7 ++++---
 common/cmd_bdinfo.c              |    6 +++---
 common/cmd_bedbug.c              |    2 +-
 common/cmd_bootm.c               |   12 ++++++------
 common/cmd_cache.c               |    2 +-
 common/cmd_console.c             |    2 +-
 common/cmd_date.c                |    2 +-
 common/cmd_dcr.c                 |    2 +-
 common/cmd_diag.c                |    2 +-
 common/cmd_display.c             |    2 +-
 common/cmd_eeprom.c              |    7 ++++---
 common/cmd_elf.c                 |    2 +-
 common/cmd_fat.c                 |    2 +-
 common/cmd_flash.c               |    2 +-
 common/cmd_i2c.c                 |    8 ++++----
 common/cmd_immap.c               |    2 +-
 common/cmd_jffs2.c               |    2 +-
 common/cmd_load.c                |   18 +++++++++---------
 common/cmd_mem.c                 |    2 +-
 common/cmd_mfsl.c                |    2 +-
 common/cmd_mii.c                 |    2 +-
 common/cmd_misc.c                |    2 +-
 common/cmd_mmc.c                 |    2 +-
 common/cmd_net.c                 |   12 ++++++------
 common/cmd_nvedit.c              |   10 +++++-----
 common/cmd_portio.c              |    2 +-
 common/cmd_spi.c                 |    2 +-
 common/cmd_vfd.c                 |    2 +-
 common/command.c                 |    2 +-
 common/env_flash.c               |    2 +-
 common/env_nand.c                |    2 +-
 common/hush.c                    |    2 +-
 common/kgdb.c                    |    2 +-
 common/main.c                    |    4 ++--
 common/usb_storage.c             |    2 +-
 cpu/74xx_7xx/kgdb.S              |    2 +-
 cpu/i386/serial.c                |    2 +-
 cpu/mcf52x2/fec.c                |    2 +-
 cpu/mpc5xxx/ide.c                |    4 ++--
 cpu/mpc8260/ether_fcc.c          |    2 +-
 cpu/mpc8260/ether_scc.c          |    2 +-
 cpu/mpc8260/kgdb.S               |    2 +-
 cpu/mpc85xx/ether_fcc.c          |    2 +-
 cpu/mpc8xx/fec.c                 |    2 +-
 cpu/mpc8xx/kgdb.S                |    2 +-
 cpu/mpc8xx/scc.c                 |    2 +-
 cpu/mpc8xx/serial.c              |    2 +-
 cpu/ppc4xx/dcr.S                 |    2 +-
 cpu/ppc4xx/kgdb.S                |    2 +-
 cpu/ppc4xx/serial.c              |    2 +-
 disk/part.c                      |    2 +-
 doc/README.JFFS2                 |    2 +-
 doc/README.PIP405                |   14 ++++++--------
 doc/README.usb                   |    6 +++---
 drivers/bcm570x.c                |    2 +-
 drivers/cfb_console.c            |    6 +++---
 drivers/dc2114x.c                |    2 +-
 drivers/mpc8xx_pcmcia.c          |    2 +-
 drivers/rtl8139.c                |    2 +-
 drivers/tigon3.c                 |    2 +-
 drivers/tqm8xx_pcmcia.c          |    2 +-
 fs/ext2/dev.c                    |    2 +-
 fs/ext2/ext2fs.c                 |    2 +-
 fs/jffs2/compr_rtime.c           |    2 +-
 fs/jffs2/compr_rubin.c           |    2 +-
 fs/jffs2/compr_zlib.c            |    2 +-
 fs/jffs2/jffs2_1pass.c           |    2 +-
 fs/jffs2/jffs2_nand_1pass.c      |    2 +-
 fs/jffs2/mini_inflate.c          |    2 +-
 fs/reiserfs/dev.c                |    2 +-
 fs/reiserfs/mode_string.c        |    2 +-
 fs/reiserfs/reiserfs.c           |    2 +-
 include/_exports.h               |    2 +-
 include/configs/A3000.h          |    9 +++++++++
 include/configs/ADCIOP.h         |    9 +++++++++
 include/configs/ADNPESC1.h       |    9 +++++++++
 include/configs/AP1000.h         |    8 ++++++++
 include/configs/APC405.h         |    9 +++++++++
 include/configs/AR405.h          |    9 +++++++++
 include/configs/ASH405.h         |    9 +++++++++
 include/configs/Adder.h          |    9 +++++++++
 include/configs/Alaska8220.h     |    9 +++++++++
 include/configs/BC3450.h         |   12 ++++++++++--
 include/configs/BMW.h            |   11 ++++++++++-
 include/configs/CANBT.h          |    9 +++++++++
 include/configs/CATcenter.h      |    9 +++++++++
 include/configs/CPCI2DP.h        |    9 +++++++++
 include/configs/CPCI440.h        |    9 +++++++++
 include/configs/CPCIISER4.h      |   18 ++++++++++++++++++
 include/configs/DASA_SIM.h       |    9 +++++++++
 include/configs/DK1C20.h         |    9 +++++++++
 include/configs/DK1S10.h         |    9 +++++++++
 include/configs/DP405.h          |    9 +++++++++
 include/configs/DU405.h          |    9 +++++++++
 include/configs/EB+MCF-EV123.h   |    9 +++++++++
 include/configs/EP1C20.h         |    9 +++++++++
 include/configs/EP1S10.h         |    9 +++++++++
 include/configs/EP1S40.h         |    9 +++++++++
 include/configs/EP88x.h          |    9 +++++++++
 include/configs/ERIC.h           |    9 +++++++++
 include/configs/EXBITGEN.h       |    9 +++++++++
 include/configs/FADS823.h        |    1 -
 include/configs/FADS850SAR.h     |    9 +++++++++
 include/configs/G2000.h          |    9 +++++++++
 include/configs/GENIETV.h        |    9 +++++++++
 include/configs/GTH.h            |    9 +++++++++
 include/configs/HH405.h          |   17 +++++++++++++----
 include/configs/HIDDEN_DRAGON.h  |    9 +++++++++
 include/configs/HUB405.h         |    9 +++++++++
 include/configs/IDS8247.h        |    2 +-
 include/configs/ISPAN.h          |    9 +++++++++
 include/configs/IceCube.h        |   25 +++++++++++++++----------
 include/configs/JSE.h            |    9 +++++++++
 include/configs/KAREF.h          |    9 +++++++++
 include/configs/M5271EVB.h       |    9 +++++++++
 include/configs/M5272C3.h        |    9 +++++++++
 include/configs/M5282EVB.h       |    9 +++++++++
 include/configs/MBX.h            |    9 +++++++++
 include/configs/METROBOX.h       |    9 +++++++++
 include/configs/MIP405.h         |    9 +++++++++
 include/configs/ML2.h            |    9 +++++++++
 include/configs/MOUSSE.h         |    9 +++++++++
 include/configs/MPC8260ADS.h     |    9 +++++++++
 include/configs/MPC8313ERDB.h    |    9 +++++++++
 include/configs/MPC832XEMDS.h    |    9 +++++++++
 include/configs/MPC8349EMDS.h    |    9 +++++++++
 include/configs/MPC8349ITX.h     |   11 ++++++++++-
 include/configs/MPC8360EMDS.h    |    9 +++++++++
 include/configs/MPC8540ADS.h     |    9 +++++++++
 include/configs/MPC8540EVAL.h    |    9 +++++++++
 include/configs/MPC8541CDS.h     |    9 +++++++++
 include/configs/MPC8544DS.h      |    9 +++++++++
 include/configs/MPC8548CDS.h     |    9 +++++++++
 include/configs/MPC8555CDS.h     |    9 +++++++++
 include/configs/MPC8560ADS.h     |    9 +++++++++
 include/configs/MPC8568MDS.h     |    9 +++++++++
 include/configs/MPC8641HPCN.h    |    9 +++++++++
 include/configs/MUSENKI.h        |    9 +++++++++
 include/configs/OCRTC.h          |    9 +++++++++
 include/configs/ORSG.h           |    9 +++++++++
 include/configs/OXC.h            |    9 +++++++++
 include/configs/PATI.h           |    9 +++++++++
 include/configs/PCI405.h         |    9 +++++++++
 include/configs/PCI5441.h        |    9 +++++++++
 include/configs/PIP405.h         |    9 +++++++++
 include/configs/PK1C20.h         |    9 +++++++++
 include/configs/PLU405.h         |    9 +++++++++
 include/configs/PM520.h          |    9 +++++++++
 include/configs/PM854.h          |    9 +++++++++
 include/configs/PM856.h          |    9 +++++++++
 include/configs/PMC405.h         |    9 +++++++++
 include/configs/PN62.h           |    9 +++++++++
 include/configs/PPChameleonEVB.h |    9 +++++++++
 include/configs/RPXsuper.h       |    9 +++++++++
 include/configs/Rattler.h        |   11 ++++++++++-
 include/configs/SBC8540.h        |    9 +++++++++
 include/configs/SL8245.h         |    9 +++++++++
 include/configs/SX1.h            |    9 +++++++++
 include/configs/SXNI855T.h       |    9 +++++++++
 include/configs/Sandpoint8240.h  |    9 +++++++++
 include/configs/Sandpoint8245.h  |    9 +++++++++
 include/configs/TASREG.h         |    9 +++++++++
 include/configs/TB5200.h         |   12 ++++++++++--
 include/configs/TOP5200.h        |    9 +++++++++
 include/configs/TQM5200.h        |   12 ++++++++++--
 include/configs/TQM8272.h        |   14 ++++++++------
 include/configs/TQM834x.h        |    9 +++++++++
 include/configs/TQM85xx.h        |    9 +++++++++
 include/configs/TQM885D.h        |    3 +--
 include/configs/Total5200.h      |    9 +++++++++
 include/configs/VCMA9.h          |    9 +++++++++
 include/configs/VOH405.h         |    9 +++++++++
 include/configs/VoVPN-GW.h       |    9 +++++++++
 include/configs/W7OLMC.h         |    9 +++++++++
 include/configs/W7OLMG.h         |    9 +++++++++
 include/configs/WUH405.h         |    9 +++++++++
 include/configs/XPEDITE1K.h      |    9 +++++++++
 include/configs/Yukon8220.h      |    9 +++++++++
 include/configs/ZPC1900.h        |    9 +++++++++
 include/configs/acadia.h         |    9 +++++++++
 include/configs/adsvix.h         |    9 +++++++++
 include/configs/aev.h            |   12 ++++++++++--
 include/configs/alpr.h           |    9 +++++++++
 include/configs/at91rm9200dk.h   |    9 +++++++++
 include/configs/bamboo.h         |    9 +++++++++
 include/configs/barco.h          |    3 ++-
 include/configs/bf533-ezkit.h    |    9 +++++++++
 include/configs/bf533-stamp.h    |    9 +++++++++
 include/configs/bf537-stamp.h    |    9 +++++++++
 include/configs/bf561-ezkit.h    |    9 +++++++++
 include/configs/bubinga.h        |    9 +++++++++
 include/configs/canmb.h          |    9 +++++++++
 include/configs/cerf250.h        |    9 +++++++++
 include/configs/cm4008.h         |    9 +++++++++
 include/configs/cm41xx.h         |    9 +++++++++
 include/configs/cmc_pu2.h        |    9 +++++++++
 include/configs/cmi_mpc5xx.h     |    9 +++++++++
 include/configs/cobra5272.h      |    9 +++++++++
 include/configs/cogent_mpc8260.h |    9 +++++++++
 include/configs/cogent_mpc8xx.h  |    9 +++++++++
 include/configs/cpci5200.h       |    9 +++++++++
 include/configs/cradle.h         |    9 +++++++++
 include/configs/csb226.h         |    9 +++++++++
 include/configs/csb637.h         |    9 +++++++++
 include/configs/dbau1x00.h       |    9 +++++++++
 include/configs/debris.h         |    9 +++++++++
 include/configs/delta.h          |    9 +++++++++
 include/configs/dnp1110.h        |    9 +++++++++
 include/configs/eXalion.h        |    9 +++++++++
 include/configs/ebony.h          |    9 +++++++++
 include/configs/ep8248.h         |   13 +++++++++++--
 include/configs/ep8260.h         |    9 +++++++++
 include/configs/ep82xxm.h        |   13 +++++++++++--
 include/configs/gth2.h           |    9 +++++++++
 include/configs/hmi1001.h        |   12 ++++++++++--
 include/configs/hymod.h          |    9 +++++++++
 include/configs/idmr.h           |    9 +++++++++
 include/configs/incaip.h         |    9 +++++++++
 include/configs/inka4x0.h        |   12 ++++++++++--
 include/configs/innokom.h        |    9 +++++++++
 include/configs/integratorap.h   |    9 +++++++++
 include/configs/integratorcp.h   |    9 +++++++++
 include/configs/ixdp425.h        |    9 +++++++++
 include/configs/ixdpg425.h       |    9 +++++++++
 include/configs/jupiter.h        |   14 +++++++++++++-
 include/configs/katmai.h         |    9 +++++++++
 include/configs/kb9202.h         |    9 +++++++++
 include/configs/lart.h           |    9 +++++++++
 include/configs/logodl.h         |    9 +++++++++
 include/configs/lpd7a400.h       |    9 +++++++++
 include/configs/lpd7a404.h       |    9 +++++++++
 include/configs/luan.h           |    9 +++++++++
 include/configs/lubbock.h        |    9 +++++++++
 include/configs/lwmon5.h         |    9 +++++++++
 include/configs/mcc200.h         |    9 +++++++++
 include/configs/mecp5200.h       |    9 +++++++++
 include/configs/ml300.h          |    9 +++++++++
 include/configs/ml401.h          |    9 +++++++++
 include/configs/motionpro.h      |    9 +++++++++
 include/configs/mp2usb.h         |    9 +++++++++
 include/configs/mx1ads.h         |    9 +++++++++
 include/configs/mx1fs2.h         |   11 ++++++++++-
 include/configs/ns9750dev.h      |    9 +++++++++
 include/configs/o2dnt.h          |   13 ++++++++++---
 include/configs/ocotea.h         |    9 +++++++++
 include/configs/p3p440.h         |    9 +++++++++
 include/configs/pb1x00.h         |    9 +++++++++
 include/configs/pcs440ep.h       |    9 +++++++++
 include/configs/pdnb3.h          |    9 +++++++++
 include/configs/pf5200.h         |   24 +++++++++++++-----------
 include/configs/pleb2.h          |    9 +++++++++
 include/configs/ppmc7xx.h        |    9 +++++++++
 include/configs/purple.h         |    9 +++++++++
 include/configs/pxa255_idp.h     |    9 +++++++++
 include/configs/r5200.h          |    9 +++++++++
 include/configs/rsdproto.h       |    9 +++++++++
 include/configs/sbc2410x.h       |    9 +++++++++
 include/configs/sbc8349.h        |    9 +++++++++
 include/configs/sbc8560.h        |    9 +++++++++
 include/configs/sc3.h            |    9 +++++++++
 include/configs/sc520_cdp.h      |    9 +++++++++
 include/configs/sc520_spunk.h    |    9 +++++++++
 include/configs/scb9328.h        |   11 ++++++++++-
 include/configs/sequoia.h        |    9 +++++++++
 include/configs/shannon.h        |    9 +++++++++
 include/configs/smdk2400.h       |    9 +++++++++
 include/configs/smdk2410.h       |    9 +++++++++
 include/configs/smmaco4.h        |   12 ++++++++++--
 include/configs/sorcery.h        |    9 +++++++++
 include/configs/spc1920.h        |   11 ++++++++++-
 include/configs/spieval.h        |   12 ++++++++++--
 include/configs/stxgp3.h         |    9 +++++++++
 include/configs/stxssa.h         |    9 +++++++++
 include/configs/suzaku.h         |    9 +++++++++
 include/configs/taishan.h        |    9 +++++++++
 include/configs/tb0229.h         |    9 +++++++++
 include/configs/trab.h           |    9 +++++++++
 include/configs/uc101.h          |   12 ++++++++++--
 include/configs/utx8245.h        |    9 +++++++++
 include/configs/v38b.h           |    9 +++++++++
 include/configs/walnut.h         |    9 +++++++++
 include/configs/wepep250.h       |   11 ++++++++++-
 include/configs/xaeniax.h        |    9 +++++++++
 include/configs/xm250.h          |    9 +++++++++
 include/configs/xsengine.h       |    9 +++++++++
 include/configs/xupv2p.h         |    9 +++++++++
 include/configs/yosemite.h       |    9 +++++++++
 include/configs/yucca.h          |    9 +++++++++
 include/configs/zylonite.h       |    9 +++++++++
 include/exports.h                |    2 +-
 include/pcmcia.h                 |    2 +-
 lib_arm/board.c                  |    2 +-
 lib_generic/crc32.c              |    4 ++--
 lib_i386/board.c                 |    4 ++--
 lib_m68k/board.c                 |    2 +-
 lib_mips/board.c                 |    2 +-
 lib_ppc/board.c                  |    4 ++--
 lib_ppc/kgdb.c                   |    2 +-
 net/bootp.c                      |   18 +++++++++---------
 net/net.c                        |    8 ++++----
 net/rarp.c                       |    2 +-
 net/tftp.c                       |    2 +-
 rtc/bf5xx_rtc.c                  |    2 +-
 rtc/date.c                       |    2 +-
 rtc/ds1307.c                     |    2 +-
 rtc/ds1337.c                     |    2 +-
 rtc/ds1374.c                     |    2 +-
 rtc/ds1556.c                     |    2 +-
 rtc/ds164x.c                     |    2 +-
 rtc/ds174x.c                     |    2 +-
 rtc/m41t11.c                     |    2 +-
 rtc/m48t35ax.c                   |    2 +-
 rtc/max6900.c                    |    2 +-
 rtc/mc146818.c                   |    2 +-
 rtc/mpc5xxx.c                    |    2 +-
 rtc/mpc8xx.c                     |    4 +---
 rtc/pcf8563.c                    |    2 +-
 rtc/s3c24x0_rtc.c                |    4 +---
 tools/updater/cmd_flash.c        |    2 +-
 372 files changed, 2205 insertions(+), 312 deletions(-)




More information about the U-Boot mailing list