[U-Boot] [PATCH v4 22/37] kbuild: delete temporary build scripts

2014-01-09 Thread Masahiro Yamada
We had switched to Kbuild. We do not need old build scripts any more. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None rules.mk | 47 - scripts/Makefile.build.tmp | 127

[U-Boot] [PATCH v4 03/37] tools: convert makefiles to kbuild style

2014-01-09 Thread Masahiro Yamada
Before this commit, makefiles under tools/ directory were implemented with their own way. This commit refactors them by using "hostprogs-y" variable. Several C sources have been added to wrap other C sources to simplify Makefile. For example, tools/crc32.c includes lib/crc32.c Signed-off-by: Mas

[U-Boot] [PATCH v4 28/37] kbuild: change the top Makefile to more Kbuild-ish structure

2014-01-09 Thread Masahiro Yamada
This commit changes the top Makefile to handle various targets nicely. Make targets are divided into four categories: - mixed-targets We can call a configuration target and build targets at one command line like follows: $ make _config u-boot They are handled one by one. -

[U-Boot] [PATCH v4 35/37] kbuild: check clean source and generate Makefile for out-of-tree build

2014-01-09 Thread Masahiro Yamada
For out-of-tree build - Check if the source tree is clean - Create a Makefile in the output directory Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: - Newly added Makefile | 63 +-- 1 f

[U-Boot] [PATCH v4 06/37] nand-spl: Use scripts/Makefile.build

2014-01-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 2 +- nand_spl/board/amcc/acadia/Makefile | 8 nand_spl/board/amcc/bamboo/Makefile | 8 nand_spl/board/amcc/can

[U-Boot] [PATCH v4 10/37] kbuild: import Kbuild.include from linux v3.12 tag

2014-01-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None scripts/Kbuild.include | 278 + 1 file changed, 278 insertions(+) create mode 100644 scripts/Kbuild.include diff --git a/scripts/Kbuild.include b/scri

[U-Boot] [PATCH v4 29/37] examples: move api/ and standalone/ to examples/Makefile

2014-01-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/Makefile| 9 + examples/api/Makefile| 4 examples/standalone/Makefile | 4 4 files changed, 10 insertions(+), 12

[U-Boot] [PATCH v4 11/37] kbuild: Use Kbuild.include

2014-01-09 Thread Masahiro Yamada
This commit adjusts some files to use Kbuild.include. - Use cc-option defined in Kbuild.include (Delete cc-option in config.mk) - Use cc-version defined in (Delete cc-version in config.mk) - Move binutils-version and dtc-version to Kbuild.include by analogy to cc-version This comm

[U-Boot] [PATCH v4 13/37] Makefile: refactor include path settings

2014-01-09 Thread Masahiro Yamada
This commit merges commonly-used header include paths to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed at the top Makefile. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 14 +- config.mk |

[U-Boot] [PATCH v4 14/37] Makefile: move more stuff to top Makefile

2014-01-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 20 +--- config.mk | 19 +-- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index 1523f12..18bcbab 100644 --- a/Makefi

[U-Boot] [PATCH v4 25/37] kbuild: move include directives of board configuration files

2014-01-09 Thread Masahiro Yamada
This commit changes the location of include directives of board configuration files. The purpose of this change is: - Slim down $(TOPDIR)/config.mk - Prevent $(TOPDIR)/Makefile from including the same configuration file twice - Do not include include/config.mk multiple times because ARC

[U-Boot] [PATCH v4 33/37] kbuild: use scripts/Makefile.clean

2014-01-09 Thread Masahiro Yamada
This commit refactors cleaning targets such as clean, clobber, mrpropper, distclean with scripts/Makefile.clean. By using scripts/Makefile.clean, we can recursively descend into subdirectories and delete generated files there. We do not need add a big list of generated files to the "clean" target

[U-Boot] [PATCH v4 19/37] Makefile: rename scripts/Makefile.build to scripts/Makefile.build.tmp

