9
0
Fork 0
Commit Graph

1468 Commits

Author SHA1 Message Date
Teresa Gámez 7d61b58596 imx-ipu-fb: Add support for multiple video modes
Make support of multiple video modes possible for i.MX3 boards.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-23 09:38:26 +01:00
Juergen Kilb 21d2470471 ARM pca-a-l1: should depend on ARCH_OMAP3
Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-23 09:33:22 +01:00
Juergen Kilb a283c2cbd8 ARM pca-a-l1: fix board_init
board_init was moved to pure_initcall. broken since:

commit 0adce7ec68
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Sun Jan 15 21:11:17 2012 +0100

    ARM omap3: move board_init to pure_initcall

    board_init initializes the mux and sdram. For both there is no
    need to configure this so early. Move the code to a pure_initcall
    and remove the surrounding unneeded code.

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    Tested-by: Sanjeev Premi <premi@ti.com>

Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-23 09:33:22 +01:00
Juergen Kilb 0e4cf7b552 ARM pca-a-l1: delete platform.S
since commit 494a12f703
platform lowlevel init was moved to mach-omap.

Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-23 09:31:29 +01:00
Juergen Kilb 4818edd25e ARM pca-a-l1: call omap3_core_init from board code
since commit ae2ac15105
a_init was renamed to omap3_core_init and called from board code.

Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-23 09:31:29 +01:00
Sascha Hauer 5a62e7e05c ARM pca-a-l1: fix board_init
board_init is now called omap3_board_init. broken since:

commit 494a12f703
Author: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Date:   Sat Jan 14 15:51:05 2012 +0100

    omap3: move platform lowlevel init to mach-omap

    this will allow to switch omap3 to standard organisation

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-17 18:52:06 +01:00
Sascha Hauer fc5b5e71ac ARM omap3: make omap3_core.S thumb safe
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:51:10 +01:00
Sascha Hauer 0073723f15 ARM cache-armv7: Add additional ISB
At least OMAP3 needs this to properly work with MMU.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-17 18:50:55 +01:00
Sascha Hauer 8b99fe8956 ARM omap3: reimplement setup_auxcr in pure asm
This function consists of only inline asm statements, so
use assembly in the first place. Also makes sure that the
function is compiled in arm mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:50 +01:00
Sascha Hauer 987cada74a ARM omap3: remove vector setup from lowlevel code
No need to do this so early. We can't print anything right
now anyway, so there is no need to setup vectors.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:45 +01:00
Sascha Hauer 91f2b4da50 ARM omap3 clock: move pll tables to C code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:41 +01:00
Sascha Hauer ae2ac15105 ARM omap3: call a_init from board code
There is no need to call a_init before relocation, so rename
the function to omap3_core_init and call it from board code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:36 +01:00
Sascha Hauer 0adce7ec68 ARM omap3: move board_init to pure_initcall
board_init initializes the mux and sdram. For both there is no
need to configure this so early. Move the code to a pure_initcall
and remove the surrounding unneeded code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:31 +01:00
Sascha Hauer af24f306bf ARM omap3 beagle xload: Move stack to SRAM
Setting up the clocks does not work when the stack is in SDRAM.
Moving the stack to SRAM allows us to do the lowlevel clock setup
later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:25 +01:00
Sascha Hauer 4f5ba4e3bb ARM omap3: remove OMAP3_COPY_CLOCK_SRAM
The X-loader startup relocates to SRAM anyway, so there
is no need to be runnable from flash for the clock code.
This config is disabled in all defconfigs anyway, so remove
it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sanjeev Premi <premi@ti.com>
2012-01-17 18:50:19 +01:00
Jean-Christophe PLAGNIOL-VILLARD fd3f69f379 calao/boards: specify BAREBOX_MAX_IMAGE_SIZE to 256KiB
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-17 18:48:54 +01:00
Jean-Christophe PLAGNIOL-VILLARD be07ecb5c5 omap343xdsp: move to arch/arm/boards/omap343xdsp
this will allow to create it's own env/config

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-16 10:28:00 +01:00
Jean-Christophe PLAGNIOL-VILLARD 5881f612b6 omap3evm: move to arch/arm/boards/omap3evm
this will allow to create it's own env/config

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-16 10:28:00 +01:00
Jean-Christophe PLAGNIOL-VILLARD b05719cc76 beagle: move to arch/arm/boards/beagle
this will allow to create it's own env/config

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-16 10:28:00 +01:00
Jean-Christophe PLAGNIOL-VILLARD 494a12f703 omap3: move platform lowlevel init to mach-omap
this will allow to switch omap3 to standard organisation

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-16 10:28:00 +01:00
Jean-Christophe PLAGNIOL-VILLARD 2878a37e1b at91sam9/lowlevel_init: allow to select the smc chipselect
this will allow to configure the nand as example

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 10:43:58 +01:00
Sanjeev Premi b380486770 ARM omap: Set IFT target as MLO
When CONFIG_OMAP_BUILD_IFT is selected, the
target image name was set to "barebox.bin.ift".
This file must be renamed "MLO" before it can
be used on the SD card.

