Re: [U-Boot] [PATCH] mmc: bcm2835_sdhci: Restore original delay behavior

2015-06-20 Thread Jakub Kiciński
On Fri, 19 Jun 2015 23:39:41 +0200, Marek Vasut wrote: Patch 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 titled mmc: bcm283x: Remove get_timer_us() from mmc driver incorrectly replaced ad-hoc get_timer_us() function with a plain get_timer(). The get_timer() operates in mSec units instead of uSec

[U-Boot] [PATCH 0/3] sunxi: Enable both ehci and otg in host mode on various boards

2015-06-20 Thread Hans de Goede
Hi All, Here is a small series enabling the combined use of ehci + musb-otg on more sunxi boards. This applies on top of my large series for making this possible posted earlier. As said before I believe it is best if all the sunxi bits of that series go upstream through u-boot-sunxi/master, the

[U-Boot] [PATCH 2/3] sunxi: musb: Stop treating not having a vbus-det gpio as an error

2015-06-20 Thread Hans de Goede
On some boards the otg is wired up in host-only mode in this case we have no vbus-det gpio. Stop logging an error from sunxi_usb_phy_vbus_detect() in this case, and stop treating sunxi_usb_phy_vbus_detect() returning a negative errno, as if a charger is plugged into the otg port. Signed-off-by:

[U-Boot] [PATCH 3/3] sunxi: Enable both ehci and otg in host mode on various boards

2015-06-20 Thread Hans de Goede
Now that the device-model port of the musb mode makes it possible, enable both the ehci and oth in host mode on boards where the otg is wired up in host only mode, either via an usb-a receptacle or via an usb - sata converter. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[U-Boot] [PATCH 1/3] sunxi: musb: Improve output during probing

2015-06-20 Thread Hans de Goede
When we return an error the usb core will log a message, so in this case do not print a newline, instead print : after our identifier as a seperator between our identifier and the error message logged by the core. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/usb/musb-new/sunxi.c

Re: [U-Boot] [PATCH 0/3] sunxi: Enable both ehci and otg in host mode on various boards

2015-06-20 Thread Marek Vasut
On Saturday, June 20, 2015 at 05:35:06 PM, Hans de Goede wrote: Hi All, Here is a small series enabling the combined use of ehci + musb-otg on more sunxi boards. This applies on top of my large series for making this possible posted earlier. As said before I believe it is best if all the

Re: [U-Boot] [PATCH] mmc: bcm2835_sdhci: Restore original delay behavior

2015-06-20 Thread Marek Vasut
On Saturday, June 20, 2015 at 01:36:58 PM, Jakub Kiciński wrote: On Fri, 19 Jun 2015 23:39:41 +0200, Marek Vasut wrote: Patch 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 titled mmc: bcm283x: Remove get_timer_us() from mmc driver incorrectly replaced ad-hoc get_timer_us() function with a

[U-Boot] [PATCH] spi: zynq_spi.c:Optmizations done in spi_xfer func

2015-06-20 Thread Chakra Divi
This Patch replaces the arithmatic operators with bitwise operators for optimizations hoping it would save some cycles Signed-off-by: Chakra Divi cd...@openedev.com --- Note: Jagan or anyone please test this patch, I don't have hardware with me. --- drivers/spi/zynq_spi.c |4 ++-- 1 file

Re: [U-Boot] [PATCH 0/3] sunxi: Enable both ehci and otg in host mode on various boards

2015-06-20 Thread Marek Vasut
On Saturday, June 20, 2015 at 08:12:32 PM, Hans de Goede wrote: Hi, Hi! On 20-06-15 18:08, Marek Vasut wrote: On Saturday, June 20, 2015 at 05:35:06 PM, Hans de Goede wrote: Hi All, Here is a small series enabling the combined use of ehci + musb-otg on more sunxi boards. This

Re: [U-Boot] [PATCH 0/3] sunxi: Enable both ehci and otg in host mode on various boards

2015-06-20 Thread Hans de Goede
Hi, On 20-06-15 18:08, Marek Vasut wrote: On Saturday, June 20, 2015 at 05:35:06 PM, Hans de Goede wrote: Hi All, Here is a small series enabling the combined use of ehci + musb-otg on more sunxi boards. This applies on top of my large series for making this possible posted earlier. As said

[U-Boot] [PATCH v2 1/2] fdt: prevent clearing memory node if there are no banks

2015-06-20 Thread Andre Przywara
Avoid clearing the reg property in the memory DT node if no memory banks have been specified for a board (CONFIG_NR_DRAM_BANKS == 0). This allows boards to let U-Boot skip the DT memory tinkering in case other firmware has already setup the node properly before. This should be safe as all callers

[U-Boot] [PATCH v2 2/2] ARM: highbank: remove DRAM bank setup

2015-06-20 Thread Andre Przywara
From: Rob Herring r...@kernel.org On the highbank platform the SoC's management controller firmware will probe the DRAM modules and populates the initial device tree with the correct values. Therefore the memory sizes in the DT are already correct, so remove U-Boot's DRAM bank setup so the memory