9
0
Fork 0
Commit Graph

3707 Commits

Author SHA1 Message Date
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 36ae69a2dc remove unused stuff from include/common.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:13 +01:00
Sascha Hauer e983361aed pcm043: add some startup code from Eboot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:42 +01:00
Sascha Hauer b48ad93f8e remove nonexistent include file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:38 +01:00
Sascha Hauer 11c0b5c6f0 pcm043: enable L2 Cache inval
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:30:33 +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 a77e2a830b smc911x: fix wrong printf
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:27:35 +01:00
Sascha Hauer 7e60a6ee8e fec imx27: refacture
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:33 +01:00
Sascha Hauer 1e20d6bc20 fec imx27: Add RMII support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:24 +01:00
Sascha Hauer 370f550107 fec imx27: configure phy address from platform data
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:16 +01:00
Sascha Hauer 5392235bdd fec mx27: add timeout for transmission
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:25:10 +01:00
Sascha Hauer faa4c039c3 FEC MX27: fix typo
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:59 +01:00
Sascha Hauer 3a84dd9bac include/malloc.h: add multiple inclusion protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-20 18:24:45 +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 4e2fe88944 Console: Fix baudrate switching
When waiting for the user to confirm the new baudrate, wait
for '\n' and '\r' instead of only '\r'

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer b1a8c1897d bootm: Fix verifying of uImages
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer 612c27f97e ARM: Add cache-l2x0 definitions
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 7d304edb7a i.MX serial: Add mx35 support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-02-06 14:44:46 +01:00
Sascha Hauer d32c471741 Add MX35 FEC support
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 9995a8caf5 ARM: update mach-types.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:46 +01:00
Sascha Hauer 9e00177172 [MX31] Use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:08:43 +01:00
Sascha Hauer 4d19a68f35 [MX27] use common PLL defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07:23 +01:00
Sascha Hauer 4aae146bee [i.MX] Add header file for PLL registers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-30 12:07:23 +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 e7de22476e sandbox: Fix generation of linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:25:35 +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 a7acf2e746 mtest: remove braindamaged NULL pointer deref
The alternative memory test implementation needs a scratch
memory location to remove the last data from the data bus.
Instead of using a NULL pointer for this, default to the
memory start address.
No sane program should consider a NULL pointer as a safe default.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:03 +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
Marc Kleine-Budde f96f2d8e01 [macb] use phy_addr supplied by platform data
The driver was not using the phy address supplied by the platform
data. With this patch the miiphy.address is set phy addr supplied
by the mac platform data.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-01-13 12:12:40 +01:00
Sascha Hauer 81b2430127 v2.0.0-rc7
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 22:08:10 +01:00
Sascha Hauer c42306e026 PCM037: Adjust CS5 for SJA1000
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 15:03:41 +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 5ccd3fd093 MX27/MX3: Move common SDRAM Controller bits to extra file
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-19 12:00:25 +01:00
fredo 56d80fe843 remove unused variable
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
fredo c3dbf6e1d6 remove warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
fredo 954f52d605 correct warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
2008-12-18 14:20:08 +01:00
Sascha Hauer 5a9c64d523 pcm037: Limit CFI size to 32MB
According to the Phytec website the PCM037 has a maximum of 32MB
flash

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:20:56 +01:00
Sascha Hauer 2dcfb887d7 memory commands: allow for kMG suffixes
Allow for kMG suffixes in memcpy and memcmp

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:20:00 +01:00
Sascha Hauer db572dce5f cfi driver: Limit device size to actual size
When probing CFI, limit the device size to the actual probed size of
the flash

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-17 18:18:44 +01:00
Nishanth Menon 7e9bb400cf ARM:io - fix iomem define
__iomem define is required to use io.h
this define is present in mtd_compat OR
in compiler.h. using compiler.h as being
generic

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:26:27 +01:00