2014-01-09 Thread Masahiro Yamada
Some build scripts including scripts/Makefile.build will be imported from Linux Kernel in the next commit. We need to adjust them for U-Boot in the following commits. To make it easier for reviewers to track the modification, this commit renames scripts/Makefile.build to scripts/Makefile.build.tmp

[U-Boot] [PATCH v4 16/37] Makefile: move some flags to examples makefiles

2014-01-09 Thread Masahiro Yamada
This commit moves some flags which are used under examples/ directory only. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 8 examples/api/Makefile| 4 examples/standalone/Makefile | 4 3

[U-Boot] [PATCH v4 31/37] Makefile: Do not pass MTD_VERSION from the top Makefile

2014-01-09 Thread Masahiro Yamada
$(MTD_VERSION) is used in tools/env/Makefile If you specify a variable at a command line like: $ make MTD_VERSION=old env or specify it thru an envrionment variable like: $ export MTD_VERSION=old $ make env it is inherited to the sub-make too. We do not need to pass it from the top Makefile

[U-Boot] [PATCH v4 01/37] .gitignore: ingore files generated by Kbuild

2014-01-09 Thread Masahiro Yamada
Ignore generated files by Kbuild such as .*.cmd, *.order, etc. Besides above, - Ignore *.s files We do not need to ignore with file name, asm-offsets.s - Do not ignore *.rej (for quilt) - Ignore backup files, \#*# Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v4 37/37] kbuild: Do not generate .*.su files at the top directory

2014-01-09 Thread Masahiro Yamada
Without this workaround, you will see a lot of ".*.su" files at the top directory after building with a compiler which supports "-fstack-usage" option. Signed-off-by: Masahiro Yamada --- Changes in v4: - Newly added Changes in v3: None Changes in v2: None scripts/Kbuild.include | 4 +++- 1

[U-Boot] [PATCH v4 05/37] examples: Use scripts/Makefile.build

2014-01-09 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/api/Makefile| 21 +--- examples/standalone/Makefile | 46 ++-- scripts/Makefile.build

[U-Boot] [PATCH v4 36/37] board: sandburst: delete FORCEBUILD

