9
0
Fork 0
Commit Graph

1375 Commits

Author SHA1 Message Date
Sascha Hauer 58f5a971fa cdev fixes for new boards
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:55:49 +02:00
Sascha Hauer 05305bb1bf at91sam9260ek: Fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer 02ba8a0542 get rid of device ids
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer f8307efb82 remove id fields from struct device_d
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer 6872d79b73 register sdram devices correctly
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer 86ef24563b pcm038: register sram device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer 4b34297cfb Get rid of remaining DEVICE_TYPE_* usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer ae302919c6 Get rid of DEVICE_TYPE_CONSOLE usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +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
Sascha Hauer 6e921fcb3c Get rid of DEVICE_TYPE_ETHER usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer aa611e7e69 pcm038 cdev
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer f57f73fc12 dev_add_partition -> devfs_add_partition
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer 871c8f4c28 pcm037 cdev cleanup
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:45 +02:00
Sascha Hauer f08f83421e at91sam9620ek cdev cleanup
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:44 +02:00
Sascha Hauer a2b7cd183b introduce cdev
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:44 +02:00
Eric Benard 6411c3b2be EUKREA CPUIMX27 : update boot script
Update bootargs's mtdparts to be able to use latest kernel
(imx_nand renamed to mxc_nand)

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-20 08:24:54 +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
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 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
Luotao Fu 3e0fe1ba46 pca100: update boot script
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 18:07:54 +02:00
Luotao Fu e212343c40 pca100: deactive usb phy cs
this one pull up the gpio controlled cs lines of both usb phys to avoid phy
crash caused by dirty data sent by usb controller during initialisation

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:21:16 +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
Wolfram Sang 74cc7814eb Add ASM to start from NAND
Also rewrite IOMUX to be a lot smaller, because of 2K limit.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Wolfram Sang bc4492252e Refactor imx-NAND-init
Put board specific stuff to board-specific files.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Wolfram Sang c83325ff72 Fix off-by-1 errors on range borders
It will never hit us here, but it's still wrong...

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +02:00
Wolfram Sang 5c928b97fb Init IOMUX in any case
Move SDRAM-check after IOMUX init.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2009-06-04 10:31:14 +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
Sascha Hauer aec91d0537 mx35 3ds: add missing HCLK
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:28:20 +02:00
Sascha Hauer 8fb8b564e2 Merge branch 'for-sha' of git://git.pengutronix.de/git/mkl/u-boot-v2 2009-05-19 12:26:41 +02:00
Sascha Hauer 9afe84b60e pcm043: Allow to switch cpu frequency from command line
Currently there are i.MX35 SoCs with 532MHz and 400MHz maximum
frequency. As there's some confusion about which SoCs are
available add frequency switching to the command line.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-19 12:22:44 +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
Marc Kleine-Budde 59bad04470 [pm9263] fix update_root script
use correct image ("jffs2") to flash root

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-05-18 16:16:21 +02:00
Jan Weitzel a737211a01 mDDR drive strength v2
workarount for drive strength issue

