9
0
Fork 0
Commit Graph

3844 Commits

Author SHA1 Message Date
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
Nishanth Menon 2af143fcf2 common:environment: fix mode requirement
Issue:
Compiling on Ubuntu 8.10 Fails:
inlined from 'envfs_save' at scripts/../common/environment.c:135:
/usr/include/bits/fcntl2.h:51: error: call to '_open_missing_mod'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments

Usage: open(filename, O_WRONLY | O_CREAT)

Fix:
When using open with O_CREAT, it requires
mode to be defined.

Signed-off-by: Nishanth Menon <nm@ti.com>
2008-12-09 11:25:54 +01:00
Sascha Hauer 41f4253b6c mc13783: Add lseek
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-12-09 11:24:47 +01:00
Sascha Hauer 4b0108553f ridiculous counter 6
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-14 15:09:08 +01:00
Sascha Hauer 3889e42b9e Default environments: Do not continue when tftp failed
When we fail to download the kernel image (for example when the
user pressed ctrl-c) do not try to boot the image

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-14 11:37:28 +01:00
Sascha Hauer db85c9e2b0 [PCM037] Add NAND support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 18:03:35 +01:00
Sascha Hauer 7e168c9f91 [PCM037] Add a default environment derived from PCM038
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 18:02:15 +01:00
Sascha Hauer 8d36379153 hush: Fix quoting
This patch removes adding of an additional \ when doing

echo "\""

which gives \" instead of just "

I checked in latest busybox hush and this code is still present there,
but it behaves correctly in busybox due to some other code pathes I
didn't investigate.
If this change has any unwanted side effects feel free to flame on me

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:54:15 +01:00
Sascha Hauer e761b60e25 i.MX NAND: ifdef MX27 specific register
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:53:24 +01:00
Sascha Hauer dfefaf5744 CRC: various fixes
- bail out on read errors
- test for -1 instead of < 0 for lseek

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:52:14 +01:00
Sascha Hauer 54ec87f0cb Print error number
When we do not have the appropriate error string compiled in, print
at least the number

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-11-10 17:40:09 +01:00
Sascha Hauer 87d4b9ec09 [AT9SAM] implement different ECC modes for NAND chips
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:04:42 +01:00
Sascha Hauer c3fc1364d9 Introduce dev_* and pr_* functions
Proven to be useful in linux kernel, U-Boot should have such a thing
aswell. We do not distinguish between the various print levels others
than debug and not debug.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-31 14:02:25 +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