Make this as default behavior.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 09:58:35 +01:00
Sanjeev Premi 4922ed51eb ARM omap3evm: Enable HSMMC device
Enable the HSMMC device to fix these errors:

   Board: Texas Instrument's OMAP3EVM
   Malloc space: 0x87bfff10 -> 0x87ffff0f (size  4 MB)
   Stack space : 0x87bf7f10 -> 0x87bfff10 (size 32 kB)
   booting from MMC1
   mounting sd card failed with -22
   booting failed

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 09:58:35 +01:00
Sanjeev Premi 92bf239823 ARM omap3evm: Allow building first stage bootloader
Enable the flag HAVE_NOSHELL to allow first stage
bootloader to be built for this board.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 09:58:35 +01:00
Sascha Hauer 1096fa4eca Merge branch 'master' into next 2012-01-12 09:53:22 +01:00
Sanjeev Premi e54e3289aa ARM omap3beagle: Fix incorrect base addresses
The base address passed for device "omap-hsmmc" was
incorrectly passed as OMAP_I2C1_BASE and the base
address for device "i2c-omap" was hardcoded to
0x4809C000 which, in fact, refers to OMAP_MMC1_BASE.

Similarly, in call to add_usb_ehci_device(), addition
is not required if right base address is used.
In fact, 0x48064700 (used as base in the addition)
falls in the OHCI Address space.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 09:53:05 +01:00
Sanjeev Premi 8eeab1778b ARM omap: Use updated config option
The config option CONFIG_GPMC is renamed to
CONFIG_OMAP_GPMC as result of this commit:
  819f416b86

Still, sources continue to use CONFIG_GPMC.
Fix it.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-12 09:53:05 +01:00
Jean-Christophe PLAGNIOL-VILLARD 21d0fac138 at91: add Calao TNY-A9260/TNY-A9263/TNY-A9G20
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-11 09:41:25 +01:00
Jean-Christophe PLAGNIOL-VILLARD 78af988e41 at91: add default spi chipselect ressources
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-06 09:42:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD d816bb4cc0 at91: add spi device ressources
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-06 09:42:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD be11d8ef35 at91sam9260/9g20ek: add led support
use ds3 for heartbeat and ds5 for dfu

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-06 09:42:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6ac280d92e at91sam9260/9g20ek: add dfu and usb serial support
if bp3 is pressed 5s during boot enable dfu otherwise usbserial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-06 09:42:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD 543bd82619 at91: 9260 and 9g20 add support of join SRAM Memory Mapping
on 9269 and 9g20 the sram are mirrored at then of the bank so we can join them

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-06 09:42:30 +01:00
Sascha Hauer 9ee3fb9e4a Merge branch 'pu/compile' 2012-01-05 11:40:42 +01:00
Sascha Hauer 0d22025084 Merge branch 'next' 2012-01-05 10:25:17 +01:00
Sascha Hauer 3eb3a627d3 ARM omap beagle xload: update defconfig
We don't need mtd write support for the xloader config

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 10:22:46 +01:00
Sascha Hauer fb4fcfe7d5 ARM AT91: Add missing on_flash_bbt in atmel_nand_data
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 10:22:11 +01:00
Juergen Kilb 8eae82e3ae arm: update mach-types
Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 10:21:56 +01:00
Sascha Hauer ef191db8af video imx: specify num_modes in platform_data
Without num_modes the imx fb driver won't work. Specify this
in the boards and also bail out in the driver when num_modes
is unspecified.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 09:41:27 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6124d5f34c at91rm9200_devices: add missing sizes.h
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 09:32:51 +01:00
Jean-Christophe PLAGNIOL-VILLARD 15b42a4900 at91rm9200: fix lowlovel init PIOC base
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-05 09:32:51 +01:00
Wolfram Sang dd3552dcd6 boards: mx23evk: add MMC support
Using SSP1 since this is the default configuration.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-04 14:25:27 +01:00
Eric Bénard 57d8bce194 eukrea_cpuimx35: fix compilation when CONFIG_USB_GADGET is enabled
this was introduced in "6b3e01a arm: eukrea: Fix compilation warning"

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-04 14:18:46 +01:00
Jean-Christophe PLAGNIOL-VILLARD ac10367f90 calao/usb-926x: update usb gadget support
enable serial and dfu at the same time

senario if the usb device is plugged and the BP is not pressed at boot time
during 5s the usbserial will be enable

disable zlib support to fit in the 256K

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-04 14:02:59 +01:00
Juergen Beisert 442c6d028d Mini2440: enable more working devices for a more broad compile time test
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-04 11:42:25 +01:00
Sascha Hauer 72a538f10a ARM i.MX5 loco/smd: fix compilation
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-03 11:13:04 +01:00
Sascha Hauer 6843bbf4d8 defconfig update
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 15:02:45 +01:00
Sascha Hauer e9557be0c1 ARM cache-armv7: use thumb-2 instructions where necessary
Copied from the Kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 15:00:28 +01:00
Sascha Hauer e0d23ec7c8 ARM: update string functions from Linux Kernel
The newer versions contain fixes for Thumb-2 mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 15:00:28 +01:00
Sascha Hauer 16dc67a244 ARM eukrea i.MX51: use generic lowlevel init
The lowlevel init function was a 1:1 copy from the babbage
baord, so it should be safe to switch to the generic C
lowlevel init.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Eric Benard <eric@eukrea.com>
2012-01-02 15:00:28 +01:00