2014-01-09 Thread Masahiro Yamada
We had switched to Kbuild, so we do not need to delete sandburst board files at every build. U-Boot conventional build system did not check the update of command line option, -DBUILDUSER. Kbuild can handle it nicely and re-builds object files when command line options are changed. (The file ".*.c

[U-Boot] [PATCH v4 09/37] Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile

2014-01-09 Thread Masahiro Yamada
BFD_ROOT_DIR is used only in tools/gdb/Makefile Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None config.mk | 23 --- tools/gdb/Makefile | 21 + 2 files changed, 21 insertions(+), 23 deletions(-) dif

[U-Boot] [PATCH v4 34/37] kbuild: support simultaneous board configuration and "make all"

2014-01-09 Thread Masahiro Yamada
This commit fixes two problems: [1] We could not do board configuration and "make all" in one command line. For example, the following did not work as we expect: $ make sandbox_config all Configuring for sandbox board... make: Nothing to be done for `all'. [2] mixed-target build did no

[U-Boot] [PATCH v4 0/37] Switch over to real Kbuild

2014-01-09 Thread Masahiro Yamada
We switched to Kbuild style makefiles at v2014.01-rc1 release. With that modification, we can write makefiles simpler. But it is NOT real Kbuild. We need more progress. As the next step, this series imports (+ adjusts) build scripts from Linux Kernel under scripts/ directory. By applying this ser

[U-Boot] [PATCH v4 24/37] kbuild: convert some make rules to Kbuild style

2014-01-09 Thread Masahiro Yamada
We can get Kbuild-ish log style like this: GEN include/autoconf.mk GEN include/autoconf.mk.dep We do not need XECHO any more. And also change checkstack target like Linux Kernel. Signed-off-by: Masahiro Yamada --- Changes in v4: - Change checkstack target Changes in v3: None Cha

[U-Boot] [PATCH v4 20/37] kbuild: import more build scripts from Linux v3.12 tag

2014-01-09 Thread Masahiro Yamada
This commit imports build scripts from Linux Kernel v3.12 as they are. I know they include some trailing spaces but I keep intentionally them untouched. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None scripts/Makefile.build | 479 ++

[U-Boot] [PATCH v4 27/37] Makefile: remove a cleaning target "tidy"

2014-01-09 Thread Masahiro Yamada
Before this commit, "make tidy" did "make clean" + delete "*.depend*" files. But, we do not have "*.depend*" files any more, which means "make tidy" is the same as "make clean". This commit removes the redandant target "tidy". Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v

Re: [U-Boot] [PATCH v4 00/12] Introduce Samsung misc file and LCD menu.

2014-01-09 Thread Hyungwon Hwang
Hi Marczak, On Thu, 09 Jan 2014 12:23:04 +0100 Przemyslaw Marczak wrote: > This patch set includes changes required to: > - properly use of all gpios > - introduce common file for Samsung misc code > - keys support (PWR, VOL:UP,DOWN) > - console support on LCD > - 16bpp logo support > - introduc

Re: [U-Boot] [U-boot] Uboot's plan for ARMv8

2014-01-09 Thread TigerLiu
Hi, sharma: Thanks for your answer! How to get u-boot source code which includes arch/arm/cpu/armv8 dir? I used "git clone git://www.denx.de/git/u-boot.git" to download source code. But not find arm64 patch code in the downloaded source code. Best wishes, __

Re: [U-Boot] [PATCH v4 00/12] Introduce Samsung misc file and LCD menu.

2014-01-09 Thread Hyungwon Hwang
On Fri, 10 Jan 2014 15:45:52 +0900 Hyungwon Hwang wrote: Hi Marczak, > Hi Marczak, > > On Thu, 09 Jan 2014 12:23:04 +0100 > Przemyslaw Marczak wrote: > > > This patch set includes changes required to: > > - properly use of all gpios > > - introduce common file for Samsung misc code > > - keys

Re: [U-Boot] [PATCH v4 06/12] lib: tizen: change Tizen logo with the new one.

2014-01-09 Thread Hyungwon Hwang
Hi, Marczak On Thu, 09 Jan 2014 12:23:10 +0100 Przemyslaw Marczak wrote: > This is big size patch. Please follow the link: > > http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0006-lib-tizen-change-Tizen-logo-with-the-new-one.patch > I tested it on M0 board, and the image shows center-aligned

[U-Boot] [PATCH 2/3 V3] esdhc: Detecting 8 bit width before mmc initialization

2014-01-09 Thread Haijun Zhang
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by: Haijun Zhang --- changes for V3: - Define quirk in board specific file instead of code in driver changes for V2: - No cha

[U-Boot] [PATCH 1/3 V3] esdhc: Workaround for card can't be detected on T4240QDS

2014-01-09 Thread Haijun Zhang
Card detection pin is ineffective on T4240QDS Rev1.0. There are two cards can be connected to board. 1. eMMC card is built-in board, can not be removed. so For eMMC card it is always there. 2. Card detecting pin is functional for SDHC card in Rev2.0. This workaround force sdhc driver scan and i

[U-Boot] [PATCH 3/3 V3] eSDHC: Calculate envaddr accroding to the address format

2014-01-09 Thread Haijun Zhang
On BSC9131, BSC9132, P1010 : For High Capacity SD Cards (> 2 GBytes), the 32-bit source address specifies the memory address in block address format. Block length is fixed to 512 bytes as per the SD High Capacity specification. So we need to convert the block address format to byte address format t

Re: [U-Boot] [U-boot] Uboot's plan for ARMv8

2014-01-09 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Friday, January 10, 2014 12:25 PM > To: Sharma Bhupesh-B45370; u-boot@lists.denx.de > Cc: feng...@phytium.com.cn > Subject: Re: [U-boot] Uboot's plan for ARMv8 > > Hi, sharma: > Thanks for your an

<    1   2