9
0
Fork 0
Commit Graph

449 Commits

Author SHA1 Message Date
Sascha Hauer 3cdd830d96 Digi a9m2410: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer 644143a9fc at91sam9263ek: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer e14b70b502 at91sam9260ek: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer c1de481425 eukrea cpuimx27: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer 5d652ef481 mmccpu: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer e4e59735ab netx: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer 3a0103dfe6 pm9263: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer 8ea59559e3 pcm043: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:59 +01:00
Sascha Hauer 873b08971f scb9328: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:59 +01:00
Sascha Hauer fe9f380406 mx27ads: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:59 +01:00
Sascha Hauer fadfb7b56e pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer c173ec1f0a pcm037: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer 533da0f40f mx21ads: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer d8bb33b1c2 imx ipu fb: Make fb_videomode const
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer 44738ee7ae i.MX35 3stack: select I2C drivers
Building i.MX35 3stack support without the I2C drivers
does not make much sense as the board will trigger a
watchdog timer soon after start.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-17 13:34:55 +01:00
Sascha Hauer f6ae481846 Merge branch 'for-sha-eabi-fixes' of git://git.pengutronix.de/git/mkl/barebox 2009-12-17 12:23:48 +01:00
Sanjeev Premi ee44062171 omap3evm: Minimal default configuration
Created a minimal configuration that just gets the
board up and running.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-17 12:13:21 +01:00
Marc Kleine-Budde b72645bfa5 arm/lib: add missing abi helper functions __aeabi_idivmod, __aeabi_uidivmod
With EABI we have two new helper functions __aeabi_idivmod and
__aeabi_uidivmod. This patch adds them to barebox.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-16 15:39:12 +01:00
Marc Kleine-Budde 8fe23d32d9 arm/lib: add eabi names of helper functions
Since commit e2b4a792f8, we don't
undoncitionally link with OABI. If now EABI is selected there are a
number of missing helper functions, because they have new names now.

This patch add the abi names to the existing helper functions.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-16 15:39:11 +01:00
Marc Kleine-Budde ca8ec6c9d5 Cleanup some more collateral damage from renaming
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-15 21:23:42 +01:00
Juergen Beisert dac84c7b9d documentation updates
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 11:32:02 +01:00
Luca Ceresoli f3d6e2f8f9 Turn on CONFIG_CMD_MEMORY in Beagle Board defconfig.
It would otherwise generate an image whose loadb command is
broken.

Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:32:29 +01:00
Sascha Hauer 9491ec7800 Cleanup colleteral damage from renaming
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:19:08 +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
Juergen Beisert f522d42597 Some doxygen related fixes
Nishanth Menon wrote:
> no signed off by and no diffstat?

Ups.

> can you use git-format-patch to send please? it is easier to review.

Sure. Here it comes:

jbe

------8<---------8<---------8<---------8<---------8<---------8<----

