u-boot/arch/sandbox/include/asm
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
..
bitops.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
byteorder.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
cache.h sandbox: Add asm/cache.h for sandbox 2011-11-03 22:34:49 +01:00
config.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
getopt.h sandbox: add getopt support 2012-03-12 11:06:01 -04:00
global_data.h sandbox: fdt: add support for CONFIG_OF_CONTROL 2012-03-12 11:03:42 -04:00
gpio.h sandbox: gpio: add basic driver for simulating GPIOs 2012-03-12 11:03:42 -04:00
io.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
ptrace.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
sections.h sandbox: add getopt support 2012-03-12 11:06:01 -04:00
state.h sandbox: add getopt support 2012-03-12 11:06:01 -04:00
string.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
system.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
u-boot-sandbox.h sandbox: add getopt support 2012-03-12 11:06:01 -04:00
u-boot.h sandbox: Add architecture image support 2011-10-17 22:46:38 +02:00
unaligned.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00