Commit Graph

1412 Commits

Author SHA1 Message Date
Wolfgang Denk
e80955f07d Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-07-06 02:50:34 +02:00
Wolfgang Denk
f1152f8c28 Code cleanup and default config update for STC GP3 SSA board.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-07-06 02:50:19 +02:00
Niklaus Giger
f780b83316 resubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX
Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
2007-07-04 10:14:07 +02:00
Stefan Roese
04e6c38b76 ppc4xx: Update lwmon5 board
- Add optional ECC generation routine to preserve existing
  RAM values. This is needed for the Linux log-buffer support
- Add optional DDR2 setup with CL=4
- GPIO50 not used anymore
- Lime register setup added

Signed-off-by: Stefan Roese <sr@denx.de>
2007-07-04 10:06:30 +02:00
Grant Likely
5af61b2f4b Correct fixup relocation for mpc8260
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:08:27 +02:00
Grant Likely
f3a52fe059 Correct fixup relocation for mpc824x
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:08:19 +02:00
Grant Likely
e1a6144c32 Remove obsolete mpc83xx linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:07:13 +02:00
Grant Likely
17e32fc390 Consolidate mpc8260 linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:59 +02:00
Grant Likely
af7d38b393 Remove obsolete mpc824x linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:49 +02:00
Grant Likely
f94a3aeceb Remove obsolete mpc824x linker scripts (3 of 4)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:41 +02:00
Grant Likely
a71c084f3a Remove obsolete mpc824x linker scripts (2 of 4)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:31 +02:00
Grant Likely
f670a15468 Remove obsolete mpc824x linker scripts (1 of 4)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:14 +02:00
Grant Likely
09555bd45a Remove obsolete mpc8220 linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:06:03 +02:00
Grant Likely
5efb992f04 Remove obsolete mpc5xxx linker scripts (3 of 3)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:05:53 +02:00
Grant Likely
07c13dfef6 Remove obsolete mpc5xxx linker scripts (2 of 3)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:05:44 +02:00
Grant Likely
b4f67513a6 Remove obsolete mpc5xxx linker scripts (1 of 3)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:05:31 +02:00
Grant Likely
b7d8e05f86 Remove obsolete mpc5xx linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:05:23 +02:00
Grant Likely
5fc59175b9 Consolidate mpc8260 linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:05:04 +02:00
Grant Likely
737f9eb02d Consolidate mpc824x linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 01:04:52 +02:00
Grant Likely
d181c9a15c Consolidate mpc5xxx linker scripts
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04 00:59:41 +02:00
Wolfgang Denk
52b8704d02 Fix a few file permission problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-07-04 00:43:53 +02:00
Wolfgang Denk
78e0cf2de7 Minor coding style cleanup. Rebuild CHANGELOG file. 2007-07-04 00:38:38 +02:00
Jon Loeliger
9107ebe0d3 board/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04 00:35:03 +02:00
Jon Loeliger
5e378003d5 board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04 00:34:58 +02:00
Wolfgang Denk
98c440bee6 Merge with /home/wd/git/u-boot/custodian/u-boot-testing 2007-07-03 15:07:56 +02:00
Stefan Roese
e4feb7638c Merge with git://www.denx.de/git/u-boot.git 2007-06-25 20:20:30 +02:00
Heiko Schocher
a5d71e290f [PCS440EP] get rid of CONFIG_PPC4xx_USE_SPD_DDR_INIT_HANG
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-06-25 19:11:37 +02:00
Stefan Roese
466fff1a7b ppc4xx: Add pci_pre_init() for 405 boards
This patch removes the CFG_PCI_PRE_INIT option completely, since
it's not needed anymore with the patch from Matthias Fuchs with
the "weak" pci_pre_init() implementation.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-25 15:57:39 +02:00
Matthias Fuchs
6f35c53166 ppc4xx: Maintenance patch for esd's CPCI405 derivats
-add pci_pre_init() for pci interrupt fixup code
-disable phy sleep mode via reset_phy() function
-use correct io accessors
-cleanup

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-06-25 11:58:46 +02:00
Wolfgang Denk
1636d1c852 Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
Igor Lisitsin
a11e06965e Extend POST support for PPC440
Added memory, CPU, UART, I2C and SPR POST tests for PPC440.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--
2007-06-22 23:21:01 +02:00
Heiko Schocher
566a494f59 [PCS440EP] upgrade the PCS440EP board:
- Show on the Status LEDs, some States of the board.
                - Get the MAC addresses from the EEProm
                - use PREBOOT
                - use the CF on the board.
                - check the U-Boot image in the Flash with a SHA1
                  checksum.
                - use dynamic TLB entries generation for the SDRAM

