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
Uwe Kleine-König
76da3708c8
imx/gpio: make gpio_get_value actually work
...
The value read at the pin is provided by Sample Status Register, not the
Data Register.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:01:28 +02:00
Ivo Clarysse
7eb1a15954
MX25PDK: Add support for 64MiB DDR2 SDRAM
...
Newer Freescale 3-Stack development systems are equipped
with 64MiB of DDR2 SDRAM, instead of the 128MiB of mDDR SDRAM
with which earlier versions were shipped.
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:01:28 +02:00
Uwe Kleine-König
7b116156d3
arm: update mach-types
...
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-04-22 13:29:22 +02:00
Ivo Clarysse
2b7effde81
i.MX21: support framebuffer
...
This patch allows using the i.MX (LCDC) framebuffer driver on boards
using an i.MX21 SoC.
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-04-02 12:07:56 +02:00
Sascha Hauer
c1894b4bc7
Merge branch 'pu' into next
2010-04-02 12:07:48 +02:00
Sascha Hauer
844ca16e1f
pcm043: enable l2x0 cache
...
Also, initialize the MMU in a postcore_initcall to enable
it earlier.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:04 +02:00
Sascha Hauer
be00ed538c
add l2x0 cache support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:04 +02:00
Sascha Hauer
bcaabae0f6
ARM: Add a wrapper around dma_* functions
...
This is a preparation to add second level cache support.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:04 +02:00
Sascha Hauer
6f5a6b591a
pass arguments to dma_* as unsigned long as the kernel does
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
cf2703a6fb
ARM: replace cleanup_before_linux with the generic shutdown_barebox function
...
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
3348c81992
add unaligned access support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
c6cdbe71c9
Merge branch 'master' into next
2010-03-22 09:20:34 +01:00
Eric Benard
ce2411432e
i.MX25 : fix define name for clock frequency
...
CONFIG_MX35_HCLK_FREQ -> CONFIG_MX25_HCLK_FREQ
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-22 09:20:07 +01:00
Eric Benard
994f82bf9a
i.MX25 : change IOMUX for LD16 and LD17
...
This allows the iomux to reconfigure these pins which are opendrain at
power on and thus can't drive the LCD.
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-22 08:35:01 +01:00
Eric Benard
8d6577aeb2
i.MX25 : add lcdc clock support
...
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-22 08:35:01 +01:00
Sascha Hauer
78127b0a97
remove unused file arch/arm/cpu/cache.S
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-18 08:14:03 +01:00
Sascha Hauer
a5189af297
armv5: use proper cache flush function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-18 08:12:19 +01:00
Marc Kleine-Budde
aadc4c2990
io.h: update definitions of __raw_{read,write}*
...
This patch updates the definitions of the __raw_read and __raw_write
functions so that "sparse" doesn't complain.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:33 +01:00
Marc Kleine-Budde
9762ce53b2
ioreadsb: put the whole ioreadsb function into the .text.readsb section
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:33 +01:00
Marc Kleine-Budde
75478b15bf
start-arm: cleanup: proper indention
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:29 +01:00
Marc Kleine-Budde
d6f04bf3c8
arm/cpu/Makefile: cleanup: proper indention
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:18 +01:00
Marc Kleine-Budde
d9cdb7fb8c
arm/Makefile: keep list of boards sorted
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 15:22:42 +01:00
Marc Kleine-Budde
fda86e70c8
arm/Kconfig: removed unused TAG options
...
The tags for the command line parameters are not used, so let's remove them:
- CMDLINE_TAG
- SETUP_MEMORY_TAGS
- INITRD_TAG
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 15:22:42 +01:00
Marc Kleine-Budde
16a14a7b81
arm/Kconfig: delete trailing whitespace
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 15:22:42 +01:00
Matthias Kaehlcke
8676736218
EP93xx: Fix system controller register definitions
...
EP93xx: The system controller register definition doesn't take into account a 4
byte gap between ChipId and SysCfg, in consequence all accesses to syscon registers
ahead of ChipId fail. Fix this by inserting a filler field
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-08 14:42:06 +01:00
Sascha Hauer
6cbf70a01a
Merge branch 'pu'
2010-02-01 17:25:59 +01:00
Sascha Hauer
7d3da14a7e
i.MX: select armv6 for i.MX31/35
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
e304879aba
add armv6 support to the konfig system
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
922bb41a47
remove typedef cmd_tbl_t and replace it with struct command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
3f1bf1f058
Use cache functions from kernel
...
These cache functions have been extracted from
arch/arm/boot/compressed/head.S. The old code only worked
properly on ARMv4. Tested on ARMv4, ARMv5, ARMv6 hardware.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:23:40 +01:00
Juergen Beisert
e4ee34a829
i.MX35: Fix pad control bit positions
...
Using these macros simplify the configuration for special GPIO usage. But they
should use correct bit positions for usage in the IOMUX_PAD() macro.
Note: These are the bit positions of the i.MX35 CPU. Not checked for the other
i.MX3x CPUs.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 16:28:06 +01:00
Sascha Hauer
7ca411ecd2
Merge branch 'next'
2010-02-01 16:16:12 +01:00
Ivo Clarysse
512a1c80ce
Fix nand_imx for i.MX21
...
Recent changes to the nand_imx driver broke it for i.MX21 systems;
the i.MX21 NAND controller is more akin to the one in i.MX27/i.MX31,
than to the one in i.MX25/i.MX35.
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-29 09:33:02 +01:00
Peter Korsgaard
33b842d3ce
mach-at91: reset_cpu: fix confusing reference to watchdog
...
On at91 we talk directly to the reset controller to reset the cpu,
rather than use the watchdog, so update the comment to match.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-26 19:00:45 +01:00
Sascha Hauer
976b4be602
Merge branch 'for-sha-mx35-3-stack-updates' of ssh://git.pengutronix.de/git/mkl/barebox into next
2010-01-19 09:25:26 +01:00
Marc Kleine-Budde
196333c1e5
i.MX35 3stack: update of defconfig
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-01-18 12:19:28 +01:00
Eric Benard
21a9d8d87e
Add necessary clocks & defines to get I2C support for i.MX27
...
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-16 12:32:34 +01:00
Matthias Kaehlcke
6dff4e13a1
Add support for EDB93xx boards
...
Added support for the following Cirrus Logic EDB93xx boards:
EDB9301
EDB9302
EDB9302A
EDB9307
EDB9307A
EDB93012
EDB9315
EDB9315A
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:04:13 +01:00
Matthias Kaehlcke
80bbe0c66e
Add support for EP9xx GPIOs
...
Added generic GPIO support for EP93xx SoCs
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:04:13 +01:00
Matthias Kaehlcke
3d26aca96d
ARM: Add support for EP93xx SoCs
...
Add support for the Cirrus Logic EP93xx platform
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:04:12 +01:00
Matthias Kaehlcke
d7c3ca2623
fix path specs in arch/arm/mach-arm.dox
...
Fix incorrect path specs in the documentation for adding an ARM based
CPU (MACH) to the tree
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
--
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-04 11:11:55 +01:00
Sascha Hauer
a5bd96de7d
Merge branch 'pu'
2009-12-21 11:43:06 +01:00
Robert P. J. Day
0753a77e64
ARM: Correct Kconfig typo, "optimzed" -> "optimized".
...
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 09:48:13 +01:00
Sascha Hauer
b6ab79549d
omap3_evm: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:04 +01:00
Sascha Hauer
90fb780cf4
beagle board: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:04 +01:00
Sascha Hauer
1944f3a3e5
sdp3430: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:04 +01:00
Sascha Hauer
7657c586e1
i.MX35 3stack: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer
a4420cba60
i.MX25 3stack: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
Sascha Hauer
f9050f1b02
Digi a9m2440: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:45:03 +01:00
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
Sascha Hauer
0b5a776c1e
Shutdown U-Boot before starting an OS
...
Some devices, especially the ones doing DMA should be disabled before
giving control to an OS. We take the simple approach here: Just shutdown
the devices in the reverse order they were activated.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:18 +01:00
Sascha Hauer
2b8f1b044e
make internal function static
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:26 +01:00
Sascha Hauer
309a75baaf
i.MX use fecclk for fec and gtpclk for gpt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:28:38 +01:00
Sascha Hauer
a03d8b82df
Fix Exception handling
...
Uh, oh, some copy paste bug which existed for nearly 2 years now
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:36 +01:00
Sascha Hauer
ed53035acb
add Phytec PCM043 defconfig file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:48:51 +01:00
Sascha Hauer
83ea7c1649
add Freescale MX35 3Stack defconfig file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:48:31 +01:00
Sascha Hauer
8b59688e1c
ARM: Add a bootz command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
8d62c1f629
ARM: Add simple icache enable/disable command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
0cb4c4e2a5
imx: Add Phytec Phycore i.MX35 aka PCM043 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
9a252f1ac9
add Support for Freescale MX35 3Stack Board
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
bee65f0d3f
[ARM] Add MX35 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer
b3f3ca075d
[MX31] Clock Controller module: redefine registers as offsets
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:20:10 +01:00
Sascha Hauer
c09d002eca
update .gitignore files for linker scripts
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:28:14 +01:00
Sascha Hauer
b07e9e3194
ARM: Add cpuinfo command
...
This command is useful to show some information about
cp15 registers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:32:22 +01:00
Sascha Hauer
536f4bcdf8
i.MX clko command: move Kconfig text from arch/arm to mach-imx
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:23 +01:00
Sascha Hauer
1a3c1d3de1
i.MX: introduce imx_get_uartclk function
...
We need this function for MX35 support since the uart clock is not
equal to perclk1 anymore. Uh, it's really time to implement some
real clock API instead of this cruft.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:30:56 +01:00
Sascha Hauer
32f9f72e9f
PCM037: Add support for different memory amounts
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:01:05 +01:00
Sascha Hauer
dff84a5422
[AT9SAM] Fix copy-paste introduced compiler warning
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 12:43:59 +01:00
Sascha Hauer
baa33bd4e2
GPIO support
...
adopted Linux gpio code. Implemented for at91sam9. No gpiolib support
yet.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:57 +01:00
Marc Kleine-Budde
5482395b9e
import io-{read,write}s{b,w} functions from linux
...
This patch imports:
- io-readsb,
- io-readsw,
- io-writesb,
- io-writesw,
from linux
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Marc Kleine-Budde
702ebd5f96
[at91sam9260ek] make defconfig working
...
This patch changes the TEXT_BASE to a correct value of
0x23f00000.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Nishanth Menon
e9976b7268
OMAP: Add GPMC NAND support
...
This patch adds support for a generic GPMC driver
also a GPMC controller driver to allow platforms
to add NAND devices generically.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Sascha Hauer
6b1c8e0f50
Merge branch 'for-sha' of ssh://sha@octopus/home/git/projects/u-boot-v2 into from-mkl
2008-09-02 09:26:30 +02:00
Sascha Hauer
b1e93dc9ae
pcm037: Activate lowlevel init
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:25:03 +02:00
Marc Kleine-Budde
768698925e
[at91] rename pn9263_defconfig -> pm9263_defconfig
...
This patch fixes a typo in the defconfig name. The board is actually
called "pm9263".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-08-29 16:12:26 +02:00
Sascha Hauer
3d3d4a6c3b
pn9263: add defconfig file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:43:17 +02:00
Sascha Hauer
cc8eab3217
AT9SAM: enable lowlevel init
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:52 +02:00
Sascha Hauer
47744754b1
AT91SAM clocksource: switch to new headers, implement reset_cpu
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Enrico Scholz
e807d64c23
PCM038: give out chip-id at startup
...
This helps to debug further problems...
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Enrico Scholz
bb4187c448
PCM038: re-write SPCTL0 after reading it
...
There seems to be a bug in the i.MX27 used on .0 and .1 module
revisions which breaks SPCTL0 setup. There, SPCTL0 is reset to
0 after reading it causing e.g. a bad USB clock. Hence, this
patch writes back the read value.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Sascha Hauer
fc9eea9b34
mx27ads: Add a defconfig file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 17:01:47 +02:00
Raghavendra KH
23ec85feeb
This patch adds support for Beagle Board.
...
Beagle board from TI is a development platform
based on TI's OMAP3530 silicon.
You can find more about Beagle Board here: www.beagleboard.org
More on OMAP3530 (including documentation can be found here):
http://focus.ti.com/docs/prod/folders/print/omap3530.html
Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Raghavendra KH
24d376bd79
Remove duplicate OMAP3_CLOCK_CONFIG introduced by commit ID 5e4390fe
...
Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Nishanth Menon
31f9cb365e
Bitops:Cleanup ARM bitops
...
Cleanup of ARM bitops functions.
Introduce the findbits.S which allows for
optimized algo.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Sascha Hauer
865234eb68
pcm038: update defconfig
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:31:19 +02:00
Sascha Hauer
bbee767a01
init: add section for early code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer
3f65e8a398
ARM startup code: Whitespace changes
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:13 +02:00
Sascha Hauer
c3be23d9a3
ARM startup: move exception handler to extra file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:13 +02:00
Sascha Hauer
0dd24dc17d
add Ronetix pm9263 board support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 12:16:31 +02:00
Robert Schwebel
17839977ce
at91sam9260ek: add defconfig
...
The board has no defconfig file; add one.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2008-07-30 08:02:17 +02:00
Sascha Hauer
8a03bff03e
[arm] Add cleanup flags only when modules are disabled. Otherwise
...
we remove functions from the binary which are needed for
modules
2008-07-03 10:30:44 +02:00
Sascha Hauer
7c37b54184
[pcm038] compile fixes, update defconfig
2008-07-03 10:29:17 +02:00
Sascha Hauer
64b73c2543
[pcm037] compile fixes, update defconfig
2008-07-03 10:28:46 +02:00
Sascha Hauer
9ee335f0a5
[netx] compile fixes, update netx defconfig
2008-07-03 10:27:48 +02:00
Sascha Hauer
5fef327aaf
remove start-intcm.S. it is currently unused and broken
2008-06-06 09:30:47 +02:00
Sascha Hauer
f3351ebd78
add basic at91sam9260 support. Currently only second stage
...
bootloader is supported:
- No SDRAM initialisation
- No UART init / baudrate change
2008-06-06 09:30:32 +02:00
Nishanth Menon
3cde41fb90
017-OMAP-add-documentation
...
[Patch 17/17] U-Boot-V2:ARM:OMAP3: Add documentation
This patch adds OMAP and SDP3430 documentation.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:44 +02:00
Nishanth Menon
db969e1100
015-OMAP-add-SDP3430
...
[Patch 15/17] U-Boot-V2:ARM:OMAP3: Add support for SDP3430 support files
This patch introduces support for OMAP Boards common infrastructure.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:43 +02:00
Nishanth Menon
c6ed31bbc4
012-OMAP-add-silicon-part2
...
[Patch 12/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files
This patch introduces support for OMAP3430 clocking infrastructure. Please note that SRAM based configuration requires GPMC values to be updated before returning to caller- TBD.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:42 +02:00
Nishanth Menon
5e4390fef3
011-OMAP-add-silicon
...
[Patch 11/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files
This patch introduces support for OMAP3430 - provides for generic OMAP3 files.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:32 +02:00
Nishanth Menon
053034d182
010-OMAP-addbase
...
[Patch 10/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP and Cortex A8
This patch adds support for OMAP3 platforms. Mainly to setup the infrastructure.
ARMV7 requires a different I/D cache cleanup code which is introduced in this patch
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:28 +02:00
Nishanth Menon
1ecafc5f8d
004-arm-makefile
...
[Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile
CFLAGS: "-D __ARM__" should have been "-D__ARM__". this breaks sparse check.
Further -nostdinc in Makefile is redfined by
commit ID:847934bc960ba1588c87e283118318dfdd78d4c0
This is unecessary as NOSTDINC_FLAGS defines it
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:14 +02:00
Nishanth Menon
a5a28b6829
003-lds-handle
...
[Patch 03/17] U-Boot-V2:ARM: Fix lds file for multiple section enable.
By enabling -fdata-sections -ffunction-sections in arch/arm/Makefile, gcc splits the code into multiple section.
by using * wildcard we can bunch them into the areas we want them to be.
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:11 +02:00
Nishanth Menon
9a364f5157
001-arch-config
...
[Patch 01/17][Try 3] U-Boot-V2: ARM: Add ARCH lowlevel Init
This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread
http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:03 +02:00
Sascha Hauer
596c845072
[memory layout]: streamline memory layout
...
Memory layout can now be specified via kconfig options. Two
possibilities exist: default layout means the layout is stack
/ malloc heap / U-Boot. The user can also specify fixed addresses
for each TEXT_BASE / stack / malloc heap.
2008-06-04 11:54:03 +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
Menon, Nishanth
22d3dc0d27
[arm] remove unsused sections while linking
2008-05-12 15:52:23 +02:00
Menon, Nishanth
cb73b0c227
Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INIT
...
as we rather use positive logic. Make it dependent on boards that
have it rather than on ARM
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-05-12 11:35:15 +02:00
Sascha Hauer
d5a9d7dc1d
start-arm.S is not thought to be ARM920 specific. reflect this in the comment.
2008-05-07 16:25:46 +02:00
Nishanth Menon
3b94eca260
Replace start-arm920t.S with start-arm.S
...
Replace start-arm920t.S with start-arm.S. This will allow for a common logic
to handle
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
--
2008-05-07 16:24:51 +02:00
Sascha Hauer
2d4dfd47d0
cosmetics: fix indention
2008-03-14 13:04:26 +01:00
Sascha Hauer
e833cba394
add clko command for i.MX27
2008-03-14 13:03:43 +01:00
Sascha Hauer
5864a49007
imx27: Fix calculation of ahb clock and ipg clock
2008-03-11 22:00:47 +01:00
Sascha Hauer
8d8f900366
[ARM] Remove CONFIG_ARCH_NUMBER from Kconfig system. Putting too many
...
values into kconfig which are not user configurable at all only
encourages people to put even more stuff in there. This is not
good because people tend to have board patches lying around and
these patches won't apply regularly if they all change the same
file (arch/arm/Kconfig)
Instead, introduce a function armlinux_set_architecture() which
everyone can call during board setup.
Similarly introduce armlinux_set_bootparams() for the boot
parameter pointer.
2008-02-26 15:38:37 +01:00
Sascha Hauer
9beb36884b
[ARM] Remove ARCH_NUMBERs from config.h and put them into Kconfig
2008-02-20 19:03:24 +01:00
Sascha Hauer
f95ec8a32d
- Add functions to register image handlers for booting uImages
2008-02-20 19:01:54 +01:00
Sascha Hauer
7b4e9c4a82
[i.MX]: Basic board support for the Freescale i.MX27 eval board
2008-02-19 15:59:37 +01:00
Sascha Hauer
ecaadd17aa
[i.MX]: Fix i.MX27 clock functions according to the chip revision
2008-02-19 15:51:34 +01:00
Sascha Hauer
2ae190a9dd
[i.MX] add function to determine chip revision
2008-02-19 15:50:43 +01:00
Sascha Hauer
bb6d50805a
[netx]: Fix function prototype for do_loadxc
2008-02-19 09:53:48 +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
66671b505f
[pcm038] regenerate defconfig
...
This patch regenerates pcm038s defconfig
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 09:52:19 +01:00
Robert Schwebel
675ff8ef8c
[imx] make frequency output nicer
...
Make the frequency output a little bit nicer
From: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:04:57 +01:00
Robert Schwebel
d86ba7d308
remove gpio debug output for imx
...
Remove a bogus debug output in the gpio initialization code for i.MX.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
Robert Schwebel
7067e21f3f
cleanup do_bootm_linux()
...
This patch cleans up the do_bootm_linux() function. It removes most of
the uggly ifdefery and replaces it by a sane function optimizing
structure.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +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
Robert Schwebel
0fb3ec4e7e
remove warnings
...
This patch fixes the following warnings:
arch/arm/cpu/cpu.c:176:4: warning: no newline at end of file
commands/bootm.c:872:4: warning: no newline at end of file
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-27 21:32:33 +01:00
Marc Kleine-Budde
0537946263
[menuconfig] fix indention for Arm specific settings
...
This patch fixes the indention for the menu "Arm specific settings"
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 21:32:33 +01:00
Juergen Beisert
ab6d772b8e
consider separated commands in pcm038's default config
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-15 18:41:36 +01:00
Juergen Beisert
9b07bdbbdc
Merge branch 'docu'
2007-11-09 14:06:57 +01:00
Juergen Beisert
a7d96488e5
Using correct board names all over the place
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-08 18:23:44 +01:00
Juergen Beisert
e5eba4cf3a
enabling correct network driver for i.MX27
2007-11-08 17:20:50 +01:00
Juergen Beisert
8fe25ecf12
adding various doku
2007-11-08 12:01:52 +01:00
Juergen Beisert
733636a573
adding first default config
2007-11-05 18:18:50 +01:00
Juergen Beisert
0a13be8de2
various docu added
2007-11-05 15:20:31 +01:00
Juergen Beisert
4cd877a840
saving added docu
2007-11-05 14:39:07 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +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
Juergen Beisert
be65b56a89
reset doc added for ARM
2007-10-19 16:35:25 +02:00
Juergen Beisert
b21ed7177c
basic doc structure added
2007-10-19 13:19:43 +02:00
Juergen Beisert
6ad2703e6e
Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2
2007-10-19 11:58:33 +02:00
Juergen Beisert
99ebb0e0fc
deficonfig for i.MX31 system added
2007-10-19 11:43:16 +02:00
Juergen Beisert
0d884b8417
GPIO handling on i.MX31 added
2007-10-19 11:39:49 +02:00
sascha
2c6d0f711d
update scb9328 defconfig
2007-10-19 11:00:57 +02:00
Juergen Beisert
075131631b
make the clocksource work on current CPUs
2007-10-18 00:04:47 +02:00
Juergen Beisert
c054a3682d
Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2
2007-10-17 21:09:54 +02:00
Juergen Beisert
4c03bb1d58
first time running
2007-10-17 21:09:25 +02:00
sascha
bd8ac3ec63
arch/arm/Makefile: fix proc link creation for external builds
2007-10-17 19:03:38 +02:00
sascha
5d746e8953
add generic linker script for arm
2007-10-17 18:23:34 +02:00
Juergen Beisert
3d1940a4a0
merge sha + jbe
2007-10-17 18:12:33 +02:00
Juergen Beisert
3be8ed2fa1
adding i.MX31 CPU support
2007-10-17 17:57:55 +02:00
Juergen Beisert
60f8ee6f3f
adding GPL header
2007-10-17 17:56:13 +02:00
Juergen Beisert
7e047fd879
making watchdog handling independend from ifdefs
2007-10-17 17:49:23 +02:00
sascha
d59ca7feb3
Linking: Remove linker scripts from (arm based-) boards and add
...
a generic linker script to arch/arm/lib/u-boot.lds.S.
If a board wants to overwrite a linker script it can do
so using CONFIG_BOARD_LINKER_SCRIPT.
There is no generic linker script for ppc and blackfin
yet, so still use the board specific one.
2007-10-17 12:21:53 +02:00
sascha
825ad81490
arm: use text_entry for reset vector instead of hardcoded filename
...
(once again)
2007-10-17 11:10:57 +02:00
sascha
520e857b20
no need to have CONFIG_SKIP_RELOCATE_UBOOT
2007-10-16 14:46:53 +02:00
sascha
d46cc46f98
fix sys clk in i.MX1 speed.c
2007-10-16 14:46:29 +02:00
sascha
0d26cc5df1
remove s3c24x0 specific stuff from arm start file, add
...
arch_init_lowlevel for this stuff instead.
2007-10-16 11:39:15 +02:00
sascha
a99e03c847
i.MX clock functions: Make them work for i.MX1 again
2007-10-16 11:32:23 +02:00
Sascha Hauer
eadf71abc7
Use Linux kernel list for drivers and devices instead of handmade
...
list.
2007-10-11 20:20:36 +02:00
Sascha Hauer
1285a35949
add i.MX27 ahb clock function
2007-10-10 09:44:21 +02:00
Sascha Hauer
b161305946
change imx clock functions so that they have the same name for
...
i.MX1 and i.MX27
2007-10-09 17:24:25 +02:00
Sascha Hauer
41c7912446
i.MX clocksource: enable clocks for gpt1
2007-10-09 17:14:45 +02:00
Sascha Hauer
36b3e1fc5a
add soc specific files to Makefile
2007-10-08 00:14:05 +02:00
Sascha Hauer
514eb64b1a
beginning phycore pcm038 i.MX27 support
2007-10-08 00:13:19 +02:00
Sascha Hauer
c00393f996
against high density code
2007-10-08 00:11:29 +02:00
Sascha Hauer
b5a1e43660
add i.MX27 reset support
2007-10-08 00:10:23 +02:00
Sascha Hauer
0ab3cfcc67
add clock functions for i.MX27 and rename functions to lower case letters
2007-10-08 00:08:52 +02:00
Sascha Hauer
b4fc7b84b0
make independent of timer base
2007-10-07 16:32:20 +02:00
Sascha Hauer
b5656a41e0
Beginning mx27 support: split imx-regs.h into imx1-regs.h and imx27-regs.h
2007-10-07 16:31:54 +02:00
Sascha Hauer
2443c7a6f1
export symbols
2007-10-07 14:27:24 +02:00
Sascha Hauer
ae53e9ef1d
CONFIG_MODULE -> CONFIG_MODULES
2007-10-04 12:33:03 +02:00
Sascha Hauer
a07743ea18
module support for arm
2007-10-03 21:09:00 +02:00
Sascha Hauer
153cf7bb6e
add arm specific bits for modules
2007-10-01 09:51:04 +02:00
Sascha Hauer
685d85540c
move ARRAY_SIZE macro to include/common.h
2007-09-28 19:46:37 +02:00
Robert Schwebel (Laptop)
e6ca62360e
Subject: clean up TEXT_BASE
...
This patch makes TEXT_BASE a consistent per-arch config switch.
Additionally, it converts all TEXT_BASE occurences from string to hex.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:01:01 +02:00
Robert Schwebel (Laptop)
a487eaa9c8
netx: rename config to defconfig
2007-09-25 21:42:05 +02:00
Sascha Hauer
f5336e27e0
fix netx image name
2007-09-22 16:00:01 +02:00
Sascha Hauer
9ef31f83a8
remove references to nonexistant Kconfig symbols
2007-09-22 15:59:36 +02:00
Sascha Hauer
fea5227701
add nxdb500 defconfig
2007-09-22 15:56:25 +02:00
Sascha Hauer
2a9c1de93f
whitespace cleanup
2007-09-13 16:06:02 +02:00
Sascha Hauer
47d938f7ab
- some more cleanup in Makefiles
...
- move netx image generation to arch/arm/Makefile
2007-09-13 15:33:09 +02:00
Sascha Hauer
6ef87e89d5
add Hilscher netx support part2
2007-09-05 12:53:07 +02:00
Sascha Hauer
a744809b50
add hilscher netx support
2007-09-05 12:52:24 +02:00
Sascha Hauer
1cdc2fe996
consolidate arch/arm/cpu/start-arm920t.S and arch/arm/cpu/start-arm926ejs.S
2007-09-05 12:50:28 +02:00
Sascha Hauer
7989a989b9
arm: use linker section for reset vector
...
Put the reset vector at the beginning of the binary by creating
its own section in the linker script rather than specifying the
file.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-07-25 12:34:06 +02:00
Sascha Hauer
4283b823e7
add missing include
2007-07-16 10:29:57 +02:00
Sascha Hauer
8881fb7984
use memmap() to save one memcpy call in bootm
2007-07-15 14:02:53 +02:00
Sascha Hauer
aded101955
add BOARDINFO string to kconfig
2007-07-12 11:53:38 +02:00
Sascha Hauer
3b4647f772
_armboot_start -> _u_boot_start
2007-07-12 11:52:12 +02:00
Sascha Hauer
ce192d40db
autogenerate include/asm-arm/proc
2007-07-12 11:51:29 +02:00
Sascha Hauer
8edc58b946
add missing include
2007-07-05 21:41:37 +02:00
Sascha Hauer
862486e6d4
svn_rev_705
2007-07-05 18:02:19 +02:00
Sascha Hauer
9afd20bdb0
svn_rev_693
...
remove do_reset
2007-07-05 18:02:18 +02:00
Sascha Hauer
967e2e4c67
svn_rev_679
2007-07-05 18:02:16 +02:00
Sascha Hauer
2b783e73f3
svn_rev_678
2007-07-05 18:02:16 +02:00
Sascha Hauer
231e867072
svn_rev_667
...
move gpio.c
2007-07-05 18:02:15 +02:00
Sascha Hauer
3b4bad17b3
svn_rev_664
2007-07-05 18:02:15 +02:00
Sascha Hauer
32bee9f7de
svn_rev_646
2007-07-05 18:02:13 +02:00
Sascha Hauer
b696cd0462
svn_rev_632
2007-07-05 18:02:11 +02:00
Sascha Hauer
bb0ad146b5
svn_rev_631
2007-07-05 18:02:11 +02:00
Sascha Hauer
d0778154ed
svn_rev_630
2007-07-05 18:02:11 +02:00
Sascha Hauer
d163b0dbd4
svn_rev_545
...
linux->uboot
2007-07-05 18:02:03 +02:00
Sascha Hauer
f445d20103
svn_rev_496
2007-07-05 18:01:59 +02:00
Sascha Hauer
209ebd63fd
svn_rev_495
2007-07-05 18:01:59 +02:00
Sascha Hauer
9a958adf07
svn_rev_494
2007-07-05 18:01:58 +02:00
Sascha Hauer
1d553083d6
svn_rev_490
2007-07-05 18:01:58 +02:00
Sascha Hauer
327b4128ad
svn_rev_486
2007-07-05 18:01:58 +02:00
Sascha Hauer
fe72c6b8fe
svn_rev_466
...
add CMDLINE_TAG SETUP_MEMORY_TAGS and INITRD_TAG to Kconfig
2007-07-05 18:01:56 +02:00
Sascha Hauer
321dc1bf8f
svn_rev_461
2007-07-05 18:01:55 +02:00
Sascha Hauer
a9526a6237
svn_rev_431
2007-07-05 18:01:53 +02:00
Sascha Hauer
a26b7ce120
svn_rev_306
...
typo
2007-07-05 18:01:42 +02:00
Sascha Hauer
08ebec4a9a
svn_rev_250
2007-07-05 18:01:36 +02:00
Sascha Hauer
04dc02f8e4
svn_rev_249
...
remove -ffixed-r8, add -fno-strict-aliasing
2007-07-05 18:01:36 +02:00
Sascha Hauer
00ae67a4c4
svn_rev_236
...
beginning filesystem support
2007-07-05 18:01:35 +02:00
Sascha Hauer
2ca176e790
svn_rev_212
2007-07-05 18:01:33 +02:00
Sascha Hauer
b10fe47280
svn_rev_210
...
remove -D CONFIG_ARM
2007-07-05 18:01:33 +02:00
Sascha Hauer
51dc677060
svn_rev_209
...
add ARM symbol
2007-07-05 18:01:33 +02:00
Sascha Hauer
0c2b8f687e
svn_rev_194
2007-07-05 18:01:31 +02:00
Sascha Hauer
53d3195be1
svn_rev_167
...
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer
708897f52f
svn_rev_165
...
move arm board.c to generic
2007-07-05 18:01:29 +02:00
Sascha Hauer
a8421600d1
svn_rev_152
...
remove global data gd_t and board info bd_t entirely for arm
2007-07-05 18:01:28 +02:00
Sascha Hauer
4a14f424b5
svn_rev_150
...
remove bi_dram from bd_t
2007-07-05 18:01:27 +02:00
Sascha Hauer
42e2dbc120
svn_rev_149
...
no need for bi_dram in global data (untested)
2007-07-05 18:01:27 +02:00
Sascha Hauer
d7313300a5
svn_rev_133
...
remove env_ functions
2007-07-05 18:01:26 +02:00
Sascha Hauer
4a01ad9260
svn_rev_128
...
remove more console stuf
2007-07-05 18:01:25 +02:00
Sascha Hauer
1a02a7e4b0
svn_rev_123
...
add -P option to cpp to remove linue number infos from linker script
2007-07-05 18:01:25 +02:00
Sascha Hauer
55ebf67d3e
svn_rev_120
...
implement initcalls
2007-07-05 18:01:24 +02:00
Sascha Hauer
4eae36cc43
svn_rev_119
...
remove debug echo
2007-07-05 18:01:24 +02:00
Sascha Hauer
658cc34395
svn_rev_118
...
thousands of things
2007-07-05 18:01:24 +02:00
Sascha Hauer
abfbbad1eb
svn_rev_109
...
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer
67b39350a0
svn_rev_104
...
needed for clocksource
2007-07-05 18:01:23 +02:00
Sascha Hauer
b85ae93995
svn_rev_085
...
generic/u-boot-arm-display-mem-config.diff
2007-07-05 18:01:21 +02:00
Sascha Hauer
bbe312cba5
svn_rev_076
2007-07-05 18:01:20 +02:00
Sascha Hauer
f4631034b8
svn_rev_074
...
remove networking stuff
2007-07-05 18:01:19 +02:00
Sascha Hauer
eff52b8645
svn_rev_071
...
add cleanfiles
2007-07-05 18:01:19 +02:00
Sascha Hauer
c03bd6446c
svn_rev_049
...
Kconfig WIP
2007-07-05 18:01:17 +02:00
Sascha Hauer
5618da1521
svn_rev_048
...
add eco920, add link to config.h
2007-07-05 18:01:17 +02:00
Sascha Hauer
3e83b8358a
svn_rev_021
...
first compile success
2007-07-05 18:01:14 +02:00
Sascha Hauer
85ca99beb3
svn_rev_015
...
move lib_arm to arch/arm/lib
2007-07-05 18:01:14 +02:00
Sascha Hauer
6c1e36a9d1
svn_rev_012
2007-07-05 18:01:14 +02:00
Sascha Hauer
56e32343eb
svn_rev_009
...
add autogenerated links
2007-07-05 18:01:13 +02:00
Sascha Hauer
c56078afcc
svn_rev_008
...
add missing Kconfig
2007-07-05 18:01:13 +02:00