summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ixp/npe: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2009-01-30-10/+6
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2009-01-28-2/+0
|\
| * nand_spl: Fix compile problem with board_nand_init() prototypeStefan Roese2009-01-26-2/+0
| | | | | | | | | | | | | | | | This patch removes the now obsolete and additionally wrongly defined board_nand_init() prototype from nand_spl/nand_boot.c. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Scott Wood <scottwood@freescale.com>
* | 85xx: Fix compile breakage with sbc8540 and sbc8560Wolfgang Denk2009-01-28-1/+1
| | | | | | | | | | | | | | This fixes an error which raises just a warning: sbc8560.c:250: warning: passing argument 2 of 'strmhz' makes integer from pointer without a cast Signed-off-by: Wolfgang Denk <wd@denx.de>
* | SPD823TS: do not define CONFIG_CMD_ENVMike Frysinger2009-01-28-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Since the SPD823TS board does not actually have any writable flash to save its environment, undefine CONFIG_CMD_ENV so the "saveenv" command is disabled. This fixes the build error: common/libcommon.a(cmd_nvedit.o): In function `do_saveenv': common/cmd_nvedit.c:557: undefined reference to `saveenv' make: *** [u-boot] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk2009-01-28-359/+3410
|\ \
| * | usb_scan_devices: fix output with no devicesBryan Wu2009-01-28-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should check the return of usb_new_device() so that if no USB device is found, we print out the right message rather than always saying "new usb device found". Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Add high-speed (480Mb/s) to all USB related outputsStefan Roese2009-01-28-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch the USB related connection speed output ("usb tree" command and debug output) is now high-speed enabled. This patch also fixes a compilation warning when debugging is enabled. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Add dcache support to the EHCI driverStefan Roese2009-01-28-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds routines to handle (flush/invalidate) the dcache for the QH and qTD structures and data buffers. This is needed on platforms using this EHCI support with dcache enabled (like the MIPS VCT board port). Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Add EHCI support for VCT EHCI controllerStefan Roese2009-01-28-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Add config option to call ehci_hcd_init() again after EHCI resetStefan Roese2009-01-28-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the config option CONFIG_EHCI_HCD_INIT_AFTER_RESET to call ehci_hcd_init() again after ehci_reset() is executed. This is needed for the upcoming VCT EHCI support which needs to re-init the hcd part again after the EHCI CMD_RESET is executed. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB: Fix speed detection on EHCI cntr with root hub transaction translatorsStefan Roese2009-01-28-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes an issue that the speed of USB devices was not detected correctly on some EHCI controllers. This will be used on the upcoming VCT EHCI support. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : musb : Enabling USB MSC support for DM6446 (TI DaVinci) platformThomas Abraham2009-01-28-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabling USB MSC support for DM6446 (TI DaVinci) platform in the configuration file. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : musb : Enabling DM6446 (TI DaVinci) USB module powerThomas Abraham2009-01-28-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level controller hook up to USB core layer. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : musb : Adding DM6446 (TI DaVinci) platform specific USB supportThomas Abraham2009-01-28-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding DM6446 (TI DaVinci) platform specific USB functionality for USB Phy and VBUS initialization. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : musb : Adding USB VBUS enable functionality for DM644x DVEVMThomas Abraham2009-01-28-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding USB VBUS enable functionality for DM644x DVEVM (TI DaVinci) platform. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : musb : Adding host controller driver for Mentor USB controllerThomas Abraham2009-01-28-0/+1302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding Mentor USB core functionality and Mentor USB Host controller functionality for Mentor USB OTG controller (musbhdrc). Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com> Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb.h: use standard __LITTLE_ENDIAN from Linux headersMike Frysinger2009-01-28-25/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than forcing people to define a custom "LITTLEENDIAN", just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB ehci ixp4xx supportMichael Trimarchi2009-01-28-0/+50
| | | | | | | | | | | | | | | | | | | | | Add USB ehci ixp4xx host controller. Test on ixdp465 board. Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB ehci remove infinite loop and use handshake functionMichael Trimarchi2009-01-28-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | USB ehci code cleanup. Use handshake instead of infinite while loop to check the STD_ASS status Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | Add initial support for USB ehci pciMichael Trimarchi2009-01-28-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | Add USB ehci pci support. This patch doesn't include any pci_ids and it is not tested on real hardware. Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb driveBryan Wu2009-01-28-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 000016244373FFB4 does not like to be reset, so check for it. Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structureThomas Abraham2009-01-28-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch populates the 'priv' field of the USB keyboard device_t structure. The 'priv' field is populated with the address of the 'struct usb_device' structure that represents the USB device. The 'priv' field can then be used in the 'usb_event_poll' function to determine the USB device that requires to be polled. An example of its usage in 'usb_event_poll' function is as below. device_t *dev; struct usb_device *usb_kbd_dev; <snip> dev = device_get_by_name("usbkbd"); usb_kbd_dev = (struct usb_device *)dev->priv; iface = &usb_kbd_dev->config.if_desc[0]; Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | USB change speedMichael Trimarchi2009-01-28-2/+10
| | | | | | | | | | | | | | | | | | | | | USB changes the speed according to the port status Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net>
| * | EHCI fix code and ixp4xx test.Remy Böhmer2009-01-28-72/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB ehci configuration parameter: #define CONFIG_CMD_USB 1 #define CONFIG_USB_STORAGE 1 #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_IXP4XX 1 #define CONFIG_EHCI_IS_TDI 1 #define CONFIG_EHCI_DESC_BIG_ENDIAN 1 #define CONFIG_EHCI_MMIO_BIG_ENDIAN 1 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 2 #define CONFIG_LEGACY_USB_INIT_SEQ 1 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found => usb tree Device Tree: 1 Hub (1.5MBit/s, 0mA) | u-boot EHCI Host Controller | |+-2 Mass Storage (12MBit/s, 100mA) Sony Storage Media 0C07040930296 => Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | [PATCH] This patch add varius fix to the ehci.michael2009-01-28-45/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix ehci_readl, ehci_writel - introduce new define in ehci.h - introduce the handshake function for waiting on a register - fix usb_ehci_fsl with the new HC_LENGTH macro Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | [PATCH] Fix EHCI usb. I start to test on amichael2009-01-28-161/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IXP465 board and I find some errors in the code. This patch fix: - descriptor initizialization (config, interface and endpoint must be one next-to the other when the USB_DT_CONFIG message is send. - FIX little/endian bigendian (introduce the CONFIG_EHCI_DESC_BIG_ENDIAN and the CONFIG_EHCI_MMIO_BIG_ENDIAN) - Introduce the linux version of the usb_config_descriptor and usb_interface descriptor. This descriptor does't contains u-boot extension. Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | USB ehci freescale supportMichael Trimarchi2009-01-28-0/+186
| | | | | | | | | | | | | | | | | | | | | Add USB ehci freescale support Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | USB ehci core supportMichael Trimarchi2009-01-28-0/+785
| | | | | | | | | | | | | | | | | | | | | Add USB ehci core support Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | Prepare USB layer for ehciMichael Trimarchi2009-01-28-10/+23
| | | | | | | | | | | | | | | | | | | | | Prepare USB layer for ehci support Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
| * | USB storage cleanup patchMichael Trimarchi2009-01-28-316/+394
| | | | | | | | | | | | | | | | | | | | | Cleanup usb storage Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* | | Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk2009-01-28-824/+1270
|\ \ \
| * | | Blackfin: fixup misc warnings such as printf's and missing castsMike Frysinger2009-01-28-24/+23
| | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: convert old boards to use COBJS-y Makefile styleMike Frysinger2009-01-28-18/+18
| | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: bf533-stamp: rewrite resource swap logicMike Frysinger2009-01-28-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The old swap function tended to clobber unrelated pins and screw up masks. Rewrite the thing from scratch so it only uses the resources it needs. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: bootldr: implement BF53x/BF56x LDR loaderMike Frysinger2009-01-28-13/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The BF53x/BF56x parts do not have an on-chip ROM to boot LDRs out of arbitrary memory locations, so implement a basic one in software. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: implement real write support for OTPMike Frysinger2009-01-28-42/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that real documentation has been released for the OTP interface and the on-chip ROM wrt writing/timings, implement support for reading/writing as well as dumping/locking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: update on-chip ROM APIMike Frysinger2009-01-28-40/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the API for the on-chip ROM in line with the toolchain and hardware documentation. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: allow serial console to be disabledMike Frysinger2009-01-28-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some devices have no UART device pulled out, so allow people to disable the driver completely in favor of other methods (like JTAG-console). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: support console-over-JTAGMike Frysinger2009-01-28-4/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Blackfin JTAG has the ability to pass data via a back-channel without halting the processor. Utilize that channel to emulate a console. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: handle new anomalies with resetMike Frysinger2009-01-28-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | Workaround fun new anomalies related to software reset of the processor. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: pass RETX to LinuxMike Frysinger2009-01-28-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure we save the value of RETX at power on and then pass it on to the kernel so that it can nicely debug a "double-fault-caused-a-reset" crash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: clarify relocation comment during initMike Frysinger2009-01-28-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | People often ask questions about the init process and when things go from flash to relocated base, so clarify the comments a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: just set SP register directly during initMike Frysinger2009-01-28-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: add portmuxing for UARTs on the BF51xMike Frysinger2009-01-28-1/+10
| | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: respect CONFIG_CLKIN_HALFMike Frysinger2009-01-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pointed out by Ivan Koryakovskiy, the initialization code was not actually respecting the CONFIG_CLKIN_HALF option when configuring the PLL_CTL register. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: use common memcpy routine during initMike Frysinger2009-01-28-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than using a local custom memcpy function, just call the existing optimized Blackfin version. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: set default boot SPI CS for BF538/BF539Mike Frysinger2009-01-28-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The BF538/BF539 use CS2 for booting off of rather than CS1 like newer Blackfin parts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: punt unused BF533-STAMP definitionsMike Frysinger2009-01-28-3/+0
| | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | Blackfin: resurrect BF533-STAMP video splash driverMike Frysinger2009-01-28-4/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This video driver used to live in the Blackfin cpu directory, but it was lost during the unification process. This brings it back. Signed-off-by: Mike Frysinger <vapier@gentoo.org>