[U-Boot] Clarification about u-boot-2013.04

2014-10-26 Thread J.P.Raja
Dear Team, I need some clarification on u-boot-2013.04. What is the difference between u-boot-2009.08 and u-boot-2013.04 ? Is there any code flow document for u-boot-2013.04 ? -- Thank You. Best Regards, J.P.Raja ___ U-Boot mailing list

[U-Boot] Conditional boot

2014-10-26 Thread Marco Pavanelli
I have learnt that with u-boot you can boot from different sources and in fact that works, but what I would like to achieve is to TRY FIRST booting from a network (tftp+nfs) and if it fails carry on to FLASH+SD. I have managed to boot both from tftp+nfs and from FLASH+SD but so far I have not been

Re: [U-Boot] [PATCH 5/5] sf: Update SST25* flash params of sector size numbers

2014-10-26 Thread Simon Glass
On 23 October 2014 07:37, Bin Meng bmeng...@gmail.com wrote: Change SST25* flash sector size to 4KiB to match SECT_4K. This makes 'sf erase offset +len' work on real 4KiB boundary instead of 64KiB. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/mtd/spi/sf_params.c | 20

Re: [U-Boot] [PATCH 1/5] spi/ich.c: Fix a bug of reading from a non-64 bytes aligned address

2014-10-26 Thread Simon Glass
On 23 October 2014 07:36, Bin Meng bmeng...@gmail.com wrote: The ich spi controller driver spi_xfer() tries to align reading address to 64 bytes when doing spi data in, which causes a bug of either infinite loop or a huge size memcpy(). Actually the ich spi controller does not have such

Re: [U-Boot] [PATCH 3/5] spi: sf: Support byte program for sst spi flash

2014-10-26 Thread Simon Glass
On 23 October 2014 07:36, Bin Meng bmeng...@gmail.com wrote: Currently if SST flash advertises SST_WP flag in the params table the word program command (ADh) with auto address increment will be used for the flash write op. However some SPI controllers do not support the word program command

Re: [U-Boot] [PATCH 4/5] sf: Update SST25* flash params of supported read commands

2014-10-26 Thread Simon Glass
On 23 October 2014 07:37, Bin Meng bmeng...@gmail.com wrote: Explicitly list supported read commands in the flash prarmas table for SST25* flash parts. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/mtd/spi/sf_params.c | 20 ++-- include/spi_flash.h | 3 ++-

Re: [U-Boot] [PATCH 2/5] spi/ich.c: Set the rx operation mode for ich 7

2014-10-26 Thread Simon Glass
On 23 October 2014 07:36, Bin Meng bmeng...@gmail.com wrote: ICH 7 SPI controller only supports array read command (03h). Fast array read command (0Bh) is not supported. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Tested on link (ich9) Tested-by: Simon

