[U-Boot] [PATCH 2/2] vexpress: Add vexpress qemu variant

2013-11-17 Thread Ian Campbell
The main purpose of this is to disable the use of the virtualisation extensions which Qemu does not emulate. Also enable a few additional commands and the u-boot API. This works for me with: $ dd if=/dev/zero of=pflash0.img bs=1M count=64 $ dd if=/dev/zero of=pflash1.img bs=1M count=64 $ qemu-sys

[U-Boot] [PATCH 1/2] vexpress: use correct timer address on extended memory map systems

2013-11-17 Thread Ian Campbell
Signed-off-by: Ian Campbell Cc: albert.u.b...@aribaud.net --- include/configs/vexpress_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index 6da5e8f..7e78f8a 100644 --- a/include/configs/vexpress_c

Re: [U-Boot] u-boot gerrit server

2013-11-17 Thread Wolfgang Denk
Dear Otavio, In message you wrote: > > > Are any of the Linux sub-trees managed by gerrit? > > I don't think it is the right comparison. We are not discussing if > Gerrit is good or bad; or even who uses it. Our focus must be: does > Gerrit workflow work for /most/ of us? In case the answer is

[U-Boot] [PATCH V3 0/5] imx: Define common routines to set cpu and board environment variables

2013-11-17 Thread Eric Nelson
This series adds support for two environment variables that are useful for use in scripting startup of an O/S in general, and specifically in computing DTB names. Patches 1 and 2 implement the feature through arch_misc_init(), but don't enable it. Patch 3 overrides board_name for the nitrogen6x b

[U-Boot] [PATCH 2/5] imx: Define common routines to set cpu and board environment variables

2013-11-17 Thread Eric Nelson
Defines two environment variables for use in producing DTB file names, among other uses: imx_type: defines the CPU variant through the get_imx_type() routine board_name: environment variable equivalent of CONFIG_SYS_BOARD_NAME Both can be over-ridden by a user. This is expected to be most useful

[U-Boot] [PATCH 5/5] i.MX6: mx6*sabre*: initialize imx_type and board_name values

2013-11-17 Thread Eric Nelson
These will need to be computed if/when boards support multiple processor variants. Signed-off-by: Eric Nelson --- include/configs/mx6sabre_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 79d1f34..092b764 10

[U-Boot] [PATCH V3 1/5] i.MX5x: define cpu_type() to return processor portion of cpu rev.

2013-11-17 Thread Eric Nelson
Signed-off-by: Eric Nelson --- This patch is new in V3 arch/arm/include/asm/arch-mx5/sys_proto.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-mx5/sys_proto.h b/arch/arm/include/asm/arch-mx5/sys_proto.h index 9949ad1..9dad5fc 100644 --- a/arch/arm/include/asm

[U-Boot] [PATCH 3/5] i.MX6: nitrogen6x/sabrelite: override set_board_name()

2013-11-17 Thread Eric Nelson
Since the nitrogen6x board file auto-detects Nitrogen6x and SABRE Lite boards, override set_board_name to produce one of two values for board_name. Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --g

[U-Boot] [PATCH 4/5] i.MX6: nitrogen6x/sabrelite: initialize imx_type and board_name values

2013-11-17 Thread Eric Nelson
Use them to produce FDT file name in mx6qsabrelite_config. Signed-off-by: Eric Nelson --- include/configs/nitrogen6x.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 3df8de0..361e69d 100644 --- a/inclu

Re: [U-Boot] examples: add again x86 standalone example

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 12:47:53PM +0900, Masahiro Yamada wrote: > Commit fea25720 renamed arch/i386 to arch/x86. > But it missed to modify examples/standalone/Makefile. > > This commit revives examples/standalone/82559_eeprom. > > Signed-off-by: Masahiro Yamada > Cc: Simon Glass > > --- > He

Re: [U-Boot] board: cogent: include header files in a more natural way

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 10:30:20AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > > --- > Note: > I built cogent_mpc8260 and cogent_mpc8xx boards > and confirmed that the same binaries were still generated > with the changes in this commit. Applied to u-boot/master, thanks! -

Re: [U-Boot] [i2c] Pull request

2013-11-17 Thread Tom Rini
On Wed, Nov 13, 2013 at 07:41:49AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git: > > The following changes since commit 63c4f17b2f8017d22241522a48c765073b8791b0: > > cm_t35: use scf0403 driver (2013-11-12 10:12:07 +0100) > > are available in the git repositor

