Harald Welte [Wed, 19 Dec 2007 13:24:40 +0000 (14:24 +0100)]
ARM: s3c24xx: Multiple serial port support
This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's
Signed-off-by: Harald Welte <laforge@openmoko.org>
Harald Welte [Wed, 19 Dec 2007 13:16:57 +0000 (14:16 +0100)]
ARM: arm920t: Allow use of 'gd' pointer from IRQ
This patch allows us to use the 'gd' pointer (and thus environment
and everything else associated with it) from interrupt context on
arm920t.
Signed-off-by: Harald Welte <laforge@openmoko.org>
Harald Welte [Wed, 19 Dec 2007 13:19:38 +0000 (14:19 +0100)]
ARM: arm920/s3c24xx: IRQ demulitplexer callback
This patch adds a IRQ demultiplexer callback to the arm920 cpu core code,
plus a stub implementation of it for the S3C2410.
The purpose is to allow arm920t implementations such as the s3c24x0 to
implement interrupt handlers in u-boot without having to touch core
arm920t code.
Signed-off-by: Harald Welte <laforge@openmoko.org>
Hebbar [Wed, 19 Dec 2007 00:03:07 +0000 (16:03 -0800)]
ARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is defined
Add ifdef to bdinfo command to display ethernet information
only if CONFIG_CMD_NET is defined for arm modules.
Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
Hebbar [Wed, 19 Dec 2007 00:00:54 +0000 (16:00 -0800)]
ARM: add I2C init function call in lib_arm/board.c
Adds I2C init func call to init sequence for ARM boards. This is
present in ppc,blackfin and other processor init sequence.
Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
Ladislav Michl [Thu, 6 Dec 2007 23:42:32 +0000 (00:42 +0100)]
ARM: Board voiceblue update
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Ladislav Michl [Thu, 6 Dec 2007 22:24:57 +0000 (23:24 +0100)]
ARM: AT91RM9200 based boards config cleanup
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Remove nowhere used struct bd_info_ext, remove trailing whitespaces, fix
indentation.
Ladislav Michl [Thu, 6 Dec 2007 21:59:16 +0000 (22:59 +0100)]
ARM: Fix at91rm9200dk base address
Somewhere during development of U-Boot-1.1.3 CONFIG_BOOTBINFUNC was
renamed into CONFIG_INIT_CRITICAL which was 04 Apr 2005 replaced
with CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT.
However CONFIG_SKIP_LOWLEVEL_INIT has oposite meaning to
CONFIG_BOOTBINFUNC, so fix configuration to reflect this fact.
I'm sending this patch 4th (!) time in hope it produces at least some
reaction.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Fix at91rm9200dk base and environment address.
stefano babic [Tue, 20 Nov 2007 09:40:24 +0000 (10:40 +0100)]
MMC for PXA 27X (resubmit)
MMC support for X_Scale PXA is broken and does not work.
Mainly, the mmc_init() function cannot recognize current SD/MMC cards.
There were already some patches around the world but none of them was
merged into the official u-boot tree.
This patch makes order fixing this issue. Resubmit after code cleanup.
Applied and tested on PXA 270 (TrizepsIV module).
Signed-off-by: Stefano Babic <sbabic@denx.de>
stefano babic [Tue, 20 Nov 2007 09:37:04 +0000 (10:37 +0100)]
Fix gcc issues in pxa-regs.h
Fix gcc4 issue. With some toolchain, a previous patch that fixes gcc4
issues generates wrong code.
(Problem was reported with gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu).
This patch fixes the problem and solves the gcc-4 issues as the linux
kernel does.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Dmitry Ivanov <ivadmitry@gmail.com>
Wolfgang Denk [Fri, 25 Jan 2008 08:56:17 +0000 (09:56 +0100)]
inka4x0: remove dead code
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Wed, 23 Jan 2008 13:41:37 +0000 (14:41 +0100)]
Coding Style Cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Wed, 23 Jan 2008 13:40:34 +0000 (14:40 +0100)]
Merge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:39:26 +0000 (14:39 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ixp
Wolfgang Denk [Wed, 23 Jan 2008 13:37:59 +0000 (14:37 +0100)]
Merge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:37:52 +0000 (14:37 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mips
Wolfgang Denk [Wed, 23 Jan 2008 13:35:32 +0000 (14:35 +0100)]
Merge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:35:26 +0000 (14:35 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-sh
Wolfgang Denk [Wed, 23 Jan 2008 13:34:00 +0000 (14:34 +0100)]
Merge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:33:40 +0000 (14:33 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-avr32
Wolfgang Denk [Wed, 23 Jan 2008 13:31:17 +0000 (14:31 +0100)]
Coding Style Cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Wed, 23 Jan 2008 13:23:13 +0000 (14:23 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire
Wolfgang Denk [Wed, 23 Jan 2008 13:20:49 +0000 (14:20 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-net
Wolfgang Denk [Wed, 23 Jan 2008 13:19:45 +0000 (14:19 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Wed, 23 Jan 2008 13:18:18 +0000 (14:18 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Wed, 23 Jan 2008 12:56:55 +0000 (13:56 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx
Dave Liu [Fri, 18 Jan 2008 02:07:04 +0000 (10:07 +0800)]
mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h
The commit
04a9e1180ac76a7bacc15a6fcd95ad839d65bddb
cause the 83xx immap broken, so the DMA and PCI will
be failed.
The patch fix the struct spi8xxx and rm struct spi83xx.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Shinya Kuribayashi [Fri, 18 Jan 2008 13:48:06 +0000 (22:48 +0900)]
Merge branch 'master' of git://denx.de/git/u-boot
Haavard Skinnemoen [Sat, 14 Apr 2007 15:11:49 +0000 (17:11 +0200)]
AVR32: ATNGW100 board support
Add support for the ATNGW100 Network Gateway reference design,
including flash, ethernet and MMC support.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Haavard Skinnemoen [Sat, 24 Nov 2007 17:15:31 +0000 (18:15 +0100)]
AVR32: Initialize ipaddr, loadaddr and bootfile at startup
I don't know why the relevant layers can't do this by itself, but this
is what ppc does.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Michael Schwingen [Thu, 17 Jan 2008 23:04:28 +0000 (00:04 +0100)]
Add AcTux board support
Hi,
The patch adds 4 boards, called AcTux-1 .. AcTux-4. This patch contains the
files that
contain changes for multiple boards, the board-specific files follow as
separate patches.
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Michael Schwingen [Wed, 16 Jan 2008 18:53:23 +0000 (19:53 +0100)]
add AcTux-4 board support
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Michael Schwingen [Wed, 16 Jan 2008 18:51:55 +0000 (19:51 +0100)]
add AcTux-3 board support
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Michael Schwingen [Wed, 16 Jan 2008 18:51:14 +0000 (19:51 +0100)]
add AcTux-2 board support
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Michael Schwingen [Wed, 16 Jan 2008 18:50:37 +0000 (19:50 +0100)]
add AcTux-1 board support
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jan 2008 18:20:08 +0000 (19:20 +0100)]
ARM: remove useless function board_post_init
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Michael Schwingen [Thu, 10 Jan 2008 13:59:46 +0000 (14:59 +0100)]
IXP: enable RTS
enables the RTS signal with CONFIG_SERIAL_RTS_ACTIVE.
No handshaking is done, but the active RTS signal allows to
connect to the target using a PC which is using RTS/CTS
handshake, and does no harm if the PC is set to ignore RTS.
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Jean-Christophe PLAGNIOL-VILLARD [Mon, 7 Jan 2008 07:41:34 +0000 (08:41 +0100)]
IXP: add dynamic microcode addr
allow to load the microde from flash or ram by download it through
the serial or other.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Stefan Roese <sr@denx.de>
Michael Schwingen [Sat, 10 Nov 2007 14:44:12 +0000 (15:44 +0100)]
load ixp42x NPE firmware from separate flash block, remove dead code
Hi,
the following patch adds support to move the IXP42X NPE firmware to a
separate flash block, whose start address is defined in
CONFIG_IXP4XX_NPE_EXT_UCODE_BASE. Using that, it is possible to build
NPE-enabled u-boot without copyright problems due to the NPE firmware.
I hope the patch applies, I get whitespace-related differences in the NPE
files due to trailing whitespace in the original versions.
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Andy Fleming [Thu, 17 Jan 2008 21:52:38 +0000 (15:52 -0600)]
Merge branch 'kumar'
TsiChungLiew [Tue, 15 Jan 2008 20:15:46 +0000 (14:15 -0600)]
ColdFire: MCF547x_8x - Add M5475EVB and M5485EVB support
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 20:02:49 +0000 (14:02 -0600)]
ColdFire: MCF547x_8x - Add M547xEVB and M548xEVB board
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 20:00:25 +0000 (14:00 -0600)]
ColdFire: Add MCF547x_8x FEC driver
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 19:54:09 +0000 (13:54 -0600)]
ColdFire: Add MCF547x_8x dma code and header files
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 19:52:03 +0000 (13:52 -0600)]
ColdFire: Add MCF547x_8x dma code - 2
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 19:48:52 +0000 (13:48 -0600)]
ColdFire: Add MCF547x_8x dma code - 1
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 19:39:44 +0000 (13:39 -0600)]
ColdFire: Add MCF547x_8x related header files
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Tue, 15 Jan 2008 19:37:34 +0000 (13:37 -0600)]
ColdFire: Add MCF547x_8x cpu arch
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:47:23 +0000 (17:47 -0600)]
ColdFire: Add MCF5227x cpu and M52277EVB support-3
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:46:19 +0000 (17:46 -0600)]
ColdFire: Add MCF5227x cpu and MCF52277EVB support-2
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:43:33 +0000 (17:43 -0600)]
ColdFire: Add MCF5227x cpu and M52277EVB support-1
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:35:44 +0000 (17:35 -0600)]
ColdFire: Fix CFI Flash low level Read/Write macro
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:23:08 +0000 (17:23 -0600)]
ColdFire: Add M5373EVB platform support - 2
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:19:54 +0000 (17:19 -0600)]
ColdFire: Add M5373EVB platform support - 1
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:17:03 +0000 (17:17 -0600)]
ColdFire: Update FlexBus CS for MCF532x
Definition update and change from 16bit to 32bit
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:11:47 +0000 (17:11 -0600)]
ColdFire: PCI and misc updates for MCF5445x
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 23:06:55 +0000 (17:06 -0600)]
ColdFire: MCF5445x header files cleanup
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 22:59:42 +0000 (16:59 -0600)]
ColdFire: MCF532x header files cleanup
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
TsiChungLiew [Mon, 14 Jan 2008 21:30:15 +0000 (15:30 -0600)]
ColdFire: Add modules header files
Add CF specific modules header files
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
Kim Phillips [Thu, 17 Jan 2008 18:48:00 +0000 (12:48 -0600)]
codingstyle cleanup for spi driver
..and rm unused CONFIG_FSL_SPI define
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Haiying Wang [Wed, 16 Jan 2008 22:12:12 +0000 (17:12 -0500)]
FSL: Fix common EEPROM_data structure definition
- Fix EEPROM_data structure definition according to System EEPROM Data Format.
- Read MAC addresses from EEPROM to ethXaddr before saving ethXaddr to
bd->bi_ethaddr.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Timur Tabi [Wed, 16 Jan 2008 21:48:12 +0000 (15:48 -0600)]
86xx: enable command-line editing
Enable command-line editing for all MPC86xx boards.
Signed-off-by: Timur Tabi <timur@freescale.com>
Ben Warren [Thu, 17 Jan 2008 03:37:42 +0000 (22:37 -0500)]
Implement hard SPI driver on MPC8349EMDS
This patch implements the fsl_spi driver on the MPC8349EMDS evaluation board.
This board has an ST M25P40 4Mbit EEPROM on its SPI bus
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Ben Warren [Thu, 17 Jan 2008 03:37:35 +0000 (22:37 -0500)]
Add support for a Freescale non-CPM SPI controller
This patch adds support for the SPI controller found on Freescale PowerPC
processors such as the MCP834x family. Additionally, a new config option,
CONFIG_HARD_SPI, is added for general purpose SPI controller use.
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Dave Liu [Thu, 17 Jan 2008 10:23:19 +0000 (18:23 +0800)]
mpc83xx: Fix the fatal conflict of merge
The commit
9e89647889cd4b5ada5b5e7cad6cbe55737a08d7
will cause the mpc8315erdb board can't boot up.
The patch fix that bug, and remove the duplicated #ifdef
CFG_SPCR_TSECEP code and clean the SCCR_TSEC2 for
MPC8313E processor.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Stefan Roese [Thu, 17 Jan 2008 15:04:12 +0000 (16:04 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Larry Johnson [Thu, 17 Jan 2008 13:50:09 +0000 (08:50 -0500)]
Merge Sequoia beautification into Korat code
Signed-off-by: Larry Johnson <lrj@acm.org>
Matthias Fuchs [Thu, 17 Jan 2008 06:45:05 +0000 (07:45 +0100)]
net: add 'ethrotate' environment variable
[PATCH] net: add 'ethrotate' environment variable
This patch replaces the buildtime configuration option
CONFIG_NET_DO_NOT_TRY_ANOTHER through the 'ethrotate' runtime
configuration veriable. See README.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Stefan Roese [Thu, 17 Jan 2008 13:29:04 +0000 (14:29 +0100)]
ppc4xx: Fix compilation warnings and coding style issues in HCU4/HCU5
Signed-off-by: Stefan Roese <sr@denx.de>
Nobuhiro Iwamatsu [Thu, 17 Jan 2008 09:07:32 +0000 (18:07 +0900)]
sh: Remove CONFIG_COMMANDS from MS7720SE config file
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Niklaus Giger [Wed, 16 Jan 2008 17:39:20 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU4 board: added various fixes and POST
- Moved some common code to netstal/common/nm_bsp.c.
- sdram initialisation goes go netstal/common/fixed_sdram.c.
- Added support for POST.
- Stylistic cleanups (multi-line comments/ enforce 80 colomn width)
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Niklaus Giger [Thu, 17 Jan 2008 11:53:56 +0000 (12:53 +0100)]
ppc4xx: netstal/common define routines used by all boards
Added some routines used by all Netstal boards:
- nm_bsp.c: - nm_show_print and
- common_misc_init_r
- set_params_for_sw_install. Very specific code to handle our SW
installation procedure
- fixed_sdram.c: Common routines for HCU4 (and upcoming) MCU25 boards
to handle sdram initialization.
- nm.h: Common header
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Niklaus Giger [Wed, 16 Jan 2008 17:39:18 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU5 board: added various fixes and POST
- Moved some common code to nestal/common/nm_bsp.c.
- Added support for the vxWorks EDR.
- Enable trace for Lauterbach, if present.
- Added support for POST.
- Stylistic cleanups (multi-line comments/ enforce 80 colomn width)
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Niklaus Giger [Wed, 16 Jan 2008 17:39:08 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU5 board. Added POST. Various fixes
- Various fixes
- Reduced rom_size from 384 to 320 kB
- Environment is now in flash
- Added POST
- Support for OF
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Niklaus Giger [Wed, 16 Jan 2008 17:37:50 +0000 (18:37 +0100)]
ppc4xx: Netstal HCU4 board. Added POST. Various fixes
- Various fixes
- Reduced rom_size from 384 to 320 kB
- Environment is now in flash
- Added POST
- Support for OF
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Matthias Fuchs [Thu, 17 Jan 2008 09:53:08 +0000 (10:53 +0100)]
ppc4xx: Complete DU440 board support
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Thu, 17 Jan 2008 09:52:30 +0000 (10:52 +0100)]
ppc4xx: Add DU440 board support
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Wolfgang Denk [Thu, 17 Jan 2008 08:35:26 +0000 (09:35 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Nobuhiro Iwamatsu [Thu, 17 Jan 2008 06:53:52 +0000 (15:53 +0900)]
sh: Update SuperH SCIF driver
This patch fixed wrong SH7720 CPU macro and changed macro that
calculated value of SCBRR register.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Grzegorz Bernacki [Wed, 16 Jan 2008 14:12:47 +0000 (15:12 +0100)]
Set ips dividor to 1/4 of csb clock.
Previous setting cause ips clock to be out of spec. This bug was found by John
Rigby from Freescale.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Kumar Gala [Thu, 17 Jan 2008 08:19:18 +0000 (02:19 -0600)]
85xx: Get ride of old TLB setup code
Now that all boards have been converted, remove old config code and the
config option for the new style.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 08:02:10 +0000 (02:02 -0600)]
85xx: Convert TQM85xx to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:56:32 +0000 (01:56 -0600)]
85xx: Convert STXGP3 & STXSSA to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:44:34 +0000 (01:44 -0600)]
85xx: Convert SBC8540/SBC8560/SBC8548 to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:31:34 +0000 (01:31 -0600)]
85xx: Convert PM854/PM856 to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:25:33 +0000 (01:25 -0600)]
85xx: Convert MPC8540EVAL to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:12:22 +0000 (01:12 -0600)]
85xx: Convert MPC8568 MDS to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 07:01:09 +0000 (01:01 -0600)]
85xx: Convert MPC8541/MPC8555/MPC8548 CDS to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 06:52:29 +0000 (00:52 -0600)]
85xx: Convert MPC8540/MPC8560 ADS to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 06:32:17 +0000 (00:32 -0600)]
85xx: Convert ATUM8548 to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 05:11:57 +0000 (23:11 -0600)]
85xx: Convert MPC8544 DS to new TLB setup
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 04:38:34 +0000 (22:38 -0600)]
85xx: Reworked initial processor init
Reworked the initial processor initialzation sequence:
* introduced cpu_early_init_f that is run in address space 1 (AS=1)
* Moved TLB/LAW and CCSR init into cpu_early_init_f()
* Reworked initial asm code to do most of the core init before TLBs
The main reasons for these changes are to allow handling of 36-bit phys
addresses in the future and some of the issues that will exist when we
do that.
There are a few caveats on what can be initialized via the LAW and TLB
static tables:
* TLB entry 14/15 can't be initialized via the TLB table
* any LAW that covers the implicit boot window (4G-8M to 4G) must map to
the code that is currently executing.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Jan 2008 04:33:22 +0000 (22:33 -0600)]
85xx: Introduce new tlb API
Add a set of functions to manipulate TLB entries:
* set_tlb() - write a tlb entry
* invalidate_tlb() - invalidate a tlb array
* disable_tlb() - disable a variable size tlb entry
* init_tlbs() - setup initial tlbs based on static table
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Stefan Roese [Thu, 17 Jan 2008 06:50:17 +0000 (07:50 +0100)]
ppc4xx: Fix remaining CONFIG_COMMANDS in 4xx files
Signed-off-by: Stefan Roese <sr@denx.de>
Kumar Gala [Wed, 16 Jan 2008 16:04:42 +0000 (10:04 -0600)]
85xx: Use proper defines for PCI addresses
We should be using the _MEM_PHYS for LAW and TLB setup and not _MEM_BASE.
While _MEM_BASE & _MEM_PHYS are normally the same, _MEM_BASE should only
be used for configuring the PCI ATMU.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 16 Jan 2008 15:22:29 +0000 (09:22 -0600)]
85xx: Remove old style of LAW init
All boards are now using the new fsl_law code so we can drop the old version.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 16 Jan 2008 15:15:29 +0000 (09:15 -0600)]
85xx: convert remaining 85xx boards over to use new LAW init code
Converted ATUM8548, MPC8568 MDS, MPC8540 EVAL, and TQM85xx boards over
to use new LAW init code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 16 Jan 2008 15:11:53 +0000 (09:11 -0600)]
85xx: convert STXGP3/STXSSA over to use new LAW init code
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 16 Jan 2008 15:06:48 +0000 (09:06 -0600)]
85xx: convert PM854/PM856 over to use new LAW init code
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 16 Jan 2008 15:05:27 +0000 (09:05 -0600)]
85xx: convert SBC8540/SBC8560/SBC8548 over to use new LAW init code
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>