summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
| | | * | | 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>
| * | | | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-08-18-26/+36
| |\ \ \ \ \ \ \
| | * | | | | | | Add CONFIG_HAS_ETH0 to all boards with TSECAndy Fleming2007-08-16-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 85xx code now relies on CONFIG_HAS_ETH0 to determine whether to update TSEC1's device-tree node, so we need to add it to all the boards with TSECs. Do this for 83xx and 86xx, too, since they will eventually do something similar. Signed-off-by: Andy Fleming <afleming@freescale.com>
| | * | | | | | | Update MPC8544 DS PCI memory mapKumar Gala2007-08-16-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PCIe bus that the ULI M1575 is connected to has no possible way of needing more than the fixed amount of IO & Memory space needed by the ULI. So make it use far less IO & memory space and have it use the shared LAW. This free's up a LAW for PCIe1 IO space. Also reduce the amount of IO space needed by each bus. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | | | | | | Fix up some fdt issues on 8544DSKumar Gala2007-08-16-7/+1
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like we had a merge issue that duplicated a bit of code in ft_board_setup. Also, we need to set CONFIG_HAS_ETH0 to get the MAC address properly set in the device tree on boot for TSEC1 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | | | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xxWolfgang Denk2007-08-18-273/+474
| |\ \ \ \ \ \ \
| | * | | | | | | mpc83xx: fix typo in DDR2 programmingKim Phillips2007-08-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | introduced in the implement board_add_ram_info patch as I was cleaning out the magic numbers. sorry. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: move freescale boards to boards/freescaleKim Phillips2007-08-16-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes build fixes. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: suppress unused variable 'val8' warningKim Phillips2007-08-16-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: implement board_add_ram_infoKim Phillips2007-08-16-45/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add board_add_ram_info, to make memory diagnostic output more consistent. u-boot banner output now looks like: DRAM: 256 MB (DDR1, 64-bit, ECC on) and for boards with SDRAM on the local bus, a line such as this is added: SDRAM: 64 MB (local bus) also replaced some magic numbers with their equivalent define names. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card supportTony Li2007-08-16-84/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch split the PIB init code from pci.c to a single file board/freescale/common/pq-mds-pib.c And add Qoc3 ATM card support for MPC8360EMDS and MPC832XEMDS board. Signed-off-by Tony Li <tony.li@freescale.com>
| | * | | | | | | mpc83xx: enable libfdt by default on freescale boardsKim Phillips2007-08-15-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this enables libfdt code by default for the freescale mpc8313erdb, mpc832xemds, mpc8349emds, mpc8349itx and gp boards. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: migrate remaining freescale boards to libfdtKim Phillips2007-08-15-48/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this adds libfdt support code for the freescale mpc8313erdb, mpc832xemds, mpc8349emds, mpc8349itx, and gp boards. Boards remain compatible with OF_FLAT_TREE. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: move common /memory node update mechanism to cpu.cKim Phillips2007-08-15-60/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also adds common prototypes to include/common.h. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: remaining 8360 libfdt fixesKim Phillips2007-08-15-22/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCI clocks and QE frequencies weren't being updated, and the core clock was being updated incorrectly. This patch also adds a /memory node if it doesn't already exist prior to update. plus some cosmetic trimming to single line comments. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: fix UEC2->1 typo in libfdt setup codeKim Phillips2007-08-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | mpc83xx: add MAINTAINER and MAKEALL entries for the mpc8323erdbKim Phillips2007-08-15-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and reorder the existing 83xx maintainers alpha. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | | | | | | | Merge with git+ssh://gemini_vpn/home/wd/git/u-boot/masterWolfgang Denk2007-08-18-19/+9
| |\ \ \ \ \ \ \ \
| | * | | | | | | | lib_ppc: make board_add_ram_info weakKim Phillips2007-08-18-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platforms wishing to display RAM diagnostics in addition to size, can do so, on one line, in their own board_add_ram_info() implementation. this consequently eliminates CONFIG_ADD_RAM_INFO. Thanks to Stefan for the hint. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | | | | | | PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bugShinya Kuribayashi2007-08-18-1/+3
| | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been sent on: - 6 Jun 2007 Many users of PCI config read routines tend to ignore the function ret value, and are only concerned about the contents of *val. Based on this, pci_hose_read_config_{byte,word}_via_dword should initialize the *val on dword read error. Without this fix, for example, we'll go on scanning bus with vendor or header_type uninitialized. This brings many unnecessary config trials. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
| * | | | | | | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-16-551/+1051
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | 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>