Signed-off-by: Heiko Schocher <hs@denx.de>
2007-06-22 19:11:54 +02:00
Wolfgang Denk
83b4cfa3d6 Coding style cleanup. Refresh CHANGELOG. 2007-06-20 18:14:24 +02:00
Stefan Roese
6b44466cde Merge with git://www.denx.de/git/u-boot.git 2007-06-20 08:23:42 +02:00
Stefan Roese
b3f9ec86e3 ppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval board
This patch adds a board command to configure the I2C bootstrap EEPROM
values. Right now 533 and 667MHz are supported for booting either via NOR
or NAND FLASH. Here the usage:

=> bootstrap 533 nor        ;to configure the board for 533MHz NOR booting
=> bootstrap 667 nand       ;to configure the board for 667MHz NNAND booting

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-19 17:22:44 +02:00
Stefan Roese
df8a24cdd3 [ppc4xx] Fix problem with NAND booting on AMCC Acadia
The latest changes showed a problem with the location of the NAND-SPL
image in the OCM and the init-data area (incl. cache). This patch
fixes this problem.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-19 16:42:31 +02:00
Stefan Roese
86ba99e341 [ppc4xx] Change board/amcc/acadia/cpr.c to pll.c
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-19 16:40:58 +02:00
TsiChung Liew
8e585f02f8 Added M5329AFEE and M5329BFEE Platforms
Added board/freescale/m5329evb, cpu/mcf532x, drivers/net,
drivers/serial,  immap_5329.h, m5329.h, mcfrtc.h,
include/configs/M5329EVB.h, lib_m68k/interrupts.c, and
rtc/mcfrtc.c

Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c,
common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h,
include/asm-m68k/io.h, include/asm-m68k/mcftimer.h,
include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h,
include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c,
lib_m68k/time.c, net/eth.c and rtc/Makefile

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2007-06-18 15:17:56 -06:00
Stefan Roese
b765ffb773 [ppc4xx] Add initial lwmon5 board support
This patch adds initial support for the Liebherr lwmon5 board euqipped
with an AMCC 440EPx PowerPC.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-15 08:18:01 +02:00
Bartlomiej Sieka
8f8416fada TQM5200: Add Flat Device Tree support, update default env. accordingly.
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-06-08 14:52:22 +02:00
Wolfgang Denk
725671ccd2 Coding Style cleanup; generate new CHANGELOG file.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-06-06 16:26:56 +02:00
Wolfgang Denk
83b75ef3a6 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-06-06 16:21:11 +02:00
Wolfgang Denk
d1246a4bb1 Merge with /home/wd/git/u-boot/custodian/u-boot-arm 2007-06-06 16:18:01 +02:00
Markus Klotzbuecher
c4e2753436 Merge with git://www.denx.de/git/u-boot.git 2007-06-06 12:36:32 +02:00
Stefan Roese
1cf6756333 Merge with /home/stefan/git/u-boot/acadia-nand-boot 2007-06-06 11:43:58 +02:00
Stefan Roese
c440bfe6d6 ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval board
This patch adds NAND booting support for the AMCC Acadia eval board.

Please make sure to configure jumper J7 to position 2-3 when booting
from NOR, and to position 1-2 when booting for NAND.

I also added a board command to configure the I2C bootstrap EEPROM
values. Right now only 267MHz is support for booting either via NOR
or NAND FLASH. Here the usage:

=> bootstrap 267 nor	;to configure the board for 267MHz NOR booting
=> bootstrap 267 nand	;to configure the board for 267MHz NNAND booting

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-06 11:42:13 +02:00
Jon Loeliger
ac0e8d08a1 Merge branch 'mpc8641' 2007-06-05 13:29:00 -05:00
Ed Swarthout
32922cdc47 mpc8641 image size cleanup
e600 does not have a bootpg restriction.
Move the version string to beginning of image at fff00000.
Resetvec.S is not needed.
Update flash copy instructions.
Add tftpflash env variable

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-06-05 13:27:34 -05:00
Wolfgang Denk
c0c292b285 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-06-04 22:59:44 +02:00
Stefan Roese
18d156eb37 ppc4xx: Add missing file for Bamboo NAND booting support
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01 16:18:17 +02:00
Stefan Roese
f3679aa13d Merge with /home/stefan/git/u-boot/bamboo-nand 2007-06-01 16:15:34 +02:00
Stefan Roese
155a96478a ppc4xx: Undo Sequoia patch for dynamic EBC speed support of 83MHz
This patch undoes the patch by Jeff Mann with commit-id ada4697d. As
suggested by AMCC it is not recommended to dynamically change the EBC
speed after bootup. So we undo this change to be on the safe side.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01 15:58:19 +02:00
Stefan Roese
9d9096043e ppc4xx: Update Sequoia NAND booting support with ECC
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01 15:29:04 +02:00
Stefan Roese
a471db07fb ppc4xx: Prepare Bamboo port for NAND booting support
This patch updates the "normal" Bamboo NOR booting port, so
that it is compatible with the coming soon NAND booting
Bamboo port.

