summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ColdFire: MCF52x2 updateTsiChungLiew2007-08-16-1498/+369
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 update cacheTsiChungLiew2007-08-16-1/+1
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 header file clean upTsiChungLiew2007-08-16-1580/+1215
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 Update and cleanupTsiChungLiew2007-08-16-90/+100
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Merge branch 'denx-coldfire' into coldfire-aug2007John Rigby2007-08-16-235/+7594
|\
| * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-133452/+72437
| |\
| * | Coding style cleanupStefan Roese2007-08-08-59/+56
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | Port enabled for I2C signals and chipselects port configuration.TsiChungLiew2007-08-08-1/+10
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Added NAND supportTsiChungLiew2007-08-08-4/+317
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Added I2C supportTsiChungLiew2007-08-08-21/+117
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added ↵TsiChungLiew2007-08-08-1/+3
| | | | | | | | | | | | | | | | | | DECLARE_GLOBAL_DATA_PTR for time.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew2007-08-08-14/+25
| | | | | | | | | | | | | | | | | | from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Moved sync() from board file to include/asm-m68k/io.hTsiChungLiew2007-08-08-7/+7
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Declared attributes of void __mii_init(void) as an alias for int mii_init(void)TsiChungLiew2007-08-08-3/+5
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Renamed CONFIG_MCFSERIAL to CONFIG_MCFUARTTsiChungLiew2007-08-08-6/+4
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-07-20-1/+7
| |\ \
| * | | Coding style cleanupStefan Roese2007-07-16-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | Merge with /home/stefan/git/u-boot/u-boot-coldfire-freescaleStefan Roese2007-07-16-235/+7169
| |\ \ \
| | * \ \ Merge branch 'master' into u-boot-5329-earlyJohn Rigby2007-07-10-1423/+9620
| | |\ \ \
| | * | | | Cache update and added CFG_UNIFY_CACHETsiChung2007-07-10-38/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabled cache in cpu_init_f() for faster flash to mem allocation. Updated cache handling in start.S. Applied cache invalidate in fec_send() and fec_recv(). Added CFG_UNIFY_CACHE for CF V3 only. Signed-off-by: TsiChung <tcliew@Goku.(none)>
| | * | | | Update header file. Include dtimer_intr_setup(). Changed timer divider to ↵TsiChungLiew2007-07-10-56/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | global define. Include immap.h and timer.h. Moved dtimer interrupt setup to dtimer_intr_setup() from cpu/mcf532x/interrupts.c. Changed (CFG_CLK /1000000) -1 << 8 to CFG_TIMER_PRESCALER Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update header filesTsiChungLiew2007-07-10-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include immap.h and renamed mcfrtc.h to rtc.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Add mcffec_initialize()TsiChungLiew2007-07-10-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added mcffec_initialize() in eth_initialize() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update header file and clean upTsiChungLiew2007-07-10-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | New uart structure and definesTsiChungLiew2007-07-10-0/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seperated from mcfuart.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | New timer structure and definesTsiChungLiew2007-07-10-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seperated from mcftimer.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Rename mcfrtc to rtcTsiChungLiew2007-07-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it is already in m68k folder, un-necessary to pad mcf. Replaced immap_5329.h and m5329.h to immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Rename mcfserial.c. Update include headerTsiChungLiew2007-07-10-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed mcfserial.c to mcfuart.c. Modified Makefile for mcfuart.o from mcfserial.o. Replace immap_5329.h and m5329.h to immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Header file update, clean up and cache handlingTsiChungLiew2007-07-10-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced immap_5329.h and m5329.h with immap.h. Included cache_invalid. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Create interrupts.c and modify MakefileTsiChungLiew2007-07-10-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interrupt_init() and dtimer_intr_setup() are placed in interrupts.c. Added interrupts.o to Makefile Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Enable IcacheTsiChungLiew2007-07-10-39/+38
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update header file and some clean upTsiChungLiew2007-07-10-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced immap_5329.h and m5329.h with immap.h. Removed whitespaces. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update header file and enable icacheTsiChungLiew2007-07-10-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced immap_5329.h and m5329.h with immap.h. Enabled icache_enable() in cpu_init_r(). Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update header file and removed interrupt_init()TsiChungLiew2007-07-10-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace immap_5329.h and m5329.h with immap.h. Removed interrupt_init() and placed it in interrupts.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Update for flash.o and mii.oTsiChungLiew2007-07-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed flash.o and added mii.o Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | MII functions calls.TsiChungLiew2007-07-10-0/+304
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Removed MII functions and replaced immap_5329.h and m5329.h with immap.h.TsiChungLiew2007-07-10-282/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The removed MII routines will be placed in mii.c. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Duplicate codeTsiChungLiew2007-07-10-643/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a Common Flash Interface Driver existed. To use the CFI driver, define CFG_FLASH_CFI in configuration file. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Seperate old structure defines and new structure definesTsiChungLiew2007-07-10-144/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed new uart structure and defines to uart.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Seperate old structure defines and new structure definesTsiChungLiew2007-07-10-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New timer structure and defines will move to new timer.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Clean upTsiChungLiew2007-07-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed whitespace Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Clean upTsiChungLiew2007-07-10-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced whitespace with tabs Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Create new header file and move peripherals base address from configs file ↵TsiChungLiew2007-07-10-40/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to new header file. Create new header file to include immap_5xxx.h and m5xxx.h and to share among drivers without update in driver file each processor is added. Moved peripherals base address and defines from configs file to immap.h. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Revert file modeTsiChungLiew2007-07-10-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed MAKEALL file mode to executable, removed executable file mode from Makefile Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | | Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-188/+7629
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | fdt: suppress unused variable 'bd' warningKim Phillips2007-08-16-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | | | | Fix warnings from of_data copy fixAndy Fleming2007-08-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to cast of_flat_tree to ulong. Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | | Don't wait for disconnected TSECsAndy Fleming2007-08-16-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TSEC driver's PHY code waits a long time for autonegotiation to complete, even if the link is down. The PHY knows the link is down or up before autonegotiation completes, so we can short-circuit the process if the link is down. Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | | Fix numerous bugs in the 8568 UEC supportAndy Fleming2007-08-16-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually, fixed a large bug in the UEC for *all* platforms. How did this ever work? uec_init() did not follow the spec for eth_init(), and returned 0 on success. Switch it to return the link like tsec_init() (and 0 on error) The immap for the 8568 was defined based on MPC8568, rather than CONFIG_MPC8568 CONFIG_QE was off CONFIG_ETHPRIME was set to "Freescale GETH". Now is "FSL UEC0" Fixed a comment about the ranges for CONFIG_ETHPRIME if TSEC_ENET is enabled Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | | | | Define tsec flag values in config filesAndy Fleming2007-08-16-37/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tsec_info structure and array has a "flags" field for each ethernet controller. This field is the only reason there are settings. Switch to defining TSECn_FLAGS for each controller in the config header, and we can greatly simplify the array, and also simplify the addition of future boards. Signed-off-by: Andy Fleming <afleming@freescale.com>