v2: optimized settings after temperature tests

Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:32:02 +02:00
Sascha Hauer b8a165d1e5 pcm038: pll work
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-18 12:15:04 +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 13c5d46ca1 cs8900: Whitespace changes, replace __FUNCTION__ with __func__
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-28 08:48:10 +02:00
Jan Weitzel 82a4cf29b2 pcm038: Fix PLL settings
We had some imx27 modules not starting through u-boot. The patch adds some
delay between switching the powerlevel up and changing the pll settings.
Please add the patch to the next release.

Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-14 17:10:12 +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
Jan Weitzel 97568fd3de mDDR drive strength
Set DDR type to MDDR, workarount for drive strength issue

Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de>
2009-04-08 12:30:54 +02:00
Sascha Hauer 1be769ab30 Merge branch 'usb' 2009-04-07 11:02:14 +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
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 927ec6229a update pcm043 environment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-23 14:59:09 +01:00
Sascha Hauer 7e80e7b817 pcm043: lowlevel_init.S cleanup
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 18:23:43 +01:00
Sascha Hauer 2703e60e43 fec imx27: rename to fec_imx
This driver is not only used on i.MX27 but on i.MX35 and i.MX25, so
rename it to a more generic name

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:48 +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 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 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 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 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 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 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 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 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 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
Marc Kleine-Budde 27a7de44ee [at91sam9] Nand driver
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-27 17:29:29 +01:00
Marc Kleine-Budde 238b05148e [pm9263] use define rather than plain integer value for armlinux_set_architecture
armlinux_set_architecture uses a plain integer value, this patch changes this
to use the define from mach-types.h

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-10-27 12:18:25 +01:00
Sascha Hauer 2a7bcf110f OMAP: SDRC MCFG Register configuration corrected for SDP3430.
Signed-off-by: Shankarganesh K <shankarganesh@ti.com>
Acked-By: Nishanth Menon <nm@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-10-07 13:14:40 +02:00
Sascha Hauer c3ed0879ba pcm038: Speed up MPLL
this got broken with 716b432346

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-30 10:52:18 +02:00
Nishanth Menon 261f587e3d Boards:OMAP: Add GPMC init
This patch adds support for GPMC initialization
to existing board files - beagle and sdp3430

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Nishanth Menon 2f620bb88c Board:OMAP:NAND introduce generic NAND support This introduces generic nand device support including common configurations used on various OMAP platforms
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-09-15 10:11:05 +02:00
Sascha Hauer 716b432346 pcm038: arbitrary changes to make boot more robust
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 17:06:01 +02:00
Sascha Hauer a288018b6f pcm038: implement better waiting for PLLs
Instead of using a trivial counting loop we poll the 32KHz oscillator
to wait for the PLLs to stabilize

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-09 14:13:59 +02:00
Sascha Hauer 9b270460cc pcm038: update help in default env init
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-03 15:32:12 +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 5a86990d3a pcm037: Fix ARM architecture and boot params
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-09-02 09:23:45 +02:00
Marc Kleine-Budde 53c4ef6b69 [pm9263] remove ifdef around dev_add_partition
This patch removed the ifdef around dev_add_partition.
Since dev_add_partition becomes a void function if compiling
u-boot w/o partition support.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-09-02 09:14:31 +02:00
Marc Kleine-Budde cf6c9268bb [pm9263] add sane default environemnt
This patch adds a sane default environemnt for the pm9263 bsp.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-09-02 09:12:39 +02:00
Marc Kleine-Budde 556bfc1f54 [pm9263] use correct architecture a.k.a. machine ID
The "pm9263" has the official machie ID 0x5c3, not 0x4b2.
This patche fixes this.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-08-29 16:14:11 +02:00
Sascha Hauer e1dfdc856d pcm038: disable SRAM device
We have a problem here: registering the SRAM device as DEVICE_TYPE_DRAM
works as expected, but the ARM memory tag setup code then adds an
additional node with the SRAM which is not what we want. Disable it for
now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Sascha Hauer f031d0e672 PM9263 board: add lowlevel_init to start from reset
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-26 11:40:51 +02:00
Enrico Scholz d98872d075 PCM038: fixed typo
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2008-08-22 10:47:48 +02:00
Sascha Hauer 98bd170990 mx27ads: replace pcm038 with mx27ads
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 15:55:37 +02:00
Sascha Hauer bda135226a mx27ads: add missing include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-21 15:54:45 +02:00
Sascha Hauer 7163d8fd2d pcm038 defenv: Do not hardcode ip addresses, ask to set MAC address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 17:46:54 +02:00
Sascha Hauer d2b2dab075 Net: Remove all hardcoded MAC addresses from default environments
While very convenient during debugging having MAC addresses in default
environments is a very bad idea. Stop it!

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-20 11:58:19 +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 25b49a201f Introduce a common board header for functions required by platform.S
This will prevent redundancies of multiple board-xyz.h files all
doing the same thing.

