summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Add PCI support for MPC8568MDS boardHaiying Wang2007-08-14-38/+98
| | | | | | | This patch is against u-boot-mpc85xx.git of www.denx.com Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
* Empirically set cpo and clk_adjust for mpc85xx DDR2 supportHaiying Wang2007-08-14-5/+7
| | | | | | | | | | | | | | This patch is against u-boot-mpc85xx.git of www.denx.com Setting cpo to 0x9 for frequencies higher than 333MHz is verified on both MPC8548CDS board and MPC8568MDS board, especially for supporting 533MHz DDR2. Setting clk_adjust to 0x6(3/4 late cycle) for MPC8568MDS board is for DDR2 on all current board versions especially ver 1.92 or later to bring up. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* Use an absolute address when jumping out of 4k boot pageKumar Gala2007-08-14-29/+24
| | | | | | | On e500 when we leave the 4k boot page we should use an absolute address since we don't know where the board code may want us to be really running at. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* MPC85xx BA bits not set for 3-bit bank address DIMMAndy Fleming2007-08-14-1/+6
| | | | | | | | | | The current implementation does not set the number of bank address bits (BA) in the processor. The default assumes 2 logical bank bits. This works fine for a DIMM that uses devices with 4 internal banks (SPD byte17 = 0x4) but needs to be set appropriately for a DIMM that uses devices with 8 internal banks (SPD byte17 = 0x8). Signed-off-by: Greg Davis <DavisG@embeddedplanet.com>
* Fix minor 85xx warningsAndy Fleming2007-08-14-4/+7
| | | | | | | | | | | Some patches had inserted warnings into the build: * mpc8560ads declared data without using it * cpu_init declared ecm and immap without using it in all CONFIGs * MPC8548CDS.h had its default filenames changed so that they contained "\m" in the paths. Made the defaults not Windows-specific (or anything-specific) Signed-off-by: Andy Fleming <afleming@freescale.com>
* 8548cds PCIE support.Ed Swarthout2007-08-14-221/+522
| | | | | | | | | | | | | | | | | | | | Make the early L1 cache stack region guarded to prevent speculative fetches outside the locked range. Use _PHYS defines, not _MEM for cpu-side PCI memory mapped regions. init.S whitespace cleanup. Allow TEXT_BASE value to be specified on command line. This allows it to be set to 0xfffc0000 which cuts the uboot binary in half. Clear and enable lbc and ecm errors. Update last_busno in device-tree for pci and pcie. Remove load of obsolete cpu/mpc85xx/pci.0 Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* 8544ds PCIE supportEd Swarthout2007-08-14-60/+468
| | | | | | | | | | | | | | | | | | PCI1 LAW mapping should use CFG_PCI1_MEM_PHY and not _BASE address. Enable LBC and ECM errors and clear error registers. Add tftpflash env var to get uboot from tftp server and flash it. Add pci/pcie convenience env vars to display register space: "run pcie3regs" to see all pcie3 ccsr registers "run pcie3cfg" to see all cfg registers Whitespace cleanup and MPC8544DS.h Enable CONFIG_INTERRUPTS. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* 85xx start.S cleanup and exception supportAndy Fleming2007-08-14-302/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | From: Ed Swarthout <Ed.Swarthout@freescale.com> Support external interrupts from platform to eliminate system hangs. Define CONFIG_INTERRUPTS board configure option to enable. Enable ecm, ddr, lbc, and pci/pcie error interrupts in PIC. Remove extra cpu initialization redundant with hardware initialization. Whitespace cleanup. Define and use _START_OFFSET consistent with other processors using ppc_asm.tmpl Move additional code from .text to boot page to make room for exception vectors at start of image. Handle Machine Check, External and Critical exceptions. Fix e500 machine check error determination in traps.c TEXT_BASE can now be 0xfffc_0000 - which cuts binary image in half. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* Add MPC8544DS READMEAndy Fleming2007-08-14-0/+122
| | | | Signed-off-by: Andy Fleming <afleming@freescale.com>
* 85xx allow debugger to configure ddr.Ed Swarthout2007-08-14-3/+45
| | | | | | | Only check for mpc8548 rev 1 when compiled for 8548. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* mpc85xx L2 cache reporting and SRAM relocation option.Ed Swarthout2007-08-14-18/+47
| | | | | | | | Allow debugger to override flash cs0/cs1 settings to enable alternate boot regions Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* e500 needs ppc_asm.tmp MCK_EXCEPTIONEd Swarthout2007-08-14-2/+0
| | | | | | | Always define MCK_EXCEPTION macro - so e500 can use it too. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
* Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk2007-08-13-137/+1538
|\
| * Merge commit 'remotes/wd/master'Jon Loeliger2007-08-13-841/+7772
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: MAKEALL With any luck, this is the last MAKEALL merge conflict!
| * | Modify SBC8641D to use new Freescale PCI routinesJoe Hamman2007-08-13-40/+125
| | | | | | | | | | | | | | | | | | | | | | | | PCI-Express sockets 1 and 2 verified working with Intel Pro/1000 PT adapter. Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com> Signde-off-by: Jon Loeliger <jdl@freescale.com>
| * | Add support for SBC8641D. Config files.Joe Hamman2007-08-10-0/+634
| | | | | | | | | | | | | | | | | | | | | | | | Add support for Wind River's SBC8641D reference board. Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Jon Loeliger <jdl@freescale.com>
| * | Add support for SBC8641D. Board files.Joe Hamman2007-08-10-0/+735
| | | | | | | | | | | | | | | | | | | | | | | | Add support for Wind River's SBC8641D reference board. Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Jon Loeliger <jdl@freescale.com>
| * | fsl_pci_init cleanup.Ed Swarthout2007-08-10-32/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not enable normal errors created during probe (master abort, perr, and pcie Invalid Configuration access). Add CONFIG_PCI_NOSCAN board option to prevent bus scan. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
| * | pciauto_setup_device bars_num fixEd Swarthout2007-08-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Passing bars_num=0 to pciauto_setup_device should assign no bars. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Acked-by: Andy Fleming <afleming@freescale.com>
| * | 8641hpcn: Do correct sized pointer math.Jon Loeliger2007-08-10-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | When I rebased Ed's patch and cleaned up a few compilation problems, I apparently rebased my brain on crack first. Fix that by doing (char *) sized pointer math as needed. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | cpu/86xx fixes.Jon Loeliger2007-08-10-102/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove rev 1 fixes. Always set PICGCR_MODE. Enable machine check and provide board config option to set and handle SoC error interrupts. Include MSSSR0 in error message. Isolate a RAMBOOT bit of code with #ifdef CFG_RAMBOOT. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | Minor coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-13-46/+86
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | atmel_mci: Fix data timeout valueHaavard Skinnemoen2007-08-13-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | Calculate the data timeout based on values from the CSD instead of just using a hardcoded DTOR value. This is a backport of a similar fix in BSP 2.0, with one additional fix: the DTOCYC value is rounded up instead of down. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | | AVR32: Include <div64.h> instead of <asm/div64.h>Haavard Skinnemoen2007-08-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/asm-avr32/div64.h was recently moved to include/div64.h, but cpu/at32ap/interrupts.c wasn't properly updated (an earlier version of the patch was merged perhaps?) This patch updates cpu/at32ap/interrupts.c so that the avr32 port compiles again. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | | Merge commit 'upstream/master'Haavard Skinnemoen2007-08-13-122977/+60275
|\ \ \ | | |/ | |/|
| * | Update CHANGELOGWolfgang Denk2007-08-12-0/+1038
| | |
| * | Minor alignment of output, 2nd try.Wolfgang Denk2007-08-12-2/+2
| | | | | | | | | | | | | | | | | | Also update CHANGELOG Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Minor alignment of outputWolfgang Denk2007-08-12-2/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup output on ADS5121 boardWolfgang Denk2007-08-12-2/+0
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk
| * | Merge with git+ssh://gemini_vpn/home/wd/git/u-boot/masterWolfgang Denk2007-08-12-16/+52
| |\ \
| | * | Adapt board configuration and fix kernel crash on MCC200 board.Wolfgang Denk2007-08-12-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The update procedure was modified to turn off the USB subsystem before exit for MCC200 and TRAB. This is necessary as otherwise the USB controller continues to write periodically to system memory! MCC200-specific notes: - the patch disables the magic key check for MCC200 - the patch contains the configuration changes made for the new revision of the board. Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | Adjust default configuration of ADS5121 board.Wolfgang Denk2007-08-12-28/+18
| | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | Clean up some remaining CFG_CMD_ -> CONFIG_CMD_ issues.Wolfgang Denk2007-08-12-41/+34
| |/ / | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Merge with /home/wd/git/u-boot/custodian/u-boot-fdtWolfgang Denk2007-08-11-453/+689
| |\ \
| | * | Improve error print messages.Gerald Van Baren2007-08-10-31/+21
| | | | | | | | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | fdt: allow for builds that don't want env and bd_t nodesKim Phillips2007-08-10-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | protect fdt_env and fdt_bd_t invocations, fix codingstyle while in the area. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | fdt: do board setup based on fdt address specified on bootm lineKim Phillips2007-08-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last fdt patch to bootm did board setup based on the address specified by a prior fdt address command invocation. The bootm code, as its call to fdt_chosen does, should use the fdt specified by the user on the bootm command. Note this restores full functionality for the 8360's existing default boot environment values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr' before booting a kernel). Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | Call ft_board_setup() from the bootm command.Gerald Van Baren2007-08-10-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the patch titled "Create new fdt boardsetup command..." I removed the call to ft_board_setup() from the routine fdt_chosen(), but I forgot to add a direct call back into cmd_bootm.c This fixes the oversight by adding the direct call to the bootm command. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Create new fdt boardsetup command, fix bug parsing [] form of set values.Gerald Van Baren2007-08-10-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setup() out by creating a new fdt boardsetup command. Fix a bug when parsing fdt set command values which have the square bracket form [00 11 22 33] - the length was updated incorrectly in when parsing that form. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Tighten up the error messages.Gerald Van Baren2007-08-10-22/+11
| | | | | | | | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Asthetic improvements: error messages and line lengths.Gerald Van Baren2007-08-10-65/+61
| | | | | | | | | | | | | | | | | | | | | | | | Tighten up the error messages, split overlength lines. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Fix fdt_chosen() to call ft_board_setup(), clean up long lines.Gerald Van Baren2007-08-10-39/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fdt_chosen() function was adding/seting some properties ad-hoc improperly and duplicated (poorly) what was done in ft_board_setup() Clean up long lines (setting properties, printing errors). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | For fdt_find_node_by_path(), handle the root path properly.Gerald Van Baren2007-08-10-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removes the special case root path detection in cmd_fdt.c since it is no longer necessary. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Add fdt_find_node_by_type() and fdt_find_compatible_node() to LIBFDTGerald Van Baren2007-08-10-18/+149
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Replace fdt_node_offset() with fdt_find_node_by_path().Gerald Van Baren2007-08-10-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new name matches more closely the kernel's name, which is also a much better description. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Fix cmd_fdt line lengths, refactor code.Gerald Van Baren2007-08-10-187/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break lines that were greater than 80 characters in length. Move the fdt print and property parsing code to separate static functions to reduce coding clutter in the fdt_cmd handling body. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | FDT command improvements.Gerald Van Baren2007-08-10-128/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix "fdt set" so that it will create a non-existing property. Add "fdt mknode" to create nodes. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Reorganize and fix problems (returns) in the bootm command.Gerald Van Baren2007-08-10-66/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do *NOT* return after the "point of no return" has been passed. If something goes wrong, the board must be reset after that point. Move the "Transferring control to Linux" debug message back to where it belongs: just before transferring control to linux. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Fix bugs in the CONFIG_OF_LIBFDTGerald Van Baren2007-08-10-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Stupid coding mistakes (identified by Timur Tabi, thanks). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Improve fdt move length handling.Gerald Van Baren2007-08-10-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the length parameter optional: if not specified, do the move using the current size unchanged. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>