summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* LM75 bug fix for negative temperaturesLarry Johnson2008-02-22-1/+7
| | | | | | | | When the LM75 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 256 C too high. This patch fixes the problem. Signed-off-by: Larry Johnson <lrj@acm.org>
* IDS8247: update MAINTAINER entry.Heiko Schocher2008-02-22-1/+1
| | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* Fix device tree for mgsuvd board.Heiko Schocher2008-02-22-1/+1
| | | | | | Rename the "scc" node in "ethernet" for the mgsuvd board. Signed-off-by: Heiko Schocher <hs@denx.de>
* lwmon5: enable hardware watchdogYuri Tikhonov2008-02-22-5/+12
| | | | | | | | | | | | | Some boards (e.g. lwmon5) may use rather small watchdog intervals, so causing it to reboot the board if U-Boot does a long busy-wait with udelay(). Thus, for these boards we have to restart WD more frequently. This patch splits the busy-wait udelay() into smaller, predefined, intervals, so that the watchdog timer may be resetted with the configurable (CONFIG_WD_PERIOD) interval. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* ppc4xx: Support for ATI Radeon 9200 card on sequoiaAnatolij Gustschin2008-02-22-1/+25
| | | | | | | | Adds configuration option for ATI Radeon 9200 card support to sequoia config file. If CONFIG_VIDEO is enabled, TEXT_BASE should be changed to 0xFFF80000. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-22-116/+110
|\
| * 8610HPCD: Document the flashbank selection switches.Jon Loeliger2008-02-20-0/+6
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 86xx: Fix GUR PCI config registers properly.Jon Loeliger2008-02-20-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in commit 975a083a5ef785c414b35f9c5b8ae25b26b41524 where I tried to "8610HPCD: Fix typos in two PCI setup registers", I botched it due to not realizing that 8610 and 8641 had different Global Utility Register defintions, one of which was like 85xx, and the other wasn't. Correct this problem by introducing two symbols, one for each 86xx SoC, but neither of which is named anything like 85xx. My bad. Lovely Wednesday with git bisect. You know. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Don't use VIDEO/CFB_CONSOLE by default.Jon Loeliger2008-02-20-1/+1
| | | | | | | | | | | | | | | | Without an actual supported video card hooked up, enabling the CONFIG_VIDEO by default just makes it look broken by routing all console output to the video card. Don't. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Fix typos in two PCI setup registers.Jon Loeliger2008-02-19-5/+2
| | | | | | | | | | | | | | | | | | The two symbols MPC86xx_PORDEVSR_IO_SEL and MPC86xx_PORBMSR_HA were erroneously present as 85xx names and values, leftover from the clone wars. Fix this by removing the 85xx cruft from the 86xx codebase. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 86xx: Convert sbc8641d to use libfdt.Jon Loeliger2008-02-18-102/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the proper fix for a missing closing brace in the function ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com. The ft_cpu_setup() function in mpc8641hpcn.c should have been removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE, but was missed. Only, the sbc8641d was nominally still using it. It all got ripped out, and the funcality that was in ft_board_setup() was refactored to remove the CPU portions into the new file cpu/mpc86xx/fdt.c instead. Make sbc8641d use this now. Based loosely on an original patch from joe.hamman@embeddedspecialties.com Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * mpc86xx: Fix unused variable 'config' and 'immap'Jean-Christophe PLAGNIOL-VILLARD2008-02-18-4/+6
| | | | | | | | | | | | and remove useless CONFIG_DDR_INTERLEAVE Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * mpc86xx: Fix implicit declaration of functions 'init_laws' and 'disable_law'Jean-Christophe PLAGNIOL-VILLARD2008-02-18-0/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-02-22-1/+6
|\ \
| * | CFI: Do not use uninitialized cmd_resetMichael Schwingen2008-02-21-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use uninitialized cmd_reset; issue both AMD and Intel reset commands instead From a short test, it looks like AMD-style flash roms treat *any* unknown command write as a reset, at least when in CFI Query mode, so issuing the Intel reset command to AMD-style flashs seems safe (from the small sample I have), plus the 3-cycle magic sequence should kick the state machine into the right state even without a reset command. Since the AMD-style flashs require the unlock sequence for real operation, I chose to try the AMD reset command first, so that Intel flashs do no see an invalid command prior to the CFI query. I have tested the patch on AM29LV320-style flashs from Fujitsu and Macronix, plus Intel StrataFlash. Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Stefan Roese <sr@denx.de>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-freebsdWolfgang Denk2008-02-22-0/+51
|\ \ \
| * | | API: Add (c) and licensing notice to the public API header.Rafal Jaworowski2008-02-21-0/+51
| | |/ | |/| | | | | | | Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2008-02-22-2/+2
|\ \ \
| * | | ColdFire: Fix missing code flash size for M5485EVBTsiChungLiew2008-02-20-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: James Mahan <kmahan@freescale.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| * | | ColdFire: Fix 5282 and 5271 interrupt mask bitTsiChungLiew2008-02-20-1/+1
| |/ / | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-22-2/+0
| | | | | | | | | | | | | | | | | | | | | A few duplicate of the ARRAY_SIZE macro sneaked in since we put the define in common.h. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | ppc: Allow boards to specify effective amount of memoryKumar Gala2008-02-22-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capable of doing up to 2G). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | include autoconf.mk before any other .mk filesMike Frysinger2008-02-22-3/+3
| | | | | | | | | | | | | | | | | | | | | This bumps the autoconf.mk include step above board/cpu/arch/etc... so that those .mk files can have make if statements based on the current config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | error check autoconf.mk generationMike Frysinger2008-02-22-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | If any of the steps for generating autoconf.mk fail currently, they go unnoticed. To fix, we can simply add 'set -e' to the long list of commands. This is simpler and more robust than placing '|| exit $$?' after every line. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | Fix bug in dependency checkingStefano Babic2008-02-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | By adding VERSION_FILE to the PHONY targets the script /tools/setlocalversion is always called and version_autogenerated.h is replaced only if the script find a modified source file. Signed-off-by: Stefano Babic <sbabic@denx.de>
* | | Fix GPMC CS2 memory setup at apollonKyungmin Park2008-02-22-0/+2
| | | | | | | | | | | | | | | | | | It disables the current map first Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* | | uli526x: Fix multiple differ in signedness and parentheses around comparisonJean-Christophe PLAGNIOL-VILLARD2008-02-22-5/+5
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | MIPS: Fix CFG_NO_FLASH supportJean-Christophe PLAGNIOL-VILLARD2008-02-22-46/+12
| | | | | | | | | | | | | | | | | | | | | - Fix flash_init call when CFG_NO_FLASH is used - Remove no more needed flash.c for qemu-mips Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | easylogo: clean up some more and add -r (rgb) supportMike Frysinger2008-02-22-54/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Michael Hennerich added support for outputting an image in RGB format rather than forcing YUYV all the time. This makes obvious sense if the display you have takes RGB input rather than YUYV. Rather than hack in support for options, I've converted it to use getopt and cleaned up the argument parsing in the process. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | | Makefile: add target for $(LDSCRIPT)Mike Frysinger2008-02-22-0/+3
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | If the $(LDSCRIPT) does not exist (normally it's board/$(BOARD)/u-boot.lds), then change into the board directory and try and create it. This allows you to generate the linker script on the fly based upon board defines (like the Blackfin boards do). There should be no regressions due to this change as the normal case is to already have a u-boot.lds file. If that's the case, then there's nothing to generate, and so make will always exit. The fix here is that if the linker script does not exist, the implicit rules take over and attempt to guess how to generate the file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Fix CPU POST test failureYuri Tikhonov2008-02-21-0/+3
|/ | | | | | | | | | | | The CPU POST test code (run from cpu_post_exec_31()) doesn't follow the ABI carefully, at least the CR3, CR4, and CR5 fields of CR are clobbered by it. The gcc-4.2 with its more aggressive optimization exposes this fact. This patch just saves the CR value before running the test code, so allowing it to do anything it wants with CR. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Acked-by: Yuri Tikhonov <yur@emcraft.com> --
* s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* pxa: fix assignment from incompatible pointer typeJean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+1
| | | | | | fix mmc_bread function prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91cap9adk: fix implicit declaration of function 'eth_init'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Remove files added by mistake, update CHANGELOG.Wolfgang Denk2008-02-17-0/+206
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* PPC440EPx: Optionally enable second I2C busMike Nuss2008-02-16-1/+4
| | | | | | | | | The option CONFIG_I2C_MULTI_BUS does not have any effect on Sequoia, the PPC440EPx reference platform, because IIC1 is never enabled. Add Sequoia board code to turn on IIC1 if CONFIG_I2C_MULTI_BUS is selected. Signed-off-by: Mike Nuss <mike@terascala.com> Cc: Stefan Roese <sr@denx.de>
* ppc4xx: HCU4/5. Cleanup configsNiklaus Giger2008-02-16-46/+27
| | | | | | | | | - hcu4.h: Removed define of CONFIG_PPC405GPr - Corrected phy addresses - Fix boot variables - Respect line length of 80 chars Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: HCU4/5. CleanupsNiklaus Giger2008-02-16-81/+70
| | | | | | | | | | | - Fix some coding style violations. - Use in/out_u16/32 where appropriate. - Use register names from ppc405.h. - Fix trace useage for Lauterbach. - Remove obsolete generation HCU2. - Renamed fixed_hcu4_sdram to init_ppc405_sdram. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: PPC405GPr fix missing register definitionsNiklaus Giger2008-02-16-0/+8
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: Beautify configuration files for Sequoia and Korat boardsLarry Johnson2008-02-16-235/+237
| | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-02-16-1545/+2990
|\
| * Merge branch '080208_dupint' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1448/+19
| |\
| | * ARM: cleanup duplicated exception handlingcodeAndreas Engel2008-02-14-1448/+19
| | | | | | | | | | | | | | | | | | Move duplicated exception handling code into lib_arm. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
| * | Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1/+1
| |\ \
| | * | Move AT91RM9200DK board support under board/atmelHaavard Skinnemoen2008-02-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We already have a vendor subdir for Atmel, so we should use it. Signed-off-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
| * | | Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1/+985
| |\ \ \
| | * | | Support for Artila M-501 starter kitTimo Tuunainen2008-02-14-1/+985
| | | |/ | | |/| | | | | | | | | | | | | Kimmo Leppala / Sysart and Timo Tuunainen / Sysart
| * | | Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-26/+1944
| |\ \ \
| | * | | AT91CAP9 supportStelian Pop2008-02-14-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --------------------------------- read_dataflash() takes a signed char pointer as a parameter. Silence a few warnings dues to incorrect parameter types in env_dataflash.c. Signed-off-by: Stelian Pop <stelian@popies.net>
| | * | | AT91CAP9 support : move board files to Atmel vendor directory.Stelian Pop2008-02-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AT91CAP9 support : move at91cap9adk board files to Atmel vendor directory. Signed-off-by: Stelian Pop <stelian@popies.net>