u-boot/include
Simon Glass 70db4212fc sandbox: add getopt support
This adds simple command-line parsing to sandbox. The idea is that it
sets up the state with options provided, and this state can then be
queried later, as needed.

New flags are declared with the SB_CMDLINE_OPT_SHORT helper macro,
pointers are automatically gathered up in a special section, and
then the core code takes care of gathering them up and processing
at runtime.  This way there is no central place where we have to
store a list of flags with ifdefs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-12 11:06:01 -04:00
..
andestech andes_pcu.h: header file of andes_pcu power control unit 2011-11-09 16:35:27 +08:00
asm-generic gpio: Modify common gpio.h to more closely match Linux 2012-01-09 20:10:32 -06:00
bedbug ppc: Fix DBSR_IAx defines in <bedbug/regs.h> 2011-10-09 22:20:44 +02:00
configs sandbox: enable GPIO driver 2012-03-12 11:03:43 -04:00
cramfs
faraday ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
galileo cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
jffs2 fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
linux nand: reinstate lazy bad block scanning 2012-02-28 14:03:39 -06:00
lzma Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
mtd cfi_flash: Add optional config register write to cfi-detection 2010-12-17 09:56:05 +01:00
pcmcia
synopsys dwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller 2011-11-09 16:35:27 +08:00
u-boot Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
usb usb: ulpi: Extend the existing ulpi framework. 2012-02-12 10:11:30 +01:00
_exports.h lib, vsprintf: introduce strict_strtoul 2011-05-12 21:07:06 +02:00
.gitignore tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
74xx_7xx.h powerpc: Move duplicated BAT defines to mmu.h 2009-02-10 00:27:40 +01:00
ACEX1K.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
addr_map.h Introduce addr_map library 2008-12-15 22:05:36 +01:00
ahci.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
ali512x.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
altera.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
amba_clcd.h video: add amba-clcd prime-cell 2010-01-27 21:23:14 +01:00
ambapp.h
api_public.h api: export LCD device to external apps 2011-11-15 23:58:27 +01:00
arm925t.h
armcoremodule.h
asm-offsets.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
at45.h at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECT 2009-04-04 20:42:19 +02:00
at91rm9200_i2c.h
at91rm9200_net.h
ata.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
atmel_lcdc.h
bcd.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
bcm5221.h
bmp_layout.h
bus_vcxk.h new video driver for bus vcxk framebuffers 2009-07-26 13:17:21 +02:00
bzlib.h
circbuf.h
clps7111.h
command.h Add cmd_process() to process commands in one place 2012-03-06 21:09:41 +01:00
common.h Stop using builtin_run_command() 2012-03-06 21:09:26 +01:00
commproc.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
compiler.h Define uintptr_t as long int to simplify printf() format strings 2011-11-22 08:39:24 +01:00
config_cmd_all.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
config_cmd_default.h Add 'editenv' command 2009-10-27 20:58:25 +01:00
config_cmd_defaults.h crc32: make command optional 2011-04-13 15:56:43 -04:00
config_defaults.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
config_phylib_all_drivers.h phylib: Enable AR8021 phy support 2011-11-11 07:48:59 -06:00
crc.h
da9030.h
dataflash.h dataflash: fix parameters order in write_dataflash() 2011-11-27 19:46:27 +01:00
ddr_spd.h mpc8xxx: update module_type values from JEDEC DDR3 SPD Specification 2011-11-29 08:48:06 -06:00
div64.h Add a do_div() wrapper macro, lldiv(). 2009-01-24 00:23:09 +01:00
dm9000.h Add config option for disabling DM9000-SROM support. 2009-06-08 22:57:21 -07:00
dm9161.h
dp83848.h
ds1722.h Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
ds4510.h Add support for Maxim's DS4510 I2C device 2009-01-24 01:47:50 +01:00
dtt.h hwmon: Provide dtt_init() 2011-10-22 01:22:21 +02:00
e500.h ppc/p4080: Determine various chip frequencies on CoreNet platforms 2009-09-24 12:05:29 -05:00
elf.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
environment.h env: remove value from boolean defines 2012-01-05 16:35:54 +01:00
errno.h Add basic errno support. 2010-09-19 19:29:47 +02:00
exports.h Standalone Apps: Standalone apps should need only exports.h. 2011-12-06 20:52:35 +01:00
ext2fs.h ext2: constify file/dir names 2010-12-09 10:24:09 +01:00
fat.h FAT: Add FAT write feature 2011-10-26 21:40:44 +02:00
fdc.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
fdt_support.h powerpc/8xxx:Add MPH controller support in USB device-tree fixup 2012-02-15 16:50:14 -06:00
fdt.h powerpc: Fix bootm to boot up again with a Ramdisk 2008-09-13 02:03:38 +02:00
fdtdec.h fdt: add decode helper library 2011-10-26 21:39:40 +02:00
fis.h
flash.h mtd, cfi: introduce void flash_protect_default(void) 2011-04-07 10:20:22 +02:00
fm_eth.h fm-eth: Add ability for board code to disable a port 2011-10-03 08:52:15 -05:00
fpga.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
fsl_diu_fb.h video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fsl_esdhc.h fsl_esdhc: Deal with watermark level register related changes 2011-04-10 11:17:55 -05:00
fsl_mdio.h Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
fsl_nfc.h Add MX25 support to nand_spl fsl nfc driver 2010-01-27 14:22:41 -06:00
fsl_pmic.h misc: pmic: Freescale PMIC switches to generic PMIC driver 2011-10-27 21:56:31 +02:00
gdsys_fpga.h ppc4xx: Setup HICB on Io64 2012-01-09 09:19:47 +01:00
hush.h common: add run_command2 for running simple or hush commands 2011-10-17 22:25:34 +02:00
hwconfig.h powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init 2011-01-19 22:58:23 -06:00
i2c.h fix: error ATMEL_FIO_BASE undeclared, if use I2C_Soft on AT91 2012-01-11 08:03:46 +01:00
i8042.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ide.h IDE: fix compiler warnings 2011-04-30 23:29:55 +02:00
image.h openrisc: Add architecture image support 2012-01-13 21:16:40 +01:00
iomux.h stdio: constify "name" arg in public api 2010-12-09 10:24:09 +01:00
ioports.h
ipu_pixfmt.h MX5: Make IPU display output and pixel format configurable 2011-10-17 22:25:32 +02:00
keyboard.h
kgdb.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
ks8721.h Add support for Eukrea CPUAT91 SBC 2009-10-13 06:17:35 -05:00
lattice.h Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
lcd.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
lcdvideo.h
led-display.h led_display: remove unused DISPLAY_MARK define 2010-10-21 22:25:04 +02:00
lh7a40x.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
lh7a400.h
lh7a404.h
libata.h
libfdt_env.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
libfdt.h libfdt: Implement property iteration functions 2011-07-14 21:10:34 -04:00
linux_logo.h
lmb.h lmb: only force on arches that use it 2010-01-21 22:26:00 +01:00
logbuff.h
lpd7a400_cpld.h
lxt971a.h
lynxkdi.h
malloc.h Add assert() for debug assertions 2011-09-10 00:04:01 +02:00
max8998_pmic.h usb:gadget:s5p Enable the USB Gadget framework at Exynos4210 (C210 Universal) 2011-12-16 21:37:17 +01:00
mb862xx.h video: mb862xx: improve board-specific Lime configuration 2009-10-31 12:13:28 +01:00
mc9sdz60.h Add basic support for Freescale's mc9sdz60 2011-02-02 00:54:43 +01:00
mc13783.h mc13783.h: create and add regulator mode 0 and 1 2012-02-12 10:11:27 +01:00
mc13892.h MC13892: Add REGMODE0 bits definitions 2011-12-06 23:59:39 +01:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h common, menu: show menu on startup if CONFIG_MENU_SHOW is defined 2012-02-12 10:11:24 +01:00
mg_disk.h mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
micrel.h net: phy: add support for Micrel's KSZ9021 2012-02-27 21:19:25 +01:00
mii_phy.h
miiphy.h Revert "mii: miiphy register address width change" 2011-12-07 08:35:14 +01:00
mk48t59.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mmc.h mmc: make mmc_send_status() more reliable 2012-02-15 17:42:22 -06:00
mpc5xx.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc5xxx_sdma.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc5xxx.h A4M072: Added support for the board. 2010-10-12 22:44:33 +02:00
mpc8xx_irq.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc8xx.h
mpc83xx.h mpc83xx: Cleanup usage of DDR constants 2011-11-03 18:27:55 -05:00
mpc85xx.h powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
mpc86xx.h powerpc/mpc86xx: Disable translation for BAT setup 2011-10-09 17:57:54 -05:00
mpc106.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc824x.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8220.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc8260_irq.h
mpc8260.h
mtd_node.h fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
mvmfp.h gpio: Add Multi-Function-Pin configuration driver for Marvell SoCs 2010-12-16 23:02:43 +01:00
nand.h nand/fsl_elbc: Convert to self-init 2012-01-26 16:09:06 -06:00
net.h eth: remove usb-ethernet devices before re-enumerating them 2012-03-03 16:56:04 +01:00
netdev.h net: add Calxeda xgmac driver 2012-01-05 20:10:38 +01:00
nios2-epcs.h
nios2-io.h
nios2-yanu.h nios2: Added support to YANU UART 2010-03-21 22:44:42 +01:00
nios2.h
nomadik.h include/nomadik.h: add physical address for cldc 2010-01-27 21:23:23 +01:00
ns9750_bbus.h
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h NS16550: trivial code clean for checkpatch 2011-10-23 20:19:53 +02:00
ns87308.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
onenand_uboot.h OneNAND: Add simple OneNAND SPL 2011-11-15 22:24:50 +01:00
os.h sandbox: add getopt support 2012-03-12 11:06:01 -04:00
part.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
pc_keyb.h
pca953x.h Add support for PCA953x I2C gpio devices 2008-12-19 18:11:49 -06:00
pca9564.h Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
pca9698.h gpio: Adapt PCA9698 to standard GPIO API 2011-11-18 14:04:25 +01:00
pci_ids.h Update pci_ids.h from current Linux sources 2011-12-09 17:28:29 +01:00
pci.h pci: move pciauto_config_init() to pci.h 2012-03-04 21:13:33 +01:00
pcmcia.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
phy.h net: phy: add support for Micrel's KSZ9021 2012-02-27 21:19:25 +01:00
pmic.h misc:pmic:core New generic PMIC driver 2011-10-27 21:56:31 +02:00
post.h POST: add new memory regions test 2011-10-05 22:03:11 +02:00
ppc_asm.tmpl powerpc: fix wrong comment at GOT definitions 2010-06-29 23:03:40 +02:00
ppc_defs.h
ps2mult.h Rename common ns16550 constants with UART_ prefix to prevent conflicts 2009-04-03 22:34:07 +02:00
pwm.h ARM: S5P: pwm driver support 2011-03-27 19:19:54 +02:00
radeon.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
reiserfs.h
rtc.h Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
s6e63d6.h A driver for the S6E63D6 SPI display controller from Samsung 2009-02-24 10:00:28 +01:00
s_record.h
SA-1100.h
sata.h SATA: do not auto-initialize during boot 2009-01-27 23:42:39 +01:00
scsi.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
sdhci.h mmc: mv_sdhci: Fix host version read for Armada100 2011-11-25 17:43:05 -06:00
search.h env: allow to export only selected variables 2011-11-08 13:20:42 +01:00
sed156x.h
sed13806.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial.h x86: Initial commit for running as a coreboot payload 2011-12-19 13:26:15 +11:00
sha1.h
sha256.h
sja1000.h Add minimal SJA1000 header for basic CAN mode 2009-11-17 13:19:58 +01:00
sm501.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
smiLynxEM.h
spartan2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spartan3.h fpga: add definition for Xilinx Spartan-6 XC6SLX4 2012-01-05 16:18:30 +01:00
spd_sdram.h
spd.h
spi_flash.h sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
spi.h powerpc: eSPI and eSPI controller support 2011-04-29 07:34:09 -05:00
status_led.h sbc82xx: delete support for obsolete SBC8240/SBC8260 2011-10-01 21:57:13 +02:00
stdio_dev.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
stratixII.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
sym53c8xx.h
systemace.h
timestamp.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
tpm.h Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
tsec.h tsec: Fix MDIO on devices with eTSEC2 2011-04-29 07:32:48 -05:00
tsi108.h
tsi148.h Add support for the Tundra TSI148 VME-bridge 2009-07-19 11:21:08 +02:00
twl4030.h omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V 2011-12-09 17:28:28 +01:00
twl6030.h mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
tws.h drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
ubi_uboot.h common: move BUILD_BUG_ON define to common.h 2011-07-27 23:45:37 +02:00
universe.h
usb_cdc_acm.h
usb_defs.h Prepare USB layer for ehci 2009-01-28 19:57:27 +01:00
usb_ether.h Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter 2011-08-08 21:05:23 +02:00
usb.h USB: move keyboard polling into kbd driver 2012-03-03 16:56:29 +01:00
usbdescriptors.h USB: Use (get|put)_unaligned for accessing wMaxPacketSize 2011-12-16 21:37:17 +01:00
usbdevice.h USB add macros for debugging usb device setup. 2009-12-20 12:47:37 +01:00
version.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h video: cleanup comments in cfb_console.c and video_fb.h 2010-07-17 00:05:14 +02:00
video_font_data.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_font.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_logo.h
video.h
virtex2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
vsc7385.h
vsprintf.h vsprintf: Move function documentation into header file 2011-12-17 23:34:01 +01:00
vxworks.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
w83c553f.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
watchdog.h nios: remove nios-32 arch 2010-05-28 10:56:04 -04:00
xilinx.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
xyzModem.h