[U-Boot] [PATCH 1/2] git-mailrc: Change fdt maintainer

2014-07-29 Thread Simon Glass
Add myself as fdt maintainer. Signed-off-by: Simon Glass s...@chromium.org --- doc/git-mailrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index ae7e7bf..3dcd667 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -108,7 +108,7 @@ alias x86

[U-Boot] [PATCH 2/2] git-mailrc: Add myself as dm maintainer

2014-07-29 Thread Simon Glass
Add a subsystem entry for dm with myself as maintainer. Signed-off-by: Simon Glass s...@chromium.org --- doc/git-mailrc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 3dcd667..4898a4c 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -105,6 +105,7 @@

[U-Boot] [PATCH v2] powerpc/85xx: enable some P1/P2 boards mtdparts for nor flash

2014-07-29 Thread Yangbo Lu
Enable these boards mtdparts for nor flash: p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc. Signed-off-by: Xie Xiaobo x@freescale.com Signed-off-by: Yangbo Lu yangbo...@freescale.com Cc: Scott Wood scottw...@freescale.com --- Changes for v2: - changed commit message

Re: [U-Boot] [PATCH] sunxi: make mksunxiboot available to tools-only builds

2014-07-29 Thread Ian Campbell
On Mon, 2014-07-28 at 22:22 +0200, Jeroen Hofstee wrote: Hello Ian, On 28-07-14 21:29, Ian Campbell wrote: This tool is potentially useful on host systems. In particular I'd like to make use of it at build time from the sunxi-tools package in Debian. No this does not make sense. Why

Re: [U-Boot] [PATCH] sunxi: make mksunxiboot available to tools-only builds

2014-07-29 Thread Ian Campbell
On Tue, 2014-07-29 at 09:30 +0100, Ian Campbell wrote: Any opinions on those two options? FWIW the first option would end up looking something like below, I've not prototyped the second one yet. Hit the wrong button, oops. Here's the scratch patch: diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH] samsung: dfu: Provide correct Vendor and Product IDs for UMS gadget

2014-07-29 Thread Lukasz Majewski
It is necessary to provide the same Vendor and Product IDs as the one in the original Linux kernel code. Without this change the USB mass storage gadget is not working with Windows7. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- board/samsung/common/Makefile | 2 +-

[U-Boot] [PATCH 1/1] env_mmc: support env partition setup in runtime

2014-07-29 Thread Dmitry Lifshitz
Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure. Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il Signed-off-by: Igor Grinberg

[U-Boot] Can not boot Linux with new FIT image on ARMv8

2014-07-29 Thread Duxiaoqiang
Hi All: I am trying to make use of verified Uboot on ARMv8 FVP platform. I setup environment followed the below procedure, but failed after entered Linux kernel. There was nothing prompt information except Starting kernel. Operation procedure as bellow: 1) Add

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

2014-07-29 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 v7: None Changes in v6: None Changes in v5: None Changes in v4: - Abolish CONFIG_SUBIMAGES - Add

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

2014-07-29 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 v7: None Changes in v6: None Changes in v5: None Changes

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

2014-07-29 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 v7 05/15] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-07-29 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 v7 15/15] include: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-07-29 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 v7: None Changes in v6: None Changes in v5: None Changes in v4: - Rebase

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

2014-07-29 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 v7: None Changes in v6: None Changes in v5: None Changes

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

2014-07-29 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 v7 06/15] kconfig: switch to Kconfig

2014-07-29 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 v7 02/15] Do not apply: tools: add genkconfig

2014-07-29 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 v7 14/15] powerpc: remove redundant CPU definition

2014-07-29 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 v7: None Changes in v6: None Changes in v5: None Changes in v4: - Newly added Changes in v3: None Changes in v2: None

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

2014-07-29 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 v7: None 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:

[U-Boot] ext4load: fix help text