This deletes the redundant board-sdp343x.h and
fixes the corresponding .c for the change.

Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
2008-08-20 10:08:47 +02:00
Sascha Hauer e3dde87030 pcm038: Add SRAM device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 10:24:48 +02:00
Sascha Hauer 384b6a4e52 pcm038: Configure chipselects for SRAM / CAN Controller
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:43:03 +02:00
Sascha Hauer 939e05e372 pcm038: check for errors
Make the pcm038 startup a bit more robust against errors.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-14 09:30:08 +02:00
Sascha Hauer 25aed61663 pcm038: add missing include
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer 1a07375247 pcm038: use environment in NAND/NOR depending on where we started from
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer 75a9c260c8 pcm038: Update environment for NAND
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:15 +02:00
Sascha Hauer c5c520c630 PCM038: NAND related updates
- Add NAND resources
- Add booting from NAND
- Move parts of lowlevel_init to C-Code to save space in bare_init

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer e25cc045ac PPC: Add cleanup flags
Add cleanup flags to Makefile to let the linker throw away unneeded
objects.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:29:31 +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
Sascha Hauer 59bfe6e0c3 [Arm] at91sam9260ek: Add missing AT91_MASTER_CLOCK
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-07-31 14:59:12 +02:00
Robert Schwebel 43bd2f1406 at91sam9260ek: fix names
Fix some left-overs from copy and paste.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2008-07-30 08:02:17 +02:00
Sascha Hauer b598ebdd64 Merge branch 'for_sascha' of /ptx/work/octopus/jbe/u-boot-v2 into from_jbe 2008-07-11 10:38:14 +02:00
Juergen Beisert e6fe90b50d Fix the location where the new coldfire boards appear in the documentation 2008-07-11 10:18:40 +02:00
Chris Zankel 5b4b020de3 [pcm038] misspelled CONFIG in 7c37b54184
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-07-08 09:27:01 +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 4b225a906f [blackfin] compile fixes, update defconfig 2008-07-03 10:26:13 +02:00
Nishanth Menon 78c2fde77a Commit ee6d36a540 introduced requirement
for default functions be registered. Without this accessing /dev/ram0
will not work on SDP3430 in the default config.
2008-06-11 16:37:25 +02:00
Sascha Hauer 5ee21da25f [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-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 2988453b98 016-OMAP-add-SDP3430-part2
[Patch 16/17] U-Boot-V2:ARM:OMAP3: Add support for SDP3430 board file

This patch introduces support for SDP3430 board file.

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:43 +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
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 f65ad993ee [pcm038]: Fix compilation without spi support 2008-05-12 16:07:40 +02:00
Sascha Hauer 9c7d282579 [general] Move include/configs/* to board/*/config.h 2008-04-07 12:18:05 +02:00
Sascha Hauer ae6cc2d36b [m68k] Add Freescale Coldfire V4E Architecture support
- Added m68k vector, exception & interrupt handlers
- Added m68k macros to access m68k movec registers
- Added Coldfire support code (MultiChannelDMA)
- Added board support for phytec phyCore-MCF baseboard
- Added board support for konzeptpark MCB2 prototype

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
2008-04-04 18:16:06 +02:00
Sascha Hauer 50cc8c5412 Subject: [PATCH] [general] Fixed constant strings in data section issue
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer cccf87b621 pcm038: increase AHB to 133MHz 2008-03-14 13:37:30 +01:00
Sascha Hauer 0841e6a256 pcm038 startup: Use bit defines rather than hardcoded values in initialisation 2008-03-14 13:06:46 +01:00
Sascha Hauer 60a387ebbd pcm038 spi (pmic) support 2008-03-14 13:01:13 +01:00
Sascha Hauer 906eea397a beginning of SPI support 2008-03-11 22:13:06 +01:00
Sascha Hauer 73ced4a143 add missing include 2008-03-01 22:46:46 +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 ef4ddb0ec0 [i.MX27ads]: change uimage and rootfs name in environment 2008-02-22 16:15:20 +01:00
Sascha Hauer 6a14b28cfa [i.MX27ads]: Move some not-so-important initialisations from assembler
to C-code
2008-02-22 16:13:23 +01:00
Marc Kleine-Budde 5616897c74 [ipe337] fix ageing handling
With this path the script "_alternate" isn't used anymore,
because the return values somehow get lost.

We use alternate directly for now.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-02-21 19:32:44 +01:00
Sascha Hauer 2329dac139 [pcm030]: Remove SIZEOF_HEADERS from linker script 2008-02-21 12:28:29 +01:00
Sascha Hauer f4c9b1265b Merge branch 'master' of ssh://sha@octopus/home/git/projects/u-boot-v2 2008-02-20 17:49:41 +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
Wolfram Sang 11d26a7de4 add alternate mechanism & flash scripts - part2
sorry, forgot to add these files :(
2008-02-15 11:47:18 +01:00
Wolfram Sang 788312ae29 add alternating mechanism and flash scripts for ipe337
- add scripts to flash kernel & environment from U-Boot
 - add mechanism to check which of the two kernels to boot
 - add script to initialize the ageing partition
 - cosmetic changes to the init-scripts
2008-02-15 11:38:31 +01:00
Robert Schwebel 85bacf61f6 pcm038: fix default environment wrt. ip address
The boot script doesn't honour the ip= parameter when booting from flash
only.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-12-17 19:50:41 +01:00
Robert Schwebel 37443467a5 pcm038: add flash timing initialization
Add init code for the CS0 flash timing registers. These values are not
optimized yet, they are more or less copied from the Windows CE
installation.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-12-17 19:50:41 +01:00
Marc Kleine-Budde 984dd939ba [pcm038] remove alternate partition from environment
This patch removes the alternate partition from the default environment.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:48:52 +01:00
Marc Kleine-Budde b7e74539f8 [pcm038] check before update if server is alive
With this patch it's checked if the server is alive before erasing the flash

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 10:56:11 +01:00
Marc Kleine-Budde b5aa55445f [pcm038] fix defaultenv
The partitions have to activated already in init, not in boot.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 10:55:22 +01:00
Robert Schwebel e75fbbea2a pcm038: add default environment
Add a default environment for the phyCORE-i.MX27.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 09:40:36 +01:00
Robert Schwebel 4ee1303b43 pcm038: coding style fixes
Some coding style fixes for pcm038.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 09:01:19 +01:00
Robert Schwebel 9ad74946ce pcm038: fixup hardware init sequence
The i.MX27 can only run at 200 MHz ARM core frequency when being powered
by 1.2 V. Fix init sequence to reflect this behaviour.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:01:19 +01:00
Marc Kleine-Budde ed09032929 Fix partition definition
This patch fixed the partition definition for the pcm038 baseboard.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 09:01:19 +01:00
Marc Kleine-Budde fdac93e784 [ipe337] fixed environment
hush parser has problems with undefined vars
thanks to Enrik Bernkhan for spotting this

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 23:30:45 +01:00
Marc Kleine-Budde 57cae4e826 Merge branch 'ipe337' 2007-11-12 15:58:53 +01:00
Marc Kleine-Budde e3b2a8f972 [ipe337] new version of update_* scripts
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 15:30:57 +01:00
Juergen Beisert 1d0ea3b402 (Re) Enabling SDRAM setup
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-12 15:27:19 +01:00
Marc Kleine-Budde bd8081b620 [ipe337] rename environment subdir form defenv -> env
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 14:03:45 +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 903d775d32 adding first clean mx27 only fec driver 2007-11-08 16:24:51 +01:00
Juergen Beisert 8fe25ecf12 adding various doku 2007-11-08 12:01:52 +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 c7655ebd43 ipe337: Make the default environment more sophisticated
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:53:02 +02:00
Sascha Hauer d35ef4c66e ipe337: Increase the time we pull the reset line for the network controller
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2007-10-24 11:50:25 +02:00
Juergen Beisert 30e09b83d5 shell info added 2007-10-19 21:35:46 +02:00
Juergen Beisert e51d17e078 netx doc added and some typos fixed 2007-10-19 20:38:41 +02:00
Juergen Beisert 6a8e90c921 adding first board doc 2007-10-19 20:26:21 +02:00
Juergen Beisert cd017b2439 ethernet address default 2007-10-19 17:30:38 +02:00
sascha 0b480c9eb5 phycore i.MX31: Skip SDRAM setup when running from RAM 2007-10-19 16:45:08 +02:00
Juergen Beisert b21ed7177c basic doc structure added 2007-10-19 13:19:43 +02:00
sascha 2acbe717c1 add temporary default environment for scb9328 2007-10-19 11:01:27 +02:00
sascha 3b6d6a45e7 - Implement tree structure for devices
- Use device tree structure to implement partitions
- Let devinfo print a nice tree
- Introduce 'fixed' partitions which are not removable
- Fix mount: It was not possible to mount on a relative path.
2007-10-19 08:45:57 +02:00
Juergen Beisert 264cbd2962 beautifying 2007-10-18 19:12:02 +02:00
Juergen Beisert 95fc69e4e1 preliminary default environment added 2007-10-18 18:31:15 +02:00
Juergen Beisert 209536a55c some improvements 2007-10-18 11:54:36 +02:00
Juergen Beisert 2e36bc0781 adding devices to the newest Phytec BSP 2007-10-18 00:06:03 +02:00
Juergen Beisert 4c03bb1d58 first time running 2007-10-17 21:09:25 +02:00
Juergen Beisert 3d1940a4a0 merge sha + jbe 2007-10-17 18:12:33 +02:00
Juergen Beisert 0641f18c36 prepare for release phytec's board. Untested yet 2007-10-17 18:05:58 +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
Juergen Beisert bc52d3c052 new imx platform added: phyCORE-imx31 2007-10-17 11:18:00 +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 a9c31fab86 Merge octopus:/home/git/projects/u-boot-v2 2007-10-16 14:47:03 +02:00
sascha 52fb34f5ad update scb9328 config 2007-10-16 14:45:58 +02:00
sascha fdf739c7a5 move dm9000 specific stuff to platform_data 2007-10-16 13:55:48 +02:00
Juergen Beisert 00a190c58d changing function name for board specific init 2007-10-16 12:04:01 +02:00
sascha a3408cfe75 scb9328: Move all not critical register initializations
like chipselect setups from assembler to C.
2007-10-16 11:31:13 +02:00
Sascha Hauer ebad2c76fc phycore_mpc5200b_tiny: add map_base for fec controller 2007-10-11 22:10:22 +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 8f29f6481e pcm038: only initialize SDRAM if not currently running from it 2007-10-09 17:19:15 +02:00
Sascha Hauer 577d12810b correct RAM and Flash size for pcm028 board 2007-10-09 17:18:36 +02:00
Sascha Hauer 155d0c5059 lowlevel.S for phycore pcm038 board (wip) 2007-10-09 08:27:35 +02:00
Sascha Hauer 514eb64b1a beginning phycore pcm038 i.MX27 support 2007-10-08 00:13:19 +02:00
Sascha Hauer 236d55a06a __u_boot__symtab -> __usymtab 2007-10-07 14:32:08 +02:00
Sascha Hauer 2804d6bdc8 board/ipe337/u-boot.lds.S: add missing _ 2007-10-04 13:06:23 +02:00
Sascha Hauer 86397e0c7e update linker scripts:
- add _stext and _etext symbols
- add symtabd section
2007-10-01 10:23:49 +02:00
Sascha Hauer b9fc027e63 update default environment for ipe337 board 2007-09-28 20:37:32 +02:00
Sascha Hauer a95a54b808 add blackfin specific bits for module handling 2007-09-28 20:35:40 +02:00
Sascha Hauer 7596ab2048 add brackets 2007-09-28 10:26:06 +02:00
Sascha Hauer 66af4f96e2 move environment to offset 0x20000 in flash 2007-09-27 16:34:27 +02:00
Sascha Hauer 26b4200ba5 add alternate command for ipe337 board 2007-09-27 16:34:00 +02:00
Sascha Hauer 32b21d9517 update ipe337 default environment 2007-09-22 16:00:59 +02:00
Sascha Hauer 4d17340dc1 remove unused includes 2007-09-21 21:30:25 +02:00
Sascha Hauer 6dfd4087b1 add default environment for ip337 board 2007-09-16 11:23:10 +02:00
Sascha Hauer bd1eb7ae8f fix memory size of ipe337 board 2007-09-16 11:17:27 +02:00
Sascha Hauer 2a9c1de93f whitespace cleanup 2007-09-13 16:06:02 +02:00
Sascha Hauer 7b620b03d2 add missing include 2007-09-13 15:28:39 +02:00
Sascha Hauer af0610c068 remove old env handling in ec920 board 2007-09-13 15:09:30 +02:00
Sascha Hauer 3fc674cc51 add support for the PII bf561 board 2007-09-11 10:21:10 +02:00