Sascha Hauer
922bb41a47
remove typedef cmd_tbl_t and replace it with struct command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Robert P. J. Day
d092fe6999
Remove PPC support for IDE.
...
Based on a suggestion from S. Hauer, we don't currently need any IDE
support, but we can always add it back later if we choose. There
don't appear to be any other IDE-related source files in the tree.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 15:25:33 +01:00
Robert P. J. Day
06c5d3d9fa
Remove/adjust erroneous references to CONFIG_MODULE.
...
The correct config variable is CONFIG_MODULES, so tweak any references
to the incorrect CONFIG_MODULE.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 14:21:45 +01:00
Sascha Hauer
360ecb8cc6
pcm030: Update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer
c73c32b72d
ppc bitops: Fix compiler warning
...
Our version of ppc bitops produces the following compiler warnings:
/ptx/work/octopus/WORK_1/sha/u-boot/barebox/arch/ppc/include/asm/bitops.h:
In function 'ext2_find_next_zero_bit':
/ptx/work/octopus/WORK_1/sha/u-boot/barebox/arch/ppc/include/asm/bitops.h:294:
warning: '__swab32p' is static but used in inline function 'ext2_find_next_zero_bit' which is not static
Looking at the kernel ext2_find_next_zero_bit is defined as
generic_find_next_zero_le_bit which is in generic kernel code.
We currently do not need this, so do the very same define to silence the
compiler. If somebody ever needs this function, the resulting error
should give him a hint what to do.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-17 13:30:22 +01:00
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
Jean-Christophe PLAGNIOL-VILLARD
e988d5d990
[PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:30 +02:00
Jean-Christophe PLAGNIOL-VILLARD
abd9cd4945
[PPC] move include/asm-ppc to arch/ppc/include/asm
...
Move platform independent header files to arch/ppc/include/asm, leaving
those in asm/arch*.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Sascha Hauer
5393496165
mpc5200: remove undefined function strmhz
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +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
e25cc045ac
PPC: Add cleanup flags
...
Add cleanup flags to Makefile to let the linker throw away unneeded
objects.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:31 +02:00
Sascha Hauer
820c001aa2
PPC: We can configure our TEXT_BASE
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer
8db5e848bb
fix compiler warning
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:30 +02:00
Sascha Hauer
ecac80aa28
[mpc5200] fix compiler warnings
2008-07-03 10:28:16 +02:00
Sascha Hauer
9f21fe3326
[ppc] compile fixes, update defconfig for pcm030
2008-07-03 10:26:53 +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
cd75dd3647
[kbuild] remove -Wstritct-prototypes from arch/ppc/Makefile. It's
...
already in toplevel Makefile
2008-06-03 12:56:35 +02:00
Sascha Hauer
36ffd6f18a
[kbuild] move -pipe from architecture Makefiles to toplevel
...
Makefile
2008-06-03 12:54:37 +02:00
Sascha Hauer
39a78d9951
[kbuild] remove -Wall from architecture Makefiles. It's already
...
in toplevel CFLAGS
2008-06-03 12:51:05 +02:00
Sascha Hauer
847934bc96
[kbuild] move -nostdinc from architecture Makefiles to toplevel
...
Makefile
2008-06-03 12:39:45 +02:00
Sascha Hauer
b8725ffe1d
[kbuild] move -ffreestanding from architecture Makefiles to toplevel
...
Makefile
2008-06-03 12:37:52 +02:00
Sascha Hauer
bca64df501
[kbuild] move -fno-builtin from architecture Makefiles to toplevel
...
Makefile
2008-06-03 12:36:35 +02:00
Sascha Hauer
7681d868ba
[kbuild] move -Os flag from architecture Makefiles to toplevel
...
Makefile
2008-06-03 12:29:57 +02:00
Sascha Hauer
878f38de8f
[kbuild] change architecture Makefiles not to overwrite
...
CFLAGS, instead append them to the existing CFLAGS.
Also, remove all double CFLAGS
2008-06-03 12:24:50 +02:00
Carsten Schlote
1fd9c5a05c
[ppc] Fixed orphaned CONFIG_INTERRUPTS
...
Changed CONFIG to CONFIG_USE_IRQ
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
2008-02-21 15:07:49 +01:00
Sascha Hauer
28ab141867
[MPC5200]: call early_init() after we've setup our timing. Otherwise
...
the console gets messed up afterwards.
2008-02-21 13:06:38 +01:00
Sascha Hauer
a26eca758e
Make the early console device/baudrate configurable instead of using
...
hardcoded values
2008-02-21 13:05:19 +01:00
Sascha Hauer
39050a4c66
[MPC5200] Make MPC5XXX_EARLY_CONSOLE dependent on ARCH_MPC5200
2008-02-21 13:04:03 +01:00
Sascha Hauer
f95ec8a32d
- Add functions to register image handlers for booting uImages
2008-02-20 19:01:54 +01:00
Marc Kleine-Budde
049063e2ad
remove -isystem with empty argument
...
This patch removes the "-isystem $(gccincdir)" from the
arch/*/Makefile because gccindir is empty.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 20:03:37 +01:00
Marc Kleine-Budde
57bb3cd90d
don't against link libgcc
...
We don't want to link against libgcc.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 08:21:02 +01:00
Juergen Beisert
a7d96488e5
Using correct board names all over the place
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-08 18:23:44 +01:00
Sascha Hauer
a26a5ef28f
Replace all occurences of UBoot with U-Boot
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 13:20:27 +02:00
Juergen Beisert
b21ed7177c
basic doc structure added
2007-10-19 13:19:43 +02:00
sascha
a39dde980d
remove CONFIG_IDENT_STRING. It's unused
2007-10-19 11:07:06 +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
ae53e9ef1d
CONFIG_MODULE -> CONFIG_MODULES
2007-10-04 12:33:03 +02:00
Sascha Hauer
884988f6d6
fix read_file()
2007-10-01 09:51:56 +02:00
Sascha Hauer
59e6de7032
add powerpc specific bits for modules
2007-10-01 09:49:22 +02:00
Robert Schwebel (Laptop)
e6ca62360e
Subject: clean up TEXT_BASE
...
This patch makes TEXT_BASE a consistent per-arch config switch.
Additionally, it converts all TEXT_BASE occurences from string to hex.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:01:01 +02:00
Sascha Hauer
05dec7d3bd
move ppc assembler templates to include/asm-ppc
2007-09-22 16:07:51 +02:00
Sascha Hauer
2a9c1de93f
whitespace cleanup
2007-09-13 16:06:02 +02:00
Sascha Hauer
654bb6b0b8
further reloc fixes
2007-07-25 12:25:01 +02:00
Sascha Hauer
8881fb7984
use memmap() to save one memcpy call in bootm
2007-07-15 14:02:53 +02:00
Sascha Hauer
f8404c805f
remove unneeded include, use cpu_init()
2007-07-12 11:21:59 +02:00
Sascha Hauer
793ff46a04
CONFIG_ARCH_HAS_RELOC -> CONFIG_HAS_EARLY_INIT
2007-07-12 11:21:13 +02:00
Sascha Hauer
fa9807573b
consolidate cpu_init_*
2007-07-12 11:19:09 +02:00
Sascha Hauer
64042b5672
add reloc_offset function
2007-07-12 09:29:43 +02:00
Sascha Hauer
3b90ee9a3d
add CONFIG_RELOCATABLE
2007-07-12 09:27:06 +02:00
Sascha Hauer
e054dd9ee4
do loadtask in ethernet driver
2007-07-12 09:22:25 +02:00
Sascha Hauer
bcf8a2f798
remove unused extern declaration
2007-07-12 09:20:27 +02:00
Sascha Hauer
e755ab4535
minor fixes
2007-07-05 21:50:14 +02:00
Sascha Hauer
432693b733
use reset_cpu()
2007-07-05 21:43:36 +02:00
Sascha Hauer
5137cafad8
svn_rev_688
...
fix compiler warnings
2007-07-05 18:02:17 +02:00
Sascha Hauer
4e95f5bda8
svn_rev_687
...
split board specific stuff apart
2007-07-05 18:02:17 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
ab7a118154
svn_rev_673
2007-07-05 18:02:15 +02:00
Sascha Hauer
19ea863d0f
svn_rev_672
2007-07-05 18:02:15 +02:00
Sascha Hauer
88599b8eda
svn_rev_663
2007-07-05 18:02:15 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00
Sascha Hauer
adfd4533a4
svn_rev_624
...
first successfull boot
2007-07-05 18:02:10 +02:00
Sascha Hauer
7e77a890ca
svn_rev_621
...
link to 16MB in memory
2007-07-05 18:02:10 +02:00
Sascha Hauer
66dd92dd7d
svn_rev_619
...
no need for relocatable code anymore. saves ~10k space
2007-07-05 18:02:10 +02:00
Sascha Hauer
0138b7fab7
svn_rev_615
2007-07-05 18:02:10 +02:00
Sascha Hauer
8bd430f96e
svn_rev_612
2007-07-05 18:02:09 +02:00
Sascha Hauer
fc92e0b99d
svn_rev_610
...
no global data
2007-07-05 18:02:09 +02:00
Sascha Hauer
954d38d0ba
svn_rev_609
...
on our way to boot...
2007-07-05 18:02:09 +02:00
Sascha Hauer
53ce951888
svn_rev_598
...
no interrupts
2007-07-05 18:02:08 +02:00
Sascha Hauer
4200d6b49d
svn_rev_597
...
no interrupts
2007-07-05 18:02:08 +02:00
Sascha Hauer
7241853f57
svn_rev_596
...
remove usec2ticks and ticks2usec
2007-07-05 18:02:08 +02:00
Sascha Hauer
1b61a170f1
svn_rev_585
2007-07-05 18:02:07 +02:00
Sascha Hauer
09d1896bd0
svn_rev_550
...
linux->uboot
2007-07-05 18:02:04 +02:00
Sascha Hauer
758a1107f8
svn_rev_538
...
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer
71ea782dcb
svn_rev_536
...
add REV for phytec tiny board
2007-07-05 18:02:03 +02:00
Sascha Hauer
36a60cf92b
svn_rev_526
...
CFG_CACHELINESIZE -> CONFIG_CACHELINE_SIZE
2007-07-05 18:02:01 +02:00
Sascha Hauer
a2004912d3
svn_rev_517
...
fix comppiler warning
2007-07-05 18:02:00 +02:00
Sascha Hauer
17f9b2c9ac
svn_rev_463
...
make ppc compile again
2007-07-05 18:01:56 +02:00
Sascha Hauer
a4b702a62f
svn_rev_280
...
move ppc linux startup to arch/ppc
2007-07-05 18:01:39 +02:00
Sascha Hauer
79bd10153a
svn_rev_233
2007-07-05 18:01:35 +02:00
Sascha Hauer
144592aacd
svn_rev_195
...
remove unneeded timer functions
2007-07-05 18:01:31 +02:00
Sascha Hauer
66ff9bf291
svn_rev_191
...
add CONFIG_MPC5200 symbol, it is still used in the code
2007-07-05 18:01:31 +02:00
Sascha Hauer
8d41e92d40
svn_rev_183
...
restructure ppc startup process. Instead of doing the whole
initialization sequence in flash, we now initialize sdram very
early in the start sequence and relocate u-boot into RAM.
Also U-Boot is now linked to address 0x0 and is also executed
from there. This gives the advantage that we see the correct
offsets in the objdump and we do not need to hassle with
relocation anymore.
The code is still position independent and compiled with -fPIC,
but this could be removed.
2007-07-05 18:01:30 +02:00
Sascha Hauer
0c48f25ade
svn_rev_173
...
WIP
2007-07-05 18:01:29 +02:00
Sascha Hauer
abfeb961e0
svn_rev_166
...
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer
713ebb676a
svn_rev_163
...
move setup of bd_t to extra function, add some debug PUTHEX_LL
2007-07-05 18:01:28 +02:00
Sascha Hauer
1ecc0d24bc
svn_rev_157
2007-07-05 18:01:28 +02:00
Sascha Hauer
0d3d354cf6
svn_rev_155
...
on the way to compile powerpc
2007-07-05 18:01:28 +02:00
Sascha Hauer
ceddda143b
svn_rev_154
...
move lib_ppc to arch/ppc
2007-07-05 18:01:28 +02:00