2014-07-29 Thread Pavel Machek
Fix ext4load help text. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/common/cmd_ext4.c b/common/cmd_ext4.c index 68b047b..4fd6d51 100644 --- a/common/cmd_ext4.c +++ b/common/cmd_ext4.c @@ -120,6 +120,6 @@ U_BOOT_CMD(ext4ls, 4, 1, do_ext4_ls, U_BOOT_CMD(ext4load, 6, 0,

[U-Boot] [PATCH] cosmetic: update doc/README.scrapyard

2014-07-29 Thread Masahiro Yamada
- Add 'p1023rds' to the list since commit d0bc5140 dropped the board support but missed to update this file - Fill the Commit and Removed Date fields for boards removed by earlier commits - Move 'incaip' to keep the list sorted in reverse chronological order - Describe the soring rule

Re: [U-Boot] DM, Kconfig and clang changes

2014-07-29 Thread Masahiro Yamada
Hi Tom, (and Albert for [3]) On Mon, 14 Jul 2014 13:22:25 -0400 Tom Rini tr...@ti.com wrote: Hey all, So the release is out, and I want to make sure that some of these big changes get as much testing as we can. Simon, can you please make up a pull request with what you think is ready

Re: [U-Boot] Please pull u-boot-ti/master

2014-07-29 Thread Albert ARIBAUD
Hi Tom, (seems like I had not sent this yesterday) On Fri, 25 Jul 2014 21:29:15 -0400, Tom Rini tr...@ti.com wrote: Hey, The following changes since commit 23f23f23d509e8e873797884456070c8a47d72b2: socfpga: Relocate arch common functions away from board (2014-07-05 10:14:46 +0200)

Re: [U-Boot] [PATCH v5 00/11] ARMv7: add PSCI support to U-Boot

2014-07-29 Thread Albert ARIBAUD
Hi Ian, On Sat, 12 Jul 2014 14:23:41 +0100, Ian Campbell i...@hellion.org.uk wrote: Hi, Marc is rather busy so I've taken it upon myself to rebase this series onto the latest master. v4 would have been applied except for a warning which it caused on aarch64 which I have (trivially)

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

2014-07-29 Thread Daniel Schwierzeck
2014-07-29 3:52 GMT+02:00 Masahiro Yamada yamad...@jp.panasonic.com: Hi Daniel, I'd like to suggest to add a little more entries. (See below) ... ARM ZYNQ M: Michal Simek mon...@monstr.eu S: Maintained T: git git://git.denx.de/u-boot-microblaze.git zynq F:

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

2014-07-29 Thread Daniel Schwierzeck
MAINTAINERS contains all currently known custodians based on infos from wiki [1] and u-boot git forks [2]. [1] http://www.denx.de/wiki/U-Boot/Custodians [2] http://git.denx.de/?p=u-boot.git;a=forks Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v2: - add ARM

Re: [U-Boot] DM, Kconfig and clang changes

2014-07-29 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 29 Jul 2014 20:10:23 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Tom, (and Albert for [3]) [3] u-boot-arm is currently out of sync (This item is rather addressed to Albert) I notice some new boards (rmobile, sunxi) stacked on the u-boot-arm.

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

2014-07-29 Thread Stefano Babic
Hi Daniel, On 26/07/2014 20:54, Daniel Schwierzeck wrote: MAINTAINERS contains all currently known custodians based on infos from wiki [1] and u-boot git forks [2]. [1] http://www.denx.de/wiki/U-Boot/Custodians [2] http://git.denx.de/?p=u-boot.git;a=forks Signed-off-by: Daniel

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

2014-07-29 Thread Daniel Schwierzeck
2014-07-29 14:14 GMT+02:00 Stefano Babic sba...@denx.de: Hi Daniel, On 26/07/2014 20:54, Daniel Schwierzeck wrote: MAINTAINERS contains all currently known custodians based on infos from wiki [1] and u-boot git forks [2]. [1] http://www.denx.de/wiki/U-Boot/Custodians [2]

Re: [U-Boot] [PATCH 2/2] support blackfin board initialization in generic board_f

2014-07-29 Thread Tom Rini
On Thu, Jul 24, 2014 at 10:47:02AM +0800, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to

[U-Boot] Pull request: u-boot-arm/master

2014-07-29 Thread Albert ARIBAUD
Hello Tom, 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: git://git.denx.de/u-boot-arm master for you to fetch changes up to

[U-Boot] [PATCH 0/3] test: Extending USB gadget tests infrastructure

2014-07-29 Thread Lukasz Majewski
New test for UMS regressions catching has been added. Moreover some DFU enhancements have been included as well. Lukasz Majewski (3): test: dfu: Extend dfu_gadget_test_init.sh to accept sizes of test files test: dfu: cosmetic: Add missing license information to DFU test scripts

[U-Boot] [PATCH 1/3] test: dfu: Extend dfu_gadget_test_init.sh to accept sizes of test files

2014-07-29 Thread Lukasz Majewski
It is now possible to pass to the dfu_gadget_test_init.sh script the sizes of files to be generated. This feature is required by UMS tests which reuse this code. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- test/dfu/dfu_gadget_test_init.sh | 6 +- 1 file changed, 5

[U-Boot] [PATCH 3/3] test: ums: Add script for testing UMS gadget operation

2014-07-29 Thread Lukasz Majewski
This commit adds new test for UMS USB gadget to u-boot mainline tree. It it similar in operation to the one already available in test/dfu directory. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- test/ums/README | 17 ++ test/ums/ums_gadget_test.sh | 130

[U-Boot] [PATCH 2/3] test: dfu: cosmetic: Add missing license information to DFU test scripts

2014-07-29 Thread Lukasz Majewski
By mistake I've forgotten to add the SPDX license tags for the DFU testing scripts. This commit fixes that and also provides some other relevant information. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- test/dfu/dfu_gadget_test.sh | 10 ++

Re: [U-Boot] Pull request: u-boot-arm/master

2014-07-29 Thread Tom Rini
On Tue, Jul 29, 2014 at 03:08:16PM +0200, Albert ARIBAUD wrote: Hello Tom, 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:

Re: [U-Boot] [U-Boot, v2, 1/3] scripts: add scripts/show-gnu-make to get GNU Make command name

2014-07-29 Thread Tom Rini
On Tue, Jul 22, 2014 at 11:19:07AM +0900, Masahiro Yamada wrote: U-Boot is expected to be built on various platforms. We should keep in mind that the command 'make' is not always GNU Make, while all the makefiles are written for GNU Make. For example, on Linux, people generally do:

Re: [U-Boot] cosmetic: boards.cfg: fix some maintainers fields

2014-07-29 Thread Tom Rini
On Tue, Jul 22, 2014 at 12:58:30PM +0900, Masahiro Yamada wrote: Add a whitespace between the name and the email address. When switching to Kconfig, the first version of MAINTAINERS files will be generated based on the boards.cfg file. So, the maintainers field should be corrected even if

Re: [U-Boot] boards.cfg : Add maintainers entries for SOCFPGA

2014-07-29 Thread Tom Rini
On Thu, Jul 24, 2014 at 06:45:24AM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Add back the maintainers entries for Altera's SOCFPGA platform. Signed-off-by: Dinh Nguyen dingu...@altera.com Signed-off-by: Chin Liang See cl...@altera.com Applied to

Re: [U-Boot] [U-Boot, v2, 3/3] buildman: make sure to invoke GNU Make

2014-07-29 Thread Tom Rini
On Tue, Jul 22, 2014 at 11:19:09AM +0900, Masahiro Yamada wrote: Since the command name 'make' may not be GNU Make on some platforms such as FreeBSD, buildman should call scripts/show-gnu-make to get the command name for GNU MAKE (and error out if it is not found). Signed-off-by: Masahiro

Re: [U-Boot] [U-Boot,v2,2/3] MAKEALL: make sure to invoke GNU Make

2014-07-29 Thread Tom Rini
On Tue, Jul 22, 2014 at 11:19:08AM +0900, Masahiro Yamada wrote: Since the command name 'make' may not be GNU Make on some platforms such as FreeBSD, MAKEALL should call scripts/show-gnu-make to get the command name for GNU MAKE (and error out if it is not found). The GNU Make should be

[U-Boot] [PATCH] boards:trats2: New Trats2 board maintainer

2014-07-29 Thread Lukasz Majewski
Change-Id: I8e72b942b8816726773d5407ce405d68a1594389 Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- boards.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index 1c426e6..4d1fec8 100644 --- a/boards.cfg +++ b/boards.cfg @@ -297,7 +297,7 @@

Re: [U-Boot] [PATCH v7 1/1] ARM: kirkwood: add mvsdio driver

2014-07-29 Thread drEagle
Hi Stefan, On 26/07/2014 13:54, Stefan Roese wrote: On 25.07.2014 21:07, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards. Signed-off-by: Gerald Kerma drea...@doukki.net Looks good now, so: Reviewed-by: Stefan Roese

Re: [U-Boot] [PATCH 3/3] test: ums: Add script for testing UMS gadget operation

2014-07-29 Thread Stephen Warren
On 07/29/2014 07:45 AM, Lukasz Majewski wrote: This commit adds new test for UMS USB gadget to u-boot mainline tree. It it similar in operation to the one already available in test/dfu directory. Patches 1 and 2, Acked-by: Stephen Warren swar...@nvidia.com For this patch, I wonder whether:

[U-Boot] [PATCH] sun7i: Add bananapi board

2014-07-29 Thread Hans de Goede
The Banana Pi is an A20 based development board using Raspberry Pi compatible IO headers. It comes with 1 GB RAM, 1 Gb ethernet, 2x USB host, sata, hdmi and stereo audio out + various expenansion headers: http://www.bananapi.org/ Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH] sun7i: Add bananapi board

2014-07-29 Thread Ian Campbell
On Tue, 2014-07-29 at 18:57 +0200, Hans de Goede wrote: The Banana Pi is an A20 based development board using Raspberry Pi compatible IO headers. It comes with 1 GB RAM, 1 Gb ethernet, 2x USB host, sata, hdmi and stereo audio out + various expenansion headers: expansion

Re: [U-Boot] [PATCH 1/1] env_mmc: support env partition setup in runtime

2014-07-29 Thread Jeroen Hofstee
Hello Dmitry, On 29-07-14 11:46, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure. Signed-off-by: Dmitry

[U-Boot] [PATCH v5 0/11] Enable driver model for GPIOs on Tegra and Exynos

2014-07-29 Thread Simon Glass
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 simple since it has a linear numbering and already uses the generic GPIO

[U-Boot] [PATCH v5 11/11] dm: sandbox: dts: Add a GPIO bank

2014-07-29 Thread Simon Glass
Add a bank of GPIOs for sandbox which can be used for testing this functionality. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Remove RFC label now that build errors are fixed - Tidy up and update cover letter message Changes in v4: - Add patches for exynos GPIO support

[U-Boot] [PATCH v5 06/11] exynos: Tidy up GPIO headers

2014-07-29 Thread Simon Glass
The wrong header is being included, thus requiring the code to re-declare the generic GPIO interface in each GPIO header. Fix this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 07/11] exynos: Tidy up GPIO defines

2014-07-29 Thread Simon Glass
The defines at the top of the GPIO driver use single-character names for parameters which are not very descriptive. Improve these to use descriptive parameter names. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 10/11] exynos: gpio: Convert to driver model

