9
0
Fork 0
Commit Graph

449 Commits

Author SHA1 Message Date
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 6ffe2ec8cd Merge remote branch 'origin/omap' into next 2010-07-12 08:22:03 +02:00
Sascha Hauer e66ded8fa3 Add Garz+Fricke Neso defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:53:48 +02:00
Sascha Hauer 75f99628fc Add Garz+Fricke Neso support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:53:44 +02:00
Sascha Hauer ac234173cc omap nand: cleanup
- Move oob layout to driver
- make hwecc support nonoptional but selectable by the board.
- let the boards decide which buswidth / ecc type to use. They know
  better than the user which gets confused by too many kconfig options.
- Let the boards explicitly register the nand device.

I tried to seperate this further, but failed because of too many dependencies
in the code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:43:03 +02:00
Sascha Hauer cb0d50e1a2 omap: remove unused defines and corresponding kconfig options
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 11:45:46 +02:00
Sascha Hauer 6d1d9e8d8b Merge branch 'next' 2010-07-03 10:26:21 +02:00
Eric Bénard c26f09b2c1 imx-ipu-fb: Add board specific hook to enable display
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:10:35 +02:00
Sascha Hauer f2f02d5ba9 i.MX27: Add some missing device base addresses
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:37:16 +02:00
Sascha Hauer c38883953d i.MX clocksource: Use readl/writel instead of pointer deref
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:53 +02:00
Sascha Hauer 90fc3a6117 remove eco920 board support
It has been broken for long time and nobody cared, so remove it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:37 +02:00
Sascha Hauer 8f1691d58c armlinux: reorder tag setup
We call the individual setup_*_tag functions from three different
boot commands. Waste less space by calling a single setup_tags function
instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:32 +02:00
Sascha Hauer 695a4247aa imxfb: Add board specific hook to enable display
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:17 +02:00
Sascha Hauer 6c5f1c0fdf i.MX27: merge iomux pim definitions from kernel
The Kernel pin definitions are more complete and up to date. Being
here we also use seperate files for the iomuxer like the other
i.MX SoCs already do.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:11 +02:00
Sascha Hauer 46976f7bfc OMAP: fix compilation
This got broken during the switch to implement the lowlevel functions
in C.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-23 08:38:52 +02:00
Sascha Hauer 3aa5c839eb ARM: add missing call to arch_init_lowlevel
This got lost during the switch to implement the lowlevel
stuff in C.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-23 08:37:34 +02:00
Sascha Hauer 334fe1dc8a pca100: use generic default env
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer dc4d0da985 pcm037: use generic default env
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer 4666c09f1c pcm043: use generic default env
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer 3dc4dedb71 pcm038: use generic default env
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:45 +02:00
Sascha Hauer 6d4ffe499f arch/arm/cpu/cpu.c: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:46:27 +02:00
Sascha Hauer 72861584e3 bootu: Allow passing in devices as parameter
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:30:38 +02:00
Sascha Hauer 9c827f121a pcm037: Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:30:38 +02:00
Sascha Hauer f7c02aea7b Merge branch 'net' into next 2010-06-17 08:29:09 +02:00
Ivo Clarysse a81786a053 mx25 3ds: Fix compilation
On barebox-next, I get:

board/freescale-mx25-3-stack/built-in.o: In function `go':
3stack.c:(.flash_header_start+0x0): undefined reference to `_start'
board/freescale-mx25-3-stack/built-in.o: In function `imx25_3ds_fec_init':
3stack.c:(.text.imx25_3ds_fec_init+0x4): undefined reference to `mc34704_get'
3stack.c:(.text.imx25_3ds_fec_init+0x1c): undefined reference to
`mc34704_reg_write'

Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-15 13:00:22 +02:00
Sascha Hauer c21a7fb9f1 arm start.c: Make runtime function address calculation tolerant for more compilers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-13 13:07:12 +02:00
Eric Benard f2fdfe875f Add support for Eukrea CPUIMX35
this modules is based on Freescale's i.MX357 CPU, with 128MB of
mDDR, 256 MB NAND, and ethernet PHY.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-10 15:57:18 +02:00
Sascha Hauer ce971c2367 arm: use processor specififc functions to turn off MMU
The way it was done before does not work on Cortex processors.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Orjan Friberg <of@flatfrog.com>
Tested-by: Luca Ceresoli <list@lucaceresoli.net>
2010-06-10 14:20:39 +02:00
Eric Bénard f0bbbb9aae eukrea_cpuimx25: update defconfig
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-10 13:44:46 +02:00
Baruch Siach c672f6fcd7 mx25: add support for i2c
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-10 08:39:26 +02:00
Baruch Siach e490bd6715 mx25: fix typo in imx25-regs.h
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-10 08:39:26 +02:00
Sascha Hauer f2abce5336 Merge branch 'next' 2010-06-03 13:06:39 +02:00
Eric Bénard 043efce517 eukrea_cpuimx27_defconfig: increase MALLOC_SIZE
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-02 10:33:46 +02:00
Eric Bénard 9404bd294d arm: update mach-types
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-26 10:42:35 +02:00
Eric Bénard d784202e07 eukrea_cpuimx27: update defconfig
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-26 10:34:58 +02:00
Eric Benard 3466b8b2bc Add support for Eukrea's CPUIMX25
This boards integrates 64mB of DDR, a 256MB NAND flash, a RMII Ethernet PHY
and a i.MX257 CPU.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-25 09:27:00 +02:00
Eric Bénard 2abc73db03 i.MX27: add required defines for I2C2
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-18 08:30:45 +02:00
Marc Reilly c2f9285511 imx35: add detection of silicon revision
Implemented imx_silicon_revision() for imx35.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-17 10:53:28 +02:00
Marc Reilly 55626da787 arm boot: Formatting
Changed to be consistent with surrounding code.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-17 10:52:50 +02:00
Marc Reilly 0df45f5599 arm: Add revision tag to boot parameters
Revision info required for some boards at boot time.
Only adds if the system_rev has been set to non-zero.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-17 10:52:46 +02:00
Sascha Hauer 8464f0e1c0 i.MX35: Fix ahbclock calculation
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:07:02 +02:00
Sascha Hauer ee397c9b54 i.MX: remove __REG from esd controller regs. use readl/writel instead
So far these registers are unused in C, so we can remove the __REG without
harm.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Sascha Hauer 78104ae181 arm: reimplement startup code in C
Lets translate the startup code to a language we all understand better.
Tested on pcm038 (arm v5) and pcm043 (arm v6).

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Sascha Hauer bd9e5ca89e arm: move __mmu_cache_flush to bare_init section
Instead of having seperate cache flush functions in the startup code
we want to call the generic functions. To accomplish this they have
to be in the bare_init section.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Sascha Hauer 64a6eb6a38 arm: remove unused variables from header file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Sascha Hauer 6b8e614bac add arm helper function to determine the program counter
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Sascha Hauer acbeeab989 ARM: update icache functions to use get_cr/set_cr
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:02:03 +02:00
Sascha Hauer 1381445eac ARM: Add get_cr/set_cr functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:02:03 +02:00
Sascha Hauer 0418f39688 define __LINUX_ARM_ARCH__ for armv6 processors
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:02:03 +02:00
Sascha Hauer 51b4009f3c ARM: use memalign in dma_alloc_coherent to assure alignment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:02:03 +02:00