Subject: [PATCH] Some doxygen related fixes:
  - fix a few doxygen comments that are used in a wrong way
  - move some pages and their content to a better place in the
    generated documentation

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-14 09:43:02 +01:00
Marc Kleine-Budde e2b4a792f8 arm/Makefile: don't set ABI unconditionally to "apcs-gnu"
Since commit 67b2697613 we have
configureable ABI support in the bootloader, so don't set apcs-gnu
unconditionally.

Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-11 11:49:29 +01:00
Sascha Hauer 899aaa52aa pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:02 +01:00
Sascha Hauer 21b12270f8 i.MX Nand: fix bit clearing
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:02 +01:00
Sascha Hauer 3111655cb1 i.MX31: Fix CCM_UPCTL register offset
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer f5caf0c5b2 omap: Use correct label in arch/arm/Makefile
Currently all omap boards reside in boards/omap. This is
probably not a good idea as it leaves no good place to
put custom omap boards in. Anyway, make the boards compile
again until someone provides a better solution.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer 558c13d29a omap: Add missing include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer 4300cd1729 pcm043: Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer 85520cc9f6 pcm043: add display support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer 8ad5fe6ca4 introduce GENERIC_GPIO label
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer f601b74d01 complete i.MX GPIO support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer 6bd5caf6c6 i.MX: split out iomux-v1 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Juergen nogit Beisert 4f24fe1b52 fb: Add a i.MX IPU framebuffer driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-09 17:05:55 +01:00
Eric Benard cf6399b2aa Fix imx_nand_set_layout for i.MX27
FMCR is (*((volatile u32 *)(x))) (0x10027814) and thus this leads
to a data abort.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-09 15:35:22 +01:00
Sascha Hauer d870137a17 i.MX flash header: make it work on i.MX35
The flash header is used on different i.MXs other than the
i.MX25, so rename it. Also, add a possibility to put a flash
header on different offsets (0x100, 0x400 and 0x1000), needed
for different boot mediums.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 11:12:51 +01:00
Sascha Hauer 6986aa092e i.MX Nand: Set correct datawidth/pagesize in CCM module
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:47 +01:00
Eric Benard 6ba4c11f91 Eukrea CPUIMX27 : update defconfig
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:34 +01:00
Eric Benard 4b3e650d10 Eukrea CPUIMX27 : Add MMU support
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:23 +01:00
Eric Benard 2adeb59c22 Eukrea CPUIMX27 : add console on Quad UART support
The SOM can integrate a 16550 Quad UART which can be used
for serial console.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:18 +01:00
Eric Benard c24fa6b117 Eukrea CPUIMX27 : add NOR flash size configuration
64MB strataflash consist in 2x256Mb flashs. So we must declare
2 cfi_flash in order to have both 256Mb flash geometry properly
detected. For flash <= 32 MB we prefer not to register the second
cfi_flash which would be an alias of the first one.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:13 +01:00
Eric Benard bf33c69764 Eukrea CPUIMX27 : add SDRAM size choice
Add a menu entry and proper settings for 128MB and 256MB
RAM size.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:09 +01:00
Juergen Beisert 81b044f3b6 Adding IPU clock query functions for i.MX31 and i.MX35
Adding IPU clock query functions for i.MX31 and i.MX35
(used to generate their LCD timing).

BTW: All functions are declared with the 'ulong' return type, but some are
defined with 'unsigned long'. And yes, its the same, but IMHO one type should
be used for all.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-25 08:29:40 +01:00
Juergen Beisert 19b98a87fc Adding some documentation
Add some (helpful?) comments about the meaning of 'framebuffer' and
'framebuffer_ovl' structure members.

Signed-off-by: Juergenn Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-25 08:29:40 +01:00
Marc Kleine-Budde 1177321b22 imx35-regs: add CGR1 helper values
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:31 +01:00
Marc Kleine-Budde 3d381d7955 imx35-regs: add base address for I2C1
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:31 +01:00
Marc Kleine-Budde 8dd761338f imx-regs: define IMX_FEC_BASE
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:30 +01:00
Marc Kleine-Budde 590fa6e29c speed-imx35: add function imx_get_i2cclk
Because i2c is connected to ipg_perclk om MX35 it's calls
imx_get_ipg_perclk().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:30 +01:00
Marc Kleine-Budde bb3f431deb speed-imx35: the gptclk is connected to the ipgclk
The gpt clock on MX35 is connected to the ipg clock. But the
implementation uses the ipg_per clock.

This patch lets the gpt use the ipg clock and introduces the
ipg_per clock.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-24 10:01:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD 71306852fd arm: generate mach-types.h instead of static version
mach-types against v2.6.32-rc5

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-03 13:01:46 +01:00
Jean-Christophe PLAGNIOL-VILLARD 67b2697613 arm: add configurable AEABI support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-03 13:01:27 +01:00
Sascha Hauer 73d57b1d35 list: remove duplicated list.h
We accidently have two list implementations in the tree:
include/list.h and include/linux/list.h. This patch moves
the latter (newer one) to include/linux/list.h.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:48:53 +01:00
Jean-Christophe PLAGNIOL-VILLARD 7dcef1bb20 arm: update cpu tunning
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:47:39 +01:00
Jean-Christophe PLAGNIOL-VILLARD a4292fe7cf arm: add endian config support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:47:32 +01:00
Jean-Christophe PLAGNIOL-VILLARD c7ce98dc8d arm: use -marm as default when it's possible
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:47:24 +01:00
Jean-Christophe PLAGNIOL-VILLARD 159c92d140 arm: remove non used cpu-y
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:47:12 +01:00
Jean-Christophe PLAGNIOL-VILLARD d4a54dfa42 arch/arm/Makefile: cleanup
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:46:09 +01:00
Jean-Christophe PLAGNIOL-VILLARD bab3a3b976 arm: introduce CPU CONFIG from linux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:45:55 +01:00
Jean-Christophe PLAGNIOL-VILLARD eea19dc488 at91: Atmel Ref board fix config MACH to match with mach-types
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD 49c95cf86a arm: move config ARCH_TEXT_BASE and BOARDINFO to mach Kconfig
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD be6966d51d netx/kconfig: inverse the board selection
instead of select first the board which will select the arch, now
first choice the arch to filter the possible boards

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6a55694c03 s3c/kconfig: inverse the board selection
instead of select first the board which will select the arch, now
first choice the arch to filter the possible boards

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD 6e8345fc68 imx/kconfig: inverse the board selection
instead of select first the board which will select the arch, now
first choice the arch to filter the possible boards

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD 76f9648ca4 at91/kconfig: use similar kconfig presentation
keep the rm9200 in its own Kconfig until we move it to the at91 API

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD e89a462909 arm/kconfig: inverse the board selection
instead of select first the board which will select the arch, now
first choice the arch to filter the possible boards