2014-07-29 Thread Simon Glass
Convert the exynos GPIO driver to driver model. This implements the generic GPIO interface but not the extra Exynos-specific functions. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Avoid reordering functions Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 09/11] dm: gpio: Enhance gpio command to show only active GPIOs

2014-07-29 Thread Simon Glass
The GPIO list is very long in many cases and most of them are not used. By default, show only the GPIOs that are in use, and provide a flag to show all of them. This makes the 'gpio status' command much more pleasant. In order to do this, driver model now exposes a method for obtaining the

[U-Boot] [PATCH v5 08/11] exynos: Make sure that GPIOs are requested

2014-07-29 Thread Simon Glass
With driver model GPIOs must be requested before use. Make sure this is done correctly. (Note that the soft SPI part of universal is omitted, since this driver is about to be replaced with a driver-model-aware version) Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add

[U-Boot] [PATCH v5 01/11] tegra: Convert tegra GPIO driver to use driver model

2014-07-29 Thread Simon Glass
This is an implementation of GPIOs for Tegra that uses driver model. It has been tested on trimslice and also using the new iotrace feature. The implementation uses a top-level GPIO device (which has no actual GPIOS). Under this all the banks are created as separate GPIO devices. The GPIOs are

[U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-07-29 Thread Simon Glass
The pinctrl bindings used by Linux are an incomplete description of the hardware. It is possible in most cases to determine the register address of each, but not in all cases. By adding an additional property we can fix this, and avoid adding a table to U-Boot for every single Exynos SOC.

[U-Boot] [PATCH v5 03/11] exynos: Bring in pinctrl dts files from Linux kernel

2014-07-29 Thread Simon Glass
Bring in required device tree files for pinctrl from Linux v3.14. These are initially unchanged and have a number of pieces not needed by U-Boot. Note that exynos5420 is renamed to exynos54xx here since we want to support exynos5422 also. Signed-off-by: Simon Glass s...@chromium.org --- Changes

[U-Boot] [PATCH v5 04/11] exynos: dts: Remove unused pinctrl information to save space

2014-07-29 Thread Simon Glass
We don't include the pinctrl functions for U-Boot as they use up quite a bit of space and are not used. We could instead perhaps eliminate this material with fdtgrep, but so far this tool has not made it to upstream. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes

[U-Boot] [PATCH v5 02/11] exynos: dts: Convert /include/ to #include

2014-07-29 Thread Simon Glass
We should be consistent about this. The kernel has moved to #include which breaks error reporting to some extent but does allow us to include binding files. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Put this patch before the others to avoid breaking bisectability Changes

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

2014-07-29 Thread Tom Rini
On Tue, Jul 29, 2014 at 07:34:17PM +0900, Masahiro Yamada wrote: This series introduces Kconfig. Besides Linux Kernel, Kconfig is used in some projects, such as, BusyBox, Buildroot. But our situation is a little more complicated. For one board, we need to generate 3 images at most:

Re: [U-Boot] [PATCH v7 1/1] ARM: kirkwood: add mvsdio driver

2014-07-29 Thread Stefan Roese
On 29.07.2014 18:39, drEagle wrote: On 26/07/2014 13:54, Stefan Roese wrote: On 25.07.2014 21:07, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards. Signed-off-by: Gerald Kerma drea...@doukki.net Looks good now, so:

Re: [U-Boot] [PATCH v7 1/1] ARM: kirkwood: add mvsdio driver

2014-07-29 Thread Pantelis Antoniou
Hi Stefan, On Jul 29, 2014, at 9:21 PM, Stefan Roese wrote: On 29.07.2014 18:39, drEagle wrote: On 26/07/2014 13:54, Stefan Roese wrote: On 25.07.2014 21:07, Gerald Kerma wrote: This patch add Marvell kirkwood MVSDIO/MMC driver and enable it for Sheevaplugs and OpenRD boards.

Re: [U-Boot] [PATCH] sun7i: Add bananapi board

2014-07-29 Thread Hannes Petermaier
Hello Hans, i tried to test your patch, but unfortunately i cannot apply it to a freshly cloned u-boot: Applying: sun7i: Add bananapi board error: patch failed: board/sunxi/Makefile:19 error: board/sunxi/Makefile: patch does not apply error: patch failed: boards.cfg:386 error: boards.cfg:

Re: [U-Boot] [PATCH] sun7i: Add bananapi board

2014-07-29 Thread Ian Campbell
On Tue, 2014-07-29 at 20:57 +0200, Hannes Petermaier wrote: Hello Hans, i tried to test your patch, but unfortunately i cannot apply it to a freshly cloned u-boot: It applies to the current u-boot-arm.git#master plus the set of changes currently in u-boot-sunxi.git#master. In fact I would

Re: [U-Boot] [PATCH] sun7i: Add bananapi board

2014-07-29 Thread Hannes Petermaier
Many thanks, now the patch applies and i can compile u-boot. maybe tomorrow i get the ordered board from pollin.de and can test this. best regards, hannes On 2014-07-29 21:00, Ian Campbell wrote: On Tue, 2014-07-29 at 20:57 +0200, Hannes Petermaier wrote: Hello Hans, i tried to test your

[U-Boot] [RFC] Makefile: Add a message warning size change for mpc85xx boards

2014-07-29 Thread York Sun
Some mpc85xx boards are using 768KB size u-boot image while some legacy boards still use 512KB. To bring attention to users about the size change, a message is printed when compiling. SPL/PBL is not covered by this change. Signed-off-by: York Sun york...@freescale.com CC: Kim Phillips

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

2014-07-29 Thread Jeroen Hofstee
Hello Masahiro / Tom, On 29-07-14 12:34, Masahiro Yamada wrote: 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

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

2014-07-29 Thread Jeroen Hofstee
Hello Masahiro, On 29-07-14 23:48, Jeroen Hofstee wrote: Hello Masahiro / Tom, On 29-07-14 12:34, Masahiro Yamada wrote: 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

Re: [U-Boot] [RFC] Makefile: Add a message warning size change for mpc85xx boards

2014-07-29 Thread York Sun
This is an RFC. Do NOT apply. It outputs the message, tricks MAKEALL to count it as warning. York On 07/29/2014 02:23 PM, York Sun wrote: Some mpc85xx boards are using 768KB size u-boot image while some legacy boards still use 512KB. To bring attention to users about the size change, a

Re: [U-Boot] [PATCH v1 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-07-29 Thread Luka Perkov
Hi Stefan, On Mon, Jul 28, 2014 at 08:47:13AM +0200, Stefan Roese wrote: Sorry for the late reply to this comment. On 04.07.2014 00:02, Luka Perkov wrote: On Fri, Jun 27, 2014 at 11:55:08AM +0200, Stefan Roese wrote: The barebox version of the kwboot tool has evolved a bit. To support

Re: [U-Boot] [PATCH 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2014-07-29 Thread Scott Wood
On Mon, 2014-07-14 at 09:39 +0200, Heiko Schocher wrote: move common functions from cmd_nand.c (for calculating offset and size from cmdline paramter) to common place, so they could used from other commands which use mtd partitions. For onenand the arg_off_size() is left in

Re: [U-Boot] DM, Kconfig and clang changes

2014-07-29 Thread Masahiro Yamada
Hi Albert, On Tue, 29 Jul 2014 14:03:50 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Tue, 29 Jul 2014 20:10:23 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Tom, (and Albert for [3]) [3] u-boot-arm is currently out of sync (This item is

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

2014-07-29 Thread Masahiro Yamada
Hi Simon, On Mon, 28 Jul 2014 04:14:17 +0100 Simon Glass s...@chromium.org wrote: 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

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

2014-07-29 Thread Masahiro Yamada
Hi Jeroen, On Tue, 29 Jul 2014 23:55:35 +0200 Jeroen Hofstee dasub...@myspectrum.nl wrote: Hello Masahiro, On 29-07-14 23:48, Jeroen Hofstee wrote: Hello Masahiro / Tom, On 29-07-14 12:34, Masahiro Yamada wrote: This commit enables Kconfig. Going forward, we use Kconfig for the

Re: [U-Boot] [RFC] Makefile: Add a message warning size change for mpc85xx boards

2014-07-29 Thread Wolfgang Denk
Dear York Sun, In message 1406669019-31651-1-git-send-email-york...@freescale.com you wrote: Some mpc85xx boards are using 768KB size u-boot image while some legacy boards still use 512KB. To bring attention to users about the size change, a message is printed when compiling. SPL/PBL is not

[U-Boot] [PATCH v8 03/13] kconfig: add basic Kconfig files

2014-07-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Abolish CONFIG_SUBIMAGES -

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

2014-07-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Rebase on the current u-boot/master Changes in v3:

[U-Boot] [PATCH v8 09/13] MAKEALL: adjust for Kconfig

2014-07-29 Thread Masahiro Yamada
- Use make board_defconfig instead of make board_config. - Invoke tools/genboardscfg.py to generate boards.cfg when it is missing. - Show Building ${BOARD_NAME} board... message. (Prior to Kconfig, instead, mkconfig script displayed Configuring for ${BOARD_NAME} board... but it was

[U-Boot] [PATCH v8 13/13] include: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-07-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None

[U-Boot] [PATCH v8 10/13] buildman: adjust for Kconfig

2014-07-29 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 v8: None Changes in v7: None Changes in v6: None Changes

[U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig

2014-07-29 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 v8 07/13] tools: add genboardscfg.py

2014-07-29 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 v8 04/13] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-07-29 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 v8 12/13] powerpc: remove redundant CPU definition

2014-07-29 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 v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Newly added Changes in v3: None Changes in v2: None

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

2014-07-29 Thread Masahiro Yamada
Hi Tom, On Tue, 29 Jul 2014 13:59:56 -0400 Tom Rini tr...@ti.com wrote: On Tue, Jul 29, 2014 at 07:34:17PM +0900, Masahiro Yamada wrote: This series introduces Kconfig. Besides Linux Kernel, Kconfig is used in some projects, such as, BusyBox, Buildroot. But our situation is a

Re: [U-Boot] [PATCH v8 12/13] powerpc: remove redundant CPU definition

2014-07-29 Thread Stefan Roese
On 30.07.2014 07:08, Masahiro Yamada wrote: CONFIG_${CPU} is defined by Kconfig. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org Thanks Masahiro for all your hard work on this: Acked-by: Stefan Roese s...@denx.de Thanks, Stefan