| Age | Commit message (Collapse) | Author |
|
The uint64_t type is defined in linux/types.h, so is safer than u64, which
is not actually a Linux type.
Change-Id: Ifc9a369e6543250c49117b8d3cb3a676eee43e04
Signed-off-by: Simon Glass <[email protected]>
|
|
Signed-off-by: Wolfgang Denk <[email protected]>
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <[email protected]>
|
|
This implementation uses opendir()/readdir() to access the directory
information and then puts it in a linked list for the caller's use.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
|
|
Implements the tstc() interface for the serial driver. Multiplexing
the console between the serial port and a keyboard uses a polling
method of checking if characters are available; this means that the
serial console must be non-blocking when attempting to read
characters.
Signed-off-by: Taylor Hutt <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
|
|
Signed-off-by: Mike Frysinger <[email protected]>
|
|
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 <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
This provides a way for callers to create files for writing. The flags
are translated at runtime, for the ones we support.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Follow up patches want to be able to seek fd's.
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Making sleep command work
Signed-off-by: Matthias Weisser <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Using mmap to allocate memory from the OS for RAM simulation we can use
u-boot own malloc implementation.
Tested-by: Simon Glass <[email protected]>
Signed-off-by: Matthias Weisser <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
This allows us to act like a serial device: we get tab chars and CTRL+C
and respond appropriately.
Signed-off-by: Mike Frysinger <[email protected]>
Tested-by: Simon Glass <[email protected]>
|
|
We want to keep all OS-dependent code in once place, with a simple interface
to U-Boot. For now, this is that place.
Signed-off-by: Simon Glass <[email protected]>
|