9
0
Fork 0
Commit Graph

619 Commits

Author SHA1 Message Date
Wolfram Sang 47515fbdaa mxs: tx28: fix NAND usage
Pinmuxing was wrong and no GPMI device was created.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-12-05 19:33:15 +01:00
Sascha Hauer abb5c25bbb i.MX27 regs remove unnecessary include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-27 21:01:09 +01:00
Jean-Christophe PLAGNIOL-VILLARD 1308d908ea m25p80: re-import it againt mtd_add_host
so we now create the cdev via mtd

This will also simplify sync with linux

to avoid the m25p8000 or m25p00 the cdev is still named name m25p and the
drivers m25p80

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:40:23 +01:00
Christian Hemp cb85fb8214 ARM pcm043, cupid: Fix macro name
Since commit dc9d70e2 the define CCM_PDR4 is called MX35_CCM_PDR4.

sha: Added the same for cupid

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:32:13 +01:00
Vicente 543cf11ad4 ARM: use arm_setup_stack function on archosg9
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:33:23 +01:00
Jean-Christophe PLAGNIOL-VILLARD 272a5d738a at91rm9200ek: add spi support
as the support atmel mci drivers does not work on rm9200 and we have the
possibility to use it as spi use it

Originally on rm9200 when the interface mci is in SPI mode we use a DataFlash Card
so allow it but if no dataflash card option is enable use as mmc spi.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:50 +01:00
Jean-Christophe PLAGNIOL-VILLARD c9a3e431a6 tny-a9g20: add mmc spi support
on the 9g20 low power version we have a mmc spi as microSD

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:11 +01:00
Jean-Christophe PLAGNIOL-VILLARD ffd78d22c1 usb-a9g20: add mmc spi support
on the 9g20 low power version we have a mmc spi as microSD

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:11 +01:00
Vicente aac938482f Add support for Archos G9 tablet
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente beff13a41c omap4: add rename definitions to match datasheet
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:31:51 +01:00
Sascha Hauer 154496f736 Merge branch 'for-next/omap' 2012-11-16 14:02:49 +01:00
Sascha Hauer 3ff1015d24 Merge branch 'for-next/mxs' 2012-11-16 14:02:36 +01:00
Sascha Hauer 9749c2f16f Merge branch 'for-next/mtd'
Conflicts:
	arch/arm/configs/at91sam9x5ek_defconfig
2012-11-16 14:02:32 +01:00
Sascha Hauer 856f60dbd1 Merge branch 'for-next/misc'
Conflicts:
	commands/Makefile

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 14:01:34 +01:00
Sascha Hauer bf38ac7b89 Merge branch 'for-next/imx'
Conflicts:
	arch/arm/boards/guf-neso/lowlevel.c
	arch/arm/boards/pcm038/lowlevel.c
	commands/Makefile
2012-11-16 14:01:09 +01:00
Sascha Hauer c914f8aaea Merge branch 'for-next/defenv-2' 2012-11-16 14:00:45 +01:00
Sascha Hauer ee69df5a10 Merge branch 'for-next/clps711x'
Conflicts:
	arch/arm/Kconfig
	arch/arm/Makefile
2012-11-16 14:00:42 +01:00
Sascha Hauer daac8bf5d3 Merge branch 'for-next/bcm2835'
Conflicts:
	arch/arm/configs/versatilepb_defconfig