Re: [U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-26 Thread Minkyu Kang
Dear Suriyan Ramasami, On 21/10/14 02:52, Suriyan Ramasami wrote: This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet controller as well. Credit goes to Tushar Berara for the function set_usb_ethaddr().

[U-Boot] Please pull u-boot-dm.git

2014-10-26 Thread Simon Glass
Hi Tom, This is the second lot of driver model changes, including OMAP which I believe is ready. Remaining is SPL, Atmel AT91 and sunxi, all of which need either a respin or more review time so I will revisit those next week. The following changes since commit

Re: [U-Boot] [PATCH] i2c: designware: Convert driver to multibus/multiadapter framework

2014-10-26 Thread Stefan Roese
Hi Alexey, On 23.10.2014 19:25, Alexey Brodkin wrote: On Thu, 2014-10-23 at 13:06 +0200, Stefan Roese wrote: In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is:

[U-Boot] [PATCH 2/5] imx: mx6sl: Add perclk_clk_sel bit define in CCM

2014-10-26 Thread Ye . Li
The MX6SL has the perclk_clk_sel to select the perclk source. Add its define in CCM Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/include/asm/arch-mx6/crm_regs.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h

[U-Boot] [PATCH 4/5] imx: mx6sl: Set the preclk clock source to OSC 24Mhz

2014-10-26 Thread Ye . Li
For MX6SL, uses the OSC 24Mhz as the preclk source in CCM. Align the preclk setting with kernel. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c

Re: [U-Boot] [PATCH v2] dm: move platform data headers to include/dm/platform_data

2014-10-26 Thread Stefano Babic
Hi Masahiro, On 24/10/2014 05:41, Masahiro Yamada wrote: The platform_data definitions are generally referenced from both drivers and board files. That is why header files defining platform_data sturectures are placed in include directory, but our top level include directory is already too

[U-Boot] [PATCH 5/5] imx: mx6: Enable 24Mhz OSC for GPT clock source

2014-10-26 Thread Ye . Li
Set the CONFIG_MXC_GPT_HCLK configuration in mx6_common.h, so that enable the 24Mhz OSC GPT on all MX6 platforms. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6_common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h

[U-Boot] [PATCH 3/5] imx: mx6: Change the get_ipg_per_clk for OSC 24Mhz source

2014-10-26 Thread Ye . Li
For MX6SL and MX6SX, the perclk can come from OSC 24Mhz source. Fix the get_ipg_per_clk function to support it. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/cpu/armv7/mx6/clock.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/clock.c

[U-Boot] [PATCH v2] i2c: designware: Convert driver to multibus/multiadapter framework

2014-10-26 Thread Stefan Roese
In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is: - ST spearxxx boards - AXS101 (ARC700 platform) I couldn't test this patch on those boards. Only compile tested

[U-Boot] [PATCH 1/5] imx: gpt: Add 24Mhz OSC clock source support for GPT

2014-10-26 Thread Ye . Li
Introduce a new configuration CONFIG_MXC_GPT_HCLK. When it is set, the GPT will use 24Mhz OSC as clock source. Otherwise, the GPT will use 32Khz OSC as clock source. Since only the GPT on iMX6 series provide the clock source option for 24Mhz OSC. For other series(MX5), if the configuration is

[U-Boot] [PATCH 0/2] serial: UniPhier: fix UniPhier on-chip UART

2014-10-26 Thread Masahiro Yamada
Masahiro Yamada (2): serial: UniPhier: add .pending handler serial: UniPhier: add static to locally used functions drivers/serial/serial_uniphier.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) -- 1.9.1 ___ U-Boot

[U-Boot] [PATCH 1/2] serial: UniPhier: add .pending handler

2014-10-26 Thread Masahiro Yamada
Without .pending handler, tstc() function always returns 1. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- drivers/serial/serial_uniphier.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/serial/serial_uniphier.c b/drivers/serial/serial_uniphier.c index

[U-Boot] [PATCH 2/2] serial: UniPhier: add static to locally used functions

2014-10-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- drivers/serial/serial_uniphier.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/serial/serial_uniphier.c b/drivers/serial/serial_uniphier.c index faa69f0..3f3d415 100644 ---

Re: [U-Boot] [PATCH] ARM: sunxi: Fix Ippo-q8h-v5 defconfig filename

2014-10-26 Thread Hans de Goede
Hi, On 10/24/2014 10:07 AM, Chen-Yu Tsai wrote: The defconfig for Ippo-q8h-v5 was incorrectly committed as Ippo_q8h. This patch renames it correctly, as well as correct a typo in my name in the maintainers listing. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Thats fast. Feel free to

[U-Boot] [PATCH 2/2] ARM: atmel: spl: make css field configurable

2014-10-26 Thread Bo Shen
The clock source for master clock can be slow clock, main clock, plla clock or upll clock. So, make the clock source selection field in mckr can be configured. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c | 6 -- 1 file changed, 4 insertions(+), 2

Re: [U-Boot] [U-Boot, v2, 1/6] dm: sunxi: dts: Add sun7i device tree files

2014-10-26 Thread Hans de Goede
Hi, On 10/23/2014 06:02 AM, Simon Glass wrote: These are from Linux 3.17-rc7 (commit fe82dcec). U-Boot only uses a small portion of these, but we may as well have something to look forward to. The total compiled size is about 25KB. Signed-off-by: Simon Glass s...@chromium.org Looks good:

[U-Boot] [PATCH 1/2] ARM: atmel: spl: make initialization more stable

2014-10-26 Thread Bo Shen
We need to make sure the main clock ready field in MCFR is set after switch to main crystal oscillator. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/at91-common/spl.c

Re: [U-Boot] [U-Boot, v2, 3/6] dm: sunxi: Add pinmux functions which take a bank parameter

2014-10-26 Thread Hans de Goede
Hi, On 10/23/2014 06:02 AM, Simon Glass wrote: With driver model we will have access to a bank pointer, so we want to use it rather than converting back to a number, and then back to a bank pointer. Add functions to provide this feature. Signed-off-by: Simon Glass s...@chromium.org Looks

[U-Boot] [PATCH] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board

