summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* 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 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>
* | ppc4xx: Add Canyonlands NAND booting supportStefan Roese2008-03-15-26/+591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 460EX doesn't support a fixed bootstrap option to boot from 512 byte page NAND devices. The only bootstrap option for NAND booting is option F for 2k page devices. So to boot from a 512 bype page device, the I2C bootstrap EEPROM needs to be programmed accordingly. This patch adds basic NAND booting support for the AMCC Canyonlands aval board and also adds support to the "bootstrap" command, to enable NAND booting I2C setting. Tested with 512 byte page NAND device (32MByte) on Canyonlands. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add AMCC Canyonlands support (460EX) (3/3)Stefan Roese2008-03-15-2/+8
| | | | | | | | | | | | | | This patch adds support for the AMCC Canyonlands 460EX evaluation board. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add AMCC Canyonlands support (460EX) (2/3)Stefan Roese2008-03-15-0/+470
| | | | | | | | | | | | | | This patch adds support for the AMCC Canyonlands 460EX evaluation board. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add AMCC Canyonlands support (460EX) (1/3)Stefan Roese2008-03-15-0/+915
| | | | | | | | | | | | | | This patch adds support for the AMCC Canyonlands 460EX evaluation board. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (5/5)Stefan Roese2008-03-15-88/+502
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (4/5)Stefan Roese2008-03-15-12/+33
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)Stefan Roese2008-03-15-4/+160
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (2/5)Stefan Roese2008-03-15-7/+178
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (1/5)Stefan Roese2008-03-15-93/+553
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: interrupt.c reworkedStefan Roese2008-03-15-448/+141
| | | | | | | | | | | | | | | | This patch is a rework of the 4xx interrupt handling done while adding the 460EX/GT support. Interrupts are needed on 4xx for the EMAC driver. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: program_tlb now uses 64bit physical addessStefan Roese2008-03-15-26/+23
| | | | | | | | | | | | | | | | This patch changes the physical addess parameter from 32bit to 64bit. This is needed for 36bit 4xx platforms to access areas located beyond the 4GB border, like SoC peripherals (EBC etc.). Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: miiphy.c reworkedStefan Roese2008-03-15-116/+80
| | | | | | | | | | | | | | While adding the 460EX/GT support I reworked the 4xx miiphy code. It badly neede some cleanup. Signed-off-by: Stefan Roese <sr@denx.de>
* | rtc: Add M41T62 supportStefan Roese2008-03-15-0/+136
| | | | | | | | | | | | | | This patch add support for the STM M41T62 RTC. It is used and tested on the AMCC Canyonlands 406EX platform. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add 405GPr based MCU25 board specific filesNiklaus Giger2008-03-15-0/+499
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: Add 405GPr based MCU25 board config fileNiklaus Giger2008-03-15-0/+362
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: Add 405GPr based MCU25 board. Global filesNiklaus Giger2008-03-15-0/+6
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: HCU4/5. remove obsolete hcu_flash.cNiklaus Giger2008-03-15-514/+0
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: HCU4/5. Use FLASH_CFI_LEGACYNiklaus Giger2008-03-15-11/+57
| | | | | | | | | | | | | | Cleanup: Remove custom flash driver for 8 bit boot-eprom and replace it with the FLASH_CFI_LEGACY et al. config options. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: Fix comment in 405EX DDR2 init codeStefan Roese2008-03-15-4/+4
|/ | | | Signed-off-by: Stefan Roese <sr@denx.de>
* tools/setlocalversion: use a git-describe-ish formatWolfgang Denk2008-03-14-3/+6
| | | | | | | | | | | Change the automatic local version to have the form -nnnnn-gSHA1SUMID, where 'nnnnn' is the number of commits since the last tag (i.e., 1.3.2-rc3). This makes it much easier to recognize "newer" versions and to see how much has been changed since the referenced tag. Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f. Signed-off-by: Wolfgang Denk <wd@denx.de>
* HMI1001: add support for MPC5200 Rev. B processors.Wolfgang Denk2008-03-13-0/+18
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* TQM5200: remove dead codeWolfgang Denk2008-03-13-56/+0
| | | | | | This board never used a MGT5100 processor. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Release v1.3.2Wolfgang Denk2008-03-09-0/+85
| | | | | | Update CHANGELOG for release. Signed-off-by: Wolfgang Denk <wd@denx.de>
* SCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warningsJean-Christophe PLAGNIOL-VILLARD2008-03-09-17/+19
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* scb9328: Fix flash warning: type qualifiers ignored on function return typeJean-Christophe PLAGNIOL-VILLARD2008-03-09-1/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* esd/common/fpga.c: fix indentation.Wolfgang Denk2008-03-09-177/+167
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* common/kgdb.c: fix 'dereferencing type-punned pointer' warningWolfgang Denk2008-03-09-5/+5
| | | | | | and get rid of a couple of unneeded casts. Signed-off-by: Wolfgang Denk <wd@denx.de>
* esd/common/fpga.c: fix 'assignment of read-only location' errorWolfgang Denk2008-03-09-3/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>