2012-11-16 14:00:34 +01:00
Sascha Hauer 2f5cd85719 Merge branch 'for-next/at91' 2012-11-16 14:00:24 +01:00
Sascha Hauer 3e9ef655a6 Merge branch 'for-next/arm' 2012-11-16 14:00:24 +01:00
Jean-Christophe PLAGNIOL-VILLARD dbb83e85bf at91sam9x5ek: add mci support
only add mci0 (microSD slot) as mci1 conflict with spi0

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 10b4aade9a at91sam9x5ek: add spi support
on all the cpu module we have a at25 except on the cogent where we have a at45

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 5d23be6498 at91sam9x5ek: add at24c512 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 21d7f8f551 at91rm9200ek: enable dt support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD fe67b42201 at91sam9x5ek: add i2c support
enable qt1070 support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6c7aebadf2 at91sam9x5ek: use w1 serial number to generate local mac address
The OUI will be 'tml' => 76:6D:6C

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 79c7480b19 at91sam9x5ek: add fixup for cogent cpu module
The modules from cogent use a 1.8V nand
And have the mci card detect broken as they use the flash vdd as vdd for the
cd which need > 2V

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:29 +01:00
Jean-Christophe PLAGNIOL-VILLARD 3faf2f3b05 at91sam9x5ek: add hw detection support
for bootp specify the module version via client_id as
%{BOARD}-%{VERISON}

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD 7a4f4669ab at91sam9x5ek: add 1-wire support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD 1fec18c463 pm9261: use w1 serial number to generate local mac address
The OUI will be 'ron' => 72:6F:6E

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD effb4a5f3b pm9261: add 1-wire support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD 47f0e3cab6 pm9263: use w1 serial number to generate local mac address
The OUI will be 'ron' => 72:6F:6E

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD d741f1bbba pm9263: add 1-wire support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD c8c28ed4cf pm9g45: use w1 serial number to generate local mac address
The OUI will be 'ron' => 72:6F:6E

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD 60f6c79ab1 pm9g45: add 1-wire support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 20:20:28 +01:00
Sascha Hauer 18f044436e Merge branch 'for-next/i2c' into for-next/at91 2012-11-15 20:20:19 +01:00
Christian Kapeller 4f2ac27e25 tx53: remove reset() when not doing lowlevel init.
This patch fixes a linker error when PBL_IMAGE=n and DO_LOW_LEVEL_INIT=n.
In this configuration the symbol reset() was present multiple times,
and prevented the barebox image to be linked.

Signed-off-by: Christian Kapeller <christian.kapeller@cmotion.eu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 12:45:34 +01:00
Christian Kapeller 3e976a79f2 tx53: Fix unbootable TX53-8030.
This patch remove a superfluous DCD command in TX53-xx30 flash header.
The entry DCD_WR_CMD(0x21c) just duplicates the contents of the last
imx_flash_header_v2 struct member dcd.

Removal of this DCD entry is needed to make the TX53 board boot again
from NAND.

Signed-off-by: Christian Kapeller <christian.kapeller@cmotion.eu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 12:45:34 +01:00
Jean-Christophe PLAGNIOL-VILLARD d65d9df83c mx53-loco: fix phy reset
the phy reset neet to be done before the fec driver is registered
as we accesst the phy at the fec probe time

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 12:31:58 +01:00
Jean-Christophe PLAGNIOL-VILLARD 37e4bec9f7 versatilepb: add i2c support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-15 08:34:53 +01:00
Sascha Hauer bd6d12be45 ARM OMAP3 boards: Call omap3_core_init only from SRAM
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-02 22:15:15 +01:00
Sascha Hauer 5f2074bdd1 ARM OMAP3 beagle: switch to new environment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-02 22:15:15 +01:00
Sascha Hauer 663c466794 ARM OMAP4 panda: switch to new environment
Switch to new environment and add the bootscripts needed for mmc. Also,
update defconfig for new environment.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-02 22:15:15 +01:00
Alexander Shiyan 27794047ff ARM: clps711x: Add generic board support (CLEP7212)
This patch adds generic board support (CLEP7212, Linux ARM ID=91)
for CLPS711X-target.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-02 11:24:58 +01:00
Sascha Hauer d78597af84 defenv-2: bring back /env/config
The idea of having /env/init/* scripts was to make the configuration
more flexible and customizable for boards. It turned out though that
people (including myself) do not find the place where they should
change these settings.

So this patch brings back /env/config for defenv-2. The individual
env/init/* scripts are removed and their content is added to
/env/init/config-board. This makes the values from /env/init/config-board
the board specific defaults which can be overwritten in /env/config.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-01 19:46:40 +01:00
Sascha Hauer fee5d94b9a defenv-2: remove some helper scripts
The added complexity of bootargs-ip-* and bootargs-root-* makes
understanding defenv-2 more complicated. remove them and open
code the scripts instead in their users.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-01 16:50:19 +01:00
Jean-Christophe PLAGNIOL-VILLARD d357612bc1 at91sam9xek: fix mtd partition
barebox size is 384KiB
and for the official atmel release we need to rootfs at 8M

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-01 16:28:49 +01:00
Wolfram Sang 8f16bfc05a mxs: mx28evk: add nand device
While flash layout may be custom, at least the nand0-device is good to
have.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-31 08:37:35 +01:00
Jean-Christophe PLAGNIOL-VILLARD 345299e94c nomadik_nand: switch to named resource
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-30 10:24:12 +01:00
Sascha Hauer 5696a16f10 ARM Samsung: fix pbl build for tiny210 board
The Tiny210 needs lowlevel.o and memory setup in the pbl.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-26 08:55:54 +02:00