2014-10-26 Thread Alison Wang
This patch adds QSPI boot support for LS1021AQDS/TWR board. The QSPI boot image need to be programmed into the QSPI flash first. Then the booting will start from QSPI memory space. This patch is based on the previous QSPI enabled patches. Signed-off-by: Alison Wang alison.w...@freescale.com ---

Re: [U-Boot] [U-Boot, v2, 2/6] dm: sunxi: Add a new config for an FDT-based pcDuino3

2014-10-26 Thread Hans de Goede
Hi, On 10/23/2014 06:02 AM, Simon Glass wrote: For now we won't want to mess with the existing configurations. Create a new one which will enable device tree and driver model. Note that this brings the device tree binary into u-boot-sunxi-with-spl.bin. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-26 Thread Ian Campbell
On Wed, 2014-10-22 at 22:02 -0600, Simon Glass wrote: Add a driver for the designware serial UART used on sunxi. This just redirects to the normal ns16550 driver. Add a stdout-path to the device tree so that the correct UART is chosen. Signed-off-by: Simon Glass s...@chromium.org Should

[U-Boot] [PATCH v2] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- changes in v2: - add CONFIG_DISPLAY_BOARDINFO to enable checkboard() for correct hardware revision handling board/esd/pmc440/cmd_pmc440.c |6 +++--- include/configs/PMC440.h

[U-Boot] [Patch] mmc: fsl_esdhc: fix f_max retrieval during init

2014-10-26 Thread Markus Niebel
From: Markus Niebel markus.nie...@tq-group.com for multi instance API we use struct fsl_esdhc_cfg to pass the clock rate. Do not set f_max from global data, since this is wrong for multi instance case. Signed-off-by: Markus Niebel markus.nie...@tq-group.com --- drivers/mmc/fsl_esdhc.c | 2 +- 1

Re: [U-Boot] [U-Boot, v2, 4/6] dm: sunxi: Make sure that GPIOs are requested

2014-10-26 Thread Hans de Goede
Hi, On 10/23/2014 06:02 AM, Simon Glass wrote: The scsi_init() function uses a GPIO so should request it. There is no way to return an error here, and the request may be made multiple times, so just ignore errors for now. Signed-off-by: Simon Glass s...@chromium.org Looks good: Acked-by:

Re: [U-Boot] [PATCH for-next 2/3] sunxi: kconfig: Add top-level TARGET_SUNXI

2014-10-26 Thread Masahiro Yamada
Hi Ian, On Wed, 22 Oct 2014 20:14:29 +0100 Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-10-06 at 19:54 +0900, Masahiro Yamada wrote: Hi Ian On Mon, 06 Oct 2014 09:27:19 +0100 Ian Campbell i...@hellion.org.uk wrote: Hi Ian, On Mon, 2014-10-06 at 10:39 +0900, Masahiro

Re: [U-Boot] [PATCH 1/7] powerpc: mpc512x: fix boot breakage

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-1-git-send-email-ag...@denx.de you wrote: Commit d6b11fd1 (powerpc: remove MBX and MBX860T boards support) removed mbxbar field in struct sysconf512x by mistake and broke booting on mpc5121 boards. Fix it. Signed-off-by: Anatolij Gustschin

[U-Boot] [PATCH 4/5] imx: mx6sl: Set the preclk clock source to OSC 24Mhz

2014-10-26 Thread Ye . Li
For MX6SL, uses the OSC 24Mhz as the preclk source in CCM. Align the preclk setting with kernel. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c

Re: [U-Boot] [PATCH 2/7] powerpc: mpc5121ads: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-2-git-send-email-ag...@denx.de you wrote: Also enable CONFIG_DISPLAY_BOARDINFO to get checkboard() called. Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/mpc5121ads.h | 3 +++ 1 file changed, 3 insertions(+) Applied

Re: [U-Boot] [PATCH] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
Hi Anatolij, On 10/23/2014 06:09 PM, Anatolij Gustschin wrote: Hi Matthias, On Thu, 23 Oct 2014 17:50:23 +0200 Matthias Fuchs matthias.fu...@esd.eu wrote: ... diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index c5e2f16..dc2c976 100644 --- a/include/configs/PMC440.h

Re: [U-Boot] [PATCH] ARM: sunxi: Fix Ippo-q8h-v5 defconfig filename

