Re: [U-Boot] u-boot device model SPI + SPI Flash

2015-11-03 Thread Hoefle Marco
Hello Michal, I saw a change on this file drivers/mtd/spi/sf-uclass.c regarding the dm problem. I replaced this file on mainline u-boot but the result is the same. Is there anything else to change? I looked at your here: https://github.com/Xilinx/u-boot-xlnx/commits/master/drivers/spi Thanks,

Re: [U-Boot] [PATCH 1/6] mx6sabresd: Remove empty reset_cpu()

2015-11-03 Thread Stefano Babic
On 03/11/2015 01:21, Fabio Estevam wrote: > From: Fabio Estevam > > There is really no need to provide an empty reset_cpu() implementation, > so just remove it. > > Signed-off-by: Fabio Estevam > --- >

Re: [U-Boot] [PATCH 6/6] ot1200: Remove empty reset_cpu()

2015-11-03 Thread Christian Gmeiner
2015-11-03 1:21 GMT+01:00 Fabio Estevam : > From: Fabio Estevam > > There is really no need to provide an empty reset_cpu() implementation, > so just remove it. > > Cc: Christian Gmeiner > Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH v5 17/18] spi: Add SPI NOR protection mechanism

2015-11-03 Thread Jagan Teki
Fabio, On 3 November 2015 at 20:29, Fabio Estevam wrote: > Jagan, > > On Tue, Nov 3, 2015 at 12:51 PM, Jagan Teki wrote: > >>> + if (flash->is_locked(flash, offset, len) > 0) { >>> + printf("offset 0x%x is protected and cannot be

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Steven Kipisz
On 11/03/2015 07:16 AM, Igor Grinberg wrote: Hi Steve, On 11/03/15 14:22, Steve Kipisz wrote: From: Lokesh Vutla [...] Signed-off-by: Lokesh Vutla Signed-off-by: Steve Kipisz --- v2 Based on master a6104737 ARM: at91:

Re: [U-Boot] [PATCH v5 17/18] spi: Add SPI NOR protection mechanism

2015-11-03 Thread Fabio Estevam
Jagan, On Tue, Nov 3, 2015 at 1:11 PM, Jagan Teki wrote: > Nothing is worse than before or now - as spi-flash code is configured > both the dm and non-dm cases and it's been thinking job as I have > planning for proper design[1] to go ahead. I understand you sent > multiple

Re: [U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Steven Kipisz
On 11/03/2015 07:29 AM, Igor Grinberg wrote: Hi Steve, On 11/03/15 14:22, Steve Kipisz wrote: [...] Signed-off-by: Steve Kipisz --- v2 Based on: master a6104737 ARM: at91: sama5: change the environment address to 0x6000 Build testing: MAKEALL -s omap4 -s omap5 (no

Re: [U-Boot] [PATCH] fdt: fix address cell count checking in fdt_translate_address()

2015-11-03 Thread Przemyslaw Marczak
Hello All, On 10/29/2015 06:15 PM, Simon Glass wrote: Hi Stefan, On 28 October 2015 at 08:37, Przemyslaw Marczak wrote: Commit: dm: core: Enable optional use of fdt_translate_address() Enables use of this function as default, but after this it's not possible to get

[U-Boot] [PATCH V3 11/13] spl: announce boot devices

2015-11-03 Thread Nikita Kiryanov
Now that we support alternative boot devices, it can sometimes be unclear which boot devices was actually used. Provide a function to announce which boot devices are attempted during boot. Signed-off-by: Nikita Kiryanov Cc: Igor Grinberg Cc: Tom

[U-Boot] [PATCH v2 1/5] ARM: OMAP4/5: Centralize early clock initialization

2015-11-03 Thread Steve Kipisz
Early clock initialization is currently done in two stages for OMAP4/5 SoCs. The first stage is the initialization of console clocks and then we initialize basic clocks for functionality necessary for SoC initialization and basic board functionality. By splitting up prcm_init and centralizing

Re: [U-Boot] arm: at91: Change the Chip ID registers' addresses

2015-11-03 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Provide the specific addresses for the Chip ID and Chip ID Extension >registers, instead of the offset, which make it use on other chips. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Igor Grinberg
Hi Steve, On 11/03/15 14:22, Steve Kipisz wrote: [...] > Signed-off-by: Steve Kipisz > --- > v2 Based on: > master a6104737 ARM: at91: sama5: change the environment address to > 0x6000 > > Build testing: MAKEALL -s omap4 -s omap5 (no warnings/build errors) > Boot

Re: [U-Boot] [PATCH] usb: lthor: Specify correct parameter for sizeof type

2015-11-03 Thread Lukasz Majewski
Hi Michal, > This patch removes this warning: > CC drivers/usb/gadget/f_thor.o > drivers/usb/gadget/f_thor.c: In function ‘thor_tx_data’: > drivers/usb/gadget/f_thor.c:572:2: warning: format ‘%d’ expects > argument of type ‘int’, but argument 4 has type ‘long unsigned > int’ [-Wformat=]

[U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Steve Kipisz
From: Lokesh Vutla Several TI EVMs have EEPROM that can contain board description information such as revision, DDR definition, serial number, etc. In just about all cases, these EEPROM are on the I2C bus and provides us the opportunity to centralize the generic operations

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Igor Grinberg
Hi Steve, On 11/03/15 14:22, Steve Kipisz wrote: > From: Lokesh Vutla [...] > > Signed-off-by: Lokesh Vutla > Signed-off-by: Steve Kipisz > --- > v2 Based on > master a6104737 ARM: at91: sama5: change the environment address

[U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-03 Thread Nikita Kiryanov
Make spl_*_load_image() functions return a value instead of hanging if a problem is encountered. This enables main spl code to make the decision whether to hang or not, thus preparing it to support alternative boot devices. Some boot devices (namely nand and spi) do not hang on error. Instead,

[U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Steve Kipisz
Current AM57xx evm supports both BeagleBoard-X15 (http://beagleboard.org/x15) and AM57xx EVM (http://www.ti.com/tool/tmdxevm5728). The AM572x EValuation Module(EVM) provides an affordable platform to quickly start evaluation of Sitara. ARM Cortex-A15 AM57x Processors (AM5728, AM5726, AM5718,

[U-Boot] [PATCH v2 2/5] ARM: OMAP4/5: Centralize gpi2c_init

2015-11-03 Thread Steve Kipisz
Centralize gpi2c_init into omap_common from the sys_proto header so that the information can be reused across SoCs. Signed-off-by: Steve Kipisz --- v2 Based on: master a6104737 ARM: at91: sama5: change the environment address to 0x6000 Changes in v2: - New Patch

[U-Boot] [PATCH v2 0/5] ARM: omap-common: Add board detection support for TI EVMs

2015-11-03 Thread Steve Kipisz
Several TI EVMs have onboard EEPROM that contain board description information. The onboard EEPROM on Beaglebone, Beaglebone Black, AM335x EVM, AM43x EVM, AM57xx EVM, Beagleboard-x15 all share the same format. This series of patches introduces code which is generic among these platforms. The

[U-Boot] [PATCH v2 4/5] ARM: OMAP4/5: Add generic board detection hook

2015-11-03 Thread Steve Kipisz
Many TI EVMs have capability to store relevant board information such as DDR description in EEPROM. Further many pad configuration variations can occur as part of revision changes in the platform. In-order to support these at runtime, we for a board detection hook which is available for override

[U-Boot] [PATCH v3 1/2] fdt: Deprecate "usbethaddr" usage in fdt_fixup_ethernet()

2015-11-03 Thread Bin Meng
In fdt_fixup_ethernet() only "usbethaddr" is handled to fix up the first usb ethernet port MAC address. Other additional usb ethernet ports are ignored as there is no logic to handle "usbeth%daddr". It is suggested we should use "ethaddr" for all ethernet devices. Hence deprecate "usbethaddr"

[U-Boot] [PATCH v3 2/2] fdt: Rewrite the logic in fdt_fixup_ethernet()

2015-11-03 Thread Bin Meng
Currently in fdt_fixup_ethernet() the MAC address fix up is handled in a loop of which the exit condition is to test the "eth%daddr" env is not NULL. However this creates unnecessary constrains that those "eth%daddr" env variables must be sequential even if "ethernet%d" does not start from 0 in

[U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-03 Thread Thomas Chou
Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD uclass. v4 fix fdt addr and size cells in cfi_flash_probe(). move probe

[U-Boot] [PATCH v4 1/3] dm: implement a MTD uclass

2015-11-03 Thread Thomas Chou
Implement a Memory Technology Device (MTD) uclass. It should include most flash drivers in the future. Though no uclass ops are defined yet, the MTD ops could be used. The NAND flash driver is based on MTD. The CFI flash and SPI flash support MTD, too. It should make sense to convert them to MTD

[U-Boot] [PATCH v4 3/3] nios2: use cfi flash driver model

2015-11-03 Thread Thomas Chou
Use cfi flash driver model. Signed-off-by: Thomas Chou --- configs/nios2-generic_defconfig | 2 ++ include/configs/nios2-generic.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig

[U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Thomas Chou
Add Altera Generic Quad SPI Controller support. The controller converts SPI NOR flash to parallel flash interface. So it is not like other SPI flash, but rather like CFI flash. Signed-off-by: Thomas Chou --- doc/device-tree-bindings/mtd/altera_qspi.txt | 35 +++

Re: [U-Boot] [PATCH] usb: udc: Fix warnings on 64-bit builds

2015-11-03 Thread Lukasz Majewski
Hi Michal, > Cast u32 bit value to 64bit before recasting to 64bit pointer to avoid > pointer from integer cast size mismatch warnings. > > Warning log: > +../drivers/usb/gadget/udc/udc-core.c: In function > ‘usb_gadget_unmap_request’: > +../drivers/usb/gadget/udc/udc-core.c:68:19: warning: cast

Re: [U-Boot] [RFC PATCH 5/8] net: ipv6 support

2015-11-03 Thread Chris Packham
Hi Joe, I've answered a few questions below. I'll address your comments more completely before sending another round next week (or I can sit on it for longer if you want me to give you some breathing room). On Tue, Nov 3, 2015 at 9:43 AM, Joe Hershberger wrote: > Hi

Re: [U-Boot] [PATCH V2 11/13] spl: announce boot devices

2015-11-03 Thread Nikita Kiryanov
On Thu, Oct 29, 2015 at 11:19:53AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov wrote: > > Now that we support alternative boot devices, it can sometimes be > > unclear which boot devices was actually used. Provide a function to >

Re: [U-Boot] [PATCH 1/2] altera_jtag_uart: Adjust the declaration of debug_uart_init()

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 07:19:34 AM, Thomas Chou wrote: > Follow commit 97b059730218 ("debug_uart: Adjust the declaration of > debug_uart_init()") > > Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut > --- > drivers/serial/altera_jtag_uart.c |

[U-Boot] [PATCH v1 00/12] sparc: Updates to SPARC architecture in preperation for generic board

2015-11-03 Thread Francois Retief
This patch series is a backlog of preparation work for upcomming generic board changes. I first want to get these reviewed and submitted to mainline before sending out more patches. Daniel Hellstrom (4): sparc: leon3: Reimplemented AMBA Plug scanning routines. sparc: leon3: Added memory

[U-Boot] [PATCH v1 04/12] sparc: Update LEON serial drivers to use readl/writel macros

2015-11-03 Thread Francois Retief
Update the LEON2/3 serial driver to make use of the readl and writel macros as well as the WATCHDOG_RESET() macro. Add readl/writel and friends to the asm/io.h file. Introduce the gd->arch.uart variable to store register address. Lastly, remove baudrate scaler macro variables from board config.

[U-Boot] [PATCH v1 05/12] sparc: Update GRSIM board with memory settings for TSIM eval

2015-11-03 Thread Francois Retief
Update the GRSIM board with the memory settings for the evaluation version of TSIM. This free version of TSIM is used for testing. Signed-off-by: Francois Retief --- configs/grsim_defconfig | 1 + include/configs/grsim.h | 57

[U-Boot] [PATCH v1 08/12] sparc: Kconfig: Move the CMD_AMBAPP command to Kconfig

2015-11-03 Thread Francois Retief
Add an initr function in the board_r.c file for the AMBA Plug command. Add a Kconfig entry for the ambapp command and remove all CONFIG_CMD_AMBAPP defines from the board configuration headers. Add a Kconfig entry to display the AMBA Plug information on startup. This option is off by default.

[U-Boot] [PATCH v1 12/12] sparc: leon3: Add debug_uart support to LEON3 serial driver.

2015-11-03 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/cpu_init.c | 5 - arch/sparc/cpu/leon3/serial.c | 27 ++- configs/grsim_defconfig | 4 drivers/serial/Kconfig | 8 4 files changed, 42 insertions(+),

Re: [U-Boot] [PATCH V2 02/13] spl: mmc: add break statements in spl_mmc_load_image()

2015-11-03 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:23:19AM +0200, Nikita Kiryanov wrote: > The original intention of the mmc load_image() function was to try multiple > boot modes before failing. This is evident by the lack of break statements > in the switch, and the following line in the default case: > puts("spl:

Re: [U-Boot] [PATCH V2 03/13] spl: mmc: refactor device location code to its own function

2015-11-03 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:23:20AM +0200, Nikita Kiryanov wrote: > Simplify spl_mmc_load_image() code by moving the part that finds the mmc > device > into its own function spl_mmc_find_device(), available in two flavors: DM and > non-DM. > > This refactor fixes a bug in which an error in the

Re: [U-Boot] [PATCH v5 17/18] spi: Add SPI NOR protection mechanism

2015-11-03 Thread Tom Rini
On Tue, Nov 03, 2015 at 08:21:32PM +0530, Jagan Teki wrote: [snip] > I will come back for this patch changes what I thought, probably lock > ops shouldn't be separate for dm and non-dm as we have different ops > based on the flash itself. As we work on consolidation and moving everything over to

Re: [U-Boot] [PATCH 2/2] altera_uart: Adjust the declaration of debug_uart_init()

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 07:19:35 AM, Thomas Chou wrote: > Follow commit 97b059730218 ("debug_uart: Adjust the declaration of > debug_uart_init()") > > Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut > --- > drivers/serial/altera_uart.c | 2 +-

Re: [U-Boot] [PATCH 2/3] nios2: remove CONFIG_SYS_INIT_SP macro

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 07:20:22 AM, Thomas Chou wrote: > Remove CONFIG_SYS_INIT_SP macro, as the initial stack is set to > below the u-boot code. > > Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Nishanth Menon
On 11/03/2015 06:22 AM, Steve Kipisz wrote: > diff --git a/include/configs/ti_omap5_common.h > b/include/configs/ti_omap5_common.h > index 5acbc92c3f60..ae6e2a556a93 100644 > --- a/include/configs/ti_omap5_common.h > +++ b/include/configs/ti_omap5_common.h > @@ -120,6 +120,8 @@ >

[U-Boot] [PATCH v1 03/12] sparc: Add -mcpu= compiler flags for LEON2/LEON3

2015-11-03 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/config.mk | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk index d615f29..43faad4 100644 --- a/arch/sparc/config.mk +++ b/arch/sparc/config.mk @@

[U-Boot] [PATCH v1 01/12] sparc: Fix broken files during license changes

2015-11-03 Thread Francois Retief
From: Francois Retief Fixes broken search and replaced license changes in files cpu/leon3/start.S and include/asm/winmacro.h from commit 1a4596601fd395f3afb8f82f3f840c5e00bdd57a Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/start.S

[U-Boot] [PATCH v1 02/12] sparc: Update the maintainer for SPARC architecture

2015-11-03 Thread Francois Retief
Signed-off-by: Francois Retief --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index bf60c67..b3a45cc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -370,7 +370,7 @@ T: git git://git.denx.de/u-boot-sh.git F:

[U-Boot] [PATCH v1 11/12] sparc: ambapp: Removed warning and unnecessary printout.

2015-11-03 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/ambapp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sparc/cpu/leon3/ambapp.c

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Nishanth Menon
On 11/03/2015 09:13 AM, Steven Kipisz wrote: > On 11/03/2015 07:16 AM, Igor Grinberg wrote: >> Hi Steve, >> >> On 11/03/15 14:22, Steve Kipisz wrote: >>> From: Lokesh Vutla >> >> [...] >> >>> >>> Signed-off-by: Lokesh Vutla >>> Signed-off-by: Steve Kipisz

Re: [U-Boot] [PATCH v5 17/18] spi: Add SPI NOR protection mechanism

2015-11-03 Thread Fabio Estevam
On Tue, Nov 3, 2015 at 1:20 PM, Tom Rini wrote: > On Tue, Nov 03, 2015 at 08:21:32PM +0530, Jagan Teki wrote: > > [snip] >> I will come back for this patch changes what I thought, probably lock >> ops shouldn't be separate for dm and non-dm as we have different ops >> based on

Re: [U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Steven Kipisz
On 11/03/2015 09:31 AM, Nishanth Menon wrote: On 11/03/2015 06:22 AM, Steve Kipisz wrote: diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 5acbc92c3f60..ae6e2a556a93 100644 --- a/include/configs/ti_omap5_common.h +++ b/include/configs/ti_omap5_common.h

[U-Boot] [PATCH v1 09/12] sparc: leon3: Added memory controller initialization using new AMBA PnP routines.

2015-11-03 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/Makefile | 2 +- arch/sparc/cpu/leon3/memcfg.c | 237 +++

[U-Boot] [PATCH v1 10/12] sparc: leon3: Moved GRLIB core header files to common include/grlib directory

2015-11-03 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/cpu_init.c | 10 ++- arch/sparc/cpu/leon3/interrupts.c | 7 +- arch/sparc/cpu/leon3/prom.c | 7 +-

[U-Boot] [PATCH v1 06/12] sparc: Update startup code to take PIC mode into account

2015-11-03 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/cpu/leon2/start.S | 60 ++-- arch/sparc/cpu/leon3/start.S | 60 ++-- 2 files changed, 82 insertions(+), 38 deletions(-) diff --git

Re: [U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-03 Thread Tom Rini
On Tue, Nov 03, 2015 at 02:19:53PM +0200, Nikita Kiryanov wrote: > Make spl_*_load_image() functions return a value instead of > hanging if a problem is encountered. This enables main spl code > to make the decision whether to hang or not, thus preparing > it to support alternative boot devices.

Re: [U-Boot] [PATCH V2 04/13] spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check

2015-11-03 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:23:21AM +0200, Nikita Kiryanov wrote: > Implement default versions of falcon mode functions to make the > CONFIG_SPL_OS_BOOT check in spl_mmc_load_image() unnecessary, thus reducing > its #ifdef complexity. > > No functional changes. > > Signed-off-by: Nikita Kiryanov

Re: [U-Boot] [PATCH V2 05/13] spl: mmc: get rid of #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION check

2015-11-03 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:23:22AM +0200, Nikita Kiryanov wrote: > Implement defaults for the raw partition image loading so that the #ifdef > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION in spl_mmc_load_image() will no > longer be necessary. > > This change makes it possible for

Re: [U-Boot] [PATCH v2 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-03 Thread Igor Grinberg
On 11/03/15 17:09, Steven Kipisz wrote: > On 11/03/2015 07:29 AM, Igor Grinberg wrote: >> Hi Steve, >> >> On 11/03/15 14:22, Steve Kipisz wrote: >> >> [...] >> >>> Signed-off-by: Steve Kipisz >>> --- >>> v2 Based on: >>> master a6104737 ARM: at91: sama5: change the

Re: [U-Boot] [PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-03 Thread Tom Rini
On Tue, Nov 03, 2015 at 10:07:37PM +0530, Jagan Teki wrote: > On 30 October 2015 at 16:04, Otavio Salvador wrote: > > Add SPI NOR support: > > > > => sf probe > > SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total > > 4 MiB > > > > Signed-off-by:

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 06:49:44 PM, Jagan Teki wrote: > On 3 November 2015 at 23:14, Marek Vasut wrote: > > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: > >> Add Altera Generic Quad SPI Controller support. The controller > >> converts SPI NOR flash to

Re: [U-Boot] [PATCH v5 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-03 Thread Otavio Salvador
On Tue, Nov 3, 2015 at 3:43 PM, Jagan Teki wrote: > On 30 October 2015 at 16:04, Otavio Salvador wrote: >> Congatec boards boot from SPI NOR, so it makes more sense to use >> SPI NOR to store the environment variables. >> >> Signed-off-by: Otavio

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Igor Grinberg
On 11/03/15 17:26, Nishanth Menon wrote: > On 11/03/2015 09:13 AM, Steven Kipisz wrote: >> On 11/03/2015 07:16 AM, Igor Grinberg wrote: >>> Hi Steve, >>> >>> On 11/03/15 14:22, Steve Kipisz wrote: From: Lokesh Vutla >>> >>> [...] >>> Signed-off-by: Lokesh Vutla

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-03 Thread Tom Warren
Albert, > -Original Message- > From: Tom Warren > Sent: Tuesday, October 27, 2015 1:39 PM > To: 'Albert ARIBAUD' ; Stephen Warren > > Cc: u-boot@lists.denx.de; Simon Glass ; Stephen Warren > ;

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Nishanth Menon
On 11/03/2015 11:02 AM, Igor Grinberg wrote: > + > +/** > + * board_am_rev_is() - Compare board revision > + * @rev_tag:Revision tag to check in eeprom > + * @cmp_len:How many chars to compare? > + * > + * NOTE: revision information is often messed up (hence

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Jagan Teki
On 3 November 2015 at 23:22, Marek Vasut wrote: > On Tuesday, November 03, 2015 at 06:49:44 PM, Jagan Teki wrote: >> On 3 November 2015 at 23:14, Marek Vasut wrote: >> > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: >> >> Add Altera Generic Quad

Re: [U-Boot] [PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-03 Thread Jagan Teki
On 3 November 2015 at 22:12, Otavio Salvador wrote: > On Tue, Nov 3, 2015 at 2:37 PM, Jagan Teki wrote: >> On 30 October 2015 at 16:04, Otavio Salvador wrote: >>> Add SPI NOR support: >>> >>> => sf probe >>> SF:

[U-Boot] Peach Pi Hangs

2015-11-03 Thread Gordan Bobic
Hi, I have built the latest mailing u-boot for the Peach Pi (Chromebook 2 13"): make peach-pi_defconfig; make; mkimage ...; vbutil_kernel ...; u-boot itself loads fine. I can ext2load the itb file (zImage+DTB), iminfo looks good, but when I issue bootm it shows the image info then hangs

Re: [U-Boot] [PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-03 Thread Jagan Teki
On 30 October 2015 at 16:04, Otavio Salvador wrote: > Add SPI NOR support: > > => sf probe > SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 > MiB > > Signed-off-by: Otavio Salvador > --- > > Changes in v5: None >

Re: [U-Boot] [PATCH] arm: socfpga: reset: correct dma, qspi, and sdmmc reset bit defines

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 12:11:21 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > The DMA, QSPI, and SD/MMC reset bits are located in the permodrst register, > not the mpumodrst. So the bank for these reset bits should be 1, not 0. > >

Re: [U-Boot] [PATCH v5 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-03 Thread Jagan Teki
On 30 October 2015 at 16:04, Otavio Salvador wrote: > Congatec boards boot from SPI NOR, so it makes more sense to use > SPI NOR to store the environment variables. > > Signed-off-by: Otavio Salvador > --- > > Changes in v5: None > Changes in v4:

[U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output

2015-11-03 Thread sayotte . tyco
From: Stephane Ayotte This patch adds an option to skip the registration of LCD stdio ouput for boards that want to show different text on LCD than on serial output (or the active stdout selected by the environment variable). Signed-off-by: Stephane Ayotte

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Jagan Teki
On 3 November 2015 at 23:14, Marek Vasut wrote: > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: >> Add Altera Generic Quad SPI Controller support. The controller >> converts SPI NOR flash to parallel flash interface. So it is >> not like other SPI flash, but

[U-Boot] Pull request: u-boot-spi/next

2015-11-03 Thread Jagan Teki
Hi Tom, Please pull this series. thanks! Jagan. The following changes since commit 96d59e9d6aa74e35c63dc74da10e41f8ba0f6de4: mpc85xx/t2081: enable parsing DDR ratio for T2081 rev1.1 (2015-11-02 08:51:50 -0800) are available in the git repository at: git://git.denx.de/u-boot-spi.git next

Re: [U-Boot] [PATCH v5 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-03 Thread Jagan Teki
On 3 November 2015 at 23:44, Otavio Salvador wrote: > On Tue, Nov 3, 2015 at 3:43 PM, Jagan Teki wrote: >> On 30 October 2015 at 16:04, Otavio Salvador wrote: >>> Congatec boards boot from SPI NOR, so it makes more

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: > Add Altera Generic Quad SPI Controller support. The controller > converts SPI NOR flash to parallel flash interface. So it is > not like other SPI flash, but rather like CFI flash. > > Signed-off-by: Thomas Chou

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Marek Vasut
On Tuesday, November 03, 2015 at 06:56:26 PM, Jagan Teki wrote: > On 3 November 2015 at 23:22, Marek Vasut wrote: > > On Tuesday, November 03, 2015 at 06:49:44 PM, Jagan Teki wrote: > >> On 3 November 2015 at 23:14, Marek Vasut wrote: > >> > On Tuesday, November 03,

Re: [U-Boot] [RFC PATCH 5/8] net: ipv6 support

2015-11-03 Thread Joe Hershberger
Hi Chris, On Tue, Nov 3, 2015 at 2:54 PM, Chris Packham wrote: > On Wed, Nov 4, 2015 at 8:41 AM, Joe Hershberger > wrote: > > >>> I'm actually testing with x86 on QEMU so I think LE is all good. I'll >>> remove the comment. >> >> Great. Have

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Nishanth Menon
On 11/03/2015 03:07 PM, Igor Grinberg wrote: > On 11/03/15 19:45, Nishanth Menon wrote: >> On 11/03/2015 11:02 AM, Igor Grinberg wrote: >> >>> + >>> +/** >>> + * board_am_rev_is() - Compare board revision >>> + * @rev_tag:Revision tag to check in eeprom >>> + * @cmp_len:

Re: [U-Boot] [PATCH v2 3/5] ARM: omap-common: Add standard access for board description EEPROM

2015-11-03 Thread Igor Grinberg
On 11/03/15 19:45, Nishanth Menon wrote: > On 11/03/2015 11:02 AM, Igor Grinberg wrote: > >> + >> +/** >> + * board_am_rev_is() - Compare board revision >> + * @rev_tag:Revision tag to check in eeprom >> + * @cmp_len:How many chars to compare? >> + * >> + *

Re: [U-Boot] [RFC PATCH 6/8] net: TFTP over IPv6

2015-11-03 Thread Joe Hershberger
Hi Jean-Pierre, On Tue, Nov 3, 2015 at 4:41 AM, Jean-Pierre Tosoni wrote: > Hi all, > >> -Message d'origine- >> De : Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Envoyé : lundi 2 novembre 2015 21:44 >> À : Chris Packham >> Cc : u-boot; Joe Hershberger;

Re: [U-Boot] [RFC PATCH 5/8] net: ipv6 support

2015-11-03 Thread Joe Hershberger
Hi Chris, On Tue, Nov 3, 2015 at 4:11 AM, Chris Packham wrote: > Hi Joe, > > I've answered a few questions below. I'll address your comments more > completely before sending another round next week (or I can sit on it > for longer if you want me to give you some

Re: [U-Boot] [RFC PATCH 6/8] net: TFTP over IPv6

2015-11-03 Thread Joe Hershberger
Hi Chris, On Tue, Nov 3, 2015 at 4:15 AM, Chris Packham wrote: > On Tue, Nov 3, 2015 at 9:43 AM, Joe Hershberger > wrote: >> Hi Chris, >> >> On Mon, Oct 12, 2015 at 2:43 AM, Chris Packham >> wrote: >>> Add support

Re: [U-Boot] [RFC PATCH 5/8] net: ipv6 support

2015-11-03 Thread Chris Packham
On Wed, Nov 4, 2015 at 8:41 AM, Joe Hershberger wrote: >> I'm actually testing with x86 on QEMU so I think LE is all good. I'll >> remove the comment. > > Great. Have you done any testing in sandbox? I'd really like to see > unit tests go in as part of this series. >

[U-Boot] [PATCH v2] mpc85xx: Add support for the Varisys Cyrus board

2015-11-03 Thread Andy Fleming
This board runs a P5020 or P5040 chip, and utilizes an EEPROM with similar formatting to the Freescale P5020DS. Large amounts of this code were developed by Adrian Cox Signed-off-by: Andy Fleming --- v2: * Cleaned up sys_eeprom.c * Removed CONFIG_CMD_ELF,

Re: [U-Boot] Pull request: u-boot-spi/next

2015-11-03 Thread Tom Rini
On Tue, Nov 03, 2015 at 11:39:56PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this series. > > thanks! > Jagan. > > The following changes since commit 96d59e9d6aa74e35c63dc74da10e41f8ba0f6de4: > > mpc85xx/t2081: enable parsing DDR ratio for T2081 rev1.1 (2015-11-02 > 08:51:50

Re: [U-Boot] Pull request: u-boot-spi/next

2015-11-03 Thread Bin Meng
Hi Jagan, On Wed, Nov 4, 2015 at 9:47 AM, Tom Rini wrote: > On Tue, Nov 03, 2015 at 11:39:56PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this series. >> >> thanks! >> Jagan. >> >> The following changes since commit 96d59e9d6aa74e35c63dc74da10e41f8ba0f6de4: >> >>

Re: [U-Boot] please pull u-boot-samsung master

2015-11-03 Thread Minkyu Kang
Dear Przemyslaw Marczak, 2015년 11월 4일 수요일, Tom Rini님이 작성한 메시지: > On Tue, Nov 03, 2015 at 02:02:57PM +0900, Minkyu Kang wrote: > > > Dear Tom, > > > > The following changes since commit > 0e067a65f57189703668826d9841fea477026bf6: > > > > x86: Select the ns16550 debug UART

[U-Boot] [PATCH 2/2] nios2: trim CONFIG_SYS_MEMTEST_END

2015-11-03 Thread Thomas Chou
Trim CONFIG_SYS_MEMTEST_END location. CONFIG_SYS_MONITOR_LEN Reserving 256k for U-Boot at: d7fc CONFIG_ENV_SIZE CONFIG_SYS_MALLOC_LEN Reserving 256k for malloc() at: d7f8 0x1 for the rest Reserving 68 Bytes for Board Info at: d7f7ffbc Reserving 208 Bytes for Global Data at:

[U-Boot] [PATCH 1/2] nios2: trim CONFIG_SYS_MALLOC_LEN

2015-11-03 Thread Thomas Chou
Trim CONFIG_SYS_MALLOC_LEN size, because CONFIG_ENV_SIZE is included to total memory allocation in common.h, Signed-off-by: Thomas Chou --- include/configs/nios2-generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/nios2-generic.h

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Thomas Chou
Hi Marek, On 2015年11月04日 13:15, Marek Vasut wrote: On Wednesday, November 04, 2015 at 05:45:24 AM, Thomas Chou wrote: Hi Marek, Hi, On 2015年11月04日 11:45, Marek Vasut wrote: Let me just put an idea here, it might be wrong -- but doesn't this seem like some sort of NVMEM device? See for

Re: [U-Boot] [PATCH v4 1/3] dm: implement a MTD uclass

2015-11-03 Thread Thomas Chou
On 2015年11月03日 22:55, Jagan Teki wrote: On 3 November 2015 at 20:19, Thomas Chou wrote: Hi Jagan, On 2015年11月03日 22:41, Jagan Teki wrote: Hi Thomas, On 3 November 2015 at 18:39, Thomas Chou wrote: Implement a Memory Technology Device (MTD)

Re: [U-Boot] Pull request: u-boot-spi/next

2015-11-03 Thread Fabio Estevam
On Tue, Nov 3, 2015 at 11:47 PM, Tom Rini wrote: > NAK. > > So, this blows up badly for a lot of things when I do: > ./tools/buildman/buildman -b master --force-build --step 0 -Cdvel > 'blackfin|microblaze|m68k|nds32|x86|aarch64|sandbox|mips|avr32|arm|powerpc|sh4|sparc' It

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Marek Vasut
On Wednesday, November 04, 2015 at 03:36:08 AM, Thomas Chou wrote: > Hi Marek, Hi! > On 2015年11月04日 01:44, Marek Vasut wrote: > > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: > >> Add Altera Generic Quad SPI Controller support. The controller > >> converts SPI NOR flash to

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Thomas Chou
Hi Marek, On 2015年11月04日 01:44, Marek Vasut wrote: On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote: Add Altera Generic Quad SPI Controller support. The controller converts SPI NOR flash to parallel flash interface. So it is not like other SPI flash, but rather like CFI flash.

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Thomas Chou
Hi Marek, On 2015年11月04日 11:45, Marek Vasut wrote: Let me just put an idea here, it might be wrong -- but doesn't this seem like some sort of NVMEM device? See for example: https://lkml.org/lkml/2015/5/21/643 Thanks for the pointer. However, it needs erasing before writing. Regards, Thomas

Re: [U-Boot] [PATCH] mtd: add altera quadspi driver

2015-11-03 Thread Marek Vasut
On Wednesday, November 04, 2015 at 05:45:24 AM, Thomas Chou wrote: > Hi Marek, Hi, > On 2015年11月04日 11:45, Marek Vasut wrote: > > Let me just put an idea here, it might be wrong -- but doesn't this seem > > like some sort of NVMEM device? See for example: > > > >

[U-Boot] [PATCH v3] gpio: atmel: Add the PIO4 driver support

2015-11-03 Thread Wenyou Yang
The PIO4 is introduced from SAMA5D2, as a new version for Atmel PIO controller. Signed-off-by: Wenyou Yang --- Changes in v3: 1./ add return to atmel_pio4_set_pio_output() to avoid compilation warning. Changes in v2: 1./ update the macro definitions according to

[U-Boot] [PATCH 2/3] arm: at91/spl: matrix: improve implementation of matrix

2015-11-03 Thread Wenyou Yang
To make matrix initialization code sharing with others, use the matrix slave id macros, instead of hard-coding. Remove the write protection mode code, it is unneeded for writing registers. Remove the security peripheral selecting code, it is unneeded for SPL use-case. Signed-off-by: Wenyou Yang

[U-Boot] [PATCH 0/3] arm: at91/spl: make matrix and saic redirect sharing with others

2015-11-03 Thread Wenyou Yang
This patches is to make matix initialization and saic redirect code sharing with other SoCs, move them to seperate files from SAMA5D4 particular file. Wenyou Yang (3): arm: at91/spl: matrix: move matrix init to separate file arm: at91/spl: matrix: improve implementation of matrix arm:

[U-Boot] [PATCH 1/3] arm: at91/spl: matrix: move matrix init to separate file

2015-11-03 Thread Wenyou Yang
To make the matrix initialization code sharing with other SoCs, move it from SAMA5D4 particular file, mach-at91/armv7/sama5d4_devices.c to a separate file, mach-at91/matrix.c Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/Makefile|2 +-

[U-Boot] [PATCH 07/10][v4] driver: net: fsl-mc: Add DPAA2 commands to manage MC

2015-11-03 Thread Prabhakar Kushwaha
Management complex Firmware, DPL and DPC are depolyed during u-boot boot sequence. Add new DPAA2 commands to manage Management Complex (MC) i.e. start mc, aiop and apply DPL from u-boot command prompt. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it

[U-Boot] [PATCH 04/10][v4] armv8: ls2085aqds: Print function name during SerDes error

2015-11-03 Thread Prabhakar Kushwaha
Print function name along with SerDes Protocol during SerDes Protocol not supported error. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is Changes for v4: Sending as it is board/freescale/ls2085aqds/eth.c | 16

[U-Boot] [PATCH 06/10][v4] driver: net: fsl-mc: Increase MC command timeout

2015-11-03 Thread Prabhakar Kushwaha
dpni_create API take takes more time as comapred to existing supported APIs of MC Flib. So increase MC command timeout. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is Changes for v4: Sending as it is

  1   2   >