Re: [U-Boot] [U-Boot, v2] configs: clean up unused macro CONFIG_L2_OFF

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 09:49:36AM +0900, Masahiro Yamada wrote: > Since commit c2dd0d455 and 45bf05854 introduced > the new cache maintainance framework to ARM, > CONFIG_L2_OFF has not been used at all. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [PATCH 00/22] A collection of trivial Makefile refactoring

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 02:35:48PM +0900, Masahiro Yamada wrote: > This series does not add any new features but > refactor makefiles. > > Masahiro Yamada (22): > Makefile: abolish COBJS, SOBJS, etc. > Makefile: specifiy an explicite object name rather than $(BOARD).o > drivers: descend int

Re: [U-Boot] pull-request: u-boot-mpc85xx/master

2013-11-17 Thread Tom Rini
On Wed, Nov 13, 2013 at 01:17:21PM -0800, York Sun wrote: > Tom, > > The following changes since commit 63c4f17b2f8017d22241522a48c765073b8791b0: > > cm_t35: use scf0403 driver (2013-11-12 10:12:07 +0100) > > are available in the git repository at: > > git://git.denx.de/u-boot-mpc85xx.git

Re: [U-Boot] examples: remove the remainders of dead board

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 12:45:40PM +0900, Masahiro Yamada wrote: > Commit 309a292e deleted OXC board, but > missed to remove the standalone example specific to OXC board. > > eepro100_eeprom.c has been an orphan file for a long term. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master,

Re: [U-Boot] nios2: remove unnecessary header include path

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 12:11:12PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Thomas Chou > > --- > Note: > I built all of nios2 boards and confirmed that the same binaries > were still generated with the changes in this commit. Applied to u-boot/master, thanks! --

Re: [U-Boot] cosmetic: README.scrapyard: Add eNET board

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 12:15:58PM +0900, Masahiro Yamada wrote: > Commit 7e8c53d7 removed eNET board but missed to > add eNET to README.scrapyard. > This commit adds it for the record. > > Signed-off-by: Masahiro Yamada > Cc: Simon Glass > Cc: Graeme Russ > Acked-by: Simon Glass Applied to

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2013-11-17 Thread Tom Rini
On Sat, Nov 16, 2013 at 12:03:02AM +0100, Daniel Schwierzeck wrote: > Hi Tom, > > please pull a fix for Malta board for qemu-1.6 and newer. > > The following changes since commit 63c4f17b2f8017d22241522a48c765073b8791b0: > > cm_t35: use scf0403 driver (2013-11-12 10:12:07 +0100) > > are avai

Re: [U-Boot] board: Do not add -DCONFIG_SYS_TEXT_BASE in board config.mk

2013-11-17 Thread Tom Rini
On Mon, Nov 11, 2013 at 02:13:33PM +0900, Masahiro Yamada wrote: > Board config.mk do not need to add -DCONFIG_SYS_TEXT_BASE > to CPPFLAGS because the top level config.mk does instead. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Dig

Re: [U-Boot] [PATCH V3 1/5] i.MX5x: define cpu_type() to return processor portion of cpu rev.

2013-11-17 Thread Marek Vasut
Hi Eric, > Signed-off-by: Eric Nelson > --- > This patch is new in V3 > > arch/arm/include/asm/arch-mx5/sys_proto.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/include/asm/arch-mx5/sys_proto.h > b/arch/arm/include/asm/arch-mx5/sys_proto.h index 9949ad1..9dad5fc 100644

Re: [U-Boot] u-boot gerrit server

2013-11-17 Thread Wolfgang Denk
Dear Tom, In message <20131116013913.GN420@bill-the-cat> you wrote: > > > Here is my key problem. I cannot even figure out what to do with this > > page. I cannot display it in a format I am used to, not can I > > process it in a way I'm used to. I'm totally lost with that. > > Scroll down to

Re: [U-Boot] u-boot gerrit server

2013-11-17 Thread Tom Rini
On Sun, Nov 17, 2013 at 05:51:20PM +0100, Wolfgang Denk wrote: > Dear Otavio, > > In message > you > wrote: > > > > > Are any of the Linux sub-trees managed by gerrit? > > > > I don't think it is the right comparison. We are not discussing if > > Gerrit is good or bad; or even who uses it. Ou

Re: [U-Boot] u-boot gerrit server

2013-11-17 Thread Graeme Russ
Hi All, You do all realise that we are going about this, to use some British vernacular, arse-about-tit Everyone agrees that the current U-Boot review workflow 'has issues' (and has had issues for quite some time). The first attempt at overcoming these issues was Patchwork. I personally think tha

[U-Boot] [PATCH] board: h2200: Delete an unnecessary make rule

2013-11-17 Thread Masahiro Yamada
We have a generic rule to generate .o file from *.S in $(TOPDIR)/config.mk. Signed-off-by: Masahiro Yamada --- Note: I confirmed that I can still generate the identical board/h2200/h2200-header.bin after applying this patch. board/h2200/Makefile | 3 --- 1 file changed, 3 deletions(-) diff -