as it's already done for omap

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-11-02 14:44:43 +01:00
Jean-Christophe PLAGNIOL-VILLARD af88baca30 at91: add support for the at91sam9263ek board of Atmel
Here is the page on Atmel website:
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice VILCHEZ <patrice.vilchez@atmel.com>
Cc: Sedji Gaouaou <sedji.gaouaou@atmel.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-02 08:31:52 +01:00
Jean-Christophe PLAGNIOL-VILLARD 2e092539f5 pm9263: add nand support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Ilko Iliev <iliev@ronetix.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-02 08:23:02 +01:00
Sascha Hauer 78c8011603 i.MX1: do not try to print non existent reg CID
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-28 10:19:36 +01:00
Sascha Hauer e05858f009 i.MX21: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-28 10:19:10 +01:00
Sascha Hauer 40a5f3de4e Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jean
Conflicts:
	board/a9m2440/a9m2440.c
	board/pcm043/pcm043.c
	drivers/nand/nand_imx.c

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-28 10:10:56 +01:00
Juergen Beisert f5194c3a3e A9M2440: Be able to configure things baseboard dependent
There is no really generic way to configure the S3C2440 CPU with fits to all
possible baseboards. This patch separates things into the CPU card related and
baseboard related things. This ensures to be able to configure things for
each possible baseboard without modifying/patching the main card source.

Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
2009-10-28 09:44:42 +01:00
Juergen Beisert 8a7f837355 A9M2440: Use external GPIO settings to setup the SDRAM
The generic A9M2440 comes in many SDRAM variantes. Two GPIO pins describing
the populated SDRAM devices. This patch adds some code to query the setting
and setup a correct SDRAM configuration out of four possible variants.

Due to the lack of hardware the 16 MiB and 128 MiB case is untested yet.

