[U-Boot] [PATCH 2/5] arm: ls102xa: enable all the snoop signal for masters.

2015-11-26 Thread Yuan Yao
Enable the IP feature's snoop signal to support hardware snoop for cache coherence. SNPCNFGCR contains the bits to drive snoop signal for various masters. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/soc.c | 8 arch/arm/include/asm/arch-ls102xa/immap_ls102xa.

[U-Boot] [PATCH v2 4/5] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-26 Thread Yuan Yao
This is a workaround for hardware erratum. Write the value of 63b2_0042h to EDDRTQCFG will optimal the memory controller performance. The value: 63b2_0042h comes from the hardware team. Signed-off-by: Yuan Yao --- Changed in v2: squash both of the two patches into one patch to set EDDRTQCF. ---

[U-Boot] [PATCH 3/5] ls102xa: Enable snoop and DVM message requests.

2015-11-26 Thread Yuan Yao
Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/soc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/ls102xa/soc.c b/arch/arm/cpu/armv7/ls102xa/soc.c index 6036473..97ba6d5 100644 --- a/arch/arm/cpu/armv7/ls102xa/soc.c +++ b/arch/arm/cpu/armv7

[U-Boot] [PATCH 5/5] move the erratum_a008336_a008514 from general ddr file to soc file

2015-11-26 Thread Yuan Yao
Both of the erratum:A008336 and A008514 are not apply to all the soc like:LS1021A, LS1043A. So it seems better to move those erratum codes form the general ddr file to the private soc file. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 37 +

[U-Boot] [PATCH 1/5] arm: ls1021a: merge SoC specific code in a separate file

2015-11-26 Thread Yuan Yao
Create a soc.c file to put the code for soc special settings. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/Makefile | 1 + arch/arm/cpu/armv7/ls102xa/soc.c| 66 + arch/arm/include/asm/arch-ls102xa/ls102xa_soc.h | 12 + board/free

[U-Boot] [PATCH] arm: dts: omap: add reg-shift to serial device tree node

2015-11-26 Thread Mugunthan V N
With the commit 'c7b9686d5d48 ("ns16550: unify serial_omap")' all TI platforms are broken with DM/DT boot as ns16550 driver expects reg-shift from DT which is not populated for TI platforms. Earlier it worked as it was hard coded to 2 in serial-omap driver. So adding the reg-shift to serial nodes f

[U-Boot] [PATCH] net: gem: Enable CTRL+C in wait_for_bit

2015-11-26 Thread Michal Simek
Enable to break waiting loop at any time. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 858093f0d7e2..ee4169107e5b 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_g

[U-Boot] [PATCH] zynq: sdhci: Calculate minimum frequency based on max frequency

2015-11-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Calculate the minimum sd clock based on max clock. This will be done by add_sdhci() if we pass minimum clock as zero. It also does based on SD host contoller version. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/mmc/zynq_s

[U-Boot] [PATCH] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Done relocate fdt incase of CONFIG_OF EMBED as the fdt is already embedded with u-boot image. Also update the fdt_blob correctly in this case Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/board_f.c | 11 +-- 1 file c

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Florian Achleitner
Hi, for everybody's information: On Wednesday, November 18, 2015 11:01:03 AM Marek Vasut wrote: > On Wednesday, November 18, 2015 at 10:57:13 AM, Florian Achleitner wrote: > > On Wednesday, November 18, 2015 09:55:12 AM Marek Vasut wrote: > > [..] > > Anyways, I currently suspect the cst tool in

[U-Boot] [PATCH] ARM64: zynqmp: Enable FIT config option via Kconfig

2015-11-26 Thread Michal Simek
Remove configuration options from board file. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_ep_defconfig | 2 ++ include/configs/xilinx_zynqmp.h| 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defc

[U-Boot] [PATCH] ARM: zynq: Remove unused SERIAL macros for serial_zynq

2015-11-26 Thread Michal Simek
Remove unused macros when driver was moved to DM. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 3 --- arch/arm/mach-zynq/include/mach/hardware.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/includ

[U-Boot] [PATCH v2 0/7] tools: env: simplify argument parsing

2015-11-26 Thread Andreas Fenkart
In it's current state paramter parsing is quite hard to understand since it happens in two places. One is using getopt at the beginning of main, the second is using adhoc parsing where the order of arguments is important. This patch will parse arguments only in one place using getopt and store the

[U-Boot] [PATCH v2 1/7] tools: env validate: pass values as 0-based array

2015-11-26 Thread Andreas Fenkart
passing argv/argc can produce off-by-one errors Signed-off-by: Andreas Fenkart --- common/env_flags.c | 14 +++--- include/env_flags.h | 2 +- tools/env/fw_env.c | 11 +++ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/common/env_flags.c b/common/env_flags.c

[U-Boot] [PATCH v2 3/7] tools: env: introduce setenv/printenv argument structs

2015-11-26 Thread Andreas Fenkart
goal is to use getopt for all argument parsing instead of adhoc parsing in fw_getenv/fw_setenv functions Signed-off-by: Andreas Fenkart --- tools/env/fw_env.h | 9 tools/env/fw_env_main.c | 113 2 files changed, 84 insertions(+), 38 de

[U-Boot] [PATCH v2 5/7] tools: env: shift optind arguments and fix argument indices

2015-11-26 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 54 ++--- tools/env/fw_env_main.c | 4 2 files changed, 15 insertions(+), 43 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 2cfff02..b1cf9ae 100644 --- a/tools/

[U-Boot] [PATCH v2 4/7] tools: env: parse aes key / suppress flag into argument struct

2015-11-26 Thread Andreas Fenkart
disabled original parsing, but not yet removed since the argument indexing needs to be fixed Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 64 ++--- tools/env/fw_env.h | 13 ++ tools/env/fw_env_main.c | 31 ++

[U-Boot] [PATCH v2 2/7] tools: env: make parse_aes_key stateless

2015-11-26 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 22507f6..5b76b74 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -207,7 +207,7 @@ char *fw_getdefenv(cha

[U-Boot] [PATCH v2 6/7] tools: env: factor out parse_common_args

2015-11-26 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env_main.c | 63 + 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.c index daf4688..e7ba95e 100644 --- a/tools/env/fw_env_main.c +++ b/to

[U-Boot] [PATCH v2 7/7] tools: env: update usage strings

2015-11-26 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env_main.c | 117 +++- 1 file changed, 75 insertions(+), 42 deletions(-) diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.c index e7ba95e..79273ce 100644 --- a/tools/env/fw_env_main.c +++ b/to

Re: [U-Boot] [PATCH] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-26 Thread Alexey Brodkin
Hi Michal, On Thu, 2015-11-26 at 10:54 +0100, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Done relocate fdt incase of CONFIG_OF EMBED as the fdt is Probably it was meant to be something like: --->8--- __Don't__ relocate fdt in__case of CONFIG_OF EM

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-26 Thread Hans de Goede
Hi, On 26-11-15 01:38, Stefan Bruens wrote: On Wednesday 25 November 2015 16:55:54 Sumeet Jauhar wrote: Hello All, I am new to Rpi and for a project I need to install Uboot for Rpi. For starters I installed Raspbian-jessie to the pi and it worked fine. Now I am attempting to use uboot but I do

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 10:24:50 AM, Florian Achleitner wrote: > Hi, Hi, > for everybody's information: > > On Wednesday, November 18, 2015 11:01:03 AM Marek Vasut wrote: > > On Wednesday, November 18, 2015 at 10:57:13 AM, Florian Achleitner wrote: > > > On Wednesday, November 18, 2015

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from USB

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 07:14:56 AM, Stefan Roese wrote: > On 26.11.2015 04:17, Chin Liang See wrote: > > Adding new environment usbload which will load zImage and > > Linux DTB from USB mass storage through FAT file system. > > > > Signed-off-by: Chin Liang See > > Cc: Dinh Nguyen > >

[U-Boot] [PATCH 1/2] arm: dts: dra7-evm: add chosen node to specify serial console device

2015-11-26 Thread Mugunthan V N
Introduce chosen node and specify uart0 to be used as serial console. Signed-off-by: Mugunthan V N --- arch/arm/dts/dra7-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 096f68b..e4daa99 100644 --- a/arch/arm/dts/dra7-evm

[U-Boot] [PATCH 0/2] Enable DM_SERIAL for dra74x evm

2015-11-26 Thread Mugunthan V N
DM_SERIAL is not enabled for dra74x evm, enabling it and tested on dra74x evm. Logs [1]. [1] - http://pastebin.ubuntu.com/13513965/ Mugunthan V N (2): arm: dts: dra7-evm: add chosen node to specify serial console device defconfig: dra74_evm: enable serial driver model arch/arm/dts/dra7-evm.

[U-Boot] [PATCH 2/2] defconfig: dra74_evm: enable serial driver model

2015-11-26 Thread Mugunthan V N
Enable serial driver model for dra74_evm as ns16550 supports driver model. Signed-off-by: Mugunthan V N --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 7bff294..394edbe 100644 --- a/configs/dra74_

[U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Jagan Teki
This series is combination of mtd and sf tunning stuff in previous version patches.[1][2] This is whole patch series for add mtd support to spi-flash framework and related stuff. The idea is to introduce the spi-nor flash framework which similar to Linux with driver-model support. Detail change

[U-Boot] [PATCH v7 03/34] sf: Move read_id code to sf_ops

2015-11-26 Thread Jagan Teki
read_id code is related to spi_flash stuff hence moved to sf_ops. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 3 +-- drivers/mtd/spi/sf_ops.c | 21 ++--- drivers/mtd/spi/sf_probe.c| 15 +-- 3 files changed, 20 insertions(+), 19 deletions(-)

[U-Boot] [PATCH v7 02/34] sf: Move spi_flash_scan code to sf_ops

2015-11-26 Thread Jagan Teki
Intension is that sf_ops should deals all spi_flash related stuff and sf_probe (which should renamed future) should be an interface layer for spi_flash versus spi drivers. sf_ops => spi_flash interface sf_probe => interface layer vs spi_flash(sf_probe) to spi drivers Signed-off-by: Jagan Teki --

[U-Boot] [PATCH v7 05/34] sf: Use static for file-scope functions

2015-11-26 Thread Jagan Teki
Use static for file-scope functions and removed them from header files. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 18 -- drivers/mtd/spi/sf_ops.c | 11 ++- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/drivers/mtd/spi/sf_internal

[U-Boot] [PATCH v7 01/34] sf: spi_flash_validate_params => spi_flash_scan

2015-11-26 Thread Jagan Teki
Rename spi_flash_validate_params to spi_flash_scan as this code not only deals with params setup but also configure all spi_flash attributes. And also moved all flash related code into spi_flash_scan for future functionality addition. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 1

[U-Boot] [PATCH v7 04/34] sf: probe: Code cleanup

2015-11-26 Thread Jagan Teki
- Move bar read code below the bar write hance both at once place, hence it easy for #ifdef macro only once and readable. - Move read_cmd_array at top Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 80 +++- 1 file changed, 39 insertions(+

[U-Boot] [PATCH v7 07/34] sf: Use simple name for register access functions

2015-11-26 Thread Jagan Teki
Most of the register access function are static, so used simple name to represent each. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 52 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/mtd/spi/sf_ops.c b/drivers

[U-Boot] [PATCH v7 06/34] sf: Fix Makefile

2015-11-26 Thread Jagan Teki
This patch removes unneeded ifdef and fixed accordingly. Signed-off-by: Jagan Teki --- drivers/mtd/spi/Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index cf4e7e1..a24f761 100644 --- a/drivers/mtd/spi/Makefil

[U-Boot] [PATCH v7 08/34] sf: Use flash function pointers in dm_spi_flash_ops

2015-11-26 Thread Jagan Teki
flash operations are defined as static and reuse them with function-pointers so call them with generic function pounters instead of calling like normal functions. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 2 -- drivers/mtd/spi/sf_probe.c | 15 +++ include/spi_flash.

[U-Boot] [PATCH v7 10/34] sf: Use static for file-scope functions

2015-11-26 Thread Jagan Teki
Use static for file-scope functions and removed them from header files. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 21 - drivers/mtd/spi/sf_ops.c | 11 ++- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/drivers/mtd/spi/sf_inter

[U-Boot] [PATCH v7 09/34] sf: Flash power up read-only based on idcode0

2015-11-26 Thread Jagan Teki
Using macro's for flash power up read-only access code leads wrong behaviour hence use idcode0 for runtime detection, hence the flash which require this functionality gets detected at runtime. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 1 + drivers/mtd/spi/sf_ops.c | 7 ++

[U-Boot] [PATCH v7 11/34] sf: Remove unneeded header includes

2015-11-26 Thread Jagan Teki
Removed unneeded header includes in sf_ops and sf_probe Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 2 -- drivers/mtd/spi/sf_probe.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c index 2e6b25e..1ee8a7c 100644 --- a/drive

[U-Boot] [PATCH v7 12/34] sf: probe: Use spi_flash_scan in dm-spi-flash

2015-11-26 Thread Jagan Teki
This patch add support to use spi_flash_scan in dm-spi-flash probe, so-that it can access the spi_flash functionalities same as non-dm sf probe. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --gi

[U-Boot] [PATCH v7 15/34] zynq: Enable CONFIG_SPL_MTD_SUPPORT

2015-11-26 Thread Jagan Teki
Add SPL_MTD_SUPPORT to ZYNQ_QSPI SPL. Cc: Michal Simek Signed-off-by: Jagan Teki --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index fa83ac7..a54fa26 100644 --- a/include/configs/zynq-common.h

[U-Boot] [PATCH v7 13/34] sf: Re-factorize spi_flash_probe_tail code

2015-11-26 Thread Jagan Teki
spi_flash_probe_tail code looks not in proper shape to add more functionalities. hence refactorized so-that it's more readable and hence we may extend more functionalies to it. Cc: Bin Meng Cc: Troy Kisky Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 3 +- drivers/mtd/spi/sf_o

[U-Boot] [PATCH v7 17/34] sf: Use mtd_info ops instead of spi_flash ops

2015-11-26 Thread Jagan Teki
Since MTD support is added in spi_flash layer, this patch uses mtd_info operations instead of legacy spi_flash operations. Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 75 +- drivers/mtd/spi/sf_probe.c | 30 --

[U-Boot] [PATCH v7 14/34] dm-sf: Re-factorize spi_flash_std_probe code

2015-11-26 Thread Jagan Teki
spi_flash_probe_tail code looks not in proper shape to add more functionalities. hence refactorized so-that it's more readable and hence we may extend more functionalies to it. Cc: Bin Meng Cc: Troy Kisky Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 20 +--- 1 fil

[U-Boot] [PATCH v7 18/34] cmd_sf: Use mtd->size instead of flash->size

2015-11-26 Thread Jagan Teki
Since mtd got added, replace flash->size with mtd->size. Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- common/cmd_sf.c | 16 drivers/mtd/spi/sf_ops.c | 23 +-- include/spi_flash.h | 2 -- 3 files changed, 21 insertions(+), 20 delet

[U-Boot] [PATCH v7 16/34] sf: Add MTD support to spi_flash

2015-11-26 Thread Jagan Teki
This patch adds mtd_info support to spi_flash layer, MTD has proven core for flash operations so adding MTD to spi_flash will extends more functionality. Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 40 +++- drivers/m

[U-Boot] [PATCH v7 19/34] sf: Use mtd->erasesize instead of flash->erase_size

2015-11-26 Thread Jagan Teki
Since mtd got added, replace flash->erase_size with mtd->erasesize. Cc: Fabio Estevam Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 4 ++-- include/spi_flash.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/spi/sf_

[U-Boot] [PATCH v7 20/34] dm-sf: use mtd_ops, drop dm_spi_flash_ops

2015-11-26 Thread Jagan Teki
Since mtd_info ops got introduced, just drop the unneeded dm_spi_flash operations. Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf-uclass.c | 39 include/spi_flash.h | 90 +++-- 2 files changed, 14

[U-Boot] [PATCH v7 21/34] sf: Use MTD lock operations

2015-11-26 Thread Jagan Teki
Since the spi-flash framework itself is using core MTD functionalities this patch uses lock operation from mtd. Cc: Fabio Estevam Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 9 - drivers/mtd/spi/sf_ops.c | 404 ++ include/spi_flas

[U-Boot] [PATCH v7 23/34] sf: probe: Minor cleanup

2015-11-26 Thread Jagan Teki
- Use static for file-scope function - Remove unneeded header file - Use spi instead of slave notation for spi_slave {} Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers

[U-Boot] [PATCH v7 22/34] sf: Add MTD support for non-dm spi_flash interface

2015-11-26 Thread Jagan Teki
This patch adds MTD support to non-dm spi_flash interface code. Reviewed-by: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_p

[U-Boot] [PATCH v7 26/34] sf: ops: Fix missing break on spansion read_bar

2015-11-26 Thread Jagan Teki
For assigning read_bar commands in spansion case, break is missing this patch add that break. Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c index 4e2845c..bc9cbf7 100644 --- a/drivers

[U-Boot] [PATCH v7 24/34] sf: Drop SNOR_F_SST_WR flash->flags

2015-11-26 Thread Jagan Teki
Since mtd_info{} ops are used instead of spi_flash{} ops there is no need to check the flash->flags to SNOR_F_SST_WR as sf_ops behaves as a core to handling generic flash functionalities for both dm and non-dm. Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 3 +-- dr

[U-Boot] [PATCH v7 28/34] configs: Remove CONFIG_SPI_FLASH_MTD

2015-11-26 Thread Jagan Teki
No explict spi-flash mtd handling driver, it's been part of spi-flash layer iteself, hence removed it from board configs. Cc: Heiko Schocher Signed-off-by: Jagan Teki --- include/configs/aristainetos-common.h | 1 - include/configs/gw_ventana.h | 1 - include/configs/socfpga_common.h

[U-Boot] [PATCH v7 27/34] sf: Drop SPI_FLASH_MTD driver

2015-11-26 Thread Jagan Teki
Now MTD core has been added as part of spi-flash layer, so there is no need for explicit driver for handling mtd stuff, hence removed all neccessary code regarding SPI_FLASH_MTD driver. Cc: Heiko Schocher Signed-off-by: Jagan Teki --- drivers/mtd/spi/Kconfig | 12 - drivers/mtd/spi/M

[U-Boot] [PATCH v7 25/34] sf: Remove unneeded SST_BP and SST_WP

2015-11-26 Thread Jagan Teki
SST parts added on sf_params.c supports both SST_WR which consits of both BP and WP and there is a spi controller ich which supports only BP so the relevent _write hook set based on "slave->op_mode_tx" hence there is no respective change required from flash side hance removed these. Cc: Bin Meng

[U-Boot] [PATCH v7 30/34] sf: dataflash: Move flash id detection into jedec_probe

2015-11-26 Thread Jagan Teki
Flash id detection should be the first step to enumerate the connected flash on the board, once ie done checking with respective id codes locally in the driver all this should be part of jedec_probe instead of id detection and validated through flash_info{} table separatly. Cc: Haikun Wang Signed

[U-Boot] [PATCH v7 29/34] sf: dataflash: Remove unneeded spi data

2015-11-26 Thread Jagan Teki
dataflash doesn't require options, memory_map from spi. Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_dataflash.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index b2a56da..6a9dfef 10

[U-Boot] [PATCH v7 31/34] sf: dataflash: Fix add_dataflash return logic

2015-11-26 Thread Jagan Teki
This patch fixed the add_dataflash return logic, so-that it can handle both jedec and older chips same as Linux. Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_dataflash.c | 127 - 1 file changed, 61 insertions(+), 66 deletions(-) diff

[U-Boot] [PATCH v7 32/34] sf: dataflash: Add MTD core support

2015-11-26 Thread Jagan Teki
Since spi-flash is using MTD core by inheriting flash operation from mtd_info, legacy spi_flash{} are no longer available so this patch use mtd_info as same as spi-flash. Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_dataflash.c | 236 ++---

[U-Boot] [PATCH v7 33/34] sf: dataflash: Rename sf_dataflash.c to mtd_dataflash.c

2015-11-26 Thread Jagan Teki
Since dataflash driver is using mtd_info core functionalities this patch renames file and config name similar way as Linux. Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd/spi/Kconfig | 2 +- drivers/mtd/spi/Makefile| 2 +- drive

[U-Boot] [PATCH v7 34/34] mtd: dataflash: Minor cleanups

2015-11-26 Thread Jagan Teki
- fix single line comments - remove unneeded spaces - ascending order of include files - rename spi_dataflash_* to dataflash_* - rename SPI DATAFLASH to dataflash - rename SPI DataFlash to dataflash - return NULL replaced with error code Cc: Haikun Wang Signed-off-by: Jagan Teki --- drivers/mtd

Re: [U-Boot] [RFC] Removal of superfluous gd assignments

2015-11-26 Thread Albert ARIBAUD
Hello Stefan, On Thu, 26 Nov 2015 07:23:51 +0100, Stefan Roese wrote: > Hi Albert, > > first, thank you very much for taking the time to go over this > in such depth. > > On 25.11.2015 16:20, Albert ARIBAUD wrote: > > Hello all, > > > > This is a follow-up to discussions on the IRC chan re: the

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Przemyslaw Marczak
Hello Marek, On 11/26/2015 12:15 AM, Marek Vasut wrote: The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena and gw_ventana. This patch fixes it. Ok we missed this in the review. But as I can see it bro

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Jagan Teki
On 26 November 2015 at 17:33, Jagan Teki wrote: > This series is combination of mtd and sf tunning stuff in previous > version patches.[1][2] > > This is whole patch series for add mtd support to spi-flash > framework and related stuff. > > The idea is to introduce the spi-nor flash framework whic

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Stefan Roese
Hi Jagan, On 26.11.2015 13:24, Jagan Teki wrote: On 26 November 2015 at 17:33, Jagan Teki wrote: This series is combination of mtd and sf tunning stuff in previous version patches.[1][2] This is whole patch series for add mtd support to spi-flash framework and related stuff. The idea is to i

[U-Boot] [PATCH] common/Makefile: Compile fdt_support is enabled in SPL

2015-11-26 Thread Stefan Roese
When CONFIG_SPL_OF_TRANSLATE is enabled fdt_support.c needs to get compiled. Otherwise fdt_translate_address() is missing which is needed in dev_get_addr(). Signed-off-by: Stefan Roese Cc: Simon Glass --- common/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Makefile b/comm

[U-Boot] [PATCH] dm: core: Fix Kconfig text to mention SPL in SPL_OF_TRANSLATE

2015-11-26 Thread Stefan Roese
Add a remark about SPL to this Kconfig option. Otherwise its identitcal to the non-SPL version, which is confusing. Signed-off-by: Stefan Roese Cc: Simon Glass --- drivers/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfi

[U-Boot] [PATCH] dm: serial: Minor coding style cleanup of some comments

2015-11-26 Thread Stefan Roese
Fix incorrect comment alignments. Signed-off-by: Stefan Roese Cc: Simon Glass --- drivers/serial/serial-uclass.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 842f78b..4bf9a5c 1006

Re: [U-Boot] [PATCH] dm: serial: Minor coding style cleanup of some comments

2015-11-26 Thread Bin Meng
On Thu, Nov 26, 2015 at 8:38 PM, Stefan Roese wrote: > Fix incorrect comment alignments. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > --- > drivers/serial/serial-uclass.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/drivers/serial/serial

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Jagan Teki
Hi Stefan, On 26 November 2015 at 18:02, Stefan Roese wrote: > Hi Jagan, > > > On 26.11.2015 13:24, Jagan Teki wrote: >> >> On 26 November 2015 at 17:33, Jagan Teki wrote: >>> >>> This series is combination of mtd and sf tunning stuff in previous >>> version patches.[1][2] >>> >>> This is whole

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 01:51:17 PM, Florian Achleitner wrote: > On Thursday, November 26, 2015 12:06:42 PM Marek Vasut wrote: > > On Thursday, November 26, 2015 at 10:24:50 AM, Florian Achleitner wrote: > > > Hi, > > > > Hi, > > > > > for everybody's information: > > > > > > On Wednes

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Florian Achleitner
On Thursday, November 26, 2015 12:06:42 PM Marek Vasut wrote: > On Thursday, November 26, 2015 at 10:24:50 AM, Florian Achleitner wrote: > > Hi, > > Hi, > > > for everybody's information: > > > > On Wednesday, November 18, 2015 11:01:03 AM Marek Vasut wrote: > > > On Wednesday, November 18, 2015

Re: [U-Boot] [PATCH] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-26 Thread Michal Simek
On 26.11.2015 12:18, Alexey Brodkin wrote: > Hi Michal, > > On Thu, 2015-11-26 at 10:54 +0100, Michal Simek wrote: >> From: Siva Durga Prasad Paladugu >> >> Done relocate fdt incase of CONFIG_OF EMBED as the fdt is > > Probably it was meant to be something like: > --->8--

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Stefan Roese
Hi Jagan, (added Simon, as he's the DM guru) On 26.11.2015 13:46, Jagan Teki wrote: > Hi Stefan, > > On 26 November 2015 at 18:02, Stefan Roese wrote: >> Hi Jagan, >> >> >> On 26.11.2015 13:24, Jagan Teki wrote: >>> >>> On 26 November 2015 at 17:33, Jagan Teki wrote: This series is c

[U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-26 Thread Marek Vasut
The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena and gw_ventana. This patch fixes it. commit 8fa46350a4c7dca7710362f6c871098557b934ad Author: Peng Fan Date: Fri Aug 7 16:43:45 2015 +0800 power: r

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 02:03:16 PM, Florian Achleitner wrote: > On Thursday, November 26, 2015 01:52:58 PM Marek Vasut wrote: > > On Thursday, November 26, 2015 at 01:51:17 PM, Florian Achleitner wrote: > > > On Thursday, November 26, 2015 12:06:42 PM Marek Vasut wrote: > > > > [...] >

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 01:21:36 PM, Przemyslaw Marczak wrote: > Hello Marek, Hi, > On 11/26/2015 12:15 AM, Marek Vasut wrote: > > The following patch changed the PFUZE100 swbst register bit definitions > > and broke PMIC configuration on multiple boards, at least on the novena > > and

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Jagan Teki
Hi Stefan, On 26 November 2015 at 18:34, Stefan Roese wrote: > Hi Jagan, > > (added Simon, as he's the DM guru) I think you missed adding Simon + Simon > > On 26.11.2015 13:46, Jagan Teki wrote: >> Hi Stefan, >> >> On 26 November 2015 at 18:02, Stefan Roese wrote: >>> Hi Jagan, >>> >>> >>> On

Re: [U-Boot] mxs: HAB: current CST broken

2015-11-26 Thread Florian Achleitner
On Thursday, November 26, 2015 01:52:58 PM Marek Vasut wrote: > On Thursday, November 26, 2015 at 01:51:17 PM, Florian Achleitner wrote: > > On Thursday, November 26, 2015 12:06:42 PM Marek Vasut wrote: > > > [...] > > > Thanks for the heads up! Would it be possible for you to check what's > > > t

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Przemyslaw Marczak
Hello Marek, On 11/26/2015 02:08 PM, Marek Vasut wrote: On Thursday, November 26, 2015 at 01:21:36 PM, Przemyslaw Marczak wrote: Hello Marek, Hi, On 11/26/2015 12:15 AM, Marek Vasut wrote: The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from QSPI

2015-11-26 Thread Pavel Machek
Hi! > Adding new environment qspiload which will load zImage and > Linux DTB from serial NOR flash. The default flash offset for > the images as below and they are configurable during run time. > > - zImage located at0xa with assuming file size 6MB > - Linux DTB located at 0x5 with as

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 03:35:26 PM, Przemyslaw Marczak wrote: > Hello Marek, Hi, > On 11/26/2015 02:08 PM, Marek Vasut wrote: > > On Thursday, November 26, 2015 at 01:21:36 PM, Przemyslaw Marczak wrote: > >> Hello Marek, > > > > Hi, > > > >> On 11/26/2015 12:15 AM, Marek Vasut wrote:

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Przemyslaw Marczak
Hello Marek, On 11/26/2015 04:39 PM, Marek Vasut wrote: On Thursday, November 26, 2015 at 03:35:26 PM, Przemyslaw Marczak wrote: Hello Marek, Hi, On 11/26/2015 02:08 PM, Marek Vasut wrote: On Thursday, November 26, 2015 at 01:21:36 PM, Przemyslaw Marczak wrote: Hello Marek, Hi, On 11/

Re: [U-Boot] [PATCH] arm: imx6: novena, gw_ventana: Fix use of pfuze100 bit definitions

2015-11-26 Thread Przemyslaw Marczak
Hello Marek, On 11/26/2015 02:08 PM, Marek Vasut wrote: The following patch changed the PFUZE100 swbst register bit definitions and broke PMIC configuration on multiple boards, at least on the novena and gw_ventana. This patch fixes it. commit 8fa46350a4c7dca7710362f6c871098557b934ad Author: Pe

Re: [U-Boot] [PATCH] pmic: Fix pfuze100 bit definitions

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 05:13:55 PM, Przemyslaw Marczak wrote: > Hello Marek, Hi, > On 11/26/2015 04:39 PM, Marek Vasut wrote: > > On Thursday, November 26, 2015 at 03:35:26 PM, Przemyslaw Marczak wrote: > >> Hello Marek, > > > > Hi, > > > >> On 11/26/2015 02:08 PM, Marek Vasut wrote:

Re: [U-Boot] [PATCH 5/5] move the erratum_a008336_a008514 from general ddr file to soc file

2015-11-26 Thread Sinan Akman
Hi Yuan On 26/11/15 02:58 AM, Yuan Yao wrote: Both of the erratum:A008336 and A008514 are not apply to all the soc like:LS1021A, LS1043A. nitpick : perhaps you could reword the commit message to make it a bit more clear. A suggestion : "As the errata A008336 and A008514 do not apply to

Re: [U-Boot] [PATCH v3 1/2] mmc: socfpga_dw_mmc: Move drvsel and smplsel to dts

2015-11-26 Thread Marek Vasut
On Thursday, November 26, 2015 at 02:43:43 AM, Chin Liang See wrote: > socfpga_dw_mmc driver will obtain the drvsel and > smplsel value from device tree instead of definition > in config header file. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen > Cc: Pavel Machek > Cc:

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Simon Glass
Hi Stefan, On 26 November 2015 at 05:04, Stefan Roese wrote: > Hi Jagan, > > (added Simon, as he's the DM guru) > > On 26.11.2015 13:46, Jagan Teki wrote: >> Hi Stefan, >> >> On 26 November 2015 at 18:02, Stefan Roese wrote: >>> Hi Jagan, >>> >>> >>> On 26.11.2015 13:24, Jagan Teki wrote: >

Re: [U-Boot] [PATCH v2 1/4] x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE

2015-11-26 Thread Simon Glass
Hi Bin, On 25 November 2015 at 17:46, Bin Meng wrote: > NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too. > > arch/x86/cpu/Makefile | 1 - > arch/x86/cpu/ivy

Re: [U-Boot] [PATCH v2 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-26 Thread Marek Vasut
On Wednesday, November 25, 2015 at 06:30:54 AM, Ted Chen wrote: > From: Ted Chen > > This patch adds driver support for the Realtek RTL8152B/RTL8153 USB > network adapters. > > Signed-off-by: Ted Chen > [swarren, fixed a few compiler warnings] > [swarren, with permission, converted license head

Re: [U-Boot] [PATCH v7 00/34] sf: MTD support

2015-11-26 Thread Stefan Roese
Hi Simon, On 26.11.2015 17:48, Simon Glass wrote: Yes. I'm trying to enable SPL_DM on MVEBU. And this with DM_SPI and DM_SPI_FLASH enabled as well. I've the kirkwood SPI driver ported to DM here for this (patches will follow). what kind of issue? is it failed to probe device or something?

Re: [U-Boot] [PATCH] common: cli_hush: avoid memory leak

2015-11-26 Thread Simon Glass
Hi Peng, On 25 November 2015 at 02:16, Peng Fan wrote: > Need to free memory avoid memory leak, when error. > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Tom Rini > --- > common/cli_hush.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/common/cli_hush.c b/co

Re: [U-Boot] [PATCH] dm: core: Fix Kconfig text to mention SPL in SPL_OF_TRANSLATE

2015-11-26 Thread Simon Glass
On 26 November 2015 at 04:38, Stefan Roese wrote: > Add a remark about SPL to this Kconfig option. Otherwise its identitcal > to the non-SPL version, which is confusing. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > --- > drivers/core/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [U-Boot] [PATCH] powerpc, mpc5xxx: fix missing bootflag init

2015-11-26 Thread Simon Glass
On 25 November 2015 at 01:46, Heiko Schocher wrote: > since: > commit: f05ad9ba "Add a way to skip relocation" > > tqm5200s board fails to boot. Reason is that > board_init_f has a function parameter bootflag, > which is not setup in > in arch/powerpc/cpu/mpc5xxx/start.S _start > > So board_init_f

Re: [U-Boot] [PATCH] i2c: Fix the comment to match the function described

2015-11-26 Thread Simon Glass
On 24 November 2015 at 23:41, Stefan Roese wrote: > Use the correct function name in the function description. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Heiko Schocher > --- > include/i2c.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-26 Thread Simon Glass
On 25 November 2015 at 09:51, Simon Glass wrote: > Hi, > > On 24 November 2015 at 23:44, Bin Meng wrote: >> On Wed, Nov 25, 2015 at 11:20 AM, Thomas Chou wrote: >>> Hi Simon, >>> >>> On 2015年11月25日 02:23, Simon Glass wrote: Please try u-boot-dm/testing. This seems to be a differen

Re: [U-Boot] [PATCH] common/Makefile: Compile fdt_support is enabled in SPL

2015-11-26 Thread Simon Glass
On 26 November 2015 at 04:38, Stefan Roese wrote: > When CONFIG_SPL_OF_TRANSLATE is enabled fdt_support.c needs to get > compiled. Otherwise fdt_translate_address() is missing which is needed > in dev_get_addr(). > > Signed-off-by: Stefan Roese > Cc: Simon Glass > --- > common/Makefile | 1 + >

Re: [U-Boot] [PATCH] arm: dts: omap: add reg-shift to serial device tree node

2015-11-26 Thread Simon Glass
On 26 November 2015 at 01:19, Mugunthan V N wrote: > With the commit 'c7b9686d5d48 ("ns16550: unify serial_omap")' all > TI platforms are broken with DM/DT boot as ns16550 driver expects > reg-shift from DT which is not populated for TI platforms. > Earlier it worked as it was hard coded to 2 in s

Re: [U-Boot] [PATCH 1/2] arm: dts: dra7-evm: add chosen node to specify serial console device

2015-11-26 Thread Simon Glass
On 26 November 2015 at 03:55, Mugunthan V N wrote: > Introduce chosen node and specify uart0 to be used as serial console. > > Signed-off-by: Mugunthan V N > --- > arch/arm/dts/dra7-evm.dts | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Simon Glass ___

  1   2   >