2014-10-26 Thread Hans de Goede
Hi, On 10/24/2014 10:11 AM, Hans de Goede wrote: Hi, On 10/24/2014 10:07 AM, Chen-Yu Tsai wrote: The defconfig for Ippo-q8h-v5 was incorrectly committed as Ippo_q8h. This patch renames it correctly, as well as correct a typo in my name in the maintainers listing. Signed-off-by: Chen-Yu

Re: [U-Boot] [Patch] mmc: fsl_esdhc: fix f_max retrieval during init

2014-10-26 Thread Stefano Babic
Hi Markus, On 24/10/2014 11:44, Markus Niebel wrote: From: Markus Niebel markus.nie...@tq-group.com for multi instance API we use struct fsl_esdhc_cfg to pass the clock rate. Do not set f_max from global data, since this is wrong for multi instance case. Signed-off-by: Markus Niebel

[U-Boot] [PATCH 5/5] imx: mx6: Enable 24Mhz OSC for GPT clock source

2014-10-26 Thread Ye . Li
Set the CONFIG_MXC_GPT_HCLK configuration in mx6_common.h, so that enable the 24Mhz OSC GPT on all MX6 platforms. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6_common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h

Re: [U-Boot] [PATCH] powerpc: mpc5121ads: update board config info in README

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413894405-3635-1-git-send-email-ag...@denx.de you wrote: The config targets described in README are not present any more, update the info to currently used targets. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/freescale/mpc5121ads/README |

Re: [U-Boot] [PATCH 4/7] powerpc: aria: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-4-git-send-email-ag...@denx.de you wrote: Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/aria.h | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-mpc5xxx, thanks. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [PATCH 7/7] powerpc: digsy_mtc: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-7-git-send-email-ag...@denx.de you wrote: Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/digsy_mtc.h | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-mpc5xxx, thanks. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [PATCH 3/7] powerpc: pdm360ng: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-3-git-send-email-ag...@denx.de you wrote: Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/pdm360ng.h | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-mpc5xxx, thanks. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [PATCH 1/5] imx: gpt: Add 24Mhz OSC clock source support for GPT

2014-10-26 Thread Stefano Babic
Hi Ye, On 24/10/2014 14:32, Ye.Li wrote: Introduce a new configuration CONFIG_MXC_GPT_HCLK. When it is set, the GPT will use 24Mhz OSC as clock source. Otherwise, the GPT will use 32Khz OSC as clock source. Since only the GPT on iMX6 series provide the clock source option for 24Mhz OSC.

Re: [U-Boot] [PATCH 6/7] powerpc: mecp5123: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-6-git-send-email-ag...@denx.de you wrote: Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Reinhard Arlt reinhard.a...@esd-electronics.com --- include/configs/mecp5123.h | 3 +++ 1 file changed, 3 insertions(+) Applied to

Re: [U-Boot] [PATCH 5/7] powerpc: ac14xx: convert to generic board

2014-10-26 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1413892024-2760-5-git-send-email-ag...@denx.de you wrote: Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/ac14xx.h | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-mpc5xxx, thanks. Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [PATCH for-next 2/3] sunxi: kconfig: Add top-level TARGET_SUNXI

2014-10-26 Thread Hans de Goede
Hi, On 10/24/2014 03:22 PM, Ian Campbell wrote: On Fri, 2014-10-24 at 20:46 +0900, Masahiro Yamada wrote: Hi Ian, On Wed, 22 Oct 2014 20:14:29 +0100 Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-10-06 at 19:54 +0900, Masahiro Yamada wrote: Hi Ian On Mon, 06 Oct 2014 09:27:19

Re: [U-Boot] Relocation issue - need help!

2014-10-26 Thread Bill Pringlemeir
On 23 Oct 2014, w...@denx.de wrote: Given that GCC 4.9.1 apparently solves this issue I wonder which approach we should take? Should we blacklist GCC 4.8.x (and 4.9.0) like the kernel folks are doing [1] ? [1] https://lkml.org/lkml/2014/10/10/272 My understanding is this is for a

[U-Boot] [PATCH v2 2/3] arm: mx6: add support for TBS2910 Matrix ARM miniPC

2014-10-26 Thread Soeren Moch
Add initial support for TBS2910 Matrix ARM miniPC. Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. Signed-off-by: Soeren Moch sm...@web.de --- Cc: Stefano Babic sba...@denx.de Changes in v2: - board_phy_config() removed, not needed - VESA compliant HDMI video timing -

[U-Boot] [PATCH v2 1/3] arm: arch-mx6: typo fixes in crm_regs.h

