Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Igor Grinberg
Hi Peter, On 03/18/15 20:07, Peter Kuemmel wrote: I have a custom board which boots with a patched cm_t35 configuration based on the v2015.01 release. When I update to v2015.04-rc4 the system reboots after the x-loader has read u-boot from MMC and started it. IIUC, we have a working

[U-Boot] [PATCH v3 7/7] ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach

2015-03-19 Thread Masahiro Yamada
Move arch/arm/include/asm/arch-bcm283x/* - arch/arm/mach-bcm283x/include/mach/* Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Stephen Warren swar...@wwwdotorg.org --- Changes in v2: None arch/arm/mach-bcm283x/Kconfig | 2 +-

[U-Boot] [PATCH v3 3/7] m68k: remove arch/m68k/lib/board.c

2015-03-19 Thread Masahiro Yamada
All the M68000 boards have switched to Generic Board. This file is no longer necessary. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Cc: Huan Wang alison.w...@freescale.com Cc: Angelo Dureghello ang...@sysam.it --- Changes in v2: None arch/m68k/lib/Makefile | 3 -

[U-Boot] [PATCH] mmc: fix OCR Polling

2015-03-19 Thread Peng Fan
If in mmc_send_op_cond, OCR_BUSY is set in CMD1's response, then state is transfered to Ready state, and there is no need to send CMD1 again. Otherwise following CMD1 will recieve no response, or timeour error from driver such as fsl_esdhc.c. If not into Ready state in previous CMD1, then

[U-Boot] [PATCH 2/2] board/BuR/common: remove unused function 'blink'

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com since we have possibility to write out on lcd whats going on, we don't need the gpio blink functionality anymore. Signed-off-by: Hannes Petermaier hannes.peterma...@br-automation.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at ---

[U-Boot] [PATCH 1/2] board/BuR/common: move I2C initialization from common part to board-specific

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com At this time I2C and responsible pin-mux is setup during PMIC initialziation within common.c, this is possible because today PMIC is always connected on I2C0. In Future this will be changed, PMIC isn't anymore connected to bus0 in call

[U-Boot] [PATCH v3 6/7] ARM: bcm283x: merge BCM2835/BCM2836 directories into mach-bcm283x

2015-03-19 Thread Masahiro Yamada
BCM2835 (used on Raspberry Pi) and BCM2836 (used on Raspberry Pi 2) are similar enough. One of the biggest differences is the ARM processor. It is reasonable to collect the source files into a single place, arch/arm/mach-bcm283x/. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com

[U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degrees, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages

Re: [U-Boot] [PATCH v2 7/7] ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach

2015-03-19 Thread Masahiro Yamada
2015-03-17 12:35 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Move arch/arm/include/asm/arch-bcm283x/* - arch/arm/mach-bcm283x/include/mach/* Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Cc: Stephen Warren swar...@nvidia.com Based on Stephen's comment in:

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-19 Thread Jan Kiszka
On 2015-03-18 17:54, Ian Campbell wrote: On Wed, 2015-03-11 at 11:11 -0400, Tom Rini wrote: On Mon, Mar 09, 2015 at 08:00:10AM +0100, Jan Kiszka wrote: Changes in v4: - rebased over master - implemented psci_get_cpu_id as weak function - implemented psci_disable/enable_smp as weak

Re: [U-Boot] [PATCH v5 02/14] ARM: Factor out common psci_get_cpu_id

2015-03-19 Thread Jan Kiszka
On 2015-03-18 17:54, Ian Campbell wrote: On Mon, 2015-03-09 at 08:00 +0100, Jan Kiszka wrote: Will be required for obtaining the ID of the current CPU in shared PSCI functions. The default implementation requires a dense ID space and only supports a single cluster. Therefore, the functions can

[U-Boot] [PATCH v3 2/4] common/lcd_console: ask only one-time for bg/fg-color per call

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com Don't call the lcd_getfgcolor and lcd_getbgcolor within the draw-loop, this only wastes time. Signed-off-by: Hannes Petermaier hannes.peterma...@br-automation.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes in v3: None

Re: [U-Boot] [PATCH] remove unnecessary version.h includes

2015-03-19 Thread Linus Walleij
On Tue, Mar 17, 2015 at 9:28 PM, Rob Herring r...@kernel.org wrote: Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include. Signed-off-by: Rob Herring r...@kernel.org Cc: Albert Aribaud

[U-Boot] [PATCH v3 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-19 Thread Hannes Petermaier
Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degree, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we introduce the feature called

[U-Boot] [PATCH v3 1/4] common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com the capability of drawing some *str with count from lcd_drawchars is unnary. It is always called from lcd_putc_xy with one character of and count = 1. So we simply rename lcd_drawchars into lcd_putc_xy and remove the loops inside.

[U-Boot] [PATCH v3 3/4] common/lcd_console: move single static variables into common (static) structure

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com For coming implementation of lcd_console rotation, we will need some more variables for holding information about framebuffer size, rotation, ... For better readability we catch all them into a common structure. Signed-off-by: Hannes

[U-Boot] [PATCH v3 2/7] generic-board: select SYS_GENERIC_BOARD for some architectures

2015-03-19 Thread Masahiro Yamada
We have done with the generic board conversion for all the boards of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86. Let's select SYS_GENERIC_BOARD for those architectures, so we can tell which architecture has finished the conversion at a glance. Signed-off-by: Masahiro Yamada

[U-Boot] [PATCH 5/6] mmc: Restructure polling loops to avoid extra delays

2015-03-19 Thread Andrew Gabbasov
The polling loops in sd_send_op_cond and mmc_complete_op_cond functions check the ready flag state at the end of the loop, that is after executing a delay inside the loop, which, in case of exiting with no error, is not needed. Also, one of these loops, as well as the loop in mmc_send_status, have

[U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-19 Thread Andrew Gabbasov
Some MMC cards come to ready state quite quickly, so that the respective flag appears to be set in mmc_send_op_cond already. In this case trying to continue polling the card with CMD1 in mmc_complete_op_cond is incorrect and may lead to unpredictable results. So check the flag before polling and

[U-Boot] [PATCH 6/6] mmc: Fix splitting device initialization

2015-03-19 Thread Andrew Gabbasov
Starting part of device initialization sets the init_in_progress flag only if the MMC card did not yet come to ready state and needs to continue polling. If the card is SD or if the MMC card became ready quickly, the flag is not set and (if using pre-initialization) the starting phase will be

[U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

2015-03-19 Thread Masahiro Yamada
This option has a bool type, not hex. Fix it and enable it if CONFIG_DM is on because Driver Model always requires malloc memory. Devices are scanned twice, before/after relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc memory before relocation. As it is board-independent, handle

Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Peter Kuemmel
Gesendet: Donnerstag, 19. März 2015 um 08:11 Uhr Von: Igor Grinberg grinb...@compulab.co.il An: Peter Kuemmel syntheti...@gmx.net, u-boot@lists.denx.de Cc: Nikita Kiryanov nik...@compulab.co.il Betreff: Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board Hi Peter, On 03/18/15

[U-Boot] U-boot on MPC8641D based board

2015-03-19 Thread Ashish Khetan
Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash information but when we try to access another flash u-boot

Re: [U-Boot] [PATCH] dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts

2015-03-19 Thread Lukasz Majewski
Hi Heiko, trigger watchdog before calling usb_gadget_handle_interrupts() This prevents board resets when calling dfu command on boards which have a watchdog. Signed-off-by: Heiko Schocher h...@denx.de --- common/cmd_dfu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v3 4/7] malloc_f: remove redundant defalut values of CONFIG_SYS_MALLOC_F_LEN

2015-03-19 Thread Masahiro Yamada
The default value of CONFIG_SYS_MALLOC_F_LEN is defined by ./Kconfig as 0x400. Each defconfig or Kconfig need not repeat the same value. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Stephen Warren swar...@wwwdotorg.org --- Changes in v2: None

[U-Boot] [PATCH v3 1/7] generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig

2015-03-19 Thread Masahiro Yamada
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: None Makefile | 2 +- README| 6 +++--- arch/Kconfig | 14 ++ arch/arc/config.mk

[U-Boot] [PATCH v3 0/7] Some improvements related to build system

2015-03-19 Thread Masahiro Yamada
- Move GENERIC_BOARD CONFIGs - Remove arch/m68k/lib/board.c - Clean ups CONFIG_SYS_MALLOC_F and CONFIG_SYS_MALLOC_F_LEN - Move BCM283x code into arch/arm/mach-bcm283x Changes in v3: - No change. Just add Stephen's Acked-by tag Changes in v2: - Fix a typo s/not

Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Igor Grinberg
On 03/19/15 12:43, Peter Kuemmel wrote: Gesendet: Donnerstag, 19. März 2015 um 08:11 Uhr Von: Igor Grinberg grinb...@compulab.co.il An: Peter Kuemmel syntheti...@gmx.net, u-boot@lists.denx.de Cc: Nikita Kiryanov nik...@compulab.co.il Betreff: Re: [U-Boot] v2015.04-rc4: broken for custom

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 10:06 PM, Shaohui Xie shaohui@freescale.com wrote: Hello Joe, Thank you for reviewing this patch! Please see inline. Best Regards, Shaohui Xie From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Friday, March 20, 2015 2:04 AM To: Sun

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Shaohui Xie
/* IFC */ #define CONFIG_SYS_FSL_IFC_LE +#define CONFIG_SYS_MEMAC_LITTLE_ENDIAN It seems tedious to have to define this. Can't you just use the functions available? [S.H] To use a define is based on a concern that we cannot assume the I/O access of an IP share same endianness as

