[U-Boot] Fix for ns16550 driver hanging on OMAP4

2014-11-10 Thread Gregoire Gentil
Here is a patch to apply the same fix on OMAP4 boards as on OMAP3, in order to prevent ns16550 hanging during SPL boot, Grégoire diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 8f05191..a1d3781 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -132

Re: [U-Boot] Boot reason in SPL for OMAP4

2014-10-01 Thread Gregoire Gentil
On 10/01/2014 10:34 AM, Tom Rini wrote: On Tue, Sep 30, 2014 at 10:26:08AM -0700, Gregoire Gentil wrote: Hello, In TI x-loader, the boot reason is copied to a scratchpad 0x4A326000 as shown here: https://gitorious.org/x-loader/x-loader/source/HEAD:cpu/omap4/start.S#L102 How can I access

[U-Boot] u-boot compilation broken for OMAP4 if no USB_HOST_ETHER

2014-10-01 Thread Gregoire Gentil
Hello, If you try to compile u-boot head for OMAP4 without CONFIG_USB_HOST_ETHER, it's failing. --- a/arch/arm/cpu/armv7/omap-common/utils.c +++ b/arch/arm/cpu/armv7/omap-common/utils.c @@ -57,6 +57,8 @@ void __weak usb_fake_mac_from_die_id(u32 *id) device_mac[4] = id[0] & 0xff

[U-Boot] Boot reason in SPL for OMAP4

2014-09-30 Thread Gregoire Gentil
Hello, In TI x-loader, the boot reason is copied to a scratchpad 0x4A326000 as shown here: https://gitorious.org/x-loader/x-loader/source/HEAD:cpu/omap4/start.S#L102 How can I access the boot reason in u-boot or in the SPL? Grégoire ___ U-Boot mail