2014-10-26 Thread Soeren Moch
fix typos in video pll related register names and bit defines Signed-off-by: Soeren Moch sm...@web.de --- Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-mx6/crm_regs.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [U-Boot] [PATCH for-next 2/3] sunxi: kconfig: Add top-level TARGET_SUNXI

2014-10-26 Thread Ian Campbell
On Fri, 2014-10-24 at 20:46 +0900, Masahiro Yamada wrote: Hi Ian, On Wed, 22 Oct 2014 20:14:29 +0100 Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-10-06 at 19:54 +0900, Masahiro Yamada wrote: Hi Ian On Mon, 06 Oct 2014 09:27:19 +0100 Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [RFC PATCH 0/12] RFC: dm: Add I2C support

2014-10-26 Thread Tom Rini
On Sun, Oct 12, 2014 at 11:39:26PM -0600, Simon Glass wrote: (Note this is RFC since the uclass interface needs discussion and also because only sandbox is implemented so far. But I thought it best to get this out there as soon as I wrote it as it may influence the PMIC library, etc.) This

[U-Boot] [PATCH] Freescale t104x: Do not exclude SGMII

2014-10-26 Thread Joakim Tjernlund
fman_port_enet_if() tests if FM1_DTSEC2 or FM1_DTSEC4 uses RGMII or MII and if not returns PHY_INTERFACE_MODE_NONE. This excludes testing for SGMII further down. Remove the unconditional else return PHY_INTERFACE_MODE_NONE so SGMII can be tested too. Signed-off-by: Joakim Tjernlund

[U-Boot] [PATCH v2 3/3] video: speedup writing strings to fb console

2014-10-26 Thread Soeren Moch
With enabled framebuffer console the printenv command can take several seconds to complete. This patch temporarily disables cache flush when writing strings to fb console. Then there is no noticable delay anymore. Tested with imx6 hdmi framebuffer. Signed-off-by: Soeren Moch sm...@web.de --- Cc:

[U-Boot] [RFC] Removal of doc/README.scrapyard

2014-10-26 Thread Marek Vasut
Hello, I've recently been removing support for some boards and this README.scrapyard file came up again. The file is supposed to be used to keep track of removed boards. The person removing a board is first supposed to fill in the blank fields in this README.scrapyard , which are the upstream

Re: [U-Boot] [PATCH v2 02/11] fdt: Report failure of ft_board_setup()

2014-10-26 Thread Anatolij Gustschin
Hi Simon, On Thu, 23 Oct 2014 18:58:48 -0600 Simon Glass s...@chromium.org wrote: Since this function can fail, print a message when it does. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Improve error message on failure common/cmd_fdt.c | 11 +-- 1 file

Re: [U-Boot] [PATCH 01/25] ppc: Zap ICU862 board

2014-10-26 Thread Marek Vasut
On Thursday, October 23, 2014 at 04:26:07 AM, Masahiro Yamada wrote: Hi Marek, Hello! On Wed, 22 Oct 2014 21:10:28 +0200 Marek Vasut ma...@denx.de wrote: On Monday, October 20, 2014 at 08:55:29 PM, Wolfgang Denk wrote: Dear Marek, In message 201410201649.49448.ma...@denx.de you

[U-Boot] [PATCH 03/14] exynos4/4x12: cpu: add extra gpio base addresses

2014-10-26 Thread Przemyslaw Marczak
After remove the offsets in Exynos4/4x12 gpio enums, an addidional gpio base addresses are required. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/include/asm/arch-exynos/cpu.h | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board

2014-10-26 Thread Tom Rini
On Mon, Oct 13, 2014 at 04:38:44PM +0530, Dileep Katta wrote: Signed-off-by: Dileep Katta dileep.ka...@linaro.org --- Changes in v2: -None Changes in v3: -None Changes in v4: -None -Fastboot flash command changes by Steve

[U-Boot] [PATCH 02/14] exynos: common: enable generic fs operations

2014-10-26 Thread Przemyslaw Marczak
This config is required by Odroid, and could be also useful for the other boards. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- include/configs/exynos-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h

[U-Boot] [PATCH 01/14] mmc: s5p: set SD detection pin as input

2014-10-26 Thread Przemyslaw Marczak
The SD Card slot detection pin should be configured as input. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- drivers/mmc/s5p_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c index 0dea45d..a5d3487 100644