[U-Boot] [PATCH] post: remove unnecessary include path settings

2013-11-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Note: I built all boards and checked md5sum. I confirmed we can get the same binaries with the changes in this patch. post/board/lwmon/Makefile | 2 -- post/board/lwmon5/Makefile| 2 -- post/board/netta/Makefile | 2 -- post/board/pdm360ng/Makefil

[U-Boot] [PATCH] spieval: Remove remainders of dead board

2013-11-17 Thread Masahiro Yamada
Commit 69434e4c deleted spieval board support but it missed to clean up include/configs/spieval.h file. Signed-off-by: Masahiro Yamada --- include/configs/spieval.h | 494 -- 1 file changed, 494 deletions(-) delete mode 100644 include/configs/spieval.

[U-Boot] [PATCH] board: tqm5200: delete its own object make rule

2013-11-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- I cannot understand at all why this rule is necessary: $(obj)cam5200_flash.o: cam5200_flash.c $(CC) $(CFLAGS) -c -o $@ $< I confirmed the same binaries can be generated without this rule. I built all tqm5200 boards (aev, cam5200, cam5200_niosflash, cha

[U-Boot] [PATCH] examples: delete unnecessary CPPFLAGS

2013-11-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Note that adding CPPFLAGS locally in examples/{api,standalone}/Makefile is meaningless. $(CPPFLAGS) is evaluated around line 260 of $(TOPDIR)/config.mk: CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes $(TOPDIR)/config.mk is included at the top of examples

[U-Boot] [PATCH] Makefile: descend into subdirectories only when CONFIG_API is defined

2013-11-17 Thread Masahiro Yamada
All objects under api/ and examples/api/ directories are selected by CONFIG_API. So we can move CONFIG_API switch to the top Makefile. In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y must be moved after "sinlude $(obj)include/autoconf.mk". Signed-off-by: Masahiro Yamada --- Make

[U-Boot] [PATCH] Makefile: move some libraries to lib/Makefile

2013-11-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Makefile | 5 - lib/Makefile | 7 +++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ed2864c..52133a5 100644 --- a/Makefile +++ b/Makefile @@ -231,11 +231,6 @@ OBJS := $(addprefix $(obj),$(OBJS)) HAVE_VENDOR

[U-Boot] [PATCH] drivers: delete unnecessary HOSTCFLAGS

2013-11-17 Thread Masahiro Yamada
HOSTCFLAGS is meaningless because no host programs are compiled there. Signed-off-by: Masahiro Yamada --- drivers/bios_emulator/Makefile | 1 - drivers/net/npe/Makefile | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile inde

[U-Boot] Some SuperH boards are broken

2013-11-17 Thread Masahiro Yamada
Hello Nobuhiro I cannot compile sh7752evb and sh7757lcr boards because of the following error: sh_eth.c: In function 'sh_eth_send': sh_eth.c:57:2: warning: implicit declaration of function 'dcache_wback_range' [-Wimplicit-function-declaration] drivers/net/built-in.o: In function `sh_eth_send': /

[U-Boot] Many Blackfin boards are broken

2013-11-17 Thread Masahiro Yamada
Hello Sonic and other Blackfin board maintainers. I cannot build many of Blackfin boards. (1) gpio.c:780: error: ‘PORTA_FER’ undeclared here (not in a function) gpio.c:781: error: ‘PORTB_FER’ undeclared here (not in a function) gpio.c:782: error: ‘PORTC_FER’ undeclared here (not in a function) g

Re: [U-Boot] Some SuperH boards are broken

2013-11-17 Thread Nobuhiro Iwamatsu
Hi, 2013/11/18 Masahiro Yamada : > Hello Nobuhiro > > I cannot compile sh7752evb and sh7757lcr boards > because of the following error: > > sh_eth.c: In function 'sh_eth_send': > sh_eth.c:57:2: warning: implicit declaration of function 'dcache_wback_range' > [-Wimplicit-function-declaration] > d

Re: [U-Boot] Some SuperH boards are broken

2013-11-17 Thread Masahiro Yamada
Hello Nobuhiro. > > I grepped the whole tree and the definition of "dcache_wback_range" > > function is surely missing. > > > > Unfortunately, no board maintainter is assigned for these two boards. > > Could you fix them? > > Or if you can't fix this issue, please both of the two boards. > > > >

Re: [U-Boot] [PATCH 1/2 V2] powerpc/esdhc: Map register for eSDHC Host Controller V3.0

2013-11-17 Thread Zhang Haijun
Hi, all Who could help review this patch set? Thanks in advance. 于 2013/10/31 15:51, Pantelis Antoniou 写道: Hi Haijun, On Oct 30, 2013, at 5:37 AM, Haijun Zhang wrote: eSDHC host controller has new register to support SD Spec 3.0. And the according host controller version was Freescale eSDHC

Re: [U-Boot] [PATCH 1/6] driver:i2c:s3c24x0: adapt driver to new i2c

2013-11-17 Thread Heiko Schocher
Hello Piotr, Am 13.11.2013 15:31, schrieb Piotr Wilczek: The s3c24x0 i2c driver is adapted to new i2c framework. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang Cc: Heiko Schocher --- drivers/i2c/Makefile |2 +- drivers/i2c/s3c24x0_i2c.c | 157

[U-Boot] [PATCH v2] arm926ejs, at91: add common phy_reset function

2013-11-17 Thread Heiko Schocher
add common phy reset code into a common function. Signed-off-by: Heiko Schocher Cc: Andreas Bießmann Cc: Bo Shen Cc: Jens Scharsig Cc: Sergey Lapin Cc: Stelian Pop Cc: Albin Tonnerre Cc: Eric Benard Cc: Markus Hubig --- - changes for v2: - add comment from Andreas Bießmann: - const

Re: [U-Boot] [PATCH 1/6] driver:i2c:s3c24x0: adapt driver to new i2c

2013-11-17 Thread Piotr Wilczek
Hello Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Monday, November 18, 2013 7:18 AM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park > Subject: Re: [PATCH 1/6] driver:i2c:s3c24x0: adapt driver to new i2c > > Hello Piotr, > >

Re: [U-Boot] [PATCH 1/6] driver:i2c:s3c24x0: adapt driver to new i2c

2013-11-17 Thread Heiko Schocher
Hello Piotr, Am 18.11.2013 08:10, schrieb Piotr Wilczek: Hello Heiko, -Original Message- From: Heiko Schocher [mailto:h...@denx.de] Sent: Monday, November 18, 2013 7:18 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park Subject: Re: [PATCH 1/6] driver:i2c:s3c24x0

Re: [U-Boot] Many Blackfin boards are broken

2013-11-17 Thread Sonic Zhang
Hi Masahiro, Thank you for report these failure. They are all fixed. See my 4 patches in the other emails. Regards, Sonic Zhang On Mon, Nov 18, 2013 at 12:22 PM, Masahiro Yamada wrote: > Hello Sonic and other Blackfin board maintainers. > > I cannot build many of Blackfin boards. > > > (1) > g

[U-Boot] [PATCH 2/4] blackfin: Use ADI_GPIO2 driver other than the default ADI_GPIO1.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/cm-bf548.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/cm-bf548.h b/include/configs/cm-bf548.h index 3c9eeb5..7f27eda 100644 --- a/include/configs/cm-bf548.h +++ b/include/configs/cm-bf548.h @@ -118,6 +11

[U-Boot] [PATCH] common: Delete unnecessary rules.

2013-11-17 Thread Masahiro Yamada
The directory tools/ is always built before common/. So when envcrc tool is necessary in common/Makefile, it already exists. Signed-off-by: Masahiro Yamada --- Here is the more detailed explanation. (1) tools/ is always built before common/ See around line 540 of $(TOPDIR)/Makefile. $(LIB

[U-Boot] [PATCH 4/4] blackfin: Add missing macro CONFIG_BFIN_SERIAL

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf506f-ezkit.h | 1 + include/configs/bf525-ucr2.h | 1 + include/configs/bf537-minotaur.h | 1 + include/configs/bf537-srv1.h | 1 + include/configs/blackstamp.h | 1 + include/configs/dnp5370.h| 1 + 6 file

[U-Boot] [PATCH 1/4] blackfin: i2c: Missing the patch to define GPIO I2C pins.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf533-stamp.h | 48 +-- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h index a22c868..26a140e 100644 --- a/inclu

[U-Boot] [PATCH 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-11-17 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Add the SPI configuration for the vf610twr boards. Signed-off-by: Chao Fu --- arch/arm/cpu/armv

[U-Boot] [PATCH 1/4] SPI:rewrite the Freescale DSPI driver.

2013-11-17 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. The rewrite including the following changes: Rename the file n

[U-Boot] [PATCH 3/4] blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default.

2013-11-17 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/cpu/gpio.c | 2 +- arch/blackfin/include/asm/gpio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c index 5e9c68a..86da706 100644 --- a/arch/blackfin

Re: [U-Boot] [PATCH 1/4] blackfin: i2c: Missing the patch to define GPIO I2C pins.

2013-11-17 Thread Heiko Schocher
Hello Sonic Zhang, Am 18.11.2013 08:12, schrieb Sonic Zhang: From: Sonic Zhang Signed-off-by: Sonic Zhang --- include/configs/bf533-stamp.h | 48 +-- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/include/configs/bf533-stamp.h b/include