9
0
Fork 0
Commit Graph

57 Commits

Author SHA1 Message Date
Sascha Hauer a3ffa97f40 rename U-Boot-v2 project to barebox
This has been done with the following script:

find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
	-e 's/u2boot/barebox/g' \
	-e 's/U2Boot/barebox/g' \
	-e 's/U-boot V2/barebox/g' \
	-e 's/u-boot v2/barebox/g' \
	-e 's/U-Boot V2/barebox/g' \
	-e 's/U-Boot-v2/barebox/g' \
	-e 's/U_BOOT/BAREBOX/g' \
	-e 's/UBOOT/BAREBOX/g' \
	-e 's/uboot/barebox/g' \
	-e 's/u-boot/barebox/g' \
	-e 's/u_boot/barebox/g' \
	-e 's/U-Boot/barebox/g' \
	-e 's/U-boot/barebox/g' \
	-e 's/U-BOOT/barebox/g'

find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
	xargs -0 -r rename 's/u[-_]?boot/barebox/'

It needs some manual fixup following in the next patch

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:18:30 +01:00
Sascha Hauer 73d57b1d35 list: remove duplicated list.h
We accidently have two list implementations in the tree:
include/list.h and include/linux/list.h. This patch moves
the latter (newer one) to include/linux/list.h.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:48:53 +01: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 13d3db22d3 Add MX25 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer 49ff3691b4 arm: Add bootu command
bootu command to start raw (uncompressed) Linux images

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:01 +02:00
Sascha Hauer 5db3059ebc arm: make 'bootz' configurable
also, fix compilation with bootm disabled

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:50:31 +02:00
Sascha Hauer 6df1e4b20a armlinux.c: refactor
- remove ifdeffery
- make locally used functions static
- coding style cleanup

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 5e1067792b armlinux: remove unused atags
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 270c2673a1 arm: implement optimized string functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:45:00 +02:00
Sascha Hauer 224d499e7e bootz: Speed up bootz command
We used to read the whole file with zImage booting. When the
file is really a device which is much bigger than the zImage
it's quite slow. Read the image size from the image instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:43:20 +02:00
Juergen Beisert b8b205c72b Improve or fix various parameter documentation
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Sascha Hauer 8a1d5e11bb Get rid of DEVICE_TYPE_DRAM usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Juergen Beisert cd175ec7d2 Remove all ARM __raw_* functions. They are mixed all over
the place. This clean up all ARM architectures to use only one set
of io functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:35:35 +02:00
Juergen Beisert 97799e8a16 Add IO string functions to also handle 32 bit IO locations
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:21 +02:00
Juergen Beisert a05e312009 Separate all assembler functions into their own section to
let the linker remove unused functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:02 +02:00
Sascha Hauer ee36cf25b5 remove SHOW_BOOT_PROGRESS
Though useful it is currently unsued and broken. Should be reimplemented

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:40 +01:00
Sascha Hauer 2b8f1b044e make internal function static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:26 +01:00
Sascha Hauer 8b59688e1c ARM: Add a bootz command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer c09d002eca update .gitignore files for linker scripts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:28:14 +01:00
Marc Kleine-Budde 5482395b9e import io-{read,write}s{b,w} functions from linux
This patch imports:
- io-readsb,
- io-readsw,
- io-writesb,
- io-writesw,
from linux

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01: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
Sascha Hauer bbee767a01 init: add section for early code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Nishanth Menon a5a28b6829 003-lds-handle
[Patch 03/17] U-Boot-V2:ARM: Fix lds file for multiple section enable.
By enabling -fdata-sections -ffunction-sections in arch/arm/Makefile, gcc splits the code into multiple section.
by using * wildcard we can bunch them into the areas we want them to be.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:11 +02:00
Sascha Hauer 596c845072 [memory layout]: streamline memory layout
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
2008-06-04 11:54:03 +02:00
Sascha Hauer 8d8f900366 [ARM] Remove CONFIG_ARCH_NUMBER from Kconfig system. Putting too many
values into kconfig which are not user configurable at all only
      encourages people to put even more stuff in there. This is not
      good because people tend to have board patches lying around and
      these patches won't apply regularly if they all change the same
      file (arch/arm/Kconfig)
      Instead, introduce a function armlinux_set_architecture() which
      everyone can call during board setup.
      Similarly introduce armlinux_set_bootparams() for the boot
      parameter pointer.
