9
0
Fork 0
Commit Graph

4182 Commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD e3eb1662f8 kbuild: asm symlink support for arch/$ARCH/include
Adjust the asm symlink support so we do not create the
symlink unless really needed.
We check the precense of include/asm-$ARCH by checking
for the system.h file. We may end up with a stale directory
so it is not enough to check if the directory is present.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:36 +02:00
Sascha Hauer 14eb082606 hush: remove include/hush.h
Everything in include/hush.h is only used in hush.c, so remove
the header file.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-22 11:17:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD cb43896573 kbuild: support arch/$ARCH/include for tags, cscope
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-21 14:54:15 +02:00
Eric Benard 6647b583b7 CPUIMX27 : update dram declaration
Boot on this board was broken following ram updates in u-boot

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-21 09:39:52 +02:00
Peter Korsgaard b8399573ba image.h: amd64 support
Use IH_CPU_I386 for amd64 machines as well, so bootm.c is able to build
on amd64 sandbox.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-21 09:38:57 +02:00
Jean-Christophe PLAGNIOL-VILLARD a08615b2da at91sam9: switch to the same api as the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:39 +02:00
Jean-Christophe PLAGNIOL-VILLARD 7ac3805353 at91: add cpu devices common api
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD 81362c2b2a at91sam9: move to at91
this will allow to add at91rm9200 with the same api as done in the kernel

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:36 +02:00
Jean-Christophe PLAGNIOL-VILLARD 35144c0b86 xyzModem: fix digit init in xyzModem_stream_open
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:34 +02:00
Jean-Christophe PLAGNIOL-VILLARD c495fe0fcd cfi new: fix new disabling buffer support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:31 +02:00
Jean-Christophe PLAGNIOL-VILLARD 998f9ee2f3 uboot_default_env: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:30 +02:00
Sascha Hauer 420a3173f0 commands: remove maxargs
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer f4ca85a2a3 printenv: do not return negative values in a command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:27 +02:00
Sascha Hauer 15abc47dba miiphy: Add missing lseek function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 15:58:53 +02:00
Sascha Hauer de4a08fdd0 remove unused directory tools
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 13:00:47 +02:00
Sascha Hauer bc3e7b31f1 remove unused header file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 12:21:44 +02:00
Sascha Hauer 11740dc01b remove obsolete and broken command 'splash'
Has been replaced with 'bmp'

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer a9675ec67c cat: return error if file is not readable
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer 63e01b4969 call getopt_reset only once
instead of calling getopt_reset in each command,
call it only once before calling the command.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer 87e01f28cc commands: return COMMAND_ERROR_USAGE
instead of calling u_boot_cmd_usage in each command to safe
space.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer 0ecf7f1aeb commands: add defines for command errors/success
This allows us to return COMMAND_ERROR_USAGE for
a failed command which will then print the usage,
a very common case for commands.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer cf996861d7 remove unused typedef
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer ef7ff70ca4 consolidate command calling in execute_command
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer 2dc2132f0e remove global variable BootFile
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer d78105a55b nfs: allow only serverip
Do not allow to pass serverip via commandline.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer ac50a05caf pass filename to nfs and tftp start functions
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer 1d3d2c6369 nfs: no default filename, we always have a filename
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer c229f67efb ping: shorten usage info
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer 3701ed81ec ping: do not return -1 in command
Also, print usage if not enough arguments given.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer feb58df760 tftp: use debug macro
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer e225e4fcdd tftp: coding style
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer ef2787ab26 tftp: reorder to get rid of static function declarations
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:36 +02:00
Sascha Hauer 4aedcf8531 tftp: remove never reached state STATE_BAD_MAGIC
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:18:49 +02:00
Sascha Hauer 8aab890453 tftp: remove never reached state STATE_TOO_LARGE
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:17:47 +02:00
Sascha Hauer 8cef3301f8 tftp: remove volatile from variables
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:15:35 +02:00
Sascha Hauer e8b856dc03 remove unused code
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:10:39 +02:00
Sascha Hauer fdc9bd236e tftp: consolidate different puts to printf
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:10:09 +02:00
Sascha Hauer 3830d35bc6 tftp: remove unnecessary gateway information
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 09:07:41 +02:00
Sascha Hauer a5f301fb7a remove unused variable NetBootFileSize
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 08:54:57 +02:00
Sascha Hauer 551d088687 tftp: remove default filename. We always have a filename given
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 08:49:45 +02:00
Sascha Hauer e2c2954654 make locally used funtion static
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 08:38:59 +02:00
Sascha Hauer 51b0b001d3 stringlist: Fix printing on smaller consoles
Do not add additional space between strings, we already
did this by adding 4 to the string length.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-15 16:06:05 +02:00
Sascha Hauer 146f9b6e5b remove sntp support. Has been broken for long enough
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:19:28 +02:00
Sascha Hauer 1d73a42006 imxfb: make framebuffer base address configurable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer 4ad31ee437 do not abuse the received packet to send back another packet
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer 6289b5a51d net: remove unnecessary if
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer faa61661cf only the ping code is interested in the ping ip
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer 5619409df6 net: remove dead code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer 4d0670f227 net: cleanup header file
move contents of bootp.h to .c file and remove it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer 87048e4a66 rename bootp.c to dhcp.c 2009-10-13 11:02:15 +02:00