Due to the 32 MiB configuration we must link the u-boot-v2 always to
address 0x31fc0000. Even for the 64 MiB and 128 MiB configuration.

Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
2009-10-28 09:44:42 +01:00
Juergen Beisert afae995ef9 S3C24xx: Provide a generic way to detect memory size
This patch adds code to determine the current available SDRAM size. It relies
on other routines setting up the SDRAM controller, because it only read back
their settings.

Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
2009-10-28 09:44:41 +01:00
Jean-Christophe PLAGNIOL-VILLARD f6a579da9c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD 9956bdf77d arm: merge proc-armv/ptrace.h and ptrace.h in one file
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:48 +02:00
Jean-Christophe PLAGNIOL-VILLARD 67254a403f [ARM] move include/asm-arm to arch/arm/include/asm
Move platform independent header files to arch/arm/include/asm, leaving
those in asm/arch* and asm/proc* alone.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:47 +02:00
Jean-Christophe PLAGNIOL-VILLARD a08615b2da at91sam9: switch to the same api as the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:39 +02:00
Jean-Christophe PLAGNIOL-VILLARD 7ac3805353 at91: add cpu devices common api
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD 81362c2b2a at91sam9: move to at91
this will allow to add at91rm9200 with the same api as done in the kernel

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:36 +02:00
Sascha Hauer 420a3173f0 commands: remove maxargs
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer 63e01b4969 call getopt_reset only once
instead of calling getopt_reset in each command,
call it only once before calling the command.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer 87e01f28cc commands: return COMMAND_ERROR_USAGE
instead of calling u_boot_cmd_usage in each command to safe
space.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer c67926c239 pcm038 defconfig update
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-12 15:29:32 +02:00
Sascha Hauer d13f32d50a imx: replace imx specific gpio functions with generic ones
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:03 +02:00
Sascha Hauer 3820307eb0 rename dma macros
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:57 +02:00
Sascha Hauer 24c51dfb3a mx25: remove duplicate function, fix perclk values
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:11 +02:00
Sascha Hauer 6e44db23fe mx25: implement clko command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:06 +02:00
Sascha Hauer 019b16fd5f pca100: Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:00 +02:00
Sascha Hauer e6615c5e32 add mx25 3ds defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:56 +02:00
Sascha Hauer 55e94293d5 add Freescale MX25 3stack board support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:56 +02:00
Sascha Hauer 13d3db22d3 Add MX25 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer fd18bc87c2 use _stext instead of TEXT_BASE
When checking if we have to relocate ourselves, use _stext instead
of TEXT_BASE. TEXT_BASE might be the location of a pre image header.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer 222abdccec i.MX: Use more accurate decode pll function from kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:51 +02:00
Sascha Hauer ef523775df i.MX: Do not dump clocks on startup.
Instead, add a command dump_clocks to print the clocks during
runtime.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:52:00 +02:00
Sascha Hauer e2c8e8a180 Add MMU support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:30 +02:00
Sascha Hauer 49ff3691b4 arm: Add bootu command
bootu command to start raw (uncompressed) Linux images

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:01 +02:00
Sascha Hauer 5db3059ebc arm: make 'bootz' configurable
also, fix compilation with bootm disabled

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:50:31 +02:00
Sascha Hauer 6df1e4b20a armlinux.c: refactor
- remove ifdeffery
- make locally used functions static
- coding style cleanup

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 5e1067792b armlinux: remove unused atags
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:27:46 +02:00
Sascha Hauer 270c2673a1 arm: implement optimized string functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:45:00 +02:00
Sascha Hauer 66457f42e4 return is not a function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:44:53 +02:00
Sascha Hauer 224d499e7e bootz: Speed up bootz command
We used to read the whole file with zImage booting. When the
file is really a device which is much bigger than the zImage
it's quite slow. Read the image size from the image instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:43:20 +02:00
Jan Weitzel d36dd1dcc4 i.mx35 fix clock calc
u-boot-2.0.0-rc8
Correct arm and ahb clock calculation.
Write CLKO divider to register

Signed-off-by: Andreas Adam <A.Adam@phytec.de>
Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-03 10:23:29 +02:00
Sascha Hauer ecfac0f302 Merge branch 'docu_update' of octopus:/home/jbe/work/u-boot-v2 into jbe 2009-07-31 15:13:02 +02:00
Juergen Beisert d4babacc26 Improve the ARM architecture documentation part
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert 56f09a3522 Fix PLL documentation for the S3C2440 CPU
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Juergen Beisert b8b205c72b Improve or fix various parameter documentation
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-31 13:24:43 +02:00
Sascha Hauer 9e3f6a8bbc mx27: Add lcd clock function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-30 16:09:10 +02:00
Sascha Hauer 8a1d5e11bb Get rid of DEVICE_TYPE_DRAM usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Eric Benard f1627ba3d4 Add NAND to EUKREA CPUIMX27 defconfig
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-16 09:46:34 +02:00
Eric Benard b2db2e6cd8 Add Eukrea CPUIMX27 support
CPUIMX27 is built around Freescale's i.MX27 and has up to 64MB of
NOR Flash, up to 512MB of NAND Flash and up to 256MB of mDDR,
it includes an ethernet PHY in MII mode, an I2C RTC and a
ST16554 QuadUART on nCS3.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-16 09:46:34 +02:00
Luotao Fu 50cbe3e0fc IMX regression: fix GPIO_DR usage
GPIO_DR ist defined already as GPIO_GPIO in imx-regs.h. There's no need to
define archdependent GPIO_DR. This one fixes a regression brought in by
d5ec92129e

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-08 12:27:56 +02:00
Juergen Beisert f1ed0ae1c6 Add the basic support for the DIGI a9m2440 CPU card.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 15:58:57 +02:00
Juergen Beisert 27acfbda77 Add the basic support for the DIGI a9m2410 CPU card.
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 15:58:48 +02:00
Juergen Beisert 5139e618b8 Add basic architecture support for Samsung's S3C2410 and S3C2440 CPU.
It includes a
 - driver for the internal UART
 - driver for the internal NAND controller
 - support to boot from NAND
 - PLL handling
 - SDRAM initialisation

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:36:40 +02:00
Juergen Beisert cd175ec7d2 Remove all ARM __raw_* functions. They are mixed all over
the place. This clean up all ARM architectures to use only one set
of io functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:35:35 +02:00
Juergen Beisert 2148865ac9 Reorganizing the i.MX menu, to be only visible for a selected i.MX platform
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 14:13:16 +02:00
Juergen Beisert 97799e8a16 Add IO string functions to also handle 32 bit IO locations
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:21 +02:00
Juergen Beisert a05e312009 Separate all assembler functions into their own section to
let the linker remove unused functions.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2009-07-01 10:45:02 +02:00
Luotao Fu 01b784d331 pca100: update defconfig
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 18:10:37 +02:00
Luotao Fu d5ec92129e mx2: add gpio direction/value setting calls
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:20:26 +02:00
Juergen Beisert 7733de908b Fix some layout issues and typos.
Reorganizing some files to parts of the
documentation where their content matches.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-06-10 12:47:20 +02:00
Sascha Hauer df14bf29e0 i.MX1: Fix gpt clock speed
got broken in commit:

commit 309a75baaf
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Fri Feb 20 18:14:52 2009 +0100

    i.MX use fecclk for fec and gtpclk for gpt

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-25 16:53:30 +02:00
Sascha Hauer 3658177775 i.MX35: Add iomux support from kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:30:42 +02:00
Marc Kleine-Budde 0780441a3f [mmccpu] add new board: Bucyrus MMC-CPU
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-19 10:21:53 +02:00
Karsten Schwinne c2c1f2f8df [at91] add gpio support for at91sam9263
Signed-off-by: Karsten Schwinne <kartsten.schwinne@de.bucurus.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:20:00 +02:00
Sascha Hauer 287700795c pcm038: initialize PLLs in one step
We used to initialize the PLLs on PCM038 in two
steps. The first was to initialize a basic setup
so that all peripheral clocks run at their final
speed and the second step was to push the processor
to full speed after the PMIC has been initialized
for the higher voltage.
Do this in one step instead to get an easier setup.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:41:49 +02:00
Sascha Hauer c651bda2d5 pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:36 +02:00
Sascha Hauer e5d7e49358 pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:25:05 +02:00
Sascha Hauer a3c3f66abc imx clocksource: add frequency change support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:01:58 +02:00
Sascha Hauer 0202bdcfa6 MX21ads: Add cs8900 support (got lost in last commit)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-28 11:27:24 +02:00
Ivo Clarysse 3f322b21f4 u-boot-v2: Support CS8900A on MX21ADS
Support the on-board CS8900A ethernet controller of the
MX21ADS development board.

Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
2009-04-28 08:40:37 +02:00
Sascha Hauer a3f20a4545 Arm: remove -msoft-float option
This breaks compilation on a hardfloat toolchain as we would need
AFLAGS += -msoft-float aswell. Since we do not use floating point
we can equally well remove the option completely.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-21 16:56:16 +02:00
Sascha Hauer 9665fd1ced pcm043: enable FEC driver in default config
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-20 18:50:36 +02:00
Sascha Hauer 4a6369bd9c add pca100 defconfig file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:37 +02:00
Sascha Hauer 5151577032 add initial phyCard-i.MX27 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:07 +02:00
Sascha Hauer 1be769ab30 Merge branch 'usb' 2009-04-07 11:02:14 +02:00
Ivo Clarysse e404e46b32 i.MX21: Fixes HCLK decoding for i.MX21, reports NFC clock
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 11:01:15 +02:00
Ivo Clarysse 3ccfdfd9b9 Add i.MX21ads support
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 11:00:16 +02:00
Sascha Hauer 555cd1099e pcm037: add USB support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:56:26 +02:00
Ivo Clarysse fcfbd10d3c Add Freescale i.MX21 support
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 08:55:04 +02:00
Sascha Hauer f3524c8984 i.MX31:
Rework iomux support for i.MX31:

- rename gpio-imx31.c to iomux-v2.c
- add pin definitions from Kernel
- fixup pcm037 board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-06 11:21:28 +02:00
Sascha Hauer 5a2e3219f5 i.MX FEC Kconfig: add a ARCH_HAS_FEC_IMX symbol
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:03:49 +02:00
Sascha Hauer ec81271e06 ARM Kconfig: Move i.MX specific parts to arch/arm/mach-imx
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-31 11:00:39 +02:00
Sascha Hauer 4e2d12913d Remove accidently committed debug code
This was introduced with commit
8b75c20a41

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-26 13:22:39 +01:00
Sascha Hauer 8b75c20a41 add clko support for i.mx35
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 18:23:57 +01: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