summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-06serial.c: Fix build breakage introduced with commit e3c78c9bStefan Roese
This patch fixes the compilation problem introduced with commit e3c78c9b [ppc4xx: Remove now unused CONFIG_UART1_CONSOLE]: -> ./MAKEALL TB5200 Configuring for TB5200 board... serial.c: In function '__default_serial_console': serial.c:94: warning: no return statement in function returning non-void I accidentally removed an "#else" line. This patch adds it back. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-06env: fix cmd_env_sub fct pointers if CONFIG_RELOC_FIXUP_WORKS is not definedHeiko Schocher
commit ea882baf9c17cd142c99e3ff640d3ab01daa5cec introduces a command_sub_table for the "env" command. On arm, avr32, m68k, mips and sparc architectures, relocation needs manual fixups, so add these fixups for this sub command table too. Tested on arm/qong board. mips board (Ben NanoNote) from Xiangfu Liu arm/AT91 board from Reinhard Meyer Signed-off-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> cc: Xiangfu Liu <xiangfu@openmobilefree.net> cc: Reinhard Meyer <u-boot@emk-elektronik.de> cc: sshtylyov@mvista.com
2010-10-06board/mpl: Remove mpl-specific memory test commandPeter Tyser
The mpl-specfic memory test is only documented for one board, doesn't compile cleanly, uses improper coding style, and overlaps functionality with U-Boot's common 'mtest' command, so lets get rid of it. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> CC: d.peter@mpl.ch CC: d.mueller@elsoft.ch CC: wd@denx.de
2010-10-06env_mmc: Fix broken build due to set_default_env() changeSteve Sakoman
Previously the function was set_default_env(void), it is now set_default_env(const char *s). This patch adds the required parameter. This fixes a broken build on OMAP4430 SDP. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org>
2010-10-06CCM: remove code for yet another corpseWolfgang Denk
The CCM board has long reached EOL, and support for it is no longer relevant in current versions of U-Boot. Remove it. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-06PCU_E: remove code for yet another corpseWolfgang Denk
The PCU_E board has long reached EOL, and support for it is no longer relevant in current versions of U-Boot. Remove it. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-06pm9g45: fix compile warningWolfgang Denk
Fix warning: pm9g45.c: In function 'pm9g45_macb_hw_init': pm9g45.c:99: warning: unused variable 'pio' Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Ilko Iliev <iliev@ronetix.at>
2010-10-06pm9263: fix compile warningWolfgang Denk
Fix warning: pm9263.c: In function 'pm9263_macb_hw_init': pm9263.c:99: warning: unused variable 'pio' Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Ilko Iliev <iliev@ronetix.at>
2010-10-06rules.mk: make sure we always create a .depend fileWolfgang Denk
There are some cases where "make depend" would always run when entering a directory. This happened when both the $(SRCS) and $(HOSTSRCS) lists were empty (which is for example typical for the examples/api/ directory). Avoid this by making sure that a ".depend" file gets always created, even if empty. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
2010-10-06sf: winbond: add support W25Q64 partsGraeme Smecher
Adds support for Winbond's W25Q64 SPI flash. These devices are used on (among others) Xilinx' SP601 and SP605 Spartan-6 evaluation boards. Tested with "sf" commands. Signed-off-by: Graeme Smecher <graeme.smecher@mail.mcgill.ca> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-05Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk
2010-10-05Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk
2010-10-05Merge branch 'next' of git://git.denx.de/u-boot-videoWolfgang Denk
2010-10-04ppc44x: config GPIOs for USB on canyonlands boardRupjyoti Sarmah
The GPIO 16 and 19 reconfiguration should be done once USB is initialized. So moved the reconfiguration to the USB init function. Signed-off-by: Rupjyoti Sarmah <rsarmah@apm.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Remove some testing hacks from ppc4xx.hStefan Roese
I accidentally left these hacks in the code while doing the big header cleanup. Let's remove it now. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Use common ns16550 functions in 4xx UART POST driverStefan Roese
This patch changes the PPC4xx POST UART driver to use the common NS16550 functions for receiving and sending. Additionally the local function for SoC divisor setup are removed. Instead the functions from arch/powerpc/cpu/ppc4xx/4xx_uart.c are used. This removes code duplication. Also the common CONFIG_SYS_NS16550_COMx defines are now used to describe the POST UART's. And a compile breakage is fixed, introduced by a git merge of the ppc4xx/next branch into master. Now "ppc4xx.h" is moved to "asm/ppc4xx.h". Fixed as well with this patch. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Small whitespace cleanup in canyonlands.cStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx/fdt/flash: Fix bug in fdt_fixup_nor_flash_node()Stefan Roese
This patch fixes a bug in fdt_fixup_nor_flash_node() when the reg property has multiple reg tuples, like: reg = <0 0x00000000 0x04000000 0 0x04000000 0x04000000>; In this case this function did not update the reg property correctly. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Add defines for COM3 & COM4 (UART2 & UART3) on 440EPx/GRxStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Big lwmon5 board support rework/updateSascha Laue
This patch brings the lwmon5 board support up-to-date. Here a summary of the changes: lwmon5 board port related: - GPIO's changed to control the LSB transmitter - Reset USB PHY's upon power-up - Enable CAN upon power-up - USB init error workaround (errata CHIP_6) - EBC: Enable burstmode and modify the timings for the GDC memory - EBC: Speed up NOR flash timings lwmon5 board POST related: - Add FPGA memory test - Add GDC memory test - DSP POST reworked - SYSMON POST: Fix handling of negative temperatures - Add output for sysmon1 POST - HW-watchdog min. time test reworked Additionally some coding-style changes were done. Signed-off-by: Sascha Laue <sascha.laue@liebherr.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04APM821xx: Add bluestone board supportTirumala Marri
Add support code for bluestone board wth APM821XX processor based. This patch includes early board init, misc init, configure EBC, initializes UIC, MAKEALL, board.cfg and MAINTAINERS file. Signed-off-by: Tirumala R Marri <tmarri@apm.com Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04APM821xx: Add CPU supportTirumala Marri
APM821XX is a new line of SoCs which are derivatives of PPC44X family of processors. This patch adds support of CPU, cache, tlb, 32k ocm, bootstraps, PLB and AHB bus. Signed-off-by: Tirumala R Marri <tmarri@apm.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04hmi1001, mucmc52, uc100, uc101: move boards to vendor directoryWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Roderik Wildenburg <roderik.wildenburg@manroland.com>
2010-10-04CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removalWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-02Blackfin: otp: fix build after constification of args[]Mike Frysinger
The OTP code does a little shuffling of arguments that aren't really necessary, so use a local variable instead to fix build errors now that the args[] parameter is const. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf537-pnav: increase monitor lenMike Frysinger
Building this board for parallel flash fills up the bss section and thus fails to link, so bump up the monitor size a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf527-ad7160-eval: fix GPIO CS defineMike Frysinger
Rather than use a hardcoded "7", use the new Blackfin global define. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf548-ezkit: bump SPI flash size upMike Frysinger
The current size used (256KiB) is smaller than the LDR created for the bf548-ezkit, so 'run update' doesn't work correctly. So bump up the size a bit by making this flexible per-board config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: fix MMC init output alignmentMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: blackvme: new board portWojtek Skulski
The board includes: * ADSP-BF561 rev. 0.5 * 32-bit SDRAM (2 * MT48LC16M16A2TG or MT48LC32M16A2TG) * Gigabit Ether AX88180 (ASIX) + 88E1111 rev. B2 (Marvell) * SPI boot flash on PF2 (M25P64 8MB, or M25P128 16 MB) * FPGA boot flash on PF3 (M25P64 8MB, or M25P128 16 MB) * Spartan6-LX150 (memory-mapped; both PPIs also connected) * See http://www.skutek.com/ Signed-off-by: Wojtek Skulski <skulski@pas.rochester.edu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: propagate target cpu defines when building embedded envMike Frysinger
Since we're no longer extracting the env from the target ELF file (since upstream wouldn't take that change), we're back to the problem of cpu defines not properly propagating to the env setup stage. So the embedded env built by the host compiler doesn't match the one that is linked into the u-boot env. Reported-by: Vivi Li <vivi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: accept upper case pin namesMike Frysinger
The intention all along was to accept pin names irrelevant of their case. But I guess I forgot to test/implement support for that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf526-ezbrd: enable BootROM-OOB layout when booting from NANDMike Frysinger
We need to use the Blackfin BootROM-specific OOB layout when we boot out of NAND as that is what the on-chip ROM expects. Also need to increase the monitor size a little to accommodate the extra NAND code overhead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: adi config: enable nand lock/unlock supportMike Frysinger
We use the lock/unlock options in our default nand code, so enabl support for the options. Reported-by: Vivi Li <vivi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bct-brettl2: new board portPeter Meerwald
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: adi config: allow boards to tweak a little moreMike Frysinger
Let people easily override bootdelay and network settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: return gpio value to callerMike Frysinger
Make the GPIO command usable in a scripting environment by returning the GPIO value rather than always 0. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf527-sdp: new board portMike Frysinger
Support for the Blackfin System Development Platform (SDP) base module. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: adi config: add a hook for boards to append the envMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: adi config: add an "all spi flashes" option to unify board listsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: support a 3rd gpio cfi pinPeter Meerwald
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: document/extend input sub-optionMike Frysinger
The input sub command was missing from the help text, and it didn't show the actual value currently read on the GPIO. This allows people to read the value of input pins. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: move CONFIG_BFIN_CPU to board config.mkMike Frysinger
The CONFIG_BFIN_CPU option is largely used in the build system, so move it out of the board config.h and into the board config.mk. It'd be nice to keep everything in the config.h, but the patch to extract that value early was rejected. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf561: merge headersMike Frysinger
Only the BF561 port was using the common dual core headers, so merge them into the BF561 specific headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf533: merge headersMike Frysinger
Only the BF533 port was using the common extended headers, so merge them into the BF533 specific headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: unify core MMRsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf52x: unify arch header duplicationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf537: unify arch header duplicationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: punt old *p style volatile MMR definesMike Frysinger
These are unused now, so punt them to clean things up. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf527-ad7160-eval: convert from old style MMR macrosMike Frysinger
The old MMR defines are being scrubbed, so convert the driver to use the new standard helper macros. Signed-off-by: Mike Frysinger <vapier@gentoo.org>