It also enables the 2nd NAND flash on the Bamboo.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01 15:19:29 +02:00
Wolfgang Denk
f61137937d Merge with /home/wd/git/u-boot/stx-gp3ssa 2007-05-31 17:21:22 +02:00
Wolfgang Denk
ee1529838a Add support for STX GP3SSA (stxssa) Board with 4 MiB flash.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-31 17:20:09 +02:00
Markus Klotzbuecher
51d8e81322 Merge git://www.denx.de/git/u-boot into 2007_05_15-testing 2007-05-29 16:37:57 +02:00
Wolfgang Denk
19bf91f962 Merge with /home/tur/git/u-boot#motionpro 2007-05-28 01:11:11 +02:00
Bartlomiej Sieka
7049288fb1 Motion-PRO: Code cleanup, fix of a typo in OF_STDOUT_PATH.
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 17:26:46 +02:00
Bartlomiej Sieka
c00125e07c MPC5XXX, Motion-PRO: Fix PHY initialization problem.
After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which
networking does not function. This commit switches PHY to TX mode by clearing
the FX_SEL bit of Mode Control Register. It also reverses commit
008861a2f3, i.e., a temporary workaround.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:58:45 +02:00
Bartlomiej Sieka
c75e639630 Motion-PRO: Add displaying of CPLD revision information during boot.
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:55:23 +02:00
Bartlomiej Sieka
a11c0b85dc Motion-PRO: Add LED support.
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27 16:51:48 +02:00
Stefan Roese
5d4a179013 ppc4xx: Update AMCC Acadia support for board revision 1.1
This patch updates the Acadia (405EZ) support for the new 1.1 board
revision. It also adds support for NAND FLASH via the 4xx NDFC.

Please note that the jumper J7 must be in position 2-3 for this
NAND support. Position 1-2 is for NAND booting only. NAND booting
support will follow later.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-24 08:22:09 +02:00
Peter Pearse
3e3b956906 Reduce line lengths to 80 characters max. 2007-05-18 16:47:03 +01:00
Peter Pearse
fdda367561 Merge with git://www.denx.de/git/u-boot.git 2007-05-18 14:33:23 +01:00
Stefan Roese
ee96088ca5 Merge with git://www.denx.de/git/u-boot.git 2007-05-18 11:20:02 +02:00
Kim Phillips
255a3577c8 Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx
For all practical u-boot purposes, TSECs don't differ throughout the
mpc8[356]xx families; reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-17 00:07:21 +02:00
Jeffrey Mann
ada4697d02 [PATCH] Run new sequoia boards with an EBC speed of 83MHz
Because the Sequoia board does not boot with an EBC faster than 66MHz,
the clock divider are changed after the initial boot process.