[U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-10-26 Thread Joakim Tjernlund
Booting my t1042 I get: Loading Ramdisk to 2e639000, end 2cc4 ... OK Loading Device Tree to 03fe4000, end 03fffd45 ... OK WARNING Could not get liodn of node /pcie@ffe24: FDT_ERR_NOTFOUND WARNING Could not get liodn of node /pcie@ffe25: FDT_ERR_NOTFOUND WARNING Could not get liodn of

[U-Boot] [PATCH 04/14] exynos4/4x12: gpio: use gpio extra base addresses

2014-10-26 Thread Przemyslaw Marczak
This patch adds extra gpio part addresses to exynos4/4x12_gpio_data arrays, which are required since the gpio enum lists are linear Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/include/asm/arch-exynos/gpio.h | 59 ++--- 1 file changed, 39

[U-Boot] [PATCH 00/14] Set of fixes for Exynos4xxx boards

2014-10-26 Thread Przemyslaw Marczak
Hello Simon, Tom, The last driver-model changes was merged too fast and I was not able to test it well on all my boards. It was worked well for the first look, but after deep testing - it required some additional work to do. So this is a set of fixes required for Exynos4xxx boards. I am not sure

[U-Boot] [PATCH 05/14] exynos4412: dts: fix bad gpio order in pinctrl

2014-10-26 Thread Przemyslaw Marczak
The pinctrl dts was imported from the kernel, but the order of GPM and GPY is wrong. The gpio enum in: asm/arch/gpio.h is proper. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4x12-pinctrl.dtsi | 54 ++-- 1 file changed, 27

[U-Boot] [PATCH 11/14] trats2: dts: adjust gpio numbers after gpio rework

2014-10-26 Thread Przemyslaw Marczak
There is no gaps in exynos gpio enum after rework, so the gpio numbers should be adjusted to the new numbering. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4412-trats2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 08/14] universal: request soft i2c gpio

2014-10-26 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/universal_c210/universal.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index 22b0849..df46713 100644 ---

[U-Boot] [PATCH 13/14] odroid: dts: fix name of included dtsi

2014-10-26 Thread Przemyslaw Marczak
Odroid is based on Exynos4412. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4412-odroid.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/exynos4412-odroid.dts b/arch/arm/dts/exynos4412-odroid.dts index aea012c..2a1f1dd 100644

[U-Boot] [PATCH 12/14] odroid: dts: adjust sd cd-gpios for SD Card

2014-10-26 Thread Przemyslaw Marczak
There is no gaps in exynos gpio enum after rework, so the gpio numbers should be adjusted to the new numbering. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4412-odroid.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 14/14] odroid: adjust gpio calls to dm gpio api

2014-10-26 Thread Przemyslaw Marczak
Setting gpio value before dm gpio init has no effect, so now, odroid gpio settings are moved after the gpio uclass init. Using non-requested gpio pin cases printing error messages. To avoid this, gpio_request() is added for those gpios. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com ---

[U-Boot] [PATCH 07/14] exynos4210: dts: fix gpio offset in pinctrl-uboot

2014-10-26 Thread Przemyslaw Marczak
The gpy0 don't need any additional register offset, but the gpx0 does, so now it is fixed. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 08/14] universal: request soft i2c/spi gpio

2014-10-26 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/universal_c210/universal.c | 24 1 file changed, 24 insertions(+) diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index c04f48c..b53def8 100644 ---

[U-Boot] [PATCH 06/14] exynos4412: dts: adjust pinctrl-uboot to changed gpio order

2014-10-26 Thread Przemyslaw Marczak
The gpf0 offset was bad and it's now fixed. After fix gpio order in *pinctrl.dts , the gpy0 offset is not required now. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 10/14] trats: dts: adjust gpio numbers to new api

2014-10-26 Thread Przemyslaw Marczak
There is no gaps in exynos gpio enum after rework, so the gpio numbers should be adjusted to the new numbering. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4210-trats.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 09/14] universal: dts: adjust gpio numbers to new api

2014-10-26 Thread Przemyslaw Marczak
There is no gaps in exynos gpio enum after rework, so the gpio numbers should be adjusted to the new numbering. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4210-universal_c210.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 01/11] fdt: Allow ft_board_setup() to report failure

2014-10-26 Thread Anatolij Gustschin
On Thu, 23 Oct 2014 18:58:47 -0600 Simon Glass s...@chromium.org wrote: This function can fail if the device tree runs out of space. Rather than silently booting with an incomplete device tree, allow the failure to be detected. Unfortunately this involves changing a lot of places in the

Re: [U-Boot] [PATCH v2 03/11] fdt: Export the fdt_find_or_add_subnode() function

