summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* disable caches before booting an app for Blackfin appsMike Frysinger2008-04-13-20/+42
| | | | | | | | | | | | It isn't generally save to execute applications outside of U-Boot with caches enabled due to the way the Blackfin processor handles caches (requires software assistance). This patch disables caches before booting an ELF or just booting raw code. The previous discussion on the patch was that we wanted to use weaks instead, but that proved to not be feasible when multiple symbols are involved, which puts us back at the ifdef solution. I've minimized the ugliness by moving the setup step outside of the main function. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ppc: Get rid of unused machine type definitionsWolfgang Denk2008-04-13-73/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2008-04-13-294/+2133
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-04-13-148/+15461
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-04-13-30/+23
| |\
| | * cfi_flash: Support buffered writes on non-standard Spansion NOR flashGuennadi Liakhovetski2008-04-12-30/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit series require different addresses for buffered write commands. Define a configuration option to support buffered writes on those chips. A more elegant solution would be to automatically detect those chips by parsing their CFI records, but that would require introduction of a fixup table into the cfi_flash driver. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-04-13-6/+6
| |\ \
| | * | mpc83xx: Update DIMM data bus width test to support 40-bit widthLee Nipper2008-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32-bit wide ECC memory modules report 40-bit width. Changed the DIMM data bus width test to 'less than 64' instead of 'equal 32'. Signed-off-by: Lee Nipper <lee.nipper@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc83xx: Fix the bug of serdes initializationDave Liu2008-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the serdes will not be initializated due to the partid's error. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc83xx: Fix the SATA clock setting of 837x targetsDave Liu2008-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the SATA controller clock is configured as CSB clock, usually the CSB clock is 400/333/266MHz. However, The SATA IP block is only guaranteed to operate up to 200 MHz as stated in the HW spec. The bug is reported by Joe D'Abbraccio <ljd015@freescale.com> This patch makes the SATA clock as half of CSB clock. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb'Jean-Christophe PLAGNIOL-VILLARD2008-04-11-1/+1
| | |/ | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-04-13-3/+7
| |\ \
| | * | 85xx: Fix detection of MP cpu spin upKumar Gala2008-04-11-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were looking at the wrong memory offset to determine of a secondary cpu had been spun up or not. Also added a warning message if the all the secondary cpus we expect don't spin up. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | 85xx: Use SVR_SOC_VER instead of SVR_VERKumar Gala2008-04-11-2/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | The recent change introduced by 'Update SVR numbers to expand support' now requires that we use SVR_SOC_VER instead of SVR_VER if we want to compare against a particular processor id. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-04-13-27/+23
| |\ \
| | * | ppc4xx: Fix power mgt definitions for PPC440Eugene O'Brien2008-04-11-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | Corrected DCR addresses of PPC440EP power management registers. Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
| | * | ppc4xx: Update Kilauea defconfig to use device-tree booting as defaultStefan Roese2008-04-11-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch reworks the default environment on Kilauea/Haleakala. Now "net_nfs" for exmaple uses the device-tree style booting formerly know as "net_nfs_fdt". Also the addresses in RAM were changed because of the new image booting support, which check for image overwriting. So the addresses needed togeet adjusted. Signed-off-by: Stefan Roese <sr@denx.de>
| | * | ppc4xx: Fix Canyonlands default environment to work with new image supportStefan Roese2008-04-09-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the new image support checks for image overwriting, the default environment needs to get adjusted to use correct addresses. Signed-off-by: Stefan Roese <sr@denx.de>
| | * | ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASEStefan Roese2008-04-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch 70431e8a7393b6b793f77957f95b999fc9a269b8 (Make MPC83xx one step closer to full relocation.) doesn't use CFG_MONITOR_BASE anymore. But on 4xx systems _start currently cannot be used for this calculation. So revert back to the original version for now. Signed-off-by: Stefan Roese <sr@denx.de>
| * | | Merge branch 'master' of git://www.denx.de/git/u-boot-microblazeWolfgang Denk2008-04-13-80/+890
| |\ \ \
| | * | | microblaze: Sort microblaze boards in MAKEALL scriptMichal Simek2008-04-08-1/+1
| | | | |
| | * | | microblaze: clean microblaze_config.mkMichal Simek2008-04-08-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FLAGS are generated by U-BOOT generator. Board specific FLAGS are in board directory Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: xupv2p fix config file for supporting FDTMichal Simek2008-04-08-1/+5
| | | | |
| | * | | microblaze: ml401 fix config file for supporting FDTMichal Simek2008-04-08-5/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: ml401 - add ifdef for GPIOMichal Simek2008-04-08-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: clean uart16550 and uartlite handlingMichal Simek2008-04-08-8/+34
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: Add Emaclite driver to MakefileMichal Simek2008-04-08-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: Add Emac driver to MakefileMichal Simek2008-04-08-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: add Emac ethernet driverMichal Simek2008-04-08-0/+462
| | | | |
| | * | | microblaze: add Emaclite ethernet driverMichal Simek2008-04-08-0/+351
| | | | |
| | * | | microblaze: ML401 and XUPV2P remove emac and emaclite referenceMichal Simek2008-04-08-6/+18
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: remove old setting for emac driverMichal Simek2008-04-08-14/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| | * | | microblaze: Clean Makefile from ancient emac driverMichal Simek2008-04-08-32/+2
| | |/ / | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | | Merge branch 'master' of git://www.denx.de/git/u-boot-sparcWolfgang Denk2008-04-13-2/+14512
| |\ \ \ | | |_|/ | |/| |
| | * | SPARC/LEON2: added support for Gaisler simulator GRSIM/TSIM for SPARC/LEON2 ↵Daniel Hellstrom2008-04-08-1/+640
| | | | | | | | | | | | | | | | | | | | | | | | targets. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC/LEON3: added support for GR-CPCI-AX2000 FPGA AX board. The FPGA is ↵Daniel Hellstrom2008-04-08-1/+673
| | | | | | | | | | | | | | | | | | | | | | | | exchangeable but a standard LEON3 design is assumed. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC/LEON3: added support for Altera NIOS Development kit (STRATIX II ↵Daniel Hellstrom2008-04-08-1/+648
| | | | | | | | | | | | | | | | | | | | | | | | Edition) with GRLIB template design. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC/LEON3: added support for Gaisler GRSIM/TSIM2 SPARC/LEON3 simulatorn. ↵Daniel Hellstrom2008-04-08-1/+633
| | | | | | | | | | | | | | | | | | | | | | | | See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template ↵Daniel Hellstrom2008-04-08-1/+613
| | | | | | | | | | | | | | | | | | | | | | | | design. See www.gaisler.com for board information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC: Added support for SPARC LEON2 SOC Processor.Daniel Hellstrom2008-04-08-0/+2651
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It ↵Daniel Hellstrom2008-04-08-0/+314
| | | | | | | | | | | | | | | | | | | | | | | | can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC: Added support for SPARC LEON3 SOC processor.Daniel Hellstrom2008-04-08-1/+4792
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC: added SPARC support for new uimage in common code.Daniel Hellstrom2008-04-08-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC: added SPARC board information to the command bdinfo.Daniel Hellstrom2008-04-08-0/+39
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
| | * | SPARC: Added generic support for SPARC architecture.Daniel Hellstrom2008-04-08-1/+3510
| | |/ | | | | | | | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* | | LM73 bug fix for negative temperatures and cleanupLarry Johnson2008-04-13-30/+30
|/ / | | | | | | | | | | | | | | | | When the LM73 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 512 C too high. This patch fixes the problem, and does general cleanup of the code. Signed-off-by: Larry Johnson <lrj@acm.org>
* | Revert merge of git://www.denx.de/git/u-boot-arm, commit 62479b18:Wolfgang Denk2008-04-11-4013/+199
|/ | | | | | | | | | | | | | | | | | | | | | Reverting became necessary after it turned out that the patches in the u-boot-arm repo were modified, and in some cases corrupted. This reverts the following commits: 066bebd6353e33af3adefc3404560871699e9961 7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6 c88ae20580b2b01487b4cdcc8b2a113f551aee36 a147e56f03871bba4f05058d5e04ce7deb010b04 d6674e0e2a6a1f033945f78838566210d3f28c95 8c8463cce44d849e37744749b32d38e1dfb12e50 c98b47ad24b2d91f41c09a3d62d7f70ad84f4b7d 8bf69d81782619187933a605f1a95ee1d069478d 8c16cb0d3b971f46fbe77c072664c0f2dcd4471d a574a73852a527779234e73e17e7597fd8128882 1377b5583a48021d983e1fd565f7d40c89e84d63 1704dc20917b4f71e373e2c888497ee666d40380 Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-fdtWolfgang Denk2008-04-08-218/+90
|\
| * MPC8xx: Fix libfdt support introduced in commit 77ff7b74Jean-Christophe PLAGNIOL-VILLARD2008-04-02-10/+23
| | | | | | | | | | | | | | | | | | | | fdt.c: In function 'ft_cpu_setup': fdt.c:33: warning: implicit declaration of function 'do_fixup_by_prop_u32' fdt.c:39: warning: implicit declaration of function 'do_fixup_by_compat_u32' fdt.c:43: warning: implicit declaration of function 'fdt_fixup_ethernet' fdt.c:45: warning: implicit declaration of function 'fdt_fixup_memory' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Fix fdt set command to conform to dts specAndy Fleming2008-04-02-70/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fdt set command was treating properties specified as <00> and <0011> as byte streams, rather than as an array of cells. As we already have syntax for expressing the desire for a stream of bytes ([ xx xx ...]), we should use the <> syntax to describe arrays of cells, which are always 32-bits per element. If we imagine this likely (IMHO) scenario: > fdt set /ethernet-phy@1 reg <1> With the old code, this would create a bad fdt, since the reg cell would be made to be one byte in length. But the cell must be 4 bytes, so this would break mysteriously. Also, the dts spec calls for constants inside the angle brackets (<>) to conform to C constant standards as they pertain to base. Take this scenario: > fdt set /ethernet@f00 reg <0xe250000\ 0x1000> The old fdt command would complain that it couldn't parse that. Or, if you wanted to specify that a certain clock ran at 33 MHz, you'd be required to do this: > fdt set /mydev clock <1f78a40> Whereas the new code will accept decimal numbers. While I was in there, I extended the fdt command parser to handle property strings which are split across multiple arguments: > fdt set /ethernet@f00 interrupts < 33 2 34 2 36 2 > > fdt p /ethernet@f00 ethernet@f00 { interrupts = <0x21 0x2 0x22 0x2 0x24 0x2>; }; Lastly, the fdt print code was rearranged slightly to print arrays of cells if the length of the property is a multiple of 4 bytes, and to not print leading zeros. Signed-off-by: Andy Fleming <afleming@freescale.com>