summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITEEric Nelson2012-03-27-0/+2
| | | | | | Allow non-dt kernels to boot Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
* i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAGEric Nelson2012-03-27-0/+6
| | | | | | | | | | | | | | This is needed to support Freescale-supplied userspaces. At the moment, both the IPU and VPU libraries provided by Freescale in the "imx-lib" package contain routines which scrape the system revision from /proc/cpuinfo. In the VPU library, this information is used to load the proper firmware, allowing a single binary to be used across various i.MX processors. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>
* i.MX28: Enable additional DRAM address bitsMarek Vasut2012-03-27-1/+1
| | | | | | | | Enables all fourteen address lines for DRAM Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marek.vasut@gmail.com> Tested-by: Marek Vasut <marek.vasut@gmail.com>
* mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use ↵Eric Nelson2012-03-27-4/+4
| | | | | | for environment Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
* mx31: add "ARM11P power gating" to get_reset_causeHelmut Raiger2012-03-27-0/+2
| | | | | | Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
* mx31pdk: Fix CONFIG_SYS_MEMTEST_ENDFabio Estevam2012-03-27-1/+1
| | | | | | CONFIG_SYS_MEMTEST_END should be higher than CONFIG_SYS_MEMTEST_START. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* efikamx: Fix CONFIG_SYS_MEMTEST_ENDFabio Estevam2012-03-27-1/+1
| | | | | | | | | CONFIG_SYS_MEMTEST_END should be higher than CONFIG_SYS_MEMTEST_START. Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marek.vasut@gmail.com> Tested-by: Marek Vasut <marek.vasut@gmail.com>
* mx53smd: Fix CONFIG_SYS_MEMTEST_ENDFabio Estevam2012-03-27-1/+1
| | | | | | CONFIG_SYS_MEMTEST_END should be higher than CONFIG_SYS_MEMTEST_START. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* mx53evk: Fix CONFIG_SYS_MEMTEST_ENDFabio Estevam2012-03-27-1/+1
| | | | | | | CONFIG_SYS_MEMTEST_END should be higher than CONFIG_SYS_MEMTEST_START. Cc: Jason Liu <r64343@freescale.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* mx51evk: Fix CONFIG_SYS_MEMTEST_ENDFabio Estevam2012-03-27-1/+1
| | | | | | CONFIG_SYS_MEMTEST_END should be higher than CONFIG_SYS_MEMTEST_START. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* i.MX6: mx6qsabrelite: add ext2 supportEric Nelson2012-03-27-0/+1
| | | | | | Current Ubuntu releases from Freescale contain a boot script in ext3 filesystem. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
* imximage: Remove overwriting of flash_offsetDirk Behme2012-03-27-4/+15
| | | | | | | | | | | | | | | | | | | | The flash header supports different flash offsets for different boot devices. E.g. parallel NOR or OneNAND use a different offset than FLASH_OFFSET_STANDARD (== 0x400). The flash offset is correctly read from the configuration in parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2(). Fix this by removing this overwriting. Use the flash offset correctly read from the configuration, instead. If there is no flash_offset read from the configuration file, i.e. the BOOT_FROM tag is missing, exit with an error message. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> CC: Jason Liu <liu.h.jason@gmail.com> CC: Stefano Babic <sbabic@denx.de> Tested-by: Stefano Babic <sbabic@denx.de>
* IXP: Fix GPIO_INT_ACT_LOW_SET()Marek Vasut2012-03-26-2/+8
| | | | | | | | | The GPIO_INT_ACT_LOW_SET was incorrectly handling interrupt lines higher than 7. This is due to the fact that there are two registers for total of 16 lines. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* IXP: Fix NAND build warning on PDNB3 and SCPUMarek Vasut2012-03-26-13/+3
| | | | | | | | | | | | | | nand.c: In function ‘pdnb3_nand_read_buf’: nand.c:107:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] nand.c: In function ‘pdnb3_nand_dev_ready’: nand.c:124:18: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] Remove the 4-byte-at-time read mode altogether, the most is bogus and will likely cause unaligned accesses. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* IXP: Move PDNB3 and SCPU from Makefile to boards.cfgMarek Vasut2012-03-26-12/+2
| | | | | | Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* IXP: Squash warnings in IXP NPEMarek Vasut2012-03-26-7/+1
| | | | | | | | | | | | | IxEthAcc.c: In function ‘ixEthAccInit’: IxEthAcc.c:105:21: warning: comparison between ‘IxEthDBStatus’ and ‘enum <anonymous>’ [-Wenum-compare] IxEthDBAPISupport.c: In function ‘ixEthDBPortAddressSet’: IxEthDBAPISupport.c:633:18: warning: variable ‘ackPortAddressLock’ set but not used [-Wunused-but-set-variable] IxQMgrDispatcher.c: In function ‘ixQMgrLLPShow’: IxQMgrDispatcher.c:1194:18: warning: variable ‘q’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* IXP: Fix missing MACH_TYPE_{ACTUX?,PNB3,DVLHOST}Marek Vasut2012-03-26-13/+12
| | | | | | | | | These symbols are no longer defined in Linux-ARM's mach-types files. Replace these with CONFIG_MACH_TYPE instead. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* IXP: Make IXP buildable with arm-linux- toolchainsMarek Vasut2012-03-26-0/+3
| | | | | | | | | | | Add -EB flag to LD to switch endianness of the linker. This should make armeb targets buildable again. Also, make use of U-Boot's internal libgcc instead of toolchain's one, this works around the use of libraries from GCC, which might be little endian. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* Examples: Properly append LDFLAGS to LD commandMarek Vasut2012-03-26-1/+1
| | | | | | | | | The LD command in examples/standalone/Makefile ignored platform specific LDFLAGS setup. Pass these LDFLAGS to the command. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Bryan Hundven <bryanhundven@gmail.com> Cc: Michael Schwingen <rincewind@discworld.dascon.de>
* SPL: Enable YMODEM support on BeagleBone and AM335x EVMMatt Porter2012-03-26-0/+1
| | | | | | Cc: Chandan Nath <chandan.nath@ti.com> Tested-by: Tom Rini <trini@ti.com> Signed-off-by: Matt Porter <mporter@ti.com>
* SPL: Add YMODEM over UART load supportMatt Porter2012-03-26-0/+93
| | | | | | | | | | Adds support for loading U-Boot from UART using YMODEM protocol. If YMODEM support is enabled in SPL and the romcode indicates that SPL loaded via UART then SPL will wait for start of a YMODEM transfer via the console port. Signed-off-by: Matt Porter <mporter@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
* SPL: Add README.omap3Tom Rini2012-03-26-0/+74
| | | | | | | | This document describes the SPL process for OMAP3 (and related) boards as well as a partial memory map and how to verify certain aspects outside of running on the target. Signed-off-by: Tom Rini <trini@ti.com>
* README: document more SPL config optionsTom Rini2012-03-26-10/+59
| | | | Signed-off-by: Tom Rini <trini@ti.com>
* spl.c: Use __noreturn decoratorTom Rini2012-03-26-3/+2
| | | | | Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tom Rini <trini@ti.com>
* config.mk: Check for -fstack-usage supportTom Rini2012-03-26-1/+5
| | | | | Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tom Rini <trini@ti.com>
* config.mk: Make cc-option create a file under include/generatedTom Rini2012-03-26-4/+3
| | | | | | | Testing for -fstack-usage requires the creation of an output file, which isn't possible with /dev/null. Signed-off-by: Tom Rini <trini@ti.com>
* .gitignore: Add .su filesTom Rini2012-03-26-0/+1
| | | | | | | The '-fstack-usage' option to gcc will generate .su files, ignore them. Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tom Rini <trini@ti.com>
* Fix erroneous 32-bit access to hw_clkctrl_frac0 and hw_clkctrl_frac1 registersRobert Delien2012-03-26-88/+52
| | | | | | | | | This patch fixes erroneous 32-bit access to registers hw_clkctrl_frac0 and hw_clkctrl_frac1. Signed-off-by: Robert Delien <robert@delien.nl> Acked-by: Marek Vasut <marex@denx.de> Tested-by: Marek Vasut <marex@denx.de>
* Introducing 8-bit wide register, mx28_register_8Robert Delien2012-03-26-0/+16
| | | | | | | | | | This patch introduces an 8-bit register, mx28_register_8, in order to prepare for fixing erroneous 32-bit wide access of registers hw_clkctrl_frac0 and hw_clkctrl_frac1. Signed-off-by: Robert Delien <robert@delien.nl> Acked-by: Marek Vasut <marex@denx.de> Tested-by: Marek Vasut <marex@denx.de>
* Renamed mx28_register to mx28_register_32 to prepare for mx28_register_8Robert Delien2012-03-26-437/+441
| | | | | | | | | This patch renames mx28_register to mx28_register_32 in order to prepare for the introduction of an 8-bit register, mx28_register_8. Signed-off-by: Robert Delien <robert@delien.nl> Acked-by: Marek Vasut <marex@denx.de> Tested-by: Marek Vasut <marex@denx.de>
* i.MX28: Reformat the DRAM memory configuration dataMarek Vasut2012-03-26-38/+48
| | | | | | Reformat the data so it's easier to navigate through them. Signed-off-by: Marek Vasut <marex@denx.de>
* M28: Support for the old M28 SoM v1.0Marek Vasut2012-03-26-0/+5
| | | | | | | This prototype version SoM is unused and not available to public. Support this only for internal debugging purposes. Signed-off-by: Marek Vasut <marex@denx.de>
* M28: Fix LCD PINMUXMarek Vasut2012-03-26-9/+2
| | | | | | | | | | The LCD pins configuration was wrong in U-Boot, configure pins properly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com>
* mx6qsabrelite: add and enable USB Host 1 supportWolfgang Grandegger2012-03-26-0/+31
| | | | | | Cc: Stefano Babic <sbabic@denx.de> Cc: Jason Liu <jason.hui@linaro.org> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
* usb/ehci: Add USB support for the MX6QWolfgang Grandegger2012-03-26-0/+223
| | | | | | | Currently, only USB Host 1 is supported. Cc: Remy Bohmer <linux@bohmer.net> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
* mx6q: mx6qsabrelite: Update the READMEDirk Behme2012-03-26-4/+8
| | | | | | | | | | | | | | | | | | The SD loader binary is now downloadable at https://wiki.linaro.org/Boards/MX6QSabreLite under a open-source 3-clause BSD license. Update the README for this. The discussion shows that it's hard to change the hardware regarding the default SPI NOR boot of the SabreLite boards. I.e. this will stay the default boot. Therefore remove the 'early version of' statement. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> CC: Stefano Babic <sbabic@denx.de> CC: Jason Liu <liu.h.jason@gmail.com>
* i.mx28: Replaced magic numbers for scratch register addresses with register ↵Robert Delien2012-03-26-8/+8
| | | | | | | | | definitions This patch replaces the use of magice numbers for scratch register addresses with earlier defined register definitions. Signed-off-by: Robert Delien <robert@delien.nl>
* i.mx28: Added register definitions for DIGCTL registersRobert Delien2012-03-26-0/+156
| | | | | | | This patch adds register definitions for the registers of the DIGCTL IP-block. Signed-off-by: Robert Delien <robert@delien.nl>
* PXA: Fix missing get_tbclk() breaking vpac boardsMarek Vasut2012-03-26-0/+5
| | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* PXA: Fix warning in zipitz2Marek Vasut2012-03-26-0/+1
| | | | | | | | Configuring for zipitz2 board... zipitz2.c: In function ‘board_mmc_init’: zipitz2.c:85:2: warning: implicit declaration of function ‘pxa_mmc_register’ [-Wimplicit-function-declaration] Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* arm: Remove jornada link scriptSimon Glass2012-03-26-58/+0
| | | | | | | | | This link script seems old and incompatible with relocation and its own sa1000 start.S file. It isn't used because the CPU's link script was picked up in preference to this. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
* PXA: Remove PXA PCMCIA supportMarek Vasut2012-03-26-152/+1
| | | | | | Say good bye to some ancient, very broken and unused code. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* zipitz2: use pxa_mmc_gen as MMC driverVasily Khoruzhick2012-03-26-2/+12
| | | | Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
* zipitz2: fix boot issue introduced by PXA low level init reworkVasily Khoruzhick2012-03-26-1/+7
| | | | | | | | CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
* Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk2012-03-23-2/+2
|\ | | | | | | | | * 'master' of git://git.denx.de/u-boot-cfi-flash: cfi: fix the incomplete erased status check in buffer write
| * cfi: fix the incomplete erased status check in buffer writeTao Hou2012-03-21-2/+2
| | | | | | | | | | | | | | | | | | | | Without the fix, flash_write_cfibuffer will terminate the erased status check once an all-0xFF word has been found instead of continuing the erased status check utill the first non-0xFF word. Signed-off-by: Tao Hou <hotforest@gmail.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-nds32Wolfgang Denk2012-03-23-4/+22
|\ \ | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-nds32: nds32/n1213: correct vector table in start.S nds32: fix ptrace and interrupt register overflow
| * | nds32/n1213: correct vector table in start.SMacpaul Lin2012-03-19-3/+19
| | | | | | | | | | | | | | | | | | Correct definition of vector table in start.S Signed-off-by: Macpaul Lin <macpaul@gmail.com>
| * | nds32: fix ptrace and interrupt register overflowMacpaul Lin2012-03-19-1/+3
| |/ | | | | | | | | | | | | | | Fix ptrace and interrupt register overflow warning. Add missing P0 and P1 (r26 and r27) into register lists. These register are usually used in OS. Signed-off-by: Macpaul Lin <macpaul@gmail.com>
* | Revert "Add board_pre_console_putc to deal with early console output"Simon Glass2012-03-23-33/+1
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 295d3942b806552503243f5cfb36aec6f1b5a9bf. It turns that this really doesn't work very nicely. Instead we should have a pre-console panic function so that we know that further execution is impossible and we don't need to worry about trampling on UARTs, etc. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wolfgang Denk <wd@denx.de>