summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-26IXP: Make IXP buildable with arm-linux- toolchainsMarek Vasut
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>
2012-03-26Examples: Properly append LDFLAGS to LD commandMarek Vasut
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>
2012-03-26SPL: Enable YMODEM support on BeagleBone and AM335x EVMMatt Porter
Cc: Chandan Nath <chandan.nath@ti.com> Tested-by: Tom Rini <trini@ti.com> Signed-off-by: Matt Porter <mporter@ti.com>
2012-03-26SPL: Add YMODEM over UART load supportMatt Porter
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>
2012-03-26SPL: Add README.omap3Tom Rini
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>
2012-03-26README: document more SPL config optionsTom Rini
Signed-off-by: Tom Rini <trini@ti.com>
2012-03-26spl.c: Use __noreturn decoratorTom Rini
Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tom Rini <trini@ti.com>
2012-03-26config.mk: Check for -fstack-usage supportTom Rini
Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tom Rini <trini@ti.com>
2012-03-26config.mk: Make cc-option create a file under include/generatedTom Rini
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>
2012-03-26.gitignore: Add .su filesTom Rini
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>
2012-03-26Fix erroneous 32-bit access to hw_clkctrl_frac0 and hw_clkctrl_frac1 registersRobert Delien
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>
2012-03-26Introducing 8-bit wide register, mx28_register_8Robert Delien
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>
2012-03-26Renamed mx28_register to mx28_register_32 to prepare for mx28_register_8Robert Delien
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>
2012-03-26i.MX28: Reformat the DRAM memory configuration dataMarek Vasut
Reformat the data so it's easier to navigate through them. Signed-off-by: Marek Vasut <marex@denx.de>
2012-03-26M28: Support for the old M28 SoM v1.0Marek Vasut
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>
2012-03-26M28: Fix LCD PINMUXMarek Vasut
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>
2012-03-26mx6qsabrelite: add and enable USB Host 1 supportWolfgang Grandegger
Cc: Stefano Babic <sbabic@denx.de> Cc: Jason Liu <jason.hui@linaro.org> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
2012-03-26usb/ehci: Add USB support for the MX6QWolfgang Grandegger
Currently, only USB Host 1 is supported. Cc: Remy Bohmer <linux@bohmer.net> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
2012-03-26mx6q: mx6qsabrelite: Update the READMEDirk Behme
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>
2012-03-26i.mx28: Replaced magic numbers for scratch register addresses with register ↵Robert Delien
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>
2012-03-26i.mx28: Added register definitions for DIGCTL registersRobert Delien
This patch adds register definitions for the registers of the DIGCTL IP-block. Signed-off-by: Robert Delien <robert@delien.nl>
2012-03-26PXA: Fix missing get_tbclk() breaking vpac boardsMarek Vasut
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2012-03-26PXA: Fix warning in zipitz2Marek Vasut
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>
2012-03-26arm: Remove jornada link scriptSimon Glass
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>
2012-03-26PXA: Remove PXA PCMCIA supportMarek Vasut
Say good bye to some ancient, very broken and unused code. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2012-03-26zipitz2: use pxa_mmc_gen as MMC driverVasily Khoruzhick
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2012-03-26zipitz2: fix boot issue introduced by PXA low level init reworkVasily Khoruzhick
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>
2012-03-23Merge branch 'master' of git://git.denx.de/u-boot-cfi-flashWolfgang Denk
* 'master' of git://git.denx.de/u-boot-cfi-flash: cfi: fix the incomplete erased status check in buffer write
2012-03-23Merge branch 'master' of git://git.denx.de/u-boot-nds32Wolfgang Denk
* 'master' of git://git.denx.de/u-boot-nds32: nds32/n1213: correct vector table in start.S nds32: fix ptrace and interrupt register overflow
2012-03-23Revert "Add board_pre_console_putc to deal with early console output"Simon Glass
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>
2012-03-21cfi: fix the incomplete erased status check in buffer writeTao Hou
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>
2012-03-19ETX094: adjust linker script due to grown code sizeWolfgang Denk
Recent bootstage commits made the code grow, which caused linker errors. Adjust the linker script to fix that. Signed-off-by: Wolfgang Denk <wd@denx.de>
2012-03-19nds32/n1213: correct vector table in start.SMacpaul Lin
Correct definition of vector table in start.S Signed-off-by: Macpaul Lin <macpaul@gmail.com>
2012-03-19nds32: fix ptrace and interrupt register overflowMacpaul Lin
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>
2012-03-19Armada100: gplugD: Add FAT & EXT2 command supportAjay Bhargav
This patch adds FAT and ext2 command support for marvell gplugD Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
2012-03-19Armada100: gplugD: Add USB command supportAjay Bhargav
This patch adds support for USB commands and USB storage device for Marvell gplugD Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
2012-03-19USB: Armada100: EHCI Driver for Armada100 SOCsAjay Bhargav
This patch adds support for USB EHCI driver for Armada100 SOCs. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
2012-03-19USB: Armada100: Add UTMI PHY interface driverAjay Bhargav
This patch adds USB host controller's UTMI PHY interface driver for Armada100 SOCs. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
2012-03-19git-mailrc: change usb maintainer to MarekMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-19usb:udc:samsung:fix Remove the req_config flagŁukasz Majewski
The dev->req_config flag was indicating that the forwarded request needs to perform the usb gadget delayed status. This is however not needed anymore, so it can be removed. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de>
2012-03-19USB:gadget:designware Fix memory nonalignment issueShiraz Hashim
While receiving packets from FIFO sometimes the buffer provided was nonaligned. Fix this by taking a temporary aligned buffer and then copying the content to nonaligned buffer. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com>
2012-03-19USB:gadget:designware Make locally used functions staticAmit Virdi
Signed-off-by: Amit Virdi <amit.virdi@st.com>
2012-03-19USB:gadget:designware Support high speedVipin KUMAR
This patch adds the support for usb device high speed for designware peripheral. Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com>
2012-03-19USB:gadget:designware Device controller bugfixesVipin KUMAR
This patch fixes a few bugs in USB device controller driver. The fixes are as follows 1. Adding error condition checks eg. NULL return 2. Endpoint other than endpoint 0 (control endpoint) are initialized only if usb state machine reaches STATE_ADDRESSED or above 3. Zero length packet handling corrected 4. Dead code removed 5. Bulk out endpoint returns after servicing 1 interrupt and returns back to service if more interrupts are pending Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Marek Vasut <marex@denx.de>
2012-03-19USB:gadget:designware USB device controller (UDC) implementationVipin KUMAR
The earlier usb device controller driver was specific to spear platforms. This patch implements the usb device controller driver as a generic controller which can be reused by other platforms using this peripheral. Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Marek Vasut <marex@denx.de>
2012-03-19usb: replace wait_ms() with mdelay()Mike Frysinger
Common code has a mdelay() func, so use that instead of the usb-specific wait_ms() func. This also fixes the build errors: ohci-hcd.c: In function 'submit_common_msg': /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1519:9: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1816:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1827:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1844:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1563:11: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1583:9: sorry, unimplemented: called from here make[1]: *** [ohci-hcd.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Marek Vasut <marex@denx.de>
2012-03-19usb: musb: fix printf warningMike Frysinger
musb_hcd.c: In function 'musb_submit_rh_msg': musb_hcd.c:827:2: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-18bootstage: arm: Add bootstage calls in board and bootmSimon Glass
Add calls to bootstage before and after relocation, and just before jumping to the OS. The idea here is you can call bootstage_report() to get a report. Additionally, if you define CONFIG_BOOTSTAGE_REPORT then a report is printed automatically by U-Boot just before jumping to the kernel. Signed-off-by: Simon Glass <sjg@chromium.org>
2012-03-18bootstage: Plumb in bootstage calls for basic operationsSimon Glass
This inserts bootstage calls into tftp, usb start and bootm. We could go further, but this is a reasonable start to illustrate the concept. Signed-off-by: Simon Glass <sjg@chromium.org>
2012-03-18bootstage: Implement core microsecond boot time measurementSimon Glass
This defines the basics of a new boot time measurement feature. This allows logging of very accurate time measurements as the boot proceeds, by using an available microsecond counter. To enable the feature, define CONFIG_BOOTSTAGE in your board config file. Also available is CONFIG_BOOTSTAGE_REPORT which will cause a report to be printed just before handing off to the OS. Most IDs are not named at this stage. For that I would first like to renumber them all. Timer summary in microseconds: Mark Elapsed Stage 0 0 reset 205,000 205,000 board_init_f 6,053,000 5,848,000 bootm_start 6,053,000 0 id=1 6,058,000 5,000 id=101 6,058,000 0 id=100 6,061,000 3,000 id=103 6,064,000 3,000 id=104 6,093,000 29,000 id=107 6,093,000 0 id=106 6,093,000 0 id=105 6,093,000 0 id=108 7,089,000 996,000 id=7 7,089,000 0 id=15 7,089,000 0 id=8 7,097,000 8,000 start_kernel Signed-off-by: Simon Glass <sjg@chromium.org>