[U-Boot] [PATCH] dm: serial: remove bogus include ns16550.h

2015-03-19 Thread Masahiro Yamada
Serial-uclass should be generically implemented without depending a particular hardware. Fortunately, nothing in include/ns16550.h is referenced from drivers/serial/serial-uclass.c, so remove this bogus include. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com ---

[U-Boot] [PATCH] cmd_scsi: Enable SoC AHCI device on platforms with PCI

2015-03-19 Thread Tang Yuantian
Current driver assumes the AHCI is connected to PCI, this is not true on some SoCs, e.g. LS1021A, which has PCI but the AHCI is in SoC. This patch will enable embedded AHCI devices on platforms with PCI. PCI AHCI devices still can be used by commenting CONFIG_SCSI_AHCI_PLAT option in head file.

[U-Boot] [PATCH] mtd: spi: check return value of spi_setup_slave

2015-03-19 Thread Peng Fan
Need to check value of spi_setup_slave and spi_setup_slave_fdt. If their return value 'bus' is NULL, there is no need to pass it to following spi_flash_probe_tail. If 'bus' is null, the original function flow is as following: spi_flash_probe |-spi_setup_slave |-spi_probe_bus_tail

Re: [U-Boot] [PATCH] cmd_scsi: Enable SoC AHCI device on platforms with PCI