This allows for maximum clocking speeds  to be achieved on newer boards.
Sequoia boards with 666.66 MHz processors require that the EBC divider
be set to 3 in order to start the initial boot process at a slower EBC
speed. After the initial boot process, the divider can be set back to 2,
which will cause the boards to run at 83.333MHz. This is backward
compatible with boards with 533.33 MHz processors, as these boards will
already be set with an EBC divider of 2.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
2007-05-16 13:23:10 +02:00
Wolfgang Denk
256176d3d5 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx 2007-05-16 01:12:04 +02:00
Wolfgang Denk
d602257374 Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze 2007-05-16 00:11:53 +02:00
Wolfgang Denk
f0da1d1b3c Merge with /home/tur/git/u-boot#motionpro 2007-05-15 00:22:30 +02:00
Jon Loeliger
3423c44afa Merge branch 'mpc8641' 2007-05-10 13:54:08 -05:00
Peter Pearse
65fb6a676e Add the board directory for SMN42 2007-05-09 11:42:44 +01:00
Peter Pearse
5c6d2b5a50 Remove the deleted files for the SMN42 patch 2007-05-09 11:40:34 +01:00
Peter Pearse
b0d8f5bf0d New board SMN42 branch 2007-05-09 11:37:56 +01:00
Ed Swarthout
b84289b595 8641hpcn: Fix Makefile after moving pixis to board/freescale.
The OBJTREE != SRCTREE build scenario was broken.
This fixes it.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-05-08 14:17:07 -05:00
Bartlomiej Sieka
1f1369c34b [Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.
2007-05-08 09:21:57 +02:00
Michal Simek
3c4bd60de1 Merge git://www.denx.de/git/u-boot
Conflicts:

	include/asm-microblaze/microblaze_intc.h
	include/linux/stat.h
2007-05-08 00:32:35 +02:00
Michal Simek
fb05f6da35 new: USE_MSR_INTR support 2007-05-07 23:58:31 +02:00
Michal Simek
19bf1fbad7 new: fsl interrupt support
FSL_Has_data is connected to INTC.
2007-05-07 19:33:51 +02:00
Michal Simek
48fbd3a4cd new: add writing to msr register 2007-05-07 17:11:09 +02:00
Markus Klotzbuecher
6ede0c8b69 Merge with git://www.denx.de/git/u-boot.git 2007-05-07 14:10:38 +02:00
Michal Simek
ffc50f9bb1 new: FSL and MSR support #2 2007-05-05 18:54:42 +02:00
Wolfgang Denk
2f15278c2e Coding stylke cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-05-05 18:23:11 +02:00
Wolfgang Denk
f51697316a Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-05-05 18:07:10 +02:00
Wolfgang Denk
49db23d452 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx 2007-05-05 17:33:22 +02:00
Wolfgang Denk
5499645b3f Make "file" command happy with some config.mk files; update CHANGELOG 2007-05-05 17:15:50 +02:00
Wolfgang Denk
55aee109ce Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flash 2007-05-05 16:57:46 +02:00
Wolfgang Denk
5c3d767621 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-05-05 16:48:48 +02:00
Stefan Roese
beb7dba2f5 Merge with git://www.denx.de/git/u-boot.git 2007-05-05 08:37:54 +02:00
Stefan Roese
f544ff6656 ppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting
Using cpu/ppc4xx/speed.c to calculate the bus frequency is too big
for the 4k NAND boot image so define bus_frequency to 133MHz here
which is save for the refresh counter setup.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-05 08:29:01 +02:00
Stefan Roese
9fab1181d0 Merge with git://www.denx.de/git/u-boot.git 2007-05-05 07:10:03 +02:00
Wolfgang Denk
2c6fb199dc Cleanup STX GP3SSA code; fix build and compile problems. 2007-05-03 16:16:10 +02:00
Dan Malek
35171dc04e Add support for STX GP3SSA (stxssa) Board
Signed-off-by Dan Malek, <dan@embeddedalley.com>
2007-05-03 16:13:21 +02:00
Andy Fleming
ffa621a0d1 Cleaned up some 85xx PCI bugs
* Cleaned up the CDS PCI Config Tables and added NULL entries to
  the end
* Fixed PCIe LAWBAR assignemt to use the cpu-relative address
* Fixed 85xx PCI code to assign powar region sizes based on the
  config values (rather than hard-coding them)
* Fixed the 8548 CDS PCI2 IO to once again have 0 as the base address

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-05-02 15:50:13 -05:00
Andy Fleming
6743105988 Add support for the 8568 MDS board
This included some changes to common files:
* Add 8568 processor SVR to various places
* Add support for setting the qe bus-frequency value in the dts
* Add the 8568MDS target to the Makefile

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-05-02 15:50:02 -05:00
Timur Tabi
f64702b7fc Fix memory initialization on MPC8349E-mITX
Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349E-mITX and MPC8349E-mITX-GP.
This allows ddr->sdram_clk_cntl to be properly initialized.  This is necessary
on some ITX boards, notably those with a revision 3.1 CPU.

Also change spd_sdram() in cpu/mpc83xx/spd_sdram.c to not write anything into
ddr->sdram_clk_cntl if CFG_DDR_SDRAM_CLK_CNTL is not defined.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Michael Benedict <MBenedict@twacs.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-01 12:10:26 -05:00
Stefan Roese
bd38b7ecfd Merge with git://www.denx.de/git/u-boot.git 2007-04-29 16:40:31 +02:00
Stefan Roese
8b39501d28 ppc4xx: Bamboo: Use current NAND driver and *not* the legacy driver
Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-29 14:13:01 +02:00
Andy Fleming
45cef612cc Changed BOOKE_PAGESZ_nGB to BOOKE_PAGESZ_nG
The other pagesz constants use one letter to specify order of
magnitude.  Also change the one reference to it in mpc8548cds/init.S

Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-04-23 19:58:28 -05:00
Jon Loeliger
25d83d7f4a Add MPC8544DS basic port board files.
Add board port under new board/freescale directory
structure and reuse existing PIXIS FPGA support there.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-23 19:58:28 -05:00
Sergei Shtylyov
362dd83077 Fix PCI I/O space mapping on Freescale MPC85x0ADS
The PCI I/O space mapping for Freescale MPC8540ADS board was broken by commit
52c7a68b8d which failed to update the #define's
describing the local address window used for the PCI I/O space accesses -- fix
this and carry over the necessary changes into the MPC8560ADS code since the
PCI I/O space mapping was also broken for this board (by the earlier commit
087454609e).  Add the comments clarifying how
the PCI I/O space must be mapped to all the MPC85xx board config. headers.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

 board/mpc8540ads/init.S      |    4 ++--
 board/mpc8560ads/init.S      |    4 ++--
 include/configs/MPC8540ADS.h |    5 ++---
 include/configs/MPC8541CDS.h |    2 +-
 include/configs/MPC8548CDS.h |    2 +-
 include/configs/MPC8560ADS.h |    8 ++++----
 6 files changed, 12 insertions(+), 13 deletions(-)
2007-04-23 19:58:28 -05:00
Zang Roy-r61911
0b1934ba12 u-boot: Fix the 85xxcds tsec bug
Fix the 85xxcds tsec bug.
When enable PCI, tsec.o should be added to u-boot.lds to make tsec work.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2007-04-23 19:58:27 -05:00
Zang Roy-r61911
7337b237ff u-boot: Fix CPU2 errata on MPC8548CDS board
This patch apply workaround of CPU2 errata on MPC8548CDS board.

Signed-off-by:Ebony Zhu <ebony.zhu@freescale.com>
2007-04-23 19:58:27 -05:00
Zang Roy-r61911
41fb7e0f1e u-boot: Enable PCI function and add PEX & rapidio memory map on MPC8548CDS board
Enable PCI function and add PEX & rapidio memory map on MPC8548CDS
board.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2007-04-23 19:58:27 -05:00
Scott Wood
96b8a05432 mpc83xx: Add MPC8313ERDB support.
Signed-off-by: Scott Wood <scottwood@freescale.com>
2007-04-23 16:32:10 -05:00
Markus Klotzbuecher
61ea75aa07 Merge with git://www.denx.de/git/u-boot.git 2007-04-23 13:17:22 +02:00
Stefan Roese
8d1c439e2d Merge with git://www.denx.de/git/u-boot.git 2007-04-23 12:01:50 +02:00
Stefan Roese
323bfa8f43 Remove BOARDLIBS usage completely
Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-23 12:00:22 +02:00
Michal Simek
9d1d6a34d2 Change ML401 parameters - Xilinx BSP 2007-04-21 20:53:31 +02:00
Ed Swarthout
2e343b9a57 mpc8641hpcn: Fix LAW and TLB setup to use the IO_PHYS #defines.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
2007-04-20 14:52:04 -05:00
Zhang Wei
79cb47391e Enable LAWs for MPC8641 PCI-Ex2.
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-20 14:50:56 -05:00
Wolfgang Denk
14da5f7675 Cleanup compiler warnings, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-20 17:43:28 +02:00
Wolfgang Denk
85f87fa412 Merge with /home/dzu/src/git/u-boot 2007-04-20 15:50:04 +02:00
Detlev Zundel
6923565db1 Fix breakage of NC650 board with respect to nand support.
Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-04-20 12:01:47 +02:00
Gerald Van Baren
7651f8bdbb Fix serious pointer bug with bootm and reserve map.
What was suppose to be a stack variable was declared as a pointer,
  overwriting random memory.
Also moved the libfdt.a requirement into the main Makefile.  That is
  The U-Boot Way.
2007-04-19 23:14:39 -04:00
Wolfgang Denk
37837828d8 Clenaup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-18 17:49:29 +02:00
Wolfgang Denk
5cca4092bd Merge with /home/wd/git/u-boot/custodian/u-boot-fdt 2007-04-18 17:47:39 +02:00
Wolfgang Denk
a8227b66fa Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-04-18 17:20:22 +02:00
Wolfgang Denk
43f6226db0 Merge with /home/wd/git/u-boot/custodian/u-boot-74xx-7xx 2007-04-18 17:00:09 +02:00
Wolfgang Denk
b99c1e6d8e Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup. 2007-04-18 16:53:52 +02:00
Wolfgang Denk
01ebbab0cc Merge with /home/wd/git/u-boot/custodian/u-boot-blackfin 2007-04-18 16:16:33 +02:00
Wolfgang Denk
0f5642d732 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-04-18 16:06:05 +02:00
Wolfgang Denk
ad4eb55567 MCC200 board: remove warning which is obsolete after PSoC firmware changes
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-18 14:30:39 +02:00
Stefan Roese
afc7e4c2a4 Merge with git://www.denx.de/git/u-boot.git 2007-04-18 12:13:51 +02:00
Stefan Roese
e673226ff9 ppc4xx: Update Acadia to not setup PLL when booting via bootstrap EEPROM
Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-18 12:07:47 +02:00
Domen Puncer
d3832e8fe1 [PATCH] icecube/lite5200b: wakeup from low-power support
U-Boot part of Lite5200b low power mode support.
Puts SDRAM out of self-refresh and transfers control to
address saved at physical 0x0.

Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
2007-04-16 14:00:13 +02:00
Gerald Van Baren
6f1d57c567 Merge git://www.denx.de/git/u-boot into fdt-cmd 2007-04-14 23:02:21 -04:00
Haavard Skinnemoen
8e6875183c AVR32: Enable MMC support
Set up the portmux for the MMC interface and enable the MMC driver
along with support for DOS partitions, ext2 and FAT filesystems.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14 16:14:06 +02:00
Haavard Skinnemoen
9a24f477a1 AVR32: Enable networking
Implement MACB initialization for AVR32 and ATSTK1000, and turn
everything on, including the MACB driver.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14 16:14:06 +02:00
Haavard Skinnemoen
12f099c081 AVR32: Use initdram() instead of board_init_memories()
Conform to the "standard" interface and use initdram() instead of
board_init_memories() on AVR32. This enables us to get rid of the
sdram_size member of the global_data struct as well.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14 15:20:27 +02:00
Haavard Skinnemoen
1f4f2121c2 AVR32: Relocate u-boot to SDRAM
Relocate the u-boot image into SDRAM like everyone else does. This
means that we can handle much larger .data and .bss than we used to.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14 15:20:27 +02:00
Haavard Skinnemoen
df548d3c3e AVR32: Resource management rewrite
Rewrite the resource management code (i.e. I/O memory, clock gating,
gpio) so it doesn't depend on any global state. This is necessary
because this code is heavily used before relocation to RAM, so we
can't write to any global variables.

As an added bonus, this makes u-boot's memory footprint a bit smaller,
although some functionality has been left out; all clocks are enabled
all the time, and there's no checking for gpio line conflicts.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-14 15:20:27 +02:00
Heiko Schocher
37403005cf [Fix] Set the LED status register on the UC101 for the LXT971 PHY.
clear the Display after reset.

Signed-off-by: Heiko Schocher <hs@denx.de>
2007-04-14 05:26:48 +02:00
Stefan Roese
e8aac8e7bf Merge with git://www.denx.de/git/u-boot.git 2007-04-12 14:06:54 +02:00
Haiying Wang
3d98b85800 Add PIXIS FPGA support for MPC8641HPCN board.
Move the 8641HPCN's PIXIS code to the new directory
board/freescale/common/ as it will be shared by
future boards not in the same processor family.

Write a "pixis_reset" command that utilizes the FPGA
reset sequencer to support alternate soft-reset options
such as using the "alternate" flash bank, enabling
the watch dog, or choosing different CPU frequencies.

Add documentation for the pixis_reset to README.mpc8641hpcn.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-04-09 14:25:05 -05:00
Gerald Van Baren
64dbbd40c5 Moved fdt command support code to fdt_support.c
...in preparation for improving the bootm command's handling of fdt blobs.
Also cleaned up some coding sloppiness.
2007-04-06 14:19:43 -04:00
Aubrey Li
155fd76657 [Blackfin][PATCH] Fix copyright and update license 2007-04-05 18:31:18 +08:00
Aubrey Li
dfeeab2cd6 [Blackfin][PATCH]: fix flash unaligned copy issue 2007-04-05 18:28:34 +08:00
Wolfgang Denk
25b0806fff Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-04-04 02:18:56 +02:00
Wolfgang Denk
31c98a8822 Minor coding style cleanup. 2007-04-04 02:09:30 +02:00
Wolfgang Denk
c8f2280162 Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze 2007-04-04 02:05:48 +02:00
Wolfgang Denk
94abd7c058 Minor cleanup. 2007-04-04 01:49:15 +02:00
Markus Klotzbuecher
72c5e39c83 Merge with git://www.denx.de/git/u-boot.git 2007-04-03 14:28:39 +02:00
Stefan Roese
a65c5768e5 ppc4xx: Change SysACE address on Katmai
With this new base address of the Xilinx SystemACE controller
the Linux driver will be easier to adapt, since it can now be
mapped via the "normal" ioremap() call.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-02 10:09:30 +02:00
Gerald Van Baren
213bf8c822 Add a flattened device tree (fdt) command (2 of 2)
Modifications to the existing code to support the new fdt command.
2007-03-31 12:23:51 -04:00
Stefan Roese
0e7d4916af Merge with git://www.denx.de/git/u-boot.git 2007-03-31 13:44:12 +02:00
Stefan Roese
da6ebc1bc0 ppc4xx: Update Katmai bootstrap command
Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB
is selected.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31 13:16:23 +02:00
Stefan Roese
490e5730c6 ppc4xx: Fix "bootstrap" command for Katmai board
The board specific "bootstrap" command is now fixed and can
be used for the AMCC Katmai board to configure different
CPU/PLB/OPB frequencies.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31 08:47:34 +02:00
Michal Simek
342cd097be [PATCH] Clean include dependence 2007-03-30 22:52:09 +02:00
Michal Simek
6f934210fb [CLEAN] Remove inefficient Suzaku code 2007-03-30 22:42:45 +02:00
Wolfgang Denk
6db7d0af23 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-03-29 12:16:41 +02:00
Michal Simek
5da048adf4 PATCH: Resolve GPL license problem 2007-03-27 00:32:16 +02:00
Michal Simek
1798049522 Support for XUPV2P board
Reset support
BSP autoconfig support
2007-03-26 01:39:07 +02:00
Stefan Roese
e50b791b3f Merge with /home/stefan/git/u-boot/acadia 2007-03-24 15:59:23 +01:00
Stefan Roese
0d974d5297 [PATCH] Add 4xx GPIO functions
This patch adds some 4xx GPIO functions. It also moves some of the
common code and defines into a common 4xx GPIO header file.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24 15:57:09 +01:00
Stefan Roese
2db633658b [PATCH] Small Sequoia cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24 15:55:58 +01:00
Stefan Roese
3cb86f3e40 [PATCH] Clean up 40EZ/Acadia support
This patch cleans up all the open issue of the preliminary
Acadia support.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24 15:45:34 +01:00
Markus Klotzbuecher
f2b07ebd32 Merge with git://www.denx.de/git/u-boot.git#testing-USB 2007-03-23 09:52:17 +01:00
Jon Loeliger
6eb1df8351 Fix 8641HPCN problem with ld version 2.16
(Dot outside sections problem).

This fix is in the spirit of 807d5d7319.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-03-22 11:39:40 -05:00
Wolfgang Denk
a17824c749 Merge with /home/wd/git/u-boot/custodian/u-boot-blackfin 2007-03-22 00:00:03 +01:00
Wolfgang Denk
2a8dfe0835 Code cleanup. Update CHANGELOG 2007-03-21 23:26:15 +01:00
Wolfgang Denk
40750952c7 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-03-21 23:11:22 +01:00
Stefan Roese
fc1e45ce6e Merge with /home/stefan/git/u-boot/acadia 2007-03-21 14:38:25 +01:00
Stefan Roese
16c0cc1c82 [PATCH] Add AMCC Acadia (405EZ) eval board support
This patch adds support for the new AMCC Acadia eval board.

Please note that this Acadia/405EZ support is still in a beta stage.
Still lot's of cleanup needed but we need a preliminary release now.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-21 13:39:57 +01:00
Heiko Schocher
07e82cb2e2 [PATCH] TQM8272: dont change the bits given from the HRCW
for the SIUMCR and BCR Register.
                 Fix the calculation for the EEprom Size

Signed-off-by: Heiko Schocher <hs@denx.de>
2007-03-21 08:45:17 +01:00
Aubrey Li
b2777c087b Merge http://www.denx.de/git/u-boot 2007-03-20 22:58:25 +08:00
Aubrey Li
654589873d [Blackfin][PATCH] Add BF561 EZKIT board support 2007-03-20 18:16:24 +08:00
Aubrey Li
a20e710692 Merge http://www.denx.de/git/u-boot 2007-03-19 23:01:15 +08:00
Aubrey Li
a6154fd1cf [Blackfin][PATCH] minor cleanup 2007-03-19 22:55:58 +08:00
Aubrey Li
26bf7deca3 [Blackfin][PATCH] Add BF537 stamp board support 2007-03-19 01:24:52 +08:00
Wolfgang Denk
87e0662762 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-03-16 22:20:36 +01:00
Stefan Roese
8423e5e31a [PATCH] Use dynamic SDRAM TLB setup on AMCC Ebony eval board
Define CONFIG_PROG_SDRAM_TLB so that the TLB entries for the
DDR memory are dynamically programmed matching the total size
of the equipped memory (DIMM modules).

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-16 21:11:42 +01:00
Wolfgang Denk
a7090b993d Make SC3 board build with 'make O='; use 'addcons' consistently
(SC3 and Jupiter used to use 'addcon' instead).

Signed-off-by: Wolfgang Denk wd@denx.de
2007-03-13 16:05:55 +01:00
Aubrey Li
bfa5754a58 [Blackfin][PATCH] Fix BUILD_DIR option of MAKEALL building issue 2007-03-12 01:42:06 +08:00
Aubrey Li
8440bb1458 [Blackfin][PATCH] code cleanup 2007-03-12 00:25:14 +08:00
Michal Simek
cfc67116a7 [Microblaze][PATCH] part 2
timer support
interrupt controller support
flash support
ethernet support
cache support
board information support
env support
booting image support

adding support for Xilinx ML401
2007-03-11 13:48:24 +01:00
Michal Simek
76316a318d [Microblaze][PATCH]
timer support
interrupt controller support
flash support
ethernet support
cache support
board information support
env support
booting image support

adding support for Xilinx ML401
2007-03-11 13:42:58 +01:00
Aubrey Li
8db13d6315 [Blackfin][PATCH] code cleanup 2007-03-10 23:49:29 +08:00
Aubrey.Li
3f0606ad0b [Blackfin]PATCH-1/2]: Remove obsolete blackfin port and add bf533 platform support 2007-03-09 13:38:44 +08:00
Wolfgang Denk
cf3b41e0c1 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-03-08 23:06:12 +01:00
Stefan Roese
992423ab43 ppc4xx: Fix file mode of sequoia.c
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08 23:00:08 +01:00
John Otken john@softadvances.com
8ce16f55c7 ppc4xx: Clear Sequoia/Rainier security engine reset bits
Signed-off-by: John Otken john@softadvances.com <john@softadvances.com>
2007-03-08 22:49:22 +01:00
Wolfgang Denk
37896293bc Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx 2007-03-08 22:42:44 +01:00
Matthias Fuchs
f9fc6a5852 fixed ethernet phy configuration for plu405 board
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-03-08 22:14:47 +01:00
Wolfgang Denk
dd0321f5f8 Merge with /home/hs/jupiter/u-boot 2007-03-08 21:45:04 +01:00
Wolfgang Denk
efa013df33 Merge with /home/git/u-boot 2007-03-08 11:41:19 +01:00
Wolfgang Denk
35ded29fd9 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-03-08 11:38:58 +01:00
Wolfgang Denk
d8be57669b Merge with /home/git/u-boot 2007-03-08 11:34:24 +01:00
Stefan Roese
cd84528f20 Merge with /home/stefan/git/u-boot/yucca-ddr2 2007-03-08 10:32:45 +01:00
Stefan Roese
00cdb4ce5e [PATCH] Update AMCC Luan 440SP eval board support
The AMCC Luan now uses the common 440SP(e) DDR SPD code for DDR
inititializition. This includes DDR auto calibration and support
for different DIMM modules, instead of the fixed setup used in
the earlier version.

