summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* 8xx: Update OF support on 8xxBryan O'Donoghue2008-03-25-13/+76
| | | | | | This patch does some shifting around of OF support on 8xx. Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
* ppc: Allow boards to specify how much memory they can mapKumar Gala2008-03-25-0/+11
| | | | | | | | 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 capble of doing up to 2G). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* 8xx : Add OF support to Adder875 board port - resubmitBryan O'Donoghue2008-03-25-0/+17
| | | | Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
* Add setexpr commandKumar Gala2008-03-25-0/+72
| | | | | | | | Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* lwmon5 SYSMON POST: fix backlight controlYuri Tikhonov2008-03-25-1/+4
| | | | | | | | | | | | If the LWMON5 config has SYSMON POST among CONFIG_POSTs which may be run on the board, then the SYSMON POST controls the display backlight (doesn't switch backlight ON if POST FAILED, and does switch the backlight ON if PASSED). If not, then the video driver controls the display backlight (just switch ON the backlight upon initialization). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* lwmon5 SYSMON POST: fix handling of negative temperaturesYuri Tikhonov2008-03-25-24/+36
| | | | | | Fix errors in the LWMON5 Sysmon POST for negative temperatures. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* Merge branch 'master' of /home/wd/git/u-boot/master/Wolfgang Denk2008-03-25-229/+389
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-tq-groupWolfgang Denk2008-03-23-5/+16
| |\
| | * TQM5200B: update MTD partition layoutMartin Krause2008-03-19-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | - insert partition for dtb blob to TQM5200B MTD layout - set env variables dependent on the configured board (TQM5200 or TQM5200B) Signed-off-by: Martin Krause <martin.krause@tqs.de>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk2008-03-23-1/+44
| |\ \
| | * | CFI: Small cleanup for FLASH_SHOW_PROGRESSStefan Roese2008-03-19-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch we don't need that many #ifdef's in the code. It moves the subtraction into the macro and defines a NOP-macro when CONFIG_FLASH_SHOW_PROGRESS is not defined. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
| | * | Flash programming progress countdown.Jerry Van Baren2008-03-19-1/+48
| | |/ | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-fdtWolfgang Denk2008-03-23-204/+305
| |\ \
| | * \ Merge git://www.denx.de/git/u-boot into ubootGerald Van Baren2008-03-21-63/+1170
| | |\ \
| | * | | libfdt: Remove no longer used code from fdt_node_offset_by_compatible()David Gibson2008-03-18-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since fdt_node_offset_by_compatible() was converted to the new fdt_next_node() iterator, a chunk of initialization code became redundant, but was not removed by oversight. This patch cleans it up. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | libfdt: Trivial cleanup for CHECK_HEADER)David Gibson2008-03-18-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the CHECK_HEADER() macro is defined local to fdt_ro.c. However, there are a handful of functions (fdt_move, rw_check_header, fdt_open_into) from other files which could also use it (currently they open-code something more-or-less identical). Therefore, this patch moves CHECK_HEADER() to libfdt_internal.h and uses it in those places. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | Fix fdt boardsetup command parsingKumar Gala2008-03-18-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The introduciton of the 'fdt bootcpu' broke parsing for 'fdt boardsetup'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | | Add sub-commands to fdtKumar Gala2008-03-18-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt header - Display header info fdt bootcpu <id> - Set boot cpuid fdt memory <addr> <size> - Add/Update memory node fdt rsvmem print - Show current mem reserves fdt rsvmem add <addr> <size> - Add a mem reserve fdt rsvmem delete <index> - Delete a mem reserves Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | | libfdt: Fix NOP handling bug in fdt_add_subnode_namelen()David Gibson2008-03-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt_add_subnode_namelen() has a bug if asked to add a subnode to a node which has NOP tags interspersed with its properties. In this case fdt_add_subnode_namelen() will put the new subnode before the first NOP tag, even if there are properties after it, which will result in an invalid blob. This patch fixes the bug, and adds a testcase for it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | libfdt: Add and use a node iteration helper function.David Gibson2008-03-18-174/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an fdt_next_node() function which can be used to iterate through nodes of the tree while keeping track of depth. This function is used to simplify the iteration code in a lot of other functions, and is also exported for use by library users. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | | libfdt: Add fdt_set_name() functionDavid Gibson2008-03-18-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an fdt_set_name() function to libfdt, mirroring fdt_get_name(). This is a r/w function which alters the name of a given device tree node. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| * | | | Merge branch 'master' of /home/wd/git/u-boot/workWolfgang Denk2008-03-22-1/+2
| |\ \ \ \ | | |_|/ / | |/| | |
| * | | | lwmon5 POST: remove unreachable codeWolfgang Denk2008-03-20-19/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | plus some coding style cleanup Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | | | pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config optionNobuhiro Iwamatsu2008-03-23-3/+10
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In current source code, when the device number of PCI is 0, process PCI bridge without fail. However, when the device number is 0, it is not PCI always bridge. There are times when device of PCI allocates. When CONFIG_PCI_SKIP_HOST_BRIDGE is enable, this problem is solved when use this patch. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: Stefan Roese <sr@denx.de>
* | | | LWMON5: fix dsPIC POSTYuri Tikhonov2008-03-22-1/+2
|/ / / | | | | | | | | | | | | | | | Add test for DPIC_SYS_ERROR_REG to be zero in the LWMON5 dsPIC POST. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> ---
* | | LWMON5: POST RTC fixYuri Tikhonov2008-03-20-45/+146
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | lwmon5: Fix register test logic to match the specific GDC h/w.Yuri Tikhonov2008-03-18-6/+12
| | | | | | | | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Fix backlight in the lwmon5 POST.Yuri Tikhonov2008-03-18-38/+29
| | | | | | | | | | | | | | Backlight was switched on even when temperature was too low. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | The patch introduces the alternative configuration of the log buffer for the ↵Yuri Tikhonov2008-03-18-6/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5). To enable this, alternative, configuration the U-Boot board configuration file for lwmon5 includes the definitions of alternative addresses for header (CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR). The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set, and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Add support for the lwmon5 board reset via GPIO58.Yuri Tikhonov2008-03-18-0/+7
| | | | | | | | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Some fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external ↵Yuri Tikhonov2008-03-18-2/+6
| | | | | | | | | | | | | | watch-dog for now. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | The patch introduces the CRITICAL feature of POST tests. If the test marked ↵Yuri Tikhonov2008-03-18-4/+37
| | | | | | | | | | | | | | as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | The patch adds new POST tests for the Lwmon5 board. These are:Yuri Tikhonov2008-03-18-4/+926
| | | | | | | | | | | | | | | | | | | | | | * External Watchdog test; * dsPIC tests; * FPGA test; * GDC test; * Sysmon tests. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Enable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.Yuri Tikhonov2008-03-18-1/+1
|/ | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-blackfinWolfgang Denk2008-03-18-655/+187
|\
| * Blackfin: BF537-stamp: drop board-specific flash driver for CFIMike Frysinger2008-03-15-531/+6
| | | | | | | | | | | | | | The parallel flash on the BF537-STAMP is CFI compliant, so there is no need for the board specific driver at all. Just use the common CFI driver. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: add proper ELF markings to some assembly functionsMike Frysinger2008-03-15-0/+12
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: new cplbinfo command for viewing cplb tablesMike Frysinger2008-03-15-0/+60
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: update MAINTAINERS listMike Frysinger2008-03-15-0/+15
| | | | | | | | | | | | Add maintainer information for the Blackfin boards. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPUMike Frysinger2008-03-15-79/+29
| | | | | | | | | | | | | | | | Stop tying things to the processor that should be tied to other defines and change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build system to select the -mcpu option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Blackfin: move bootldr command to common codeMike Frysinger2008-03-15-45/+65
| | | | | | | | | | | | | | | | This moves the Blackfin-common bootldr command out of the BF537-STAMP specific board directory and into the common directory so that all Blackfin boards may utilize it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | HMI1001: fix compile problem.Wolfgang Denk2008-03-18-1/+3
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-03-16-7/+175
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/rtc/Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | mgcoge: update configurationHeiko Schocher2008-03-16-3/+2
| | | | | | | | | | | | | | | | | | Fix configuration for mgcoge board Signed-off-by: Heiko Schocher <hs@denx.de>
| * | drivers/rtc/Makefile: keep list sortedWolfgang Denk2008-03-16-5/+5
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Add support for Intersil isl1208 RTCTor Krill2008-03-16-0/+168
| | | | | | | | | | | | Signed-off-by: Tor Krill <tor@excito.com>
| * | cramfs: Fix ifdefJean-Christophe PLAGNIOL-VILLARD2008-03-16-1/+1
| |/ | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Conding style cleanupWolfgang Denk2008-03-16-8/+271
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | ppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval boardStefan Roese2008-03-15-22/+66
| | | | | | | | | | | | | | This patch adds USB OHCI support to the Canyonlands board port. It also enables EXT2 support. Signed-off-by: Stefan Roese <sr@denx.de>
* | usb: Add CFG_OHCI_USE_NPS to common USB-OHCI driverStefan Roese2008-03-15-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This way a board just needs to define this new option to enable the "force NoPowerSwitching mode" instead of adding new CPU/architecture defines to the USB source itself. This new option will be used first with the new AMCC 460EX Canyonlands board port, which will be posted in a few days. This patch also fixes a small compilation problem when DEBUG is enabled. Signed-off-by: Stefan Roese <sr@denx.de>