Re: [U-Boot] [PATCH] drivers: net: remove dead drivers

2014-08-01 Thread Masahiro Yamada
Hi Joe, On Thu, 31 Jul 2014 14:32:47 -0500 Joe Hershberger joe.hershber...@gmail.com wrote: On Wed, Jul 30, 2014 at 5:26 AM, Masahiro Yamada yamad...@jp.panasonic.com wrote: The following configs are not defined at all: - CONFIG_FTMAC110 - CONFIG_INCA_IP_SWITCH -

[U-Boot] [PATCH 1/7] sunxi-common.h: Remove CONFIG_SYS_BOOT_GET_CMDLINE

2014-08-01 Thread Hans de Goede
sunxi does not need this and it should never have been enabled for it in the first place. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index

[U-Boot] [PATCH] pxe: automatically add console= to bootargs when not specified in append

2014-08-01 Thread Hans de Goede
From: Dennis Gilmore den...@ausil.us if there is a console variable in the u-boot environment and not one on the append line from syslinux config add what is in the environment to the bootargs. This is necessary to allow distros to have a single extlinux/extlinux.conf file which will work on

[U-Boot] [PATCH 4/7] sunxi-common.h: Don't undef CONFIG_CMD_NET only to redefine it again later

2014-08-01 Thread Hans de Goede
config_distro_defaults.h which is include later will redefine CONFIG_CMD_NET, drop the useless / meaningless undef of it. While at also move the undef of CONFIG_CMD_FPGA up to directly under the include of config_cmd_defaults.h, to make it clear that it overwrites the setting done from

[U-Boot] [PATCH 2/7] sunxi-common.h: Remove dead #ifdef CONFIG_CMD_NET code block

2014-08-01 Thread Hans de Goede
We undef CONFIG_CMD_NET at line 167, and there is nothing re-defining it between line 167 and the #ifdef CONFIG_CMD_NET, so remove this effectively dead block. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 8 1 file changed, 8 deletions(-) diff

[U-Boot] [PATCH 3/7] sunxi-common.h: Don't undefine CONFIG_CMD_NFS

2014-08-01 Thread Hans de Goede
I see no reason to override the choice to include this from config_cmd_defauls.h . Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index

[U-Boot] [PATCH 5/7] sunxi-common.h: Use new generic $bootcmd

2014-08-01 Thread Hans de Goede
Use the new standard bootcmd from config_distro_bootcmd.h. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/include/configs/sunxi-common.h

[U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Hans de Goede
Automatic booting using an extlinux.conf file requires various environment variables to be set. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig | 3 +++ configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A10s-OLinuXino-M_defconfig| 1 +

[U-Boot] [PATCH 6/7] sunxi: Kconfig: move common settings into a shared code block

2014-08-01 Thread Hans de Goede
SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move them to a shared code block. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/Kconfig | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/board/sunxi/Kconfig

Re: [U-Boot] [PATCH 5/7] sunxi-common.h: Use new generic $bootcmd

2014-08-01 Thread Hans de Goede
Hi, On 08/01/2014 09:46 AM, Hans de Goede wrote: Use the new standard bootcmd from config_distro_bootcmd.h. Note this applies on top of Stephen Warren's [PATCH 1/3] config: introduce a generic $bootcmd Regards, Hans Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH v2 2/3] buildman: Add some notes about moving from MAKEALL

2014-08-01 Thread Masahiro Yamada
Hi. On Mon, 28 Jul 2014 23:53:29 -0600 Simon Glass s...@chromium.org wrote: For those used to MAKEALL, buildman seems strange. Add some notes to ease the transition. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Minor changes to the text tools/buildman/README |

Re: [U-Boot] [PATCH] pxe: automatically add console= to bootargs when not specified in append

2014-08-01 Thread Hans de Goede
Hi, On 08/01/2014 09:46 AM, Hans de Goede wrote: From: Dennis Gilmore den...@ausil.us if there is a console variable in the u-boot environment and not one on the append line from syslinux config add what is in the environment to the bootargs. This is necessary to allow distros to have a

Re: [U-Boot] [PATCH] pxe: automatically add console= to bootargs when not specified in append

2014-08-01 Thread Hans de Goede
Hi, On 08/01/2014 10:20 AM, Hans de Goede wrote: Hi, On 08/01/2014 09:46 AM, Hans de Goede wrote: From: Dennis Gilmore den...@ausil.us if there is a console variable in the u-boot environment and not one on the append line from syslinux config add what is in the environment to the

[U-Boot] [PATCH] ARM: atmel: sama5d3: add timings register

2014-08-01 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d3_smc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3_smc.h b/arch/arm/include/asm/arch-at91/sama5d3_smc.h index 6caa9b6..a859b6d 100644 ---

[U-Boot] [U-boot] Question about the (new) U-Boot Timer API

2014-08-01 Thread TigerLiu
Hi, Wolfgang: The wiki (http://www.denx.de/wiki/U-Boot/TaskTimerAPI) introduced new U-Boot Timer API, such as: time_ms_delta_raw() time_ms_delta_max() .. Not find in 2014.07 code package. Were they not adopted by u-boot maintainer? Best wishes,

[U-Boot] [PATCH] pxe: Allow use of environment variables in append string

2014-08-01 Thread Hans de Goede
Use run_command(setenv bootargs label-append) so that environment variables (e.g. $console) can be used in append strings. Signed-off-by: Hans de Goede hdego...@redhat.com --- common/cmd_pxe.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git

[U-Boot] Falcon boot mode

2014-08-01 Thread Andy Pont
Hello, Does Falcon boot mode only support raw NAND devices as described in the README.falcon file will it also work with SPI NOR devices and eMMC NAND, SDC card as well? Thanks, Andy. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] cosmetic: mconf.c: remove texts referring to modules

2014-08-01 Thread Maxin B. John
As we don't have the concept of 'loadable modules' in u-boot, remove texts referring to modules. Signed-off-by: Maxin B. John maxin.j...@enea.com --- scripts/kconfig/mconf.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/scripts/kconfig/mconf.c

[U-Boot] [PATCH v3 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-08-01 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add

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

2014-08-01 Thread Sonic Zhang
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 CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin

Re: [U-Boot] [PATCH] cosmetic: mconf.c: remove texts referring to modules

2014-08-01 Thread Masahiro Yamada
Hi. On Fri, 1 Aug 2014 11:38:56 +0200 Maxin B. John maxin.j...@enea.com wrote: As we don't have the concept of 'loadable modules' in u-boot, remove texts referring to modules. Signed-off-by: Maxin B. John maxin.j...@enea.com Thanks for your patch, but personally, I am against this patch.

Re: [U-Boot] [PATCH] cosmetic: mconf.c: remove texts referring to modules

2014-08-01 Thread Maxin B. John
Hi Masahiro-san, On Fri, Aug 01, 2014 at 07:42:06PM +0900, Masahiro Yamada wrote: Hi. On Fri, 1 Aug 2014 11:38:56 +0200 Maxin B. John maxin.j...@enea.com wrote: As we don't have the concept of 'loadable modules' in u-boot, remove texts referring to modules. Signed-off-by: Maxin

[U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Christoffer Dall
From: Andre Przywara andre.przyw...@linaro.org To enable hypervisors utilizing the ARMv7 virtualization extension on the Arndale board, add the simple SMP pen address writer function and add the required configuration variables to switch all cores to HYP mode before launching the OS. This allows

[U-Boot] Removing the need for boards.cfg

2014-08-01 Thread Simon Glass
Hi, At present, as a work-around, we generate boards.cfg if needed. This is quite a slow process since each board config must be fully processed. What can we do to improve this? We only need a small number of options in order to start buildman - things like CONFIG_SYS_ARCH, CONFIG_SYS_CPU, etc.

[U-Boot] [PATCH 1/5] mx6: imx-regs: Remove unused 'omux' field from iomux struct

2014-08-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com 'omux' field is not used anywhere and such layout is not valid for mx6solox. Instead of adding more ifdef's into the structure, let's simply remove this unused 'omux' field. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

[U-Boot] [PATCH 2/5] mx6: crm_regs: Fix CDCDR_SPDIF0_CLK_PODF mask and offset

2014-08-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com According to the Reference Manual the 'spdif0_clk_podf' field of register CCM_CDCDR corresponds to bits 22, 23 and 24, so fix the mask and offset definitions accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

[U-Boot] [PATCH 3/5] mx6: crm_regs: Fix MXC_CCM_CLPCR_WB_PER_AT_LPM definition

2014-08-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com According to the Reference Manual the 'wb_per_at_lpm' field of register CCM_CLPCR corresponds to bit 16 so fix its definition accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/include/asm/arch-mx6/crm_regs.h | 2 +-

[U-Boot] [PATCH 5/5] pmic: pmic_pfuze100: Use a shorter name for PMIC name

2014-08-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com It is redundant to use 'PFUZE100_PMIC' as the PMIC name because we already know it is a PMIC. Call it simply 'PFUZE100' instead. Cc: Tim Harvey thar...@gateworks.com Cc: Markus Niebel markus.nie...@tq-group.com Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 4/5] mx6: crm_regs: Fix MXC_CCM_CIMR_MASK_PERIPH2_CLK_SEL_LOADED

2014-08-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com According to the Reference Manual the 'mask_periph2_clk_sel_loaded' field of register CCM_CIMR corresponds to bit 19 so fix its definition accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH 1/4] Add option -r to env import to allow import of text files with CRLF as line endings

2014-08-01 Thread Wolfgang Denk
Dear Alexander Holler, In message 1405352998-7707-2-git-send-email-hol...@ahsoftware.de you wrote: When this option is enabled, CRLF is treated like LF when importing environments from text files, which means CRs ('\r') in front of LFs ('\n') are just ignored. Drawback of enabling this

Re: [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions

2014-08-01 Thread Marek Vasut
On Thursday, July 31, 2014 at 07:32:51 PM, Steve Rae wrote: On 14-07-30 06:25 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:21 PM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS

Re: [U-Boot] Removing the need for boards.cfg

2014-08-01 Thread Masahiro Yamada
Hi. On Fri, 1 Aug 2014 12:48:44 +0100 Simon Glass s...@chromium.org wrote: Hi, At present, as a work-around, we generate boards.cfg if needed. This is quite a slow process since each board config must be fully processed. What can we do to improve this? We only need a small number of

Re: [U-Boot] [PATCH 3/3] driver/mc: print Management Complex version info

2014-08-01 Thread Otavio Salvador
On Fri, Aug 1, 2014 at 12:13 AM, Lijun Pan lijun@freescale.com wrote: After the MC is booted, u-boot should print out the Management Complex version info where appropriate. Also, clean up the code to make checkpatch.pl happy. Signed-off-by: Lijun Pan lijun@freescale.com

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Christoffer Dall
On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote: Hi, Am 01.08.2014 13:35, schrieb Christoffer Dall: From: Andre Przywara andre.przyw...@linaro.org To enable hypervisors utilizing the ARMv7 virtualization extension on the Arndale board, add the simple SMP pen address writer

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Andreas Färber
Hi, Am 01.08.2014 13:35, schrieb Christoffer Dall: From: Andre Przywara andre.przyw...@linaro.org To enable hypervisors utilizing the ARMv7 virtualization extension on the Arndale board, add the simple SMP pen address writer function and add the required configuration variables to switch

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Christoffer Dall
On 1 August 2014 14:59, Andre Przywara andre.przyw...@arm.com wrote: On 01/08/14 13:53, Christoffer Dall wrote: On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote: Hi, Am 01.08.2014 13:35, schrieb Christoffer Dall: From: Andre Przywara andre.przyw...@linaro.org To enable

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Andre Przywara
On 01/08/14 13:53, Christoffer Dall wrote: On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote: Hi, Am 01.08.2014 13:35, schrieb Christoffer Dall: From: Andre Przywara andre.przyw...@linaro.org To enable hypervisors utilizing the ARMv7 virtualization extension on the Arndale

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Andre Przywara
On 01/08/14 14:02, Christoffer Dall wrote: On 1 August 2014 14:59, Andre Przywara andre.przyw...@arm.com wrote: On 01/08/14 13:53, Christoffer Dall wrote: On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote: Hi, Am 01.08.2014 13:35, schrieb Christoffer Dall: From: Andre

[U-Boot] [PATCH] am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice

2014-08-01 Thread Tom Rini
- Drop CONFIG_SERIAL[1-6] and use CONFIG_CONS_INDEX tests instead - Add choice and help text to board/ti/am335x/Kconfig - Correct comment about IDK in board/ti/am335x/mux.c - Remove am335x_evm_uart* defconfig files as they're just variations on a config option now. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Christoffer Dall
On 1 August 2014 15:29, Andre Przywara andre.przyw...@arm.com wrote: On 01/08/14 14:02, Christoffer Dall wrote: On 1 August 2014 14:59, Andre Przywara andre.przyw...@arm.com wrote: On 01/08/14 13:53, Christoffer Dall wrote: On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote:

Re: [U-Boot] Removing the need for boards.cfg

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 09:22:42PM +0900, Masahiro Yamada wrote: Hi. On Fri, 1 Aug 2014 12:48:44 +0100 Simon Glass s...@chromium.org wrote: Hi, At present, as a work-around, we generate boards.cfg if needed. This is quite a slow process since each board config must be fully

Re: [U-Boot] [PATCH] ARM: enable ARMv7 virt support for the Arndale board

2014-08-01 Thread Andreas Färber
Am 01.08.2014 15:29, schrieb Andre Przywara: On 01/08/14 14:02, Christoffer Dall wrote: On 1 August 2014 14:59, Andre Przywara andre.przyw...@arm.com wrote: On 01/08/14 13:53, Christoffer Dall wrote: On 1 August 2014 14:46, Andreas Färber afaer...@suse.de wrote: Hi, Am 01.08.2014 13:35,

Re: [U-Boot] [PATCH] am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 09:36:54AM -0400, Tom Rini wrote: - Drop CONFIG_SERIAL[1-6] and use CONFIG_CONS_INDEX tests instead - Add choice and help text to board/ti/am335x/Kconfig - Correct comment about IDK in board/ti/am335x/mux.c - Remove am335x_evm_uart* defconfig files as they're just

[U-Boot] [PATCH v2] am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice

2014-08-01 Thread Tom Rini
- Drop CONFIG_SERIAL[1-6] and use CONFIG_CONS_INDEX tests instead - Add choice and help text to board/ti/am335x/Kconfig - Correct comment about IDK in board/ti/am335x/mux.c - Remove am335x_evm_uart* defconfig files as they're just variations on a config option now. Signed-off-by: Tom Rini

Re: [U-Boot] Removing the need for boards.cfg

2014-08-01 Thread Masahiro Yamada
Simon, Tom, On Fri, 1 Aug 2014 09:38:03 -0400 Tom Rini tr...@ti.com wrote: On Fri, Aug 01, 2014 at 09:22:42PM +0900, Masahiro Yamada wrote: Hi. On Fri, 1 Aug 2014 12:48:44 +0100 Simon Glass s...@chromium.org wrote: Hi, At present, as a work-around, we generate

[U-Boot] unlock NVRAM for writing from within U-boot shell

2014-08-01 Thread Alex
Embedded Linux device: how is performed NVRAM update? For example, updates of firmware, u-boot, uimage and other are performed from U-Boot, here sample code from U-boot: update_uboot=tftpboot 0x8100 u-boot.bin protect off 0x4800 +${filesize} erase 0x4800 +${filesize} sleep

Re: [U-Boot] [PATCH v2 1/4] usb/gadget: fastboot: add sparse image definitions

2014-08-01 Thread Rob Herring
On Thu, Jun 26, 2014 at 1:45 PM, Steve Rae s...@broadcom.com wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS from: https://raw.githubusercontent.com/AOSB/android_system_core/master/libsparse/sparse_format.h

Re: [U-Boot] [PATCH v2 1/4] usb/gadget: fastboot: add sparse image definitions

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 09:42:19AM -0500, Rob Herring wrote: On Thu, Jun 26, 2014 at 1:45 PM, Steve Rae s...@broadcom.com wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS from:

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-08-01 Thread Jon Loeliger
+ uart0: serial { + compatible = sandbox,serial; + u-boot,dm-pre-reloc; Shouldn't that be handled by the driver. It's certainly something that's only relevant to the internals of U-Boot, and hence inappropriate to put into DT. Hence the u-boot prefix.

Re: [U-Boot] Driver Model and DTS Parsing

2014-08-01 Thread Jon Loeliger
Firstly we need to establish that GPIOs have names and that these should be supported in U-Boot. Without agreement on this point we might not get much further. Can I please press you on this point, as it is important to establish this first. Oh, you were talking about agreeing with me? I

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

2014-08-01 Thread Pantelis Antoniou
Hi there, On Jul 29, 2014, at 7:39 PM, drEagle wrote: 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

Re: [U-Boot] [RESEND PATCH v2] bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag

2014-08-01 Thread Pantelis Antoniou
Hi Lubomir, On Jul 17, 2014, at 2:57 PM, Lubomir Rintel wrote: Seems like the controller doesn't support the flag. None of the hi-speed cards I've tried could be read, while they successfully worked with the quirk enabled. Signed-off-by: Lubomir Rintel lkund...@v3.sk Tested-by: Stephen

Re: [U-Boot] [PATCH 11/12] mmc: s3c: Add SD driver

2014-08-01 Thread Pantelis Antoniou
Hi Marek, On Jul 22, 2014, at 3:34 AM, Marek Vasut wrote: Implement SD driver for the S3C24xx family. This implementation is currently only capable of using the PIO transfers, DMA is not supported. Signed-off-by: Marek Vasut ma...@denx.de Cc: Kyungmin Park kyungmin.p...@samsung.com Cc:

Re: [U-Boot] [PATCH 11/12] mmc: s3c: Add SD driver

2014-08-01 Thread Pantelis Antoniou
Hi Marek, On Jul 22, 2014, at 3:34 AM, Marek Vasut wrote: Implement SD driver for the S3C24xx family. This implementation is currently only capable of using the PIO transfers, DMA is not supported. Signed-off-by: Marek Vasut ma...@denx.de Cc: Kyungmin Park kyungmin.p...@samsung.com Cc:

Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix clock divider calculation error for bypass mode

2014-08-01 Thread Pantelis Antoniou
Hi Chin, On Jun 10, 2014, at 9:26 AM, Chin Liang See wrote: To fix the clock divider calculation error when the controller clock same as the operating frequency. This is known as bypass mode. In this mode, the divider should be 0. Signed-off-by: Chin Liang See cl...@altera.com Cc:

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 10:46:31AM -0500, Jon Loeliger wrote: + uart0: serial { + compatible = sandbox,serial; + u-boot,dm-pre-reloc; Shouldn't that be handled by the driver. It's certainly something that's only relevant to the internals of U-Boot, and

Re: [U-Boot] [PATCH 2/3] MMC: atmel_mci: add configuration register definition

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: Add configuration register definition, this register only exists on MCI IP version = 0x300. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/atmel_mci.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH 1/3] MMC: atmel_mci: refactor setting the mode register

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: The mode register is different between MCI IP version. So, according to MCI IP version to set the mode register. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 56

Re: [U-Boot] [PATCH 3/3] MMC: atmel_mci: enable high speed mode support

2014-08-01 Thread Pantelis Antoniou
Hi Bo, On Jul 31, 2014, at 9:39 AM, Bo Shen wrote: If the MCI IP version = 0x300, it supports hight speed mode option, this patch enable it. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

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

2014-08-01 Thread Pantelis Antoniou
Hi Dmitry, On Jul 30, 2014, at 1:19 PM, 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.

Re: [U-Boot] [PATCH 1/2] env_mmc: add mmc_get_env_addr() prototype

2014-08-01 Thread Pantelis Antoniou
Hi Dmitry, On Jul 30, 2014, at 1:19 PM, Dmitry Lifshitz wrote: Add missing mmc_get_env_addr() prototype in environment.h Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il --- include/environment.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[U-Boot] Pull request: u-boot-mmc 1/08/2014

2014-08-01 Thread Pantelis Antoniou
Hi Tom, The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb: include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up

[U-Boot] [PATCH] env_fat.c: Make sure our buffer is cache aligned

2014-08-01 Thread Tom Rini
We must ensure the buffer we read the env into is aligned or we may get warnings later on. Signed-off-by: Tom Rini tr...@ti.com --- common/env_fat.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_fat.c b/common/env_fat.c index 328c09d..8db0160 100644 ---

Re: [U-Boot] Pull request: u-boot-mmc 1/08/2014

2014-08-01 Thread Marek Vasut
On Friday, August 01, 2014 at 07:21:23 PM, Pantelis Antoniou wrote: Hi Tom, The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb: include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400) are available in the git repository

Re: [U-Boot] Pull request: u-boot-mmc 1/08/2014

2014-08-01 Thread drEagle
On 01/08/2014 20:22, Marek Vasut wrote: On Friday, August 01, 2014 at 07:21:23 PM, Pantelis Antoniou wrote: Hi Tom, The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb: include: remove CONFIG_SPL/CONFIG_TPL definition in config headers (2014-07-30 14:42:03 -0400)

Re: [U-Boot] Removing the need for boards.cfg

2014-08-01 Thread Wolfgang Denk
Dear Masahiro, In message 20140801225339.d541.aa925...@jp.panasonic.com you wrote: It that case, can we skip generating boards.cfg ? (We can get the board list by 'ls configs' ) This would neither give all build target names no=r do the needed translation of names (like upper case - lower

Re: [U-Boot] [PATCH] ARM: tegra: remove custom define for Jetson TK1

2014-08-01 Thread Stephen Warren
On 07/31/2014 09:12 PM, Masahiro Yamada wrote: Hi Stephen, On Thu, 31 Jul 2014 17:29:38 -0600 Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Now that Kconfig has a per-board option, we can use that directly rather than inventing a custom define for the

Re: [U-Boot] [PATCH 5/7] sunxi-common.h: Use new generic $bootcmd

2014-08-01 Thread Stephen Warren
On 08/01/2014 01:46 AM, Hans de Goede wrote: Use the new standard bootcmd from config_distro_bootcmd.h. Acked-by: Stephen Warren swar...@nvidia.com diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h +#ifdef CONFIG_AHCI +#define BOOT_TARGET_DEVICES(func) \ +

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Stephen Warren
On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires various environment variables to be set. Acked-by: Stephen Warren swar...@nvidia.com I'd personally be tempted to set fdt_high=0x, initrd_high=0x to stop U-Boot copying the

Re: [U-Boot] [PATCH] pxe: automatically add console= to bootargs when not specified in append

2014-08-01 Thread Stephen Warren
On 08/01/2014 01:46 AM, Hans de Goede wrote: From: Dennis Gilmore den...@ausil.us if there is a console variable in the u-boot environment and not one on the append line from syslinux config add what is in the environment to the bootargs. This is necessary to allow distros to have a single

Re: [U-Boot] [PATCH] pxe: Allow use of environment variables in append string

2014-08-01 Thread Stephen Warren
On 08/01/2014 03:21 AM, Hans de Goede wrote: Use run_command(setenv bootargs label-append) so that environment variables (e.g. $console) can be used in append strings. I'm slightly worried that this changes the semantics of the append line in the PXE/extlinux config file. Namely, you suddenly

Re: [U-Boot] [PATCH 3/3] bootm: use genimg_get_kernel_addr()

2014-08-01 Thread Stephen Warren
On 07/31/2014 06:40 PM, Bryan Wu wrote: Use the new API which is originally taken out from boot_get_kernel of bootm.c diff --git a/common/bootm.c b/common/bootm.c case IMAGE_FORMAT_FIT: + if (!fit_parse_conf(argv[0], load_addr, img_addr, +

[U-Boot] [PATCH] Makefile: restore *_config target

2014-08-01 Thread Jeroen Hofstee
The switch to KConfig break the [board]_config target. This breaks backwards compatibility and hence all documentation about how to build u-boot is no longer valid. It is also annoying for general recipes to build u-boot as contained in buildroot, crochet, oe, poky, eldk etc. Hence restore the

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Dennis Gilmore
On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires various environment variables to be set. Acked-by: Stephen Warren swar...@nvidia.com I'd personally be

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Stephen Warren
On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires various environment variables to be set. Acked-by: Stephen Warren

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Dennis Gilmore
On Fri, 01 Aug 2014 14:22:40 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 02:22:40PM -0600, Stephen Warren wrote: On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires

Re: [U-Boot] Pull request: u-boot-mmc 1/08/2014

2014-08-01 Thread Marek Vasut
On Friday, August 01, 2014 at 08:27:26 PM, drEagle wrote: On 01/08/2014 20:22, Marek Vasut wrote: On Friday, August 01, 2014 at 07:21:23 PM, Pantelis Antoniou wrote: Hi Tom, The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb: include: remove

[U-Boot] Please pull u-boot-mpc85xx.git master

2014-08-01 Thread York Sun
Tom, The following changes since commit fb5368789a45ca5ee4396cbbf563a8f16ab24f9c: board/freescale: use generic board architecture for t2080qds and t2080rdb (2014-07-23 12:40:30 -0700) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-01 Thread Simon Glass
Hi Stephen, On 1 August 2014 00:06, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2014 04:10 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:16, Stephen Warren swar...@wwwdotorg.org wrote: On 07/30/2014 03:49 AM, Simon Glass wrote: Some Tegra device tree files do not

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-08-01 Thread Simon Glass
Hi, On 1 August 2014 17:53, Tom Rini tr...@ti.com wrote: On Fri, Aug 01, 2014 at 10:46:31AM -0500, Jon Loeliger wrote: + uart0: serial { + compatible = sandbox,serial; + u-boot,dm-pre-reloc; Shouldn't that be handled by the driver. It's certainly

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-08-01 Thread Simon Glass
Hi Stephen, On 1 August 2014 00:09, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2014 04:13 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:20, Stephen Warren swar...@wwwdotorg.org wrote: On 07/30/2014 03:49 AM, Simon Glass wrote: If the sandbox device tree is provided to

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Stephen Warren
On 08/01/2014 02:43 PM, Tom Rini wrote: On Fri, Aug 01, 2014 at 02:22:40PM -0600, Stephen Warren wrote: On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting

Re: [U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-08-01 Thread Stephen Warren
On 08/01/2014 03:32 PM, Simon Glass wrote: Hi Stephen, On 1 August 2014 00:06, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2014 04:10 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:16, Stephen Warren swar...@wwwdotorg.org wrote: On 07/30/2014 03:49 AM, Simon Glass wrote:

Re: [U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-08-01 Thread Stephen Warren
On 08/01/2014 03:40 PM, Simon Glass wrote: Hi Stephen, On 1 August 2014 00:09, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2014 04:13 PM, Simon Glass wrote: Hi Stephen, On 31 July 2014 21:20, Stephen Warren swar...@wwwdotorg.org wrote: On 07/30/2014 03:49 AM, Simon Glass wrote:

[U-Boot] [PATCH 1/2] driver/ddr: Restruct driver to allow standalone memory space

2014-08-01 Thread York Sun
U-boot has been initializing DDR for the main memory. The presumption is the memory stays as a big continuous block, either linear or interleaved. This change is to support putting some DDR controllers to separated space without counting into main memory. The standalone memory controller could use

[U-Boot] [PATCH 2/2] ARMv8/ls2085a_emu: Enable DP-DDR as standalone memory block

2014-08-01 Thread York Sun
DP-DDR is used for DPAA, separated from main memory pool for general use. It has 32-bit bus width and use a standard DDR4 DIMM (64-bit). Signed-off-by: York Sun york...@freescale.com --- arch/arm/include/asm/arch-fsl-lsch3/config.h |3 ++- board/freescale/ls2085a/ddr.c| 36

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-01 Thread Tom Rini
On Fri, Aug 01, 2014 at 03:43:23PM -0600, Stephen Warren wrote: On 08/01/2014 02:43 PM, Tom Rini wrote: On Fri, Aug 01, 2014 at 02:22:40PM -0600, Stephen Warren wrote: On 08/01/2014 02:05 PM, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote:

[U-Boot] [PATCH v2 1/3] arm: bcm281xx: Add Ethernet Clock support

2014-08-01 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Enable Ethernet clock when Broadcom StarFighter2 Ethernet block (CONFIG_BCM_SF2_ETH) is enabled. Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- - with the changes to boards.cfg, the board with this

[U-Boot] [PATCH v2 2/3] arm: bcm281xx: net: Add Ethernet Driver

2014-08-01 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com The Broadcom StarFighter2 Ethernet driver is used in multiple Broadcom SoC(s) and: - supports multiple MAC blocks, - provides support for the Broadcom GMAC. This driver requires MII and PHYLIB. Signed-off-by: Jiandong Zheng jdzh...@broadcom.com

[U-Boot] [PATCH v2 3/3] arm: bcm281xx: add board with Ethernet capability

2014-08-01 Thread Steve Rae
Add board which has Broadcom StarFighter2 Ethernet capability. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: - created from previous boards.cfg board/broadcom/bcm28155_w1d/MAINTAINERS | 6 ++ configs/bcm28155_w1d_defconfig | 3 +++ 2 files changed, 9 insertions(+)