2015-03-19 Thread Bin Meng
On Fri, Mar 20, 2015 at 10:27 AM, Tang Yuantian yuantian.t...@freescale.com wrote: Current driver assumes the AHCI is connected to PCI, this is not true on some SoCs, e.g. LS1021A, which has PCI but the AHCI is in SoC. This patch will enable embedded AHCI devices on platforms with PCI. PCI

Re: [U-Boot] [PATCH 8/8] driver/i2c/mxc: Add I2C3 and I2C4 for LS2085A

2015-03-19 Thread Heiko Schocher
Hello Yrok, Am 19.03.2015 17:20, schrieb York Sun: LS2085A uses mxc I2C driver and has four I2C buses. Signed-off-by: York Sun york...@freescale.com CC: Heiko Schocher h...@denx.de --- drivers/i2c/mxc_i2c.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-19 Thread peng....@freescale.com
Hi, Andrew There is already a patch to fix this issue. Patchwork: https://patchwork.ozlabs.org/patch/451775/ Regards, Peng. -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Andrew Gabbasov Sent: Thursday, March 19, 2015 8:44 PM To: u-boot@lists.denx.de

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 10:48 PM, Shaohui Xie shaohui@freescale.com wrote: /* IFC */ #define CONFIG_SYS_FSL_IFC_LE +#define CONFIG_SYS_MEMAC_LITTLE_ENDIAN It seems tedious to have to define this. Can't you just use the functions available? [S.H] To use a define is based on a

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Shaohui Xie
Hello Joe, Thank you for reviewing this patch! Please see inline. Best Regards, Shaohui Xie From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Friday, March 20, 2015 2:04 AM To: Sun York-R58495 Cc: u-boot; Joe Hershberger; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 15/28]

