Re: [U-Boot] [RFC PATCH 04/17] kconfig: add defconfig files for all boards

2014-03-23 Thread Masahiro Yamada
Hi Daniel, On Sat, 22 Mar 2014 18:14:23 +0100 Daniel Schwierzeck wrote: > 2014-03-21 19:05 GMT+01:00 Tom Rini : > > On Thu, Mar 20, 2014 at 02:17:07PM +0100, Daniel Schwierzeck wrote: > >> 2014-03-20 1:11 GMT+01:00 Masahiro Yamada : > >> > > >> > [3] > >> > How to select board directoy by using

Re: [U-Boot] [RFC PATCH 0/17] Version 0 of Kconfig for U-Boot

2014-03-23 Thread Masahiro Yamada
Hi Simon, > > For example, we can describe a board header file like this: > > > > #if defined(CONFIG_TPL_BUILD) > > # define CONFIG_FOO 100 > > #elif defined(CONFIG_SPL_BUILD) > > # define CONFIG_FOO 50 > > #else > > # define CONFIG_FOO 10 > > # define CONFIG_BAR > > #endif

Re: [U-Boot] [PATCH v3 6/9] i2c, davinci: add support for multiple i2c buses

2014-03-23 Thread Heiko Schocher
Hello Murali, Am 21.03.2014 21:51, schrieb Murali Karicheri: From: Vitaly Andrianov Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- drivers/i2c/davinci_i2c.c | 343 +++-- drivers/i2c/davinci_i2c.h | 27 ++-- 2 files changed, 218

[U-Boot] [PATCH] kbuild: create a build directory automatically for out-of-tree build