This patch also enables the cache in FLASH for the startup
phase of U-Boot (while running from FLASH). After relocating to
SDRAM the cache is disabled again. This will speed up the boot
process, especially the SDRAM setup, since there are some loops
for memory testing (auto calibration).

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08 10:13:16 +01:00
Stefan Roese
2f5df47351 [PATCH] Update AMCC Yucca 440SPe eval board support
The AMCC Yucca now uses the common 440SP(e) DDR SPD code for DDR
inititializition. This includes DDR auto calibration and support
for different DIMM modules, instead of the fixed setup used in
the earlier version.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08 10:10:18 +01:00
Stefan Roese
2721a68a9e ppc4xx: Small AMCC Katmai 440SPe update
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08 10:07:18 +01:00
Wolfgang Denk
46270c2851 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-03-07 16:50:34 +01:00
Stefan Roese
fa1aef15bc [PATCH] Use dynamic SDRAM TLB setup on AMCC Ocotea eval board
Define CONFIG_PROG_SDRAM_TLB so that the TLB entries for the
DDR memory are dynamically programmed matching the total size
of the equipped memory (DIMM modules).

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-07 16:43:00 +01:00
Wolfgang Denk
3921843398 UC101: fix compiler warnings 2007-03-07 16:33:44 +01:00
Wolfgang Denk
8d7e273222 HMI1001: fix build error, cleanup compiler warnings. 2007-03-07 16:19:46 +01:00
Stefan Roese
07b7b0037a [PATCH] Speed optimization of AMCC Sequoia/Rainier DDR2 setup
As provided by the AMCC applications team, this patch optimizes the
DDR2 setup for 166MHz bus speed. The values provided are also save
to use on a "normal" 133MHz PLB bus system. Only the refresh counter
setup has to be adjusted as done in this patch.

For this the NAND booting version had to include the "speed.c" file
from the cpu/ppc4xx directory. With this addition the NAND SPL image
will just fit into the 4kbytes of program space. gcc version 4.x as
provided with ELDK 4.x is needed to generate this optimized code.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-06 07:47:04 +01:00
Wolfgang Denk
647d3c3eed Some code cleanup. 2007-03-04 01:36:05 +01:00
Wolfgang Denk
b24444f1b3 Merge with http://opensource.freescale.com/pub/scm/u-boot-7448hpc2.git 2007-03-04 01:17:20 +01:00