> 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
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
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
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
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
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
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
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,
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/
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
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
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
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
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 ++---
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
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
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
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
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 ++--
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(+)
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
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
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 +
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
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)
Signed-off-by: Masahiro Yamada
---
fs/Makefile | 24 +---
fs/cbfs/Makefile | 24 +---
fs/cramfs/Makefile | 29 ++---
fs/ext4/Makefile | 27 ++-
fs/fat/Makefile | 31 +++-
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
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
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
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
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
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
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
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
34 matches
Mail list logo