2014-03-23 Thread Masahiro Yamada
Prior to Kbuild, the build system created a build directory, when it did not exist, for out-of-tree build. This feature was dropped when we switched to Kbuild because many of lines in makefiles were copied from Linux Kernel. (In Linux Kernel, we have to create a build directory by ourselves before

[U-Boot] Query on u-boot

2014-03-23 Thread S Durga Prasad Paladugu
Hi, I have a below query on u-boot bootup. When UBOOT does not detect NOR flash during bootup it throws up an error message that indicates that uboot did not detect NOR flash and stops there. But when uboot does not detect QSPI flash it just gives a warning message that uboot sf_probe_failed, an

Re: [U-Boot] [PATCH] powerpc/t4240: updated RCW and PBI for rev2.0

2014-03-23 Thread Shaohui Xie
Please ignore this patch. Will send a new version. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Saturday, March 22, 2014 4:08 PM > To: u-boot@lists.denx.de > Cc: Xie Shaohui-B21989 > Subject: [PATCH] powerpc/t4240: updated RC

[U-Boot] [PATCH] usb/xhci: remove XHCI init code from other usb controllers

2014-03-23 Thread Zhao Qiang
The patch with commit id "020bbcb76b5be0d5406d2ae7c26dbdb013ead812" adds some init codes for XHCI but not for other usb controllers. And it will causes a bug for EHCI. so use macro "#ifdef CONFIG_USB_XHCI" to run it just for XHCI. Signed-off-by: Zhao Qiang --- common/usb_hub.c | 5 + 1 file

Re: [U-Boot] [PATCH] we don't went version control for .cmd files

2014-03-23 Thread Masahiro Yamada
Hi Pavel, > .cmd files should not be version-controlled. > > Signed-off-by: Pavel Machek > > diff --git a/.gitignore b/.gitignore > index a163728..77fb2c8 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -15,6 +15,7 @@ > *.swp > *.patch > *.bin > +*.cmd > > # Build tree > /build-*

Re: [U-Boot] raw data

2014-03-23 Thread TigerLiu
Hi, >Is there a command to read raw data from a disk partition to memory? Nand / mmc command is ok. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [linux-sunxi] [PATCH v2 0/9] sunxi: initial upstreamining effort

2014-03-23 Thread Henrik Nordström
fre 2014-03-21 klockan 21:54 + skrev Ian Campbell: > I've tried to give corect credit and S-o-b based upon: > git log --pretty='%aN' linux-sunxi/sunxi -- [PATHS] | sort -u > git log linux-sunxi/sunxi -- [PATHS] | grep -i signed.off.by | sort -u > Manual inspection As you noticed there

Re: [U-Boot] [PATCH u-boot sunxi 3/4] sunxi: Implement reset_cpu

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 18:38 + skrev Ian Campbell: > Not sure why cmd_watchdog.c is sunxi, seems like in principal it could > be generic. In principal it could, but there is no common API for setting the watchdog timer, and no common API for disabling the watchdog once armed. Regards Henrik

Re: [U-Boot] [PATCH u-boot sunxi 3/4] sunxi: Implement reset_cpu

2014-03-23 Thread Henrik Nordström
sön 2014-03-16 klockan 14:53 +0100 skrev Hans de Goede: > void reset_cpu(ulong addr) > { > + static const struct sunxi_wdog *wdog = > + &((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)->wdog; > + > + /* Set the watchdog for its shortest interval (.5s) and wait */ > + writel(

Re: [U-Boot] [PATCH] ARM: mx6: Add PCIe on SabreSDP

2014-03-23 Thread Marek Vasut
On Sunday, March 23, 2014 at 10:20:16 PM, Marek Vasut wrote: > Add support for PCIe on MX6 SabreSDP board and enable the support > in the config file. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Liu Ying Please ignore, V2 on it's way. Best regards, Marek Vasu

[U-Boot] [PATCH 1/2] pci: mx6: Implement power callback

2014-03-23 Thread Marek Vasut
Implement a callback to toggle the slot power supply. The callback can be overriden in case some more complex power supply for the slot was implemented in hardware, yet for the usual case, one can define a GPIO which toggles the power to the slot. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc:

[U-Boot] [PATCH V2 2/2] ARM: mx6: Add PCIe on SabreSDP

2014-03-23 Thread Marek Vasut
Add support for PCIe on MX6 SabreSDP board and enable the support in the config file. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam Cc: Liu Ying --- board/freescale/mx6sabresd/mx6sabresd.c | 11 +++ include/configs/mx6sabresd.h| 10 ++ 2 files chan

[U-Boot] [PATCH] ARM: mx6: Add PCIe on SabreSDP

2014-03-23 Thread Marek Vasut
Add support for PCIe on MX6 SabreSDP board and enable the support in the config file. Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam Cc: Liu Ying --- board/freescale/mx6sabresd/mx6sabresd.c | 22 ++ include/configs/mx6sabresd.h| 9 + 2

Re: [U-Boot] [PATCH] ARM: mx6: Disable PCIe on SABRE Lite/Nitrogen6x

2014-03-23 Thread Stefano Babic
On 22/03/2014 21:50, Thierry Bultel wrote: > When I communicated about the bug I had, > and said that my temporary workaround was to disable the PCIe, > my intention was not to make the suppression become a standard, > and I believe it is a little bit frustrating for Marek. > The issue is the mis

Re: [U-Boot] [PATCH] ARM: mx6: Disable PCIe on SABRE Lite/Nitrogen6x

2014-03-23 Thread Stefano Babic
On 22/03/2014 19:26, Marek Vasut wrote: > On Saturday, March 22, 2014 at 04:17:09 PM, Eric Nelson wrote: >> Use of PCIe on SABRE Lite and Nitrogen6x boards >> is atypical and requires the use of custom daughter >> boards. >> >> Use in U-Boot is even rarer, so this patch removes it from >> the stand

Re: [U-Boot] [PATCH v3 8/9] spi: davinci: add support for multiple bus and chip select

2014-03-23 Thread Jagan Teki
Hi, On Sat, Mar 22, 2014 at 2:21 AM, Murali Karicheri wrote: > Currently davinci spi driver supports only bus 0 cs 0. > This patch allows driver to support bus 1 and bus 2 with > configurable number of chip selects. Also defaults are > selected in a way to avoid regression on other platforms > th