Skip to content

Introduce initial versions of new Command Config files.

Jon Loeliger u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19Introduce initial versions of new Command Config files.include/cmd_confdefs.h include/config_bootp.h include/config_cmd_all.h +1 more+165 -270 replies
2/19common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).common/cmd_autoscript.c common/cmd_bdinfo.c common/cmd_bedbug.c +18 more+51 -500 replies
3/19common/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).common/cmd_i2c.c common/cmd_ide.c common/cmd_immap.c +22 more+92 -710 replies
4/19common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).common/bedbug.c common/command.c common/docecc.c +10 more+15 -150 replies
5/19drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).drivers/bcm570x.c drivers/cfb_console.c drivers/cs8900.c +32 more+60 -580 replies
6/19fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).fs/cramfs/cramfs.c fs/cramfs/uncompress.c fs/ext2/dev.c +20 more+37 -350 replies
7/19disk/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).disk/part.c disk/part_amiga.c disk/part_dos.c +2 more+24 -240 replies
8/19net/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).net/bootp.c net/bootp.h net/eth.c +5 more+56 -540 replies
9/19rtc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).rtc/bf5xx_rtc.c rtc/date.c rtc/ds12887.c +19 more+22 -220 replies
10/19lib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).lib_ppc/board.c lib_ppc/kgdb.c+18 -170 replies
11/19lib_*/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).lib_arm/board.c lib_avr32/board.c lib_blackfin/board.c +5 more+36 -340 replies
12/19cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).cpu/mpc5xx/interrupts.c cpu/mpc5xx/traps.c cpu/mpc5xxx/cpu_init.c +25 more+96 -951 reply
13/19cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).cpu/74xx_7xx/kgdb.S cpu/74xx_7xx/traps.c cpu/arm920t/at91rm9200/bcm5221.c +20 more+45 -450 replies
14/19board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).board/MAI/AmigaOneG3SE/cmd_boota.c board/MAI/menu/cmd_menu.c board/Marvell/common/serial.c +50 more+75 -750 replies
15/19board/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).board/kb9202/kb9202.c board/kup/common/pcmcia.c board/lwmon/lwmon.c +49 more+77 -770 replies
16/19tools/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).tools/updater/cmd_flash.c+1 -10 replies
17/19include/ non-config: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).include/_exports.h include/config_cmd_default.h include/exports.h +4 more+10 -110 replies
18/19README: Rewrite command line config to use CONFIG_CMD_* names.README+86 -930 replies
19/19configs/ mpc86xx: Rewrite command line options using new CONFIG_CMD-* style.include/configs/MPC8641HPCN.h+22 -360 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH: cmdcfg: 00/19] Introduce initial versions of new Command Config files.

Wolfgang,

This series of 19 patches introduces new CONFIG_CMD_* names to replace the existing CFG_CMD_* and eliminates the need for the bit-wise command configuration scheme.

In this step, the new names are introduced in "all" and "default" files. Individual boards can then be configured with either of those starting points and augmented with additional #define or #undef statements as desired.

This patch series implements a "temporary step" in which both the old and new configuration mechanism are still fully supported, but the old style using CFG_CMD_* is deprecated. All references that used to exist with CFG_CMD_* are now duplicated to have

    (CFG_CMD_x || CONFIG_CMD_x)

as a temporary measure, until all the individual board config files are updated to use the new symbols. When that happens, the old symbols will be removed.

An example new style command config file is shown in include/configs/MPC8641HPCN.h.

I've made this series of patches available as a git repository called u-boot-cfg.git:

gitweb:
http://www.jdl.com/git_repos

git:
git clone git://www.jdl.com/software/u-boot-cfg.git

Enjoy!

jdl