Re: [U-Boot] [PATCH v3 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Ian Campbell
On Sun, 2014-07-27 at 02:55 +0200, Marek Vasut wrote: So merging 1 and 3-5 to the sunxi tree while merging 2 through your (Marek's) tree does not seem to be the best idea. I think it would be best to take this patch (patch 2) through the sunxi tree too, with your ack (once your happy with

Re: [U-Boot] [PATCH] cubieboard2: Enable AXP209 power controller

2014-07-27 Thread Ian Campbell
On Sat, 2014-07-26 at 15:23 +0200, Hans de Goede wrote: Hi, On 07/24/2014 10:19 AM, Ian Campbell wrote: For some reason even the original sunxi tree was missing this. The original tree is not missing it, in the original tree the logic is backwards, all board get AXP209 unless NO_AXP or

[U-Boot] [PATCH v6 13/15] kconfig: delete redundant CONFIG_${ARCH} definition

2014-07-27 Thread Masahiro Yamada
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Rebase on the current u-boot/master Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 07/15] Do not apply: tools: add gen_maintainers.py

2014-07-27 Thread Masahiro Yamada
Do not apply this patch to the main line This tool generates MAINTAINERS files based on boards.cfg file. Because it is used only once, it should not be applied. Signed-off-by: Masahiro Yamada

[U-Boot] [PATCH v6 04/15] kconfig: add basic Kconfig files

2014-07-27 Thread Masahiro Yamada
This commit adds more Kconfig files, which were written by hand. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Abolish CONFIG_SUBIMAGES - Add CONFIG_DEFCONFIG_LIST Changes in v3:

[U-Boot] [PATCH v6 15/15] kbuild: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-07-27 Thread Masahiro Yamada
Now CONFIG_SPL and CONFIG_TPL are defined in Kconfig. Remove the redundant definition in config headers. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Rebase on the current

[U-Boot] [PATCH v6 02/15] Do not apply: tools: add genkconfig

2014-07-27 Thread Masahiro Yamada
Do not apply this patch to the main line What is this tool? -- This tool converts boards.cfg to defconfig and Kconfig files. It automatically generates - arch/${ARCH}/Kconfig -

[U-Boot] [PATCH v6 06/15] kconfig: switch to Kconfig

2014-07-27 Thread Masahiro Yamada
This commit enables Kconfig. Going forward, we use Kconfig for the board configuration. mkconfig will never be used. Nor will include/config.mk be generated. Kconfig must be adjusted for U-Boot because our situation is a little more complicated than Linux Kernel. We have to generate multiple boot

[U-Boot] [PATCH v6 05/15] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-07-27 Thread Masahiro Yamada
We are about to switch to Kconfig in the next commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be set to 1. Otherwise, when switching to Kconfig, the build log would be

[U-Boot] [PATCH v6 11/15] MAKEALL: adjust for Kconfig

2014-07-27 Thread Masahiro Yamada
Use make board_defconfig instead of make board_config. Invoke tools/genboardscfg.py to generate boards.cfg when it is missing. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Generate

[U-Boot] [PATCH v6 09/15] tools: add genboardscfg.py

2014-07-27 Thread Masahiro Yamada
Now the primary data for each board is in Kconfig, defconfig and MAINTAINERS. It is true boards.cfg is needed for MAKEALL and buildman and might be useful to brouse all the supported boards in a single database. But it would be painful to maintain the boards.cfg in sync. So, this is the

[U-Boot] [PATCH v6 14/15] powerpc: remove redundant CPU definition

2014-07-27 Thread Masahiro Yamada
CONFIG_${CPU} is defined by Kconfig. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Newly added Changes in v3: None Changes in v2: None arch/powerpc/cpu/74xx_7xx/config.mk | 2 +-

[U-Boot] [PATCH v6 12/15] buildman: adjust for Kconfig

2014-07-27 Thread Masahiro Yamada
Use make board_defconfig instead of make board_config. Invoke tools/genboardscfg.py to generate boards.cfg when it is missing. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: - Generate

Re: [U-Boot] [PATCH v5 06/15] kconfig: switch to Kconfig

2014-07-27 Thread Masahiro Yamada
Hi Simon, On Sat, 26 Jul 2014 00:52:23 +0100 Simon Glass s...@chromium.org wrote: +# We want to include arch/$(ARCH)/config.mk only when include/config/auto.conf +# is up-to-date. When we switch to a different board configuration, the old CONFIG +# macros are still remaining in

Re: [U-Boot] [PATCH v5 09/15] tools: add genboardscfg.py

2014-07-27 Thread Masahiro Yamada
Hi Simon, On Sat, 26 Jul 2014 01:17:02 +0100 Simon Glass s...@chromium.org wrote: + +import sys +import os +import errno +import shutil +import time +import subprocess +import fnmatch +import glob +import re +import optparse You can sort the imports. Sorted

Re: [U-Boot] [PATCH v5 03/15] kconfig: add board Kconfig and defconfig files

2014-07-27 Thread Masahiro Yamada
Hi Simon, On Sat, 26 Jul 2014 09:36:47 +0100 Simon Glass s...@chromium.org wrote: My only comment is whether we can split out the ARM boards also? We could do it by ARM core perhaps. I know this issue but I put off it for a follow-up series I am preparing now. I would like to suggest to

Re: [U-Boot] [PATCH v5 12/15] buildman: adjust for Kconfig

2014-07-27 Thread Masahiro Yamada
Hi Simon, On Sat, 26 Jul 2014 09:44:06 +0100 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 24 July 2014 05:00, Masahiro Yamada yamad...@jp.panasonic.com wrote: Use make board_defconfig instead of make board_config. Invoke tools/genboardscfg.py to generate boards.cfg when it is

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-27 Thread Masahiro Yamada
Hi Simon, On Sat, 26 Jul 2014 17:10:05 +0100 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 22 July 2014 16:24, Masahiro Yamada yamad...@jp.panasonic.com wrote: This series introduces Kconfig. For boards with SPL/TPL support, another .config file is created under spl/tpl

Re: [U-Boot] [PATCH v3 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Hans de Goede
Hi, On 07/27/2014 10:29 AM, Ian Campbell wrote: On Sun, 2014-07-27 at 02:55 +0200, Marek Vasut wrote: So merging 1 and 3-5 to the sunxi tree while merging 2 through your (Marek's) tree does not seem to be the best idea. I think it would be best to take this patch (patch 2) through the sunxi

Re: [U-Boot] [PATCH] cubieboard2: Enable AXP209 power controller

2014-07-27 Thread Hans de Goede
Hi, On 07/27/2014 10:31 AM, Ian Campbell wrote: On Sat, 2014-07-26 at 15:23 +0200, Hans de Goede wrote: Hi, On 07/24/2014 10:19 AM, Ian Campbell wrote: For some reason even the original sunxi tree was missing this. The original tree is not missing it, in the original tree the logic is

Re: [U-Boot] [PATCH v6] arm: ep9315: Return back Cirrus Logic EDB9315A board support

2014-07-27 Thread sergey kostanbaev
Hi Masahiro, You were right, .vectors is needed now, but for the other reason. Although the edb93xx board in uboot doesn't exploit any interrupts but the _start symbol is needed to calculate the monitor size. gd-mon_len = (ulong)__bss_end - (ulong)_start; Without .vectors _start is 0 and

Re: [U-Boot] [PATCH v3 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Marek Vasut
On Sunday, July 27, 2014 at 12:03:08 PM, Hans de Goede wrote: Hi, On 07/27/2014 10:29 AM, Ian Campbell wrote: On Sun, 2014-07-27 at 02:55 +0200, Marek Vasut wrote: So merging 1 and 3-5 to the sunxi tree while merging 2 through your (Marek's) tree does not seem to be the best idea. I

[U-Boot] [PATCH v4 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Roman Byshko
The Allwinner aka sunxi SoCs have one or more USB host controllers. This adds a driver for their EHCI. Signed-off-by: Roman Byshko rbys...@gmail.com --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-sunxi.c | 201 ++ 2 files changed, 202

Re: [U-Boot] [PATCH v4 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Marek Vasut
On Sunday, July 27, 2014 at 07:32:44 PM, Roman Byshko wrote: The Allwinner aka sunxi SoCs have one or more USB host controllers. This adds a driver for their EHCI. Signed-off-by: Roman Byshko rbys...@gmail.com --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-sunxi.c | 201

Re: [U-Boot] [PATCH v1 1/4] MAINTAINERS: add initial version

2014-07-27 Thread Jeroen Hofstee
Hello Daniel, On 26-07-14 22:50, Daniel Schwierzeck wrote: Hi Jeroen, 2014-07-26 21:39 GMT+02:00 Jeroen Hofstee dasub...@myspectrum.nl: Hello Daniel, On 26-07-14 20:54, Daniel Schwierzeck wrote: MAINTAINERS contains all currently known custodians based on infos from wiki [1] and u-boot git

Re: [U-Boot] [PATCH v4 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Hans de Goede
Hi, On 07/27/2014 07:57 PM, Marek Vasut wrote: On Sunday, July 27, 2014 at 07:32:44 PM, Roman Byshko wrote: The Allwinner aka sunxi SoCs have one or more USB host controllers. This adds a driver for their EHCI. Signed-off-by: Roman Byshko rbys...@gmail.com --- drivers/usb/host/Makefile

Re: [U-Boot] [PATCH v4 2/5] sunxi: add USB EHCI driver

2014-07-27 Thread Marek Vasut
On Sunday, July 27, 2014 at 10:14:55 PM, Hans de Goede wrote: Hi, On 07/27/2014 07:57 PM, Marek Vasut wrote: On Sunday, July 27, 2014 at 07:32:44 PM, Roman Byshko wrote: The Allwinner aka sunxi SoCs have one or more USB host controllers. This adds a driver for their EHCI.

Re: [U-Boot] [PATCH] cubieboard2: Enable AXP209 power controller

2014-07-27 Thread Hans de Goede
Hi, On 07/27/2014 10:31 AM, Ian Campbell wrote: On Sat, 2014-07-26 at 15:23 +0200, Hans de Goede wrote: Hi, On 07/24/2014 10:19 AM, Ian Campbell wrote: For some reason even the original sunxi tree was missing this. The original tree is not missing it, in the original tree the logic is

[U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings

2014-07-27 Thread Hans de Goede
Specific USB EHCI settings to be set for sun4i if CONFIG_USB_EHCI is enabled. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sun4i.h | 12 1 file changed, 12 insertions(+) diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h index 037f995..5611ecc

[U-Boot] [PATCH 3/7] sunxi: Enable EHCI on various sunxi boards

2014-07-27 Thread Hans de Goede
Most sunxi boards have the EHCI controller hooked up, enable it on all relevant boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- boards.cfg | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boards.cfg b/boards.cfg index f88eac0..48172eb 100644 ---

[U-Boot] [PATCH 2/7] sun5i: add USB EHCI settings

2014-07-27 Thread Hans de Goede
Specific USB EHCI settings to be set for sun5i if CONFIG_USB_EHCI is enabled. Note we don't specify default VBUS gpio pins for sun5i since they vary too much from board to board. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sun5i.h | 5 + 1 file changed, 5

[U-Boot] [PATCH 6/7] sun5i: Add support for a number of new sun5i boards

2014-07-27 Thread Hans de Goede
Add support for boards which I own and which already have a dts file in the upstream kernel. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Makefile| 4

[U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option

2014-07-27 Thread Hans de Goede
On some boards the phy needs to be powered up through a gpio, add support for this. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c

[U-Boot] [PATCH 7/7] sun7i: Add support for a number of new sun7i boards

2014-07-27 Thread Hans de Goede
Add support for boards which I own and which already have a dts file in the upstream kernel. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Makefile | 4

[U-Boot] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards

2014-07-27 Thread Hans de Goede
Add support for boards which I own and which already have a dts file in the upstream kernel. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Makefile| 6

Re: [U-Boot] [PATCH v5 09/15] tools: add genboardscfg.py

2014-07-27 Thread Simon Glass
Hi Masahiro, On 27 July 2014 10:05, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Sat, 26 Jul 2014 01:17:02 +0100 Simon Glass s...@chromium.org wrote: + +import sys +import os +import errno +import shutil +import time +import subprocess +import fnmatch

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-07-27 Thread Simon Glass
Hi Masahiro, On 12 June 2014 05:10, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi. In U-Boot, the directory structure under arch/ is like this arch/${ARCH}/cpu/${CPU}/${SOC} Exception: - ${CPU} is missing for some architectures such as blackfin, sandbox, etc. - There are

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-07-27 Thread Simon Glass
Hi Stephen, On 13 June 2014 08:18, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Stephen, On Thu, 12 Jun 2014 09:16:14 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2014 10:10 PM, Masahiro Yamada wrote: ... Tegra uses different CPU for SPL and Normal U-boot. That's

Re: [U-Boot] [PATCH v5 03/15] kconfig: add board Kconfig and defconfig files

2014-07-27 Thread Simon Glass
Hi Masahiro, On 27 July 2014 10:19, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Sat, 26 Jul 2014 09:36:47 +0100 Simon Glass s...@chromium.org wrote: My only comment is whether we can split out the ARM boards also? We could do it by ARM core perhaps. I know this issue

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-27 Thread Simon Glass
Hi Masahiro, On 27 July 2014 10:46, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Sat, 26 Jul 2014 17:10:05 +0100 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 22 July 2014 16:24, Masahiro Yamada yamad...@jp.panasonic.com wrote: This series introduces Kconfig.

Re: [U-Boot] [PATCH] patman: Only apply patches when we know the original HEAD

2014-07-27 Thread Simon Glass
Applied via x86 tree. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Please pull u-boot-x86.git branch patman

2014-07-27 Thread Simon Glass
Hi Tom, I think a few of these are ready to go in. The following changes since commit 772e173802627a1917a3f5878ad4b9b920089a33: Merge branch 'master' of git://git.denx.de/u-boot-sh (2014-07-25 15:05:09 -0400) are available in the git repository at: http://git.denx.de/u-boot-x86.git for

Re: [U-Boot] [PATCH v2 0/9] Introduce driver model serial uclass

2014-07-27 Thread Simon Glass
Hi, On 13 July 2014 19:27, Simon Glass s...@chromium.org wrote: This series adds support for a serial uclass, enabling serial drivers to be converted to use driver model. Unfortunately this is quite a complicated process for a number of reasons: - serial is used before relocation, but

Re: [U-Boot] [RFC PATCH v4 0/11] Enable driver model for GPIOs on Tegra and Exynos

2014-07-27 Thread Simon Glass
Hi, On 11 July 2014 06:00, Simon Glass s...@chromium.org wrote: Now that driver model is part of U-Boot, the task of converting drivers over to it begins. GPIO is one of the easiest to convert, since it already has a sandbox driver and a uclass driver. The Tegra GPIO driver is relatively

[U-Boot] [PATCH] ARM: DRA: Enable VTT regulator

2014-07-27 Thread Lokesh Vutla
DRA7 evm REV G and later boards uses a vtt regulator for DDR3 termination and this is controlled by gpio7_11. Configuring gpio7_11. The pad A22(offset 0x3b4) is used by gpio7_11 on REV G and later boards, and left unused on previous boards, so enabling this gpio for all the boards, as it is

Re: [U-Boot] [PATCH v6 03/12] arch:exynos: boot mode: add get_boot_mode(), code cleanup

2014-07-27 Thread Jaehoon Chung
Hi, Przemyslaw. On 07/19/2014 12:29 AM, Przemyslaw Marczak wrote: This patch introduces code clean-up for exynos boot mode check. It includes: - removal of typedef: boot_mode - move the boot mode enum to arch-exynos/power.h - add bootmode for sequence: eMMC 4.4 ch4 / SD ch2 - add new