Commit graph

1239 commits

Author SHA1 Message Date
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