9
0
Fork 0
Commit Graph

3599 Commits

Author SHA1 Message Date
Sascha Hauer 8a45275a01 fs: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer d85e73776a envfs: remove bogus #warning statement
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 2b729e45b4 hush: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 8201d7c5fc partition: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer cfdb837906 partition: rename variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer bc7915cafa atmel serial: add initialization and baudrate functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 4da7734725 macb eth driver: remove barrier() definition
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer f031d0e672 PM9263 board: add lowlevel_init to start from reset
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 47744754b1 AT91SAM clocksource: switch to new headers, implement reset_cpu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer 8ec84b8673 AT91SAM: Use Atmel header files from their Bootstrap code (ver 1.9)
The header files are neither small nor beautiful, but they are complete ;)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:45 +02:00
Sascha Hauer 313a618ce0 Move cfi flash drivers to drivers/nor as suggested by Nishanth Menon
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-25 09:31:04 +02:00
Enrico Scholz d98872d075 PCM038: fixed typo
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Enrico Scholz e807d64c23 PCM038: give out chip-id at startup
This helps to debug further problems...

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Enrico Scholz bb4187c448 PCM038: re-write SPCTL0 after reading it
There seems to be a bug in the i.MX27 used on .0 and .1 module
revisions which breaks SPCTL0 setup.  There, SPCTL0 is reset to
0 after reading it causing e.g. a bad USB clock. Hence, this
patch writes back the read value.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Sascha Hauer fc9eea9b34 mx27ads: Add a defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 17:01:47 +02:00
Sascha Hauer 99235fe5d2 cfi Flash (new) add missing open/close/lseek functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 17:01:19 +02:00
Sascha Hauer 3ef59a5467 fix 62e2cd0a68
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 16:23:02 +02:00
Sascha Hauer 98bd170990 mx27ads: replace pcm038 with mx27ads
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 15:55:37 +02:00
Sascha Hauer bda135226a mx27ads: add missing include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 15:54:45 +02:00
Sascha Hauer 0d9b5b5f57 Revert "loadb: remove old-style-u-boot-ifdefs around whole file"
This reverts commit 1e49fadf8a.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 08:35:13 +02:00
Sascha Hauer 62e2cd0a68 net: remove redundant assignment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:56:19 +02:00
Sascha Hauer 17ba93e7a0 net: initialize Net* variables unconditionally, not in a big switch/case
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:52:31 +02:00
Sascha Hauer 66a936fa64 setenv: Fix warning introduced with last commit
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer bcb049a702 string: add typechecking for strchr, strrchr, strstr
These functions offered an excellent possibility to bypass compiler
type checking.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer 7163d8fd2d pcm038 defenv: Do not hardcode ip addresses, ask to set MAC address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer 0004d78381 remove unnecessary double string function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer 51b4de421e eth: check for valid parameters for ethaddr, ipaddr, ...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer c0d02ffc3d Fix string_to_ip
Use a pointer to an ip address instead of the return value in string_to_ip
and use the return value for error indication only. 0.0.0.0 can be a valid
ip address

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:47 +02:00
Sascha Hauer 33c488f8c1 net: remove unused function declarations
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:16:03 +02:00
Sascha Hauer ad3b376c3d parameter: set errno in dev_set_param
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:12:42 +02:00
Sascha Hauer 1d35082db5 parameter: make stringlen more readable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 13:10:48 +02:00
Sascha Hauer e3f268d52d net: Coding style changes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 12:30:13 +02:00
Sascha Hauer d2b2dab075 Net: Remove all hardcoded MAC addresses from default environments
While very convenient during debugging having MAC addresses in default
environments is a very bad idea. Stop it!

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 11:58:19 +02:00
Sascha Hauer 949649e3f1 bootm: honour the -n flag again
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 11:37:58 +02:00
Sascha Hauer 2f3211bc25 bootm: memmap now returns (void *)-1 for failure. Test for this instead of NULL
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 11:31:32 +02:00
Raghavendra KH 23ec85feeb This patch adds support for Beagle Board.
Beagle board from TI is a development platform
based on TI's OMAP3530 silicon.

You can find more about Beagle Board here: www.beagleboard.org

More on OMAP3530 (including documentation can be found here):
http://focus.ti.com/docs/prod/folders/print/omap3530.html

Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Raghavendra KH 24d376bd79 Remove duplicate OMAP3_CLOCK_CONFIG introduced by commit ID 5e4390fe
Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Raghavendra KH 25b49a201f Introduce a common board header for functions required by platform.S
This will prevent redundancies of multiple board-xyz.h files all
doing the same thing.

This deletes the redundant board-sdp343x.h and
fixes the corresponding .c for the change.

Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Nishanth Menon e320ef5f9e loadb: change default download file
The default download device was /dev/mem
Quote Sascha:
"This is a quite dangerous thing. There are
quite some boards out there which have NOR
Flash on 0x0. With a default file of
/dev/mem we would overwrite U-Boot."

Change default device to image.bin

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-20 09:17:33 +02:00
Nishanth Menon 580cd4ff28 loadb: Add buffered write
Default loadb behavior works on packet sized
chunks of kermit data to be put on target file
This would not work good on block devices such
as NAND. solution will be to buffer data up to
standard 4096 chunks before giving to device.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-20 09:17:32 +02:00
Sascha Hauer 1e49fadf8a loadb: remove old-style-u-boot-ifdefs around whole file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-19 09:42:29 +02:00
Nishanth Menon 624db2b336 loadb: change -d to -f
-d represents devices only.. but loadb can
operate on files as well. hence Use -f as
option to select the output file. This is
more representative of what we are trying
to do.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-19 09:38:57 +02:00
Nishanth Menon c63e66ed7e loadb: create file
Allow loadb and loady to create file if file not
present. This will allow for downloading a file
to filesystem and cp or doing other operations on
the same. Making this as an option instead of a
default behavior ensures that users intend to
create file when they use -c option

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-19 09:38:57 +02:00
Nishanth Menon 1252331f68 Driver: expose dummy_probe
expose Dummy Probe function so that modules can use it.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 584f9990a8 Common: expose calloc
calloc is not exported by default. This patch
exposes the same.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon cb3f2e34c4 Bitops:Remove generic_funcs
Use asm-generic/bitops/xyz.h instead of using
generic_xyz functions.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 31f9cb365e Bitops:Cleanup ARM bitops
Cleanup of ARM bitops functions.
Introduce the findbits.S which allows for
optimized algo.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Nishanth Menon 5fc0e871d5 U-Boot-V2:Bitops: asm-generic bitops
This introduces selected generic bitop files from
kernel. We don't need minix, ext2, sched or lock
based bitops. Those have been dropped.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:49 +02:00
Sascha Hauer aed834904a Let 'go' command interpret filenames.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:26:23 +02:00
Sascha Hauer e133ccdda8 implement memmap for mem driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:25:56 +02:00