Re: [U-Boot] [PATCH 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-09-07 Thread Masahiro Yamada
> 0002-0019 change sub makefiles into a Kbuild suitable form using obj-y. > In order to avoid creating a big patch file, they are divided > by CPU architectures and categories. > > 0002-0007: refactor under arch/arm/ > 0008-0016: refactor libraries which are common for all architectures > 0

[U-Boot] [PATCH 6/6] ARM: s5pc, exynos: delete Samsung ARM SoC specific code from toplevel Makefile

2013-09-07 Thread Masahiro Yamada
This patch moves S5PC, EXYNOS specific directory entries from the toplevel Makefile to arch/arm/cpu/armv7/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Minkyu Kang --- Makefile| 6 -- arch/arm/cpu/armv7/Makefile | 4 spl/Makefile

[U-Boot] [PATCH 5/6] ARM: omap: delete OMAP specific code from toplevel Makefile

2013-09-07 Thread Masahiro Yamada
This patch moves OMAP specific directory entries from the toplevel Makefile and spl/Makefile to arch/arm/cpu/armv7/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Tom Rini --- Makefile| 4 arch/arm/cpu/armv7/Makefile | 3 +++ spl/Makefile

[U-Boot] [PATCH 4/6] ARM: tegra: delete Tegra specific code from toplevel Makefile

2013-09-07 Thread Masahiro Yamada
This patch moves Tegra specific directory entries from the toplevel Makefile and spl/Makefile to arch/arm/cpu/*/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Tom Warren --- Makefile | 6 +- arch/arm/cpu/Makefile | 2 ++ arch/arm/cp

[U-Boot] [PATCH 3/6] fs: move some file system to fs/Makefile

2013-09-07 Thread Masahiro Yamada
This commit moves some subdirectories of fs from the toplevel Makefile to fs/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada --- Makefile| 12 +--- fs/Makefile | 11 +++ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makef

[U-Boot] [PATCH 2/6] drivers: move some drivers to drivers/Makefile

2013-09-07 Thread Masahiro Yamada
This commit moves some drivers subdirectory entry from the toplevel Makefile to drivers/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada --- Makefile | 14 +- drivers/Makefile | 13 + 2 files changed, 14 insertions(+), 13 deletions(-) crea

[U-Boot] [PATCH 0/6] Second step towards Kbuild: Descend down like Kbuild

2013-09-07 Thread Masahiro Yamada
I have been just wondering why the U-Boot top Makefile is so dirty. It is sprinkled with SoC-specific code as follows: ifneq ($(CONFIG_OMAP_COMMON),) LIBS-y += $(CPUDIR)/omap-common/libomap-common.o endif ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610)) LI

[U-Boot] [PATCH 1/6] Makefile: support descending down to subdirectories

2013-09-07 Thread Masahiro Yamada
This patch tweaks scripts/Makefile.build to allow the build system to descend into subdirectories like Kbuild. To use this feature, use "obj-y += foo/" syntax. Example: obj-$(CONFIG_FOO) += foo/ Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 15 +++ 1 file changed,

[U-Boot] [PATCH 18/19] powerpc: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Wolfgang Denk Cc: Stefan Roese --- arch/powerpc/cpu/74xx_7xx/Makefile| 28 +--- arch/powerpc/cpu/mpc512x/Makefile | 51 ++-- arch/powerpc/cpu/mpc5xx/Makefile | 27 +--- arch/powerpc/cpu/mpc5xxx/Makefile | 54 +++- arch/powerpc/cpu/

[U-Boot] [PATCH 17/19] sandbox: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Simon Glass --- arch/sandbox/cpu/Makefile | 23 +-- arch/sandbox/lib/Makefile | 25 + 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/arch/sandbox/cpu/Makefile b/arch/sandbox/cpu/Makefile index e386867

[U-Boot] [PATCH 15/19] lib: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- lib/Makefile| 114 ++-- lib/libfdt/Makefile | 27 + lib/lzma/Makefile | 24 +-- lib/lzo/Makefile| 24 +-- lib/rsa/Makefile| 22 +- lib/tizen/Makefile | 24

[U-Boot] [PATCH 16/19] disk: convert a makefile to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- disk/Makefile | 34 ++ 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/disk/Makefile b/disk/Makefile index 2b04e03..48abec8 100644 --- a/disk/Makefile +++ b/disk/Makefile @@ -5,33 +5,11 @@ # SPDX-License-Identifier

[U-Boot] [PATCH 14/19] net: convert a makefile to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- net/Makefile | 46 -- 1 file changed, 12 insertions(+), 34 deletions(-) diff --git a/net/Makefile b/net/Makefile index 4c9a97f..31aadc2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -5,39 +5,17 @@ # SPDX-License-Id

[U-Boot] [PATCH 19/19] board: ti: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Tom Rini --- board/ti/am335x/Makefile | 29 ++--- board/ti/am3517crane/Makefile | 19 +-- board/ti/am43xx/Makefile | 29 ++--- board/ti/beagle/Makefile | 24 ++---

[U-Boot] [PATCH 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-09-07 Thread Masahiro Yamada
Kbuild in U-Boot has been talked for a while and RFC patches were posted by Simon Glass. (Refer to "RFC: Add Kbuild system to U-Boot" posted by Simon, May 12, 2013) Simon's effort is a good start point but varous critical features were missing from his patch series. I have also been eager to int

[U-Boot] [PATCH 09/19] drivers: mtd: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/mtd/Makefile | 44 +-- drivers/mtd/nand/Makefile| 102 +-- drivers/mtd/onenand/Makefile | 27 ++-- drivers/mtd/spi/Makefile | 48 ++-- drivers/mtd/ubi/Make

[U-Boot] [PATCH 05/19] arm720t: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm720t/Makefile | 26 ++ arch/arm/cpu/arm720t/tegra-common/Makefile | 25 ++--- arch/arm/cpu/arm720t/tegra114/Makefile | 25 ++--- arch/arm/cpu/arm720t/tegra20/Makefil

[U-Boot] [PATCH 13/19] common: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- common/Makefile | 389 common/spl/Makefile | 36 + 2 files changed, 189 insertions(+), 236 deletions(-) diff --git a/common/Makefile b/common/Makefile index 288690b..745d447 100644 --- a/common/Makef

[U-Boot] [PATCH 11/19] drivers: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/bios_emulator/Makefile| 23 +--- drivers/block/Makefile| 52 ++ drivers/bootcount/Makefile| 30 ++- drivers/crypto/Makefile | 25 + drivers/dfu/Makefile | 25 ++--

[U-Boot] [PATCH 08/19] drivers: net: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/net/Makefile | 136 --- drivers/net/fm/Makefile | 59 +++- drivers/net/npe/Makefile | 24 + drivers/net/phy/Makefile | 60 +++-- 4 files changed, 96 insertions(+)

[U-Boot] [PATCH 03/19] arm926ejs: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Note1: In arch/arm/cpu/arm926ejs/spear/Makefile START := start.o was changed extra-$(CONFIG_SPL_BUILD) := start.o because spear/start.o is only used for SPL. Note2: START := start.o was missing from arch/arm/cpu/arm926ejs/mxs/Makefile. This commit simply adds extra-$(CONFIG_SPL_BUILD) := start.o

[U-Boot] [PATCH 06/19] ARM: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm1136/Makefile | 26 +- arch/arm/cpu/arm1136/mx31/Makefile | 27 ++- arch/arm/cpu/arm1136/mx35/Makefile | 28 ++- arch/arm/cpu/arm1176/Makefile | 26 +- arch/arm/cpu/arm1176/bcm2835/Mak

[U-Boot] [PATCH 02/19] armv7: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/Makefile | 32 arch/arm/cpu/armv7/am33xx/Makefile | 51 arch/arm/cpu/armv7/at91/Makefile | 31 --- arch/arm/cpu/armv7/exynos/Makefile | 34 +

[U-Boot] [PATCH 04/19] arm920t: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm920t/Makefile | 28 +++- arch/arm/cpu/arm920t/a320/Makefile| 25 ++--- arch/arm/cpu/arm920t/at91/Makefile| 33 ++--- arch/arm/cpu/arm920t/ep93xx/Makefile | 2

[U-Boot] [PATCH 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-09-07 Thread Masahiro Yamada
In every sub directory, Makefile is like follows: include $(TOPDIR)/config.mk LIB = $(obj)libfoo.o COBJS := ... COBJS += ... SOBJS := ... SRCS:= $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS:= $(addprefix $(obj),$(COBJS) $(SOBJS)) all: $(obj).depend $(LIB)

[U-Boot] [PATCH 12/19] fs: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- fs/Makefile | 24 +--- fs/cbfs/Makefile | 24 +--- fs/cramfs/Makefile | 29 ++--- fs/ext4/Makefile | 27 ++- fs/fat/Makefile | 31 +++-

[U-Boot] [PATCH 07/19] ARM: imx-common: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Multiple targets are included in arch/arm/imx-common/Makefile In order to refactor it, we need to tweak Makefile and spl/Makefile. Signed-off-by: Masahiro Yamada --- Makefile | 8 +--- arch/arm/imx-common/Makefile | 35 ++- spl/Makefile

[U-Boot] [PATCH 10/19] drivers: usb: convert makefiles to Kbuild style

2013-09-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/usb/eth/Makefile | 28 ++-- drivers/usb/gadget/Makefile | 54 ++- drivers/usb/host/Makefile | 74 +++ drivers/usb/musb-new/Makefile | 36 - dri

Re: [U-Boot] [PATCH v5 1/4] core support of arm64

2013-09-07 Thread FengHua
Fisrt, thank scott for checking the patch. > -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年9月7日 星期六 > 收件人: feng...@phytium.com.cn > 抄送: u-boot@lists.denx.de, tr...@ti.com > 主题: Re: [U-Boot] [PATCH v5 1/4] core support of arm64 > > On Sat, 2013-08-24 at 09:06 +0800, feng...@phytium.com.cn wrot

Re: [U-Boot] [PATCH v2 0/4] MTD & UBI fixes

2013-09-07 Thread Stefan Roese
On 04.09.2013 16:16, Paul Burton wrote: > This patchset corrects a few issues I've had whilst using UBI with U-boot. > > The first 3 are bug fixes, the 4th is an addition I needed in order to write a > large root filesystem into my NAND device. > > Changes since v1: > - Fixed style issues in "c

[U-Boot] [PATCH] ARM: refactor compiler options in config.mk

2013-09-07 Thread Masahiro Yamada
Every ARM cpu config.mk (arch/arm/cpu/{CPUDIR}/config.mk) defines: PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float So, this patch moves the common compiler options to arch/arm/config.mk. Signed-off-by: Masahiro Yamada --- Note: This commit keeps arch/arm/cpu/s3c44b0/config.mk untouche

[U-Boot] Please pull u-boot-ppc4xx/master

2013-09-07 Thread Stefan Roese
Hi Tom, please pull the following fix: The following changes since commit 1affd4d4a3fe512050e1ad1636d9360c670da531: cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header (2013-09-06 13:09:08 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master fo

Re: [U-Boot] [PATCH] ppc4xx: Fix GPIO handling in lwmon5 and lcd4_lwmon5 BSP

2013-09-07 Thread Stefan Roese
On 27.08.2013 13:48, Stefan Roese wrote: > LCD4 needs a slightly different GPIO configuration than the > original LWMON5 variant. GPIO49 needs to be configured to a > default output value of 0 (permanent voltage supply). > > Additionally lcd4 also needs to enable the LSB transmitter. Applied to u

[U-Boot] mxc_i2c: add new i2c subsystem support

2013-09-07 Thread Philippe Reynes
Hi Heiko, The mxc_i2c driver use the legacy framework. I plan to move this driver to new i2c subsystem (CONFIG_SYS_I2C). Is someone already working on this task ? If no, I propose to only add new i2c subsystem (and not remove old i2c framework). We could remove the mxc i2c legacy support when all