Jean-Christophe PLAGNIOL-VILLARD
3d59ba2669
ipe337: switch to resources
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2011-07-30 02:05:26 +08:00
Jean-Christophe PLAGNIOL-VILLARD
166388bcf6
resource: introduce add_cfi_device to register simple cfi device
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2011-07-23 09:23:40 +08:00
Sascha Hauer
f928efa818
add a add_mem_device function
...
Add a helper function for boards to register their memory
devices. This makes the board code smaller and also helps
getting rid of map_base and struct memory_platform_data.
And switch all of the memory to it
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2011-07-18 20:32:45 +08:00
Jean-Christophe PLAGNIOL-VILLARD
88618eb5f1
mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE
...
we keep struct memory_platform_data for now on we will switch off the memories
resources to struct resource
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2011-07-18 20:31:51 +08:00
Sascha Hauer
92c1c6cfb1
add sections.h header file
...
The file location and variable names from the Linux Kernel have been
used here.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:04:24 +01:00
Sascha Hauer
bdaf02175c
blackfin: provide __bss_stop in linker script
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 11:03:07 +01:00
Sascha Hauer
2f0109b1bb
Merge branch 'master' into next
2011-01-17 09:43:40 +01:00
Jean-Christophe PLAGNIOL-VILLARD
be4146161b
import swab.h arch implementation form linux v2.3.37
...
this will avoid __bswapsi2 issue see with gcc 4.5.1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-17 09:39:16 +01:00
Sascha Hauer
8cfbcc7d82
ipe337: fix printf compiler warnings
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:36:36 +01:00
Sascha Hauer
e0024d74cb
blackfin: fix printf compiler warnings
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:35:46 +01:00
Jean-Christophe PLAGNIOL-VILLARD
f69626c632
clocksource: switch mask to CLOCKSOURCE_MASK
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-29 21:55:25 +01:00
Robert Schwebel
724d3d8672
reset_cpu: unify declaration
...
include/common.h declares this as "unsigned long addr", so we unify it.
This also silences a doxygen warning.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-22 20:47:02 +02:00
Jean-Christophe PLAGNIOL-VILLARD
a3c1e5d888
Replace direct header access with the API routines
...
Copied from U-Boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:04:28 +08:00
Sascha Hauer
f7403928a9
Revert "Replace direct header access with the API routines"
...
This reverts commit 0ceafe14be
.
Conflicts:
include/image.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-07 14:11:38 +02:00
Jean-Christophe PLAGNIOL-VILLARD
3531d4acf1
ipe337: fix default env
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 09:51:15 +02:00
Jean-Christophe PLAGNIOL-VILLARD
be37e67c1f
blackfin: remove duplicated PAGE_SIZE define
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 09:51:14 +02:00
Jean-Christophe PLAGNIOL-VILLARD
0ceafe14be
Replace direct header access with the API routines
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 08:46:22 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e85c6bb0a7
driver: use id as -1 for auto assigned id
...
before if you specify id = 0 the next available id will be taken
otherwise fail if already registered now as in linux we use -1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-20 08:58:52 +02:00
Jean-Christophe PLAGNIOL-VILLARD
55819d58d4
types.h: move __kernel_dev_t to include/linux/types.h
...
no need to have a arch specific type
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:56:24 +08:00
Jean-Christophe PLAGNIOL-VILLARD
499aa0b4f5
configs: use new savedefconfig format as in linux
...
this will reduce and simplify defconfigs maintainance
it will also save some disk space
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:46:59 +08:00
Jean-Christophe PLAGNIOL-VILLARD
12f396a8b0
net: rework the mii support
...
this rework is done in order to add a phylib and allow to have phy driver support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:36:03 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d8c86961b3
move boards to arch/<architecure>/boards
...
this will allow each arch to handle the boards more simply and depending on
there need
the env var BOARD will refer to the current board dirent
for sandbox as we have only one board the board dirent is arch/sandbox/board
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-23 08:35:25 +02:00
Sascha Hauer
56299cc7fd
remove now unused arch_execute
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
2bd7418a04
blackfin: implement arch_shutdown call
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
e11c07c339
make reset_cpu a __noreturn function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
4b8c4a628c
ipe337: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:59 +01:00
Sascha Hauer
abb8c0f1d7
fix arch_execute prototype
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-17 13:36:43 +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
37e96f83bc
[BLACKFIN] move include/asm-blackfin to arch/blackfin/include/asm
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:28 +02:00
Sascha Hauer
4b225a906f
[blackfin] compile fixes, update defconfig
2008-07-03 10:26:13 +02:00
Sascha Hauer
2af6483cbf
[blackfin] memory layout related compile fixes
2008-07-03 09:07:15 +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
Enrik Berkhan
03f8b48daa
Some Blackfin CPU revs don't handle the clock pre-divider correctly on reset
...
See anomaly 05000242.
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-03-14 17:11:51 +01:00
Sascha Hauer
a28726cf51
[blackfin]: register handler for booting linux images
2008-02-21 13:18:53 +01:00
Wolfram Sang
43ff909fb2
[IPE337] refreshed defconfig
...
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-24 11:07:34 +01:00
Wolfram Sang
e18ff815e3
[IPE337] Better support for multiple revision
...
Changed bool into choice
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-24 11:06:54 +01:00
Wolfram Sang
a119fc273b
Make board IPE337 revision 2 selectable for .config
...
A new menu "Board options" is introduced, where one can select if the board
is a rev.2 (= 40Mhz)
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2008-01-23 20:44:32 +01:00
Enrik Berkhan
35fd1e8f5b
Fix/Adapt settings for version 2 of IPE337
...
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Enrik Berkhan
9f27a5f068
Enable blackfin boot rom boot modes
...
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +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
Marc Kleine-Budde
bd8081b620
[ipe337] rename environment subdir form defenv -> env
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 14:03:45 +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
Sascha Hauer
5614e5c6d6
ipe337: Update defconfig (fix TEXT_BASE)
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:51:44 +02:00