- 09 5月, 2015 4 次提交
-
-
由 Jörg Krause 提交于
This patch fixes cross-compiling U-Boot tools with the musl C library: * including <sys/types.h> is needed for ulong * defining _GNU_SOURCE is needed for loff_t Tested for target at91sam9261ek_dataflash_cs3. Signed-off-by: NJörg Krause <joerg.krause@embedded.rocks> Cc: Tom Rini <trini@konsulko.com>
-
由 Stefan Roese 提交于
This patch adds a driver for the PCA9551 LED controller. Originated-by: NTimo Herbrecher <t.herbrecher@gateware.de> Signed-off-by: NStefan Roese <sr@denx.de> Reviewed-by: NTom Rini <trini@konsulko.com> Cc: Fabio Estevam <festevam@gmail.com> Reviewed-by: NFabio Estevam <fabio.estevam@freescale.com>
-
由 Fabio Estevam 提交于
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Cooper Jr., Franklin 提交于
Across several devices network environment variables are duplicated. Move these variables to a common include file which insures the environment variables are reused and insures devices across product lines share the same values. Signed-off-by: NFranklin S Cooper Jr <fcooper@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
- 08 5月, 2015 2 次提交
-
-
-
由 Dinh Nguyen 提交于
Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
-
- 07 5月, 2015 21 次提交
-
-
由 Masahiro Yamada 提交于
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Replace CONFIG_SOCFPGA with CONFIG_ARCH_SOCFPGA. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Move headers to mach-socfpga as well. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Our recent trend is to collect SoC files into arch/arm/mach-(SOC). Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Switch to a more standard way of board select; put the SoC select into arch/arm/Kconfig and move the board select menu under arch/arm/mach-socfpga/Kconfig. Also, consolidate SYS_BOARD, SYS_VENDOR, SYS_SOC, SYS_CONFIG_NAME. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Because all the SOCFPGA boards define CONFIG_SPL_FRAMEWORK (see include/configs/socfpga_common.h), u-boot.img is automatically added to the target image list by the top Makefile. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
The compiler option "-Iboard/$(VENDOR)/$(BOARD)" just exists here for iocsr_config.c to be able to include iocsr_config.h. Use "..." instead of <...> to include a header in the same directory. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
Default name of spi flash like this "0:0", update it to "spi_flash@0:0". Signed-off-by: NHaikun Wang <haikun.wang@freescale.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Drop the code that doesn't use driver model for USB. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Enable this command for sandbox. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Sometimes the time functions are incorrect due to bad time support on a board. Add a unit test which tries to detect this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Sjoerd Simons 提交于
For the distro_bootcmds to succeed on the sandbox a bit of setup is required (e.g. network configured or host image bound), so running them by default isn't that useful. Add a -b/--boot command to the sandbox binary, which triggers the distro_bootcmds to run after the other command-line commands. Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
Interrupts transfers timing out is normal, so do not log an error for this. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
Add proper cache flushing / invalidating for non cache coherent cpus, for now only enable this for new (driver-model) usb code to avoid regressions. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
Fix taken from the Linux kernel ohci driver. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
Non static function and variable declarations do not belong in a .h file. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
This is a preparation patch for adding driver-model support. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
This is a preparation patch for adding driver-model support. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
This is a preparation patch for adding driver-model support. Note we do keep ohci_dev as a separate struct so that we can later add support for interrupt-queues which requires allocating a separate ohci_dev per interrupt-queue. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
This is a preparation patch for adding driver-model support. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
devgone is never assigned a value, so the one comparisson reading it will never be true, and devgone can be completely removed. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
- 06 5月, 2015 13 次提交
-
-
由 Hans de Goede 提交于
This fixes descriptor reading of lowspeed devices through ohci not working. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Hans de Goede 提交于
Without this usb-1 device descriptors do not get read properly. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
The ehci driver model code for finding the first upstream usb-2 hub before this commit has a number of issues: 1) "if (!ttdev->speed != USB_SPEED_HIGH)" does not work because the '!' takes presedence over the '!=' this should simply be "if (ttdev->speed == USB_SPEED_HIGH)" 2) It makes ttdev point to the first upstream usb-2 hub, but ttdev should point to the last usb-1 device before the first usb-2 hub (when going upstream from the device), as ttdev is used to find the port of the first usb-2 hub to which the the last usb-1 device is connected. 3) parent_devnum however should be set to the devnum of the first usb-2 hub, so we need to keep pointers around to both usb_device structs. To complicate things further during enumeration usb_device.dev will point to the parent udevice, where as during normal use it will point to the actual udevice, we must handle both cases correctly. This commit fixes all this making usb-1 devices attached to usb-2 hubs, including usb-1 devices attached to usb-1 hubs attached to usb-2 hubs, work. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
Use usb_get_bus in dm ehci code rather then re-implementing it. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
Currently we copy over a number of usb_device values stored in the on stack struct usb_device probed in usb_scan_device() to the final driver-model managed struct usb_device in usb_child_pre_probe() through usb_device_platdata, and then call usb_select_config() to fill in the rest. There are 3 problems with this approach: 1) It does not fill in enough fields before calling usb_select_config(), specifically it does not fill in ep0's maxpacketsize causing a div by zero exception in the ehci driver. 2) It unnecessarily redoes a number of usb requests making usb probing slower 3) Calling usb_select_config() a second time fails on some usb-1 devices plugged into usb-2 hubs, causing u-boot to not recognize these devices. This commit fixes these issues by removing (*) the usb_select_config() call from usb_child_pre_probe(), and instead of copying over things field by field through usb_device_platdata, store a pointer to the in stack usb_device (which is still valid when usb_child_pre_probe() gets called) and copy over the entire struct. *) Except for devices which are explictly instantiated through device-tree rather then discovered through usb_scan_device() such as emulated usb devices in the sandbox. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
Make usb_get_bus easier to use for callers, by directly returning the bus rather then returning it via a pass-by-ref argument. This also removes the error checking from the current callers, as we already have an assert() for bus not being NULL in usb_get_bus(). Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Hans de Goede 提交于
Do not use bus->seq before device_probe(bus), as bus->seq is not set until after the device_probe() call. This fixes u-boot printing: "USB-1: " for each bus it scans. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Axel Lin 提交于
dm_gpio_set_dir_flags() will also set gpio output value when switching to gpio output. So it's not necessary to call dm_gpio_set_value() after dm_gpio_set_dir_flags() call. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add some simple tests to verify that the RTC uclass works correctly in U-Boot. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Sort these aliases to avoid confusion as to what is present. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Simon Glass 提交于
Enable real-time-clock support in sandbox. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add an emulated RTC device for sandbox, so that the 'date' command can be used. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
When setting the date, support driver model RTC also. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-