2008-02-26 15:38:37 +01:00
Sascha Hauer f95ec8a32d - Add functions to register image handlers for booting uImages 2008-02-20 19:01:54 +01:00
Robert Schwebel 7067e21f3f cleanup do_bootm_linux()
This patch cleans up the do_bootm_linux() function. It removes most of
the uggly ifdefery and replaces it by a sane function optimizing
structure.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
sascha 5d746e8953 add generic linker script for arm 2007-10-17 18:23:34 +02:00
sascha d59ca7feb3 Linking: Remove linker scripts from (arm based-) boards and add
a generic linker script to arch/arm/lib/u-boot.lds.S.
	 If a board wants to overwrite a linker script it can do
	 so using CONFIG_BOARD_LINKER_SCRIPT.
	 There is no generic linker script for ppc and blackfin
	 yet, so still use the board specific one.
2007-10-17 12:21:53 +02:00
Sascha Hauer eadf71abc7 Use Linux kernel list for drivers and devices instead of handmade
list.
2007-10-11 20:20:36 +02:00
Sascha Hauer ae53e9ef1d CONFIG_MODULE -> CONFIG_MODULES 2007-10-04 12:33:03 +02:00
Sascha Hauer a07743ea18 module support for arm 2007-10-03 21:09:00 +02:00
Sascha Hauer 153cf7bb6e add arm specific bits for modules 2007-10-01 09:51:04 +02:00
Sascha Hauer 4283b823e7 add missing include 2007-07-16 10:29:57 +02:00
Sascha Hauer 8881fb7984 use memmap() to save one memcpy call in bootm 2007-07-15 14:02:53 +02:00
Sascha Hauer 3b4647f772 _armboot_start -> _u_boot_start 2007-07-12 11:52:12 +02:00
Sascha Hauer 8edc58b946 add missing include 2007-07-05 21:41:37 +02:00
Sascha Hauer 967e2e4c67 svn_rev_679 2007-07-05 18:02:16 +02:00
Sascha Hauer b696cd0462 svn_rev_632 2007-07-05 18:02:11 +02:00
Sascha Hauer 327b4128ad svn_rev_486 2007-07-05 18:01:58 +02:00
Sascha Hauer a9526a6237 svn_rev_431 2007-07-05 18:01:53 +02:00
Sascha Hauer 2ca176e790 svn_rev_212 2007-07-05 18:01:33 +02:00
Sascha Hauer 0c2b8f687e svn_rev_194 2007-07-05 18:01:31 +02:00
Sascha Hauer 53d3195be1 svn_rev_167
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer 708897f52f svn_rev_165
move arm board.c to generic
2007-07-05 18:01:29 +02:00
Sascha Hauer a8421600d1 svn_rev_152
remove global data gd_t and board info bd_t entirely for arm
2007-07-05 18:01:28 +02:00
Sascha Hauer 4a14f424b5 svn_rev_150
remove bi_dram from bd_t
2007-07-05 18:01:27 +02:00
Sascha Hauer 42e2dbc120 svn_rev_149
no need for bi_dram in global data (untested)
2007-07-05 18:01:27 +02:00
Sascha Hauer d7313300a5 svn_rev_133
remove env_ functions
2007-07-05 18:01:26 +02:00
Sascha Hauer 4a01ad9260 svn_rev_128
remove more console stuf
2007-07-05 18:01:25 +02:00