Re: [U-Boot] [PATCH 28/28] armv8/fsl-lsch3: Implement workaround for I2C issue

2015-03-19 Thread Heiko Schocher
Hello York, Am 19.03.2015 17:45, schrieb York Sun: This erratum requires setting GLITCH_EN bit in debug register. Signed-off-by: York Sun york...@freescale.com --- arch/arm/cpu/armv8/fsl-lsch3/soc.c | 30 ++ 1 file changed, 30 insertions(+) diff --git

Re: [U-Boot] [PATCH 13/28] net/phy/cortina: Fix compilation warning

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 11:45 AM, York Sun york...@freescale.com wrote: From: pankaj chauhan pankaj.chau...@freescale.com Fix comilation warning which is emitted when firmware address is more than 32 bit. Signed-off-by: pankaj chauhan pankaj.chau...@freescale.com CC: Joe Hershberger

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-19 Thread Otavio Salvador
Hello Vagrant, On Thu, Mar 19, 2015 at 1:55 PM, Vagrant Cascadian vagr...@debian.org wrote: On 2015-02-24, and...@inversepath.com wrote: Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on Freescale i.MX53 SoC. ... diff --git

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Joe Hershberger
Hi Shaohui Xie, On Thu, Mar 19, 2015 at 11:45 AM, York Sun york...@freescale.com wrote: From: Shaohui Xie shaohui@freescale.com The memac for PHY management on little endian SoCs is similar on big endian SoCs, so we modify the driver by using I/O accessor function to handle the

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: From: Scott Wood scottw...@freescale.com This lets us see the problems (close to) when they happen, rather than Linux hanging when it enables them prior to having a working console. FYI, if the Linux driver for your UART supports

[U-Boot] [PATCH] Document config_distro_bootcmd environment variables for interactive booting.

2015-03-19 Thread Karsten Merker
Signed-off-by: Karsten Merker mer...@debian.org --- doc/README.distro | 17 + 1 file changed, 17 insertions(+) diff --git a/doc/README.distro b/doc/README.distro index dd0f1c7..5150eda 100644 --- a/doc/README.distro +++ b/doc/README.distro @@ -1,6 +1,7 @@ /* * (C) Copyright

[U-Boot] config_distro_bootcmd and boot environment (was: Regression in bootcmd handling in v2015.04-rc3?)

2015-03-19 Thread Karsten Merker
Tom Rini tr...@konsulko.com wrote: So then we're settled on run bootcmd_usb was unintended but run bootcmd_usb0 is and must remain so if anything a slight update to doc/README.distro would be expected and we're good, right? Thanks guys! Following is a patch to add such a description to

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: From: Scott Wood scottw...@freescale.com This lets us see the problems (close to) when they happen, rather than Linux hanging when it enables them prior to having a working

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On 03/19/2015 12:58 PM, Scott Wood wrote: On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On 03/19/2015 12:52 PM, Scott Wood wrote: On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On Thu, Mar 19, 2015 at 04:45:48PM +,

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
On 03/19/2015 12:52 PM, Scott Wood wrote: On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: From: Scott Wood scottw...@freescale.com This lets us see the problems (close to) when they happen, rather than Linux hanging when it

Re: [U-Boot] [PATCH] Document config_distro_bootcmd environment variables for interactive booting.

2015-03-19 Thread Stephen Warren
On 03/19/2015 01:41 PM, Karsten Merker wrote: A brief description would be nice. diff --git a/doc/README.distro b/doc/README.distro +Interactively booting from a specific device at the u-boot prompt += + +For interactively

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On 03/19/2015 12:52 PM, Scott Wood wrote: On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: Signed-off-by: Scott Wood scottw...@freescale.com York, where's your signoff

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
On 03/19/2015 12:58 PM, Scott Wood wrote: On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On 03/19/2015 12:52 PM, Scott Wood wrote: On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: Signed-off-by: Scott Wood

[U-Boot] [PATCH 0/6] mmc: Fix OCR polling and splitted initialization

2015-03-19 Thread Andrew Gabbasov
Patch 4 contains a fix for a problem that really occures with some MMC cards, that are capable to get to ready state within a single polling call. Patch 6 is a fix for an error, that may be not so important and is not visible at the moment, since no platform does actually use pre-initialization.

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

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:17:51AM +0100, Heiko Schocher wrote: Hello Tom, updated pull request for u-boot-i2c.git. Added the mvtwsi baudrate fix patch from Stefan after Hans added his Acked-by ... The following changes since commit 052a681bae8ee91c9854089549b20c857d499fd7: Prepare

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:23:38AM +0100, Stefano Babic wrote: Hi Tom, please pull (small fixes) from u-boot-imx, thanks ! The following changes since commit 32df39c741788e8637cffe6633d73594b26d70fb: mx5: fix get_reset_cause (2015-03-05 10:29:27 +0100) are available in the git

Re: [U-Boot] Pull request: u-boot-mmc 18032015

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:08:46AM +0200, Pantelis Antoniou wrote: Hi Tom, Only bug fixes for now, rather uneventful. The following changes since commit 3231e364bf8426a9c8fd5158fe2d155ae7b9: mmc: fsl_esdhc fix register offset (2015-03-17 09:09:47 -0400) are available in the git

[U-Boot] [PATCH 1/6] mmc: Fix typo in MMC type checking macro

2015-03-19 Thread Andrew Gabbasov
The version flag constant name used in IS_MMC macro is incorrect/undefined. Signed-off-by: Andrew Gabbasov andrew_gabba...@mentor.com --- include/mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mmc.h b/include/mmc.h index 2ad0f19..a251531 100644 ---

[U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Yegor Yefremov
I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda [17.309706 0.005856] nand: Micron MT29F2G08ABAEAWP [17.312823

[U-Boot] [PATCH 3/6] mmc: Do not pass external mmc_cmd structure to mmc_send_op_cond_iter()

2015-03-19 Thread Andrew Gabbasov
The previous change to use 'ocr' structure field for storing send_op_cond command response also stopped using command response directly outside of mmc_send_op_cond_iter(). Now it becomes possible to use command structure in mmc_send_op_cond_iter() locally, removing a necessity to pass it as an

[U-Boot] [PATCH 2/6] mmc: Avoid extra duplicate entry in mmc device structure

2015-03-19 Thread Andrew Gabbasov
The 'op_cond_response' field in mmc structure contains the response from the last SEND_OP_COND MMC command while making iterational polling of the card. Later it is copied to 'ocr' field, designed to contain the OCR register value, which is actually the same response from the same command. So,

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-19 Thread Tom Rini
On Thu, Mar 19, 2015 at 02:42:16AM +0530, Dileep Katta wrote: Hi Tom, On 18 March 2015 at 21:41, Tom Rini tr...@konsulko.com wrote: On Wed, Mar 18, 2015 at 12:08:23AM +0530, Dileep Katta wrote: - Added new configuration for Android fastboot - This is based on following

Re: [U-Boot] 64Bit device tree compilation

2015-03-19 Thread Simon Glass
Hi Hanna, On 18 March 2015 at 11:17, Hanna Hawa han...@marvell.com wrote: Hi Simon, My name is Hanna, I’m working in Software team in Marvell with Yehuda. I’m trying to run U-Boot with FDT in 64Bit. I’ve issue when I’m trying to load the image on my board, I got abort (**Synchronous

Re: [U-Boot] [PATCH V2] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-19 Thread Guillaume Gardet
Ping. Guillaume Le 11/03/2015 10:34, Guillaume GARDET a écrit : Commit 2e82e9252695a612ab0cbf40fa0c7368515f6506 'Exynos: Clock: Cleanup soc_get_periph_rate' introduced a bug in I2C config. This patch makes cros_ec keyboard working again on Samsung Chromebook (snow). Changes in V2: reorder

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread York Sun
On 03/19/2015 10:16 AM, Joe Hershberger wrote: On Thu, Mar 19, 2015 at 11:43 AM, York Sun york...@freescale.com mailto:york...@freescale.com wrote: From: Minghuan Lian minghuan.l...@freescale.com mailto:minghuan.l...@freescale.com The patch removes unnecessary whitespace to fix

Re: [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong

2015-03-19 Thread Simon Glass
On 19 March 2015 at 10:43, York Sun york...@freescale.com wrote: From: Scott Wood scottw...@freescale.com Otherwise the high 32 bits get truncated on 64-bit U-boot. Signed-off-by: Scott Wood scottw...@freescale.com CC: Simon Glass s...@chromium.org --- common/cmd_mem.c |6 +++--- 1

Re: [U-Boot] U-boot on MPC8641D based board

2015-03-19 Thread Sinan Akman
Hi Ashish On 03/19/2015 08:12 AM, Ashish Khetan wrote: Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 04:45:35PM +, York Sun wrote: The timer clock is system clock divided by 4, not fixed 12MHz. This is common to the SoC, not board specific. Signed-off-by: York Sun york...@freescale.com --- README |8

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 06:16:25PM +, York Sun wrote: On 03/19/2015 11:08 AM, Mark Rutland wrote: + +int timer_init(void) +{ + u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR; + u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR; +#ifdef COUNTER_FREQUENCY_REAL +

Re: [U-Boot] 64Bit device tree compilation

2015-03-19 Thread Thierry Reding
On Thu, Mar 19, 2015 at 07:43:35AM -0600, Simon Glass wrote: Hi Hanna, On 18 March 2015 at 11:17, Hanna Hawa han...@marvell.com wrote: Hi Simon, My name is Hanna, I’m working in Software team in Marvell with Yehuda. I’m trying to run U-Boot with FDT in 64Bit. I’ve issue

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-19 Thread Vagrant Cascadian
On 2015-02-24, and...@inversepath.com wrote: Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on Freescale i.MX53 SoC. ... diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h new file mode 100644 index 000..e00ec7b ---

Re: [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong

2015-03-19 Thread York Sun
On 03/19/2015 10:50 AM, Simon Glass wrote: On 19 March 2015 at 10:43, York Sun york...@freescale.com wrote: From: Scott Wood scottw...@freescale.com Otherwise the high 32 bits get truncated on 64-bit U-boot. Signed-off-by: Scott Wood scottw...@freescale.com CC: Simon Glass

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Daniel Mack
Hi, On 03/19/2015 02:41 PM, Yegor Yefremov wrote: I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 11:43 AM, York Sun york...@freescale.com wrote: From: Minghuan Lian minghuan.l...@freescale.com The patch removes unnecessary whitespace to fix checkpatch's warning: unnecessary whitespace before a quoted newline Signed-off-by: Minghuan Lian

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread York Sun
On 03/19/2015 10:19 AM, York Sun wrote: On 03/19/2015 10:16 AM, Joe Hershberger wrote: On Thu, Mar 19, 2015 at 11:43 AM, York Sun york...@freescale.com mailto:york...@freescale.com wrote: From: Minghuan Lian minghuan.l...@freescale.com mailto:minghuan.l...@freescale.com The patch

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 12:55 PM, York Sun york...@freescale.com wrote: On 03/19/2015 10:19 AM, York Sun wrote: On 03/19/2015 10:16 AM, Joe Hershberger wrote: On Thu, Mar 19, 2015 at 11:43 AM, York Sun york...@freescale.com mailto:york...@freescale.com wrote: From: Minghuan Lian

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
On 03/19/2015 11:08 AM, Mark Rutland wrote: + +int timer_init(void) +{ +u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR; +u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR; +#ifdef COUNTER_FREQUENCY_REAL +unsigned long cntfrq = COUNTER_FREQUENCY_REAL; + +/*

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
On 03/19/2015 11:17 AM, Mark Rutland wrote: On Thu, Mar 19, 2015 at 06:16:25PM +, York Sun wrote: On 03/19/2015 11:08 AM, Mark Rutland wrote: + +int timer_init(void) +{ + u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR; + u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR;

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-19 Thread Kim Phillips
On Thu, 19 Mar 2015 09:45:45 -0700 York Sun york...@freescale.com wrote: From: J. German Rivera german.riv...@freescale.com Changed MC firmware loading to comply with the new MC boot architecture. Flush D-cache hierarchy after loading MC images. Add environment variables mcboottimeout for

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-19 Thread Thierry Reding
On Mon, Mar 09, 2015 at 08:00:10AM +0100, Jan Kiszka wrote: Changes in v4: - rebased over master - implemented psci_get_cpu_id as weak function - implemented psci_disable/enable_smp as weak functions - adjusted register interface of psci_get_cpu_stack_top This version (+ the non-cached

[U-Boot] [PATCH 2/2] [PATCH v2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

2015-03-19 Thread Alexander Merkle
Signed-off-by: Alexander Merkle alexander.mer...@lauterbach.com --- include/configs/zynq-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 87b4fff..789e437 100644 --- a/include/configs/zynq-common.h +++

[U-Boot] [PATCH 0/28] Adding LS2085AQDS and RDB

2015-03-19 Thread York Sun
This set adds necessary support in common ls2085a support and board support for QDS and RDB. Bhupesh Sharma (1): armv8/fsl-ch3: Add support to print RCW configuration J. German Rivera (2): drivers/fsl-mc: Changed MC firmware loading for new boot architecture drivers/fsl-mc: Autoload AOIP

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 06:24:10PM +, York Sun wrote: On 03/19/2015 11:17 AM, Mark Rutland wrote: On Thu, Mar 19, 2015 at 06:16:25PM +, York Sun wrote: On 03/19/2015 11:08 AM, Mark Rutland wrote: + +int timer_init(void) +{ +u32 __iomem *cntcr = (u32

[U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

2015-03-19 Thread Alexander Merkle
fix arm_dcc.c implementation for ARMv7 based cores. remove now obsolete workaround for ZYNQ Alexander Merkle (2): fix ARM DCC support for ARMv7 based cores (e.g. CortexA) fix ARM DCC support for ARMv7 based cores (e.g. CortexA) drivers/serial/arm_dcc.c | 4 ++--

[U-Boot] [PATCH 1/2] fix ARM DCC support for ARMv7 based cores (e.g. CortexA)

2015-03-19 Thread Alexander Merkle
Signed-off-by: Alexander Merkle alexander.mer...@lauterbach.com --- drivers/serial/arm_dcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c index 5dfb02f..e37 100644 --- a/drivers/serial/arm_dcc.c +++

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-19 Thread Andrej Rosano
Hi Vagrant, On Thu, Mar 19, 2015 at 09:55:26AM -0700, Vagrant Cascadian wrote: On 2015-02-24, and...@inversepath.com wrote: Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on Freescale i.MX53 SoC. ... diff --git a/include/configs/usbarmory.h

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
On 03/19/2015 11:46 AM, Mark Rutland wrote: On Thu, Mar 19, 2015 at 06:24:10PM +, York Sun wrote: On 03/19/2015 11:17 AM, Mark Rutland wrote: On Thu, Mar 19, 2015 at 06:16:25PM +, York Sun wrote: On 03/19/2015 11:08 AM, Mark Rutland wrote: + +int timer_init(void) +{ +u32

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
On 03/19/2015 01:37 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:27 -0700, York Sun wrote: On 03/19/2015 01:06 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On 03/19/2015 12:58 PM, Scott Wood wrote: On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
On 03/19/2015 01:51 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:47 -0700, York Sun wrote: On 03/19/2015 01:37 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:27 -0700, York Sun wrote: On 03/19/2015 01:06 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
On 03/19/2015 01:06 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On 03/19/2015 12:58 PM, Scott Wood wrote: On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On 03/19/2015 12:52 PM, Scott Wood wrote: On Thu, 2015-03-19 at 18:14 +, Mark Rutland wrote: On

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 13:47 -0700, York Sun wrote: On 03/19/2015 01:37 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:27 -0700, York Sun wrote: On 03/19/2015 01:06 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On 03/19/2015 12:58 PM, Scott Wood wrote: On

Re: [U-Boot] [PATCH] Document config_distro_bootcmd environment variables for interactive booting.

2015-03-19 Thread Stephen Warren
On 03/19/2015 02:53 PM, Karsten Merker wrote: On Thu, Mar 19, 2015 at 01:53:14PM -0600, Stephen Warren wrote: +Interactively booting from a specific device at the u-boot prompt += + +For interactively booting from a user-selected

[U-Boot] [PATCH v2 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
The timer clock is system clock divided by 4, not fixed 12MHz. This is common to the SoC, not board specific. Signed-off-by: York Sun york...@freescale.com --- Changes in v2: Fix CNTFRQ for secondary cores when COUNTER_FREQUENCY_REAL is defined. README |

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 13:27 -0700, York Sun wrote: On 03/19/2015 01:06 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:02 -0700, York Sun wrote: On 03/19/2015 12:58 PM, Scott Wood wrote: On Thu, 2015-03-19 at 12:54 -0700, York Sun wrote: On 03/19/2015 12:52 PM, Scott Wood wrote: On

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Scott Wood
On Thu, 2015-03-19 at 13:56 -0700, York Sun wrote: On 03/19/2015 01:51 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:47 -0700, York Sun wrote: On 03/19/2015 01:37 PM, Scott Wood wrote: On Thu, 2015-03-19 at 13:27 -0700, York Sun wrote: On 03/19/2015 01:06 PM, Scott Wood wrote: On

Re: [U-Boot] [PATCH v6 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-19 Thread Scott Wood
On Wed, 2015-03-18 at 10:04 +0100, Albert ARIBAUD (3ADEV) wrote: +int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst) +{ + int block_good; bool? + struct lpc32xx_oob oob; + unsigned int page, left; + + /* if starting mid-block consider block good */ +

[U-Boot] [PATCH 4/8] driver/ldpaa_eth: Add LDPAA Ethernet driver

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha prabha...@freescale.com LDPAA Ethernet driver is a freescale's new ethernet driver based on Layerscape architecture. Every ethernet driver controls on DPNI object. Where all DPNIs share one common DPBP and DPIO object to support Rx and Tx flows. Signed-off-by:

[U-Boot] [PATCH 6/8] driver/fsl_ifc: Add support to finalize CS1, CS3 address binding

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha prabha...@freescale.com For fsl-lsch3, IFC is binded with address within 32-bit at fist. After u-boot relocates to DDR, CS1, CS3 can be binded to higher address to support large space. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com Signed-off-by: York Sun

[U-Boot] [PATCH 1/8] armv8/fsl-lsch3: Add Freescale Debug Server driver

2015-03-19 Thread York Sun
From: Bhupesh Sharma bhupesh.sha...@freescale.com The Debug Server driver is responsible for loading the Debug server FW on the Service Processor (Cortex-A5 core) on LS2085A like SoCs and then polling for the successful initialization of the same. TOP MEM HIDE is adjusted to ensure the space

[U-Boot] [PATCH 7/8] nand/fsl_ifc: Increase eccstat[] for IFC 2.0

2015-03-19 Thread York Sun
From: Scott Wood scottw...@freescale.com IFC 2.0 doubled the SRAM size, which means double the number of ECCSTAT registers. Fix the resulting array overflow. Signed-off-by: Scott Wood scottw...@freescale.com --- drivers/mtd/nand/fsl_ifc_nand.c | 11 +-- 1 file changed, 9

[U-Boot] [PATCH 5/8] board/ls2085_common: Increase malloc length

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha prabha...@freescale.com Increase malloc length for more than 2M. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com Change-Id: Id3b87453be03c97467ab58c841274fb5ea0883f2 Reviewed-on: http://git.am.freescale.net:8181/26580 Tested-by: Review Code-CDREVIEW

[U-Boot] [PATCH 2/4] driver/ddr/fsl: Fix driver to support empty first slot

2015-03-19 Thread York Sun
CS0 was not allowed to be empty by u-boot driver in the past to simplify the driver. This may be inconvenient for some debugging. This patch lifts the restrictions. Controller interleaving still requires CS0 populated. Signed-off-by: York Sun york...@freescale.com --- drivers/ddr/fsl/ctrl_regs.c

  1   2   >