2014-10-26 Thread Anatolij Gustschin
On Thu, 23 Oct 2014 18:58:49 -0600 Simon Glass s...@chromium.org wrote: This function is useful for ensuring that a node exists. Export it so it can be used more widely. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Leave function documentation hidden in the C file

Re: [U-Boot] [PATCH 08/14] universal: request soft i2c/spi gpio

2014-10-26 Thread Przemyslaw Marczak
Hello, This commit was send by a mistake, the previous one is proper. So please use the previous 8-th. On 10/24/2014 05:45 PM, Przemyslaw Marczak wrote: Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/universal_c210/universal.c | 24 1 file

Re: [U-Boot] [PATCH v2 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-10-26 Thread Suriyan Ramasami
Hello Minkyu Kang, On Thu, Oct 23, 2014 at 9:58 PM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 21/10/14 02:52, Suriyan Ramasami wrote: This change adds support for enabling the USB host features of the board. This includes the USB3503A hub and the SMC LAN9730 ethernet

Re: [U-Boot] [PATCH 00/19] [RFC] Power(full) framework based on Driver Model

2014-10-26 Thread Przemyslaw Marczak
Hello, On 10/22/2014 05:31 PM, Tom Rini wrote: ... snip ... Per the mini-summit, please add a patch adding yourself as pmic custodian (so something to doc/git-mailrc, shoot me your patchwork username and Detlev an ssh key so we can get a repo setup). For this series, I'm going to review/ack

Re: [U-Boot] [PATCH 0/10] Provide inttypes.h to avoid 32/64 bit problems with printf()

2014-10-26 Thread Jeroen Hofstee
Hi Simon, attempt two.. On 24-10-14 03:03, Simon Glass wrote: +Jeroen Hi, On 15 October 2014 04:38, Simon Glass s...@chromium.org wrote: In quite a few situations we have to print a 64-bit value. Unfortunately the type used for 64-bit can vary depending on the machine. For 64-bit machines it

Re: [U-Boot] [PATCH 0/10] Provide inttypes.h to avoid 32/64 bit problems with printf()

2014-10-26 Thread Simon Glass
Hi Jeroen, On 24 October 2014 11:06, Jeroen Hofstee jer...@myspectrum.nl wrote: Hi Simon, attempt two.. On 24-10-14 03:03, Simon Glass wrote: +Jeroen Hi, On 15 October 2014 04:38, Simon Glass s...@chromium.org wrote: In quite a few situations we have to print a 64-bit value.

Re: [U-Boot] [RFC PATCH 7/7] Switch am335x_evm.h to use config_distro_defaults and config_distro_bootcmd. Add scriptaddr to DEFAULT_LINUX_BOOT_ENV, as scriptaddr is used for boot scripts in config_dis

2014-10-26 Thread Dennis Gilmore
On Fri, 3 Oct 2014 15:08:43 -0700 Vagrant Cascadian vagr...@debian.org wrote: Signed-off-by: Vagrant Cascadian vagr...@debian.org --- include/configs/am335x_evm.h | 26 +- include/configs/ti_armv7_common.h | 1 + 2 files changed, 18 insertions(+), 9

Re: [U-Boot] [PATCH v2 1/3] arm: odroid: pmic77686: allow bucket voltage settings

2014-10-26 Thread Suriyan Ramasami
Hello Jaehoon Chung, On Thu, Oct 23, 2014 at 11:52 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi. On 10/21/2014 02:52 AM, Suriyan Ramasami wrote: Allow to set the bucket voltage for the max77686. This will be used to reset the SMC LAN9730 ethernet on the odroids. Signed-off-by:

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-10-26 Thread York Sun
On 10/24/2014 08:39 AM, Joakim Tjernlund wrote: Booting my t1042 I get: Loading Ramdisk to 2e639000, end 2cc4 ... OK Loading Device Tree to 03fe4000, end 03fffd45 ... OK WARNING Could not get liodn of node /pcie@ffe24: FDT_ERR_NOTFOUND WARNING Could not get liodn of node

Re: [U-Boot] [PATCH v2 05/11] fdt: Use the correct return types for fdtdec_decode_region()

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:51PM -0600, Simon Glass wrote: Use the correct FDT data types for this function. Also add more debugging. Acked-by: Anatolij Gustschin ag...@denx.de Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc

Re: [U-Boot] [PATCH] fdt_support: fix unaligned u64 accesses in fdt_fixup_memory_banks

2014-10-26 Thread Simon Glass
+Tom Hi Rob, On 15 October 2014 03:21, Rob Herring robherri...@gmail.com wrote: From: Rob Herring r...@kernel.org Commit f18295d3837c282f (fdt_support: fix an endian bug of fdt_fixup_memory_banks) changed fdt_fixup_memory_banks cell writing from a byte at a time to casting the buffer

Re: [U-Boot] [PATCH v2 06/11] fdt: Enhance flashmap function to deal with region properties

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:52PM -0600, Simon Glass wrote: Flash regions can optionally be compressed or hashed. Add the ability to read this information from the flashmap. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 02/11] fdt: Report failure of ft_board_setup()

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:48PM -0600, Simon Glass wrote: Since this function can fail, print a message when it does. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] tps65910x I2C RTC driver

2014-10-26 Thread Tom Rini
On Sun, Oct 19, 2014 at 05:52:13PM +0400, Dvorkin Dmitry wrote: Hello! We are developing new board based on TI am33xx. (I'll send patch for this new board later.) It have not internal RTC and we're using the one from TPS65910 connected by I2C bus. May I add this patch to U-Boot source?

Re: [U-Boot] [PATCH v2 03/11] fdt: Export the fdt_find_or_add_subnode() function

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:49PM -0600, Simon Glass wrote: This function is useful for ensuring that a node exists. Export it so it can be used more widely. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 01/11] fdt: Allow ft_board_setup() to report failure

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:47PM -0600, Simon Glass wrote: This function can fail if the device tree runs out of space. Rather than silently booting with an incomplete device tree, allow the failure to be detected. Unfortunately this involves changing a lot of places in the code. I have

Re: [U-Boot] [PATCH v2 07/11] fdt: Tidy up error handling in image_setup_libfdt()

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:53PM -0600, Simon Glass wrote: The message about needing to reset should be printed no matter what error is printed. Also, an error should always be printed. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Anatolij Gustschin ag...@denx.de Reviewed-by:

[U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-10-26 Thread Hans de Goede
It is not used anywhere. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sun7i.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 966cbd8..7f7369c 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@

[U-Boot] [PATCH 1/2] ARM: Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options

2014-10-26 Thread Hans de Goede
Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, so that we can have CONFIG_ARMV7_SEC_BY_DEFAULT as a proper Kconfig option. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/Kconfig| 2 ++ arch/arm/cpu/armv7/Kconfig | 20

[U-Boot] [PATCH 2/2] ARM: bootm: Allow booting in secure mode on hyp capable systems

2014-10-26 Thread Hans de Goede
Older Linux kernels will not properly boot in hyp mode, add support for a bootm_boot_mode environment variable, which can be set to sec or nonsec to force booting in secure or non-secure mode when build with non-sec support. The default behavior can be selected through

[U-Boot] [PATCH v2] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set

2014-10-26 Thread Hans de Goede
Hi, Here is v2 of my sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set patch, now using Kconfig as requested. Note that this depends on the [PATCH v4 0/2] ARM: Add non-secure / virt Kconfig options and allow secure boot on non-secure configs series which I've just posted and

[U-Boot] [PATCH v4 0/2] ARM: Add non-secure / virt Kconfig options and allow secure boot on non-secure configs

2014-10-26 Thread Hans de Goede
Hi Albert, Here is the 4th version of my patch to allow secure-boot on u-boot builds build with non-secure boot support enabled. The first patch is new and it moves the enablement of ARMV7_NONSEC and ARMV7_VIRT to arch/arm/cpu/armv7/Kconfig. This allows adding a Kconfig option in the second

[U-Boot] [PATCH] Use __stringify() instead of xstr()

2014-10-26 Thread Anatolij Gustschin
Some boards still use xstr(). Replace remaining occurrences of xstr() by commonly used __stringify(). Signed-off-by: Anatolij Gustschin ag...@denx.de --- include/configs/mcx.h |9 +++-- include/configs/o2d.h |6 +++--- include/configs/o2d300.h |6

Re: [U-Boot] [PATCH v2 04/11] fdt: Add device tree memory bindings

2014-10-26 Thread Tom Rini
On Thu, Oct 23, 2014 at 06:58:50PM -0600, Simon Glass wrote: From: Michael Pratt mpr...@chromium.org Support a default memory bank, specified in reg, as well as board-specific memory banks in subtree board-id nodes. This allows memory information to be provided in the device tree, rather

  1   2   3   >