Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2013-10-04 Thread Jagan Teki
Couldn't find in master, can you provide the link atleast. On Fri, Oct 4, 2013 at 9:40 AM, Vipin Kumar vipin.ku...@st.com wrote: On 10/4/2013 1:22 AM, Jagan Teki wrote: Any update on this. This should already be in u-boot mainline Regards Vipin On Wed, Jun 12, 2013 at 9:25 PM, Armando

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2013-10-04 Thread Vipin Kumar
On 10/4/2013 11:32 AM, Jagan Teki wrote: Couldn't find in master, can you provide the link atleast. I am sorry. Got confused with something else You are right. It seems this is not merged yet May be I have to take this and send a pull request. Meanwhile, can you try taking this patch from

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2013-10-04 Thread Jagan Teki
Hi Vipin, I have few quick comments, please fix it. Please use the u-boot-spi.git with master-probe branch for testing this driver. Let me know for any issues/concerns. On Wed, Jun 12, 2013 at 7:55 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Thanks for v6 sent. Have you tested this? on

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de ---

[U-Boot] [PATCH 1/3][v5] mtd: move update nand_ecclayout structure

2013-10-04 Thread Prabhakar Kushwaha
nand_ecclayout is present in mtd.h at Linux. Move this structure to mtd.h to comply with Linux. Also, increase the ecc placement locations to 640 to suport device having writesize/oobsize of 8KB/640B. This means that the maximum oobsize has gone up to 640 bytes and consequently the maximum ecc

[U-Boot] Lots of SPDX-License Identifer have a trailing space

2013-10-04 Thread Masahiro Yamada
Hello Wolfgang, I noticed many of SPDX-License blocks have a trailing space after GPL-2.0+. For example, arch/arm/cpu/arm1136/start.S * * SPDX-License-Identifier: GPL-2.0+[A Trailing Space] */ Is this space the one intentinally added? (If not, I can send a patch to fix it.) I am not

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/3/2013 9:37 PM, Scott Wood wrote: On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem *)txbd[idx].status); +} + +static inline void write_txbd_stat(uint idx, u16 status) +{ + out_be16((u16

Re: [U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, [...] +static struct f_thor *thor_func; +static inline struct f_thor *func_to_thor(struct usb_function *f) +{ + return container_of(f, struct f_thor, usb_function); +} + +DEFINE_CACHE_ALIGN_BUFFER(char, thor_tx_data_buf, sizeof(struct

Re: [U-Boot] [PATCH 10/10] trats: Update TRATS config to support TIZEN download

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, A set of environment variables needs to be updated to provide support for TIZEN download command (tizendown). Since DFU is used as a flashing backend, it is also necessary to extent malloc pool size for DFU buffer allocation. Moreover, for

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/4/2013 6:12 AM, Timur Tabi wrote: On Mon, Sep 30, 2013 at 4:44 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: +#define GET_BD_STAT(T, i) be16_to_cpu((__force __be16)T##BD(i).status) +#define SET_BD_STAT(T, i, v) T##BD(i).status = (__force __u16)cpu_to_be16(v) +#define

Re: [U-Boot] [PATCH] i2c, core: optimze i2c_set_bus_num()

2013-10-04 Thread Lukasz Majewski
Hi Heiko, check first, if we are on the bus, we want to enable. If so, return immediately, do not calc max adapter number, nor check other things. Signed-off-by: Heiko Schocher h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com --- drivers/i2c/i2c_core.c | 18 ++ 1

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-04 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 03.10.2013 18:15, schrieb Lukasz Majewski: Hi Heiko, Sorry for a late reply. Hello Lukasz, Am 02.10.2013 17:11, schrieb Lukasz Majewski: Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There

Re: [U-Boot] [PATCH] i2c, core: optimze i2c_set_bus_num()

2013-10-04 Thread Heiko Schocher
Hello Lukasz, Am 04.10.2013 10:42, schrieb Lukasz Majewski: Hi Heiko, check first, if we are on the bus, we want to enable. If so, return immediately, do not calc max adapter number, nor check other things. Signed-off-by: Heiko Schocherh...@denx.de Cc: Lukasz Majewskil.majew...@samsung.com

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-04 Thread Heiko Schocher
Hello Lukasz, Am 04.10.2013 10:58, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 03.10.2013 18:15, schrieb Lukasz Majewski: Hi Heiko, Sorry for a late reply. Hello Lukasz, Am 02.10.2013 17:11, schrieb Lukasz Majewski: Hi Leela, [...] but exactly I want to get rid of this code

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-04 Thread Masahiro Yamada
Hello Simon +# Tentative step for Kbuild-style makefiles coexist with conventional U-Boot style makefiles +# U-Boot conventional sub makefiles always include some other makefiles. +# So, the build system searches a line beginning with include before entering into the sub makefile

Re: [U-Boot] Lots of SPDX-License Identifer have a trailing space

2013-10-04 Thread Wolfgang Denk
Dear Masahiro, In message 20131004172305.ee95.aa925...@jp.panasonic.com you wrote: I noticed many of SPDX-License blocks have a trailing space after GPL-2.0+. Oops... Is this space the one intentinally added? (If not, I can send a patch to fix it.) No, this is definitely not intentional.

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Marek Vasut
Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek

Re: [U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol

2013-10-04 Thread Marek Vasut
Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, [...] +static struct f_thor *thor_func; +static inline struct f_thor *func_to_thor(struct usb_function *f) +{ + return container_of(f, struct f_thor, usb_function); +} + +DEFINE_CACHE_ALIGN_BUFFER(char,

Re: [U-Boot] [PATCH] Fix problems in chip select selection in imx23, 28 spi code

2013-10-04 Thread Jagan Teki
Hi, Try to fix the above issues. Use u-boot-spi.git repo with master-probe branch. Please test the same on your hw and let me know for any issues. On Tue, Aug 27, 2013 at 6:54 PM, Jagan Teki jagannadh.t...@gmail.com wrote: On Tue, Aug 27, 2013 at 2:40 PM, Jagan Teki jagannadh.t...@gmail.com

Re: [U-Boot] [PATCH v3 0/6] Second step towards Kbuild: Descend down like Kbuild

2013-10-04 Thread Masahiro Yamada
Hello Simon Can you please explain why you need to change the .lds files - sorry it is not obvious to me. This series changes how objects are linked. Before this series, drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/pcmcia/libpcmcia.o ... are directly linked

Re: [U-Boot] [PATCH] i2c, core: optimze i2c_set_bus_num()

2013-10-04 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 04.10.2013 10:42, schrieb Lukasz Majewski: Hi Heiko, check first, if we are on the bus, we want to enable. If so, return immediately, do not calc max adapter number, nor check other things. Signed-off-by: Heiko Schocherh...@denx.de Cc: Lukasz

Re: [U-Boot] Lots of SPDX-License Identifer have a trailing space

2013-10-04 Thread Masahiro Yamada
Hello Wolfgang Is this space the one intentinally added? (If not, I can send a patch to fix it.) No, this is definitely not intentional. OK. SPDX might be your turf, so I will hold back sending a patch. Best Regards Masahiro Yamada ___

Re: [U-Boot] [PATCH] Add code for spi half duplex operation for enc28j60

2013-10-04 Thread Jagan Teki
Hi Seems like some issues with checkpatch.pl and use proper commit msg header. Please fix and use u-boot-spi.git repo with master-probe branch. Please test the same on your hw and let me know for any issues. On Tue, Aug 13, 2013 at 8:15 AM, Asok Subramanian a...@vyassoft.com wrote: Add code

Re: [U-Boot] : Discussion on Serial Flash Discoverable Parameters (SFDP): JESD216A

2013-10-04 Thread Jagan Teki
Added linux-mtd mailing list. and also few developer from winbond. On Fri, Oct 4, 2013 at 12:21 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi All, As all we know that the spi_flash is a day-by-day developing hardware where each vendor has followed their own standard to get the best to

Re: [U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, [...] +static struct f_thor *thor_func; +static inline struct f_thor *func_to_thor(struct usb_function *f) +{ + return container_of(f, struct f_thor, usb_function); +} +

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE. Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-04 Thread Przemyslaw Marczak
Hi Jaehoon, On 10/04/2013 06:39 AM, Jaehoon Chung wrote: Hi Przemyslaw, On 10/01/2013 09:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this

[U-Boot] [PATCH v3 0/3] Consolidate CONFIG_SYS_HZ definition

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Since CONFIG_SYS_HZ is required to be 1000, this series consolidates the definition to a common definition and removes it from platform config headers. I split this version into 3 patches to pass maillist filters. The only other change is moving the

[U-Boot] [PATCH v3 1/3] config: consolidate CONFIG_SYS_HZ definition

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com According to the README, CONFIG_SYS_HZ must be 1000 and most platforms follow that. In preparation to remove CONFIG_SYS_HZ from all these platforms, provide a common definition. The platforms which use a value other than 1000 will get build warning now.

[U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-04 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de commit d196bd880347373237d73e0d115b4d51c68cf2ad adds redundand environment to mmc. The usage of malloc in env_relocate_spec triggers cache errors on armv7. Tested on a not mainlined i.MX53 board: Board: TQMa53 I2C: ready DRAM: 512 MiB MMC: FSL_SDHC:

[U-Boot] [PATCH] TI:armv7: Change CONFIG_SYS_SPL_ARGS_ADDR to a higher address

2013-10-04 Thread Tom Rini
With changes to increase the size of the device tree (required to move more data out of the kernel and into DT), loading the args at the old address leads to us overwriting things later on. To correct this, load the args file to where we load the device tree anyhow. This is also safe for non-DT

[U-Boot] [UBOOT][PATCHv4 1/6] omap5: add qspi support

2013-10-04 Thread Sourav Poddar
From: Matt Porter matt.por...@linaro.org Add QSPI definitions and clock configuration support. Signed-off-by: Matt Porter matt.por...@linaro.org Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c |8 arch/arm/cpu/armv7/omap5/prcm-regs.c |

[U-Boot] [UBOOT][PATCHv4 2/6] armv7: hw_data: change clock divider setting.

2013-10-04 Thread Sourav Poddar
Clock requirement for qspi clk is 192 Mhz. According to the below formulae, f dpll = f ref * 2 * m /(n + 1) clockoutx2_Hmn = f dpll / (hmn+ 1) fref = 20 Mhz, m = 96, n = 4 gives f dpll = 768 Mhz For clockoutx2_Hmn to be 768, hmn + 1 should be 4. Signed-off-by: Sourav Poddar sourav.pod...@ti.com

[U-Boot] [UBOOT][PATCHv4 0/6] Add TI qspi controller with memory mapped support

2013-10-04 Thread Sourav Poddar
This patch series add support for TI qspi controller and in the process also add support for quad read and memory mapped read in mtd spi framework. Testing details: Did a boot from qspi mode on DRA7xx. Testing details present in the last patch of the series. Currently, TI qpsi controller

[U-Boot] [UBOOT][PATCHv4 6/6] README: qspi usecase and testing documentation.

2013-10-04 Thread Sourav Poddar
Contains documentation and testing details for qspi flash interface. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- doc/README.ti_qspi_dra_test | 38 ++ doc/README.ti_qspi_flash| 47 +++ 2 files changed, 85

[U-Boot] [UBOOT][PATCHv4 3/6] driver: mtd: spi: Add memory mapped read support

2013-10-04 Thread Sourav Poddar
Qspi controller can have a memory mapped port which can be used for data read. Added support to enable memory mapped port read. This patch enables the following: - It enables exchange of memory map address between mtd and qspi through the introduction of memory_map flag. - Add support to

[U-Boot] [UBOOT][PATCHv4 4/6] spi: add TI QSPI driver

2013-10-04 Thread Sourav Poddar
From: Matt Porter matt.por...@linaro.org Adds a SPI master driver for the TI QSPI peripheral. Signed-off-by: Matt Porter matt.por...@linaro.org Signed-off-by: Sourav Poddar sourav.pod...@ti.com [Added quad read support and memory mapped support). --- drivers/spi/Makefile |1 +

[U-Boot] [UBOOT][PATCHv4 5/6] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-10-04 Thread Sourav Poddar
From: Matt Porter matt.por...@linaro.org Enables support for SPI SPL, QSPI and Spansion serial flash device on the EVM. Configures pin muxes for QSPI mode. Signed-off-by: Matt Porter matt.por...@linaro.org Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- board/ti/dra7xx/mux_data.h | 10

[U-Boot] [PATCH v2 1/9] examples: enable gc-sections option

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com This fixes building time.c when unreferenced functions are added. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- examples/api/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/api/Makefile

[U-Boot] [PATCH v2 0/9] Consolidate timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Much of the timer code is re-implemented for each platform/arch yet it is all pretty much the same code. This series introduces a common implementation of timer functions and simplifies the platform code down to 2 or 3 config defines or 2 simple

[U-Boot] [PATCH v2 4/9] ARM: highbank: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert highbank to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/cpu/armv7/highbank/timer.c | 83 - include/configs/highbank.h | 4 ++ 2 files changed, 4

[U-Boot] [PATCH v2 6/9] ARM: vexpress: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert vexpress to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- board/armltd/vexpress/vexpress_common.c | 71 - include/configs/vexpress_common.h | 4 ++ 2 files changed, 4

[U-Boot] [PATCH v2 3/9] sh: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert sh to use the commmon timer code. Remove reset_timer and set_timer as they are unused on sh. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/sh/lib/time.c | 61 ++ 1 file changed, 2

[U-Boot] [PATCH v2 2/9] Introduce common timer functions

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Many platforms duplicate pretty much the same timer code yet they all have a 32-bit freerunning counter register. Create a common implementation that minimally requires 2 or 3 defines to add timer support: CONFIG_SYS_TIMER_RATE - Clock rate of the timer

[U-Boot] [PATCH v2 7/9] ARM: socfpga: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert socfpga to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/cpu/armv7/socfpga/timer.c | 72 -- include/configs/socfpga_cyclone5.h | 5 +-- 2 files changed, 3

[U-Boot] [PATCH v2 9/9] ARM: versatile: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert versatile to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/cpu/arm926ejs/versatile/timer.c | 116 --- include/configs/versatile.h | 9 ++- 2 files changed,

[U-Boot] [PATCH v2 8/9] ARM: tegra: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert tegra to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/cpu/tegra-common/Makefile | 2 +- arch/arm/cpu/tegra-common/timer.c | 95 --

[U-Boot] [PATCH v2 5/9] ARM: mx25: convert to common timer code

2013-10-04 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- v2: - Use GPT struct for register offset arch/arm/cpu/arm926ejs/mx25/timer.c | 117 include/configs/mx25pdk.h

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-04 Thread Simon Glass
Hi Masahiro, On Fri, Oct 4, 2013 at 3:59 AM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello Simon +# Tentative step for Kbuild-style makefiles coexist with conventional U-Boot style makefiles +# U-Boot conventional sub makefiles always include some other makefiles. +# So,

[U-Boot] [PATCH 0/4] Coding Style cleanup

2013-10-04 Thread Wolfgang Denk
The following patch series cleans up a number of coding style issues (trailing wtihe space, indentation by spaces instead of TAB, TAB followed by spaces, trailing empty lines, excessive empty lines) that have crept in over time. It's a white space modification only and supposed to be functionally

[U-Boot] [PATCH 3/4] Coding Style cleanup: remove trailing empty lines

2013-10-04 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/arm/cpu/armv7/omap3/am35x_musb.c | 1 - arch/arm/cpu/armv7/rmobile/Makefile| 1 - arch/microblaze/include/asm/gpio.h | 1 - arch/microblaze/include/asm/microblaze_intc.h | 1 -

[U-Boot] [PATCH 4/4] Coding Style cleanup: drop some excessive empty lines

2013-10-04 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de --- arch/arm/cpu/armv7/omap5/prcm-regs.c | 2 -- board/LEOX/elpt860/README.LEOX | 1 - board/palmtreo680/README | 17 - board/sandpoint/README | 2 -- board/siemens/rut/board.c| 4

[U-Boot] [PATCH] cmd_nvedit.c: setenv_hex must prefix hex with '0x'

2013-10-04 Thread Tom Rini
setenv_hex is only called with hex values, but does not prefix the strings with '0x', as in general U-Boot assumes hex values not decimal values, and this saves space in the environment. However, some functions such as 'load' take some values that are most easily described in hex (load address)

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Scott Wood
On Fri, 2013-10-04 at 11:27 +0300, Claudiu Manoil wrote: On 10/3/2013 9:37 PM, Scott Wood wrote: On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem *)txbd[idx].status); +} + +static inline void

Re: [U-Boot] [PATCH v3 0/6] Second step towards Kbuild: Descend down like Kbuild

2013-10-04 Thread Simon Glass
Hi Mashahiro, On Fri, Oct 4, 2013 at 4:37 AM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello Simon Can you please explain why you need to change the .lds files - sorry it is not obvious to me. This series changes how objects are linked. Before this series,

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-04 Thread FengHua
arm64: rela relocation This lets us remove the manual relocation stuff from the arm64 patchset (the symbol itself is removed by this patchset, but not all the new manual relocations added by the arm64 patchset). I'm not terribly happy with the way relocate-rela is now, versus something

Re: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-04 Thread FengHua
ARM64 uses the newer RELA-style relocations rather than the older REL. RELA relocations have an addend in the relocation struct, rather than expecting the loader to read a value from the location to be updated. While this is beneficial for ordinary program loading, it's problematic How it

Re: [U-Boot] [PATCH 3/4] arm64: Non-manual relocation

2013-10-04 Thread FengHua
This turns off CONFIG_NEEDS_MANUAL_RELOC and turns on -pie. The bss part of the linker script is changed to be more like arm32, as the previous arm64 approach was generating bad relocations (even readelf didn't like them). relocate_64.S is made to look more like relocate.S, and then

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Marek Vasut
Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE.

[U-Boot] [PATCH 7/9][v3] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
Currently, the buffer descriptor (BD) fields cannot be correctly accessed by a little endian processor. This patch fixes the issue by making the access of BDs to be portable among different cpu architectures. Use portable data types for the Rx/Tx buffer descriptor fields. Use portable I/O

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-04 Thread Claudiu Manoil
On 10/4/2013 6:50 PM, Scott Wood wrote: On Fri, 2013-10-04 at 11:27 +0300, Claudiu Manoil wrote: On 10/3/2013 9:37 PM, Scott Wood wrote: On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem

Re: [U-Boot] [PATCH 3/4] arm64: Non-manual relocation

2013-10-04 Thread Scott Wood
On Sat, 2013-10-05 at 00:13 +0800, FengHua wrote: diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 01c95f5..3932e00 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -10,6 +10,9 @@ #define DEBUG

Re: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-04 Thread Scott Wood
On Sat, 2013-10-05 at 00:10 +0800, FengHua wrote: ARM64 uses the newer RELA-style relocations rather than the older REL. RELA relocations have an addend in the relocation struct, rather than expecting the loader to read a value from the location to be updated. While this is beneficial

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-04 Thread Tom Rini
On Fri, Oct 04, 2013 at 03:48:03PM +0200, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de commit d196bd880347373237d73e0d115b4d51c68cf2ad adds redundand environment to mmc. The usage of malloc in env_relocate_spec triggers cache errors on armv7. Tested on a not mainlined

[U-Boot] [Patch v3] cmd/gpt: Support gpt command for all devices

2013-10-04 Thread Egbert Eich
From: Egbert Eich e...@suse.com The gpt command was only implemented for mmc devices. There is no reason why this command should not be generalized and be applied all other storage device classes. This change both simplifies the implementation and eliminates a build failure for systems that don't

[U-Boot] [PATCH v6] usb: new board-specific USB init interface

2013-10-04 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by:

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire

[U-Boot] [PATCH] config: Define HAVE_BLOCK_DEVICE when CONFIG_CMD_GPT is set

2013-10-04 Thread Egbert Eich
From: Egbert Eich e...@suse.com Signed-off-by: Egbert Eich e...@suse.com --- include/config_fallbacks.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index e59ee96..5c8acdb 100644 --- a/include/config_fallbacks.h +++

[U-Boot] [PATCH] config/sandbox: Add EFI and GPT support

2013-10-04 Thread Egbert Eich
From: Egbert Eich e...@suse.com Signed-off-by: Egbert Eich e...@suse.com --- include/configs/sandbox.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 4027030..b18cafb 100644 --- a/include/configs/sandbox.h +++

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-04 Thread Marek Vasut
Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, Hi Marek, Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max

Re: [U-Boot] Pull request: u-boot-arm/master

2013-10-04 Thread Tom Rini
On Thu, Oct 03, 2013 at 10:42:46PM +0200, Albert ARIBAUD wrote: Hello Tom, The following changes since commit f04c53762962280365005c9db12ab561a18f2692: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-10-02 14:53:27 +0200) are available in the git repository at:

[U-Boot] [PATCH] dra7xx_evm: Enabled UART-boot mode and add dra7xx_evm_uart3 build

2013-10-04 Thread Tom Rini
From: Minal Shah minal.s...@ti.com UART booting is supported on this SoC, but via UART3 rather than UART1. Because of this we must change the board to use UART3 for all console access (only one UART is exposed on this board and a slight HW mod is required to switch UARTs). Signed-off-by: Minal

Re: [U-Boot] [UBOOT][PATCHv4 4/6] spi: add TI QSPI driver

2013-10-04 Thread Jagan Teki
On Fri, Oct 4, 2013 at 8:21 PM, Sourav Poddar sourav.pod...@ti.com wrote: From: Matt Porter matt.por...@linaro.org Adds a SPI master driver for the TI QSPI peripheral. Signed-off-by: Matt Porter matt.por...@linaro.org Signed-off-by: Sourav Poddar sourav.pod...@ti.com [Added quad read

Re: [U-Boot] [UBOOT][PATCHv4 6/6] README: qspi usecase and testing documentation.

2013-10-04 Thread Sourav Poddar
On Saturday 05 October 2013 12:08 AM, Jagan Teki wrote: Hi Sourav, Please place these these readme files in doc/SPI/* All these patches tested on top of u-boot-spi.git master-probe? Yes, this are tested on the above branch. On Fri, Oct 4, 2013 at 8:21 PM, Sourav Poddarsourav.pod...@ti.com

Re: [U-Boot] [UBOOT][PATCHv4 4/6] spi: add TI QSPI driver

2013-10-04 Thread Sourav Poddar
On Saturday 05 October 2013 12:27 AM, Jagan Teki wrote: On Fri, Oct 4, 2013 at 8:21 PM, Sourav Poddarsourav.pod...@ti.com wrote: From: Matt Portermatt.por...@linaro.org Adds a SPI master driver for the TI QSPI peripheral. Signed-off-by: Matt Portermatt.por...@linaro.org Signed-off-by: Sourav

Re: [U-Boot] [UBOOT][PATCHv4 3/6] driver: mtd: spi: Add memory mapped read support

2013-10-04 Thread Jagan Teki
Please use the commit msg head as sf: .. On Fri, Oct 4, 2013 at 8:21 PM, Sourav Poddar sourav.pod...@ti.com wrote: Qspi controller can have a memory mapped port which can be used for data read. Added support to enable memory mapped port read. This patch enables the following: - It enables

Re: [U-Boot] [UBOOT][PATCHv4 4/6] spi: add TI QSPI driver

2013-10-04 Thread Jagan Teki
On Sat, Oct 5, 2013 at 1:32 AM, Sourav Poddar sourav.pod...@ti.com wrote: On Saturday 05 October 2013 12:27 AM, Jagan Teki wrote: On Fri, Oct 4, 2013 at 8:21 PM, Sourav Poddarsourav.pod...@ti.com wrote: From: Matt Portermatt.por...@linaro.org Adds a SPI master driver for the TI QSPI

Re: [U-Boot] [UBOOT][PATCHv4 6/6] README: qspi usecase and testing documentation.

2013-10-04 Thread Jagan Teki
May be your are missing my comments in previous post. - Please place these these readme files in doc/SPI/* - Please use the doc/SPI/status.txt as an example format for writing new readme files. On Sat, Oct 5, 2013 at 1:15 AM, Sourav Poddar sourav.pod...@ti.com wrote: On Saturday 05 October 2013

Re: [U-Boot] [PATCH v7 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-10-04 Thread Gupta, Pekon
Hi Scott, Tom, Subject: [PATCH v7 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver *changes in v7* [PATCH 1/5] - omap_gpmc.c: fix: free bytes in OOB (ecclayout- oobfree[0].length) - omap_gpmc.c: cleanup: redundant code added in previous patch versions -

[U-Boot] DDR setting, p1020 registers read

2013-10-04 Thread Avinash Vijayvargia
Hi I have got a P1020 board similar to Freescale P1020 eval board RDB. If I put the DDR size as 512 uboot works fine. But if I make it as 1G which is the real size on the board then the uboot hangs. Also is there any cli in uboot to read p1020 registers? I want to read GUTS_PORBMSR to check if

Re: [U-Boot] [PATCH] cmd_nvedit.c: setenv_hex must prefix hex with '0x'

2013-10-04 Thread Wolfgang Denk
Dear Tom Rini, In message 1380901758-30360-1-git-send-email-tr...@ti.com you wrote: setenv_hex is only called with hex values, but does not prefix the strings with '0x', as in general U-Boot assumes hex values not decimal values, and this saves space in the environment. However, some

Re: [U-Boot] [PATCH] cmd_nvedit.c: setenv_hex must prefix hex with '0x'

2013-10-04 Thread Stephen Warren
On 10/04/2013 03:35 PM, Wolfgang Denk wrote: Dear Tom Rini, In message 1380901758-30360-1-git-send-email-tr...@ti.com you wrote: setenv_hex is only called with hex values, but does not prefix the strings with '0x', as in general U-Boot assumes hex values not decimal values, and this saves

Re: [U-Boot] [PATCH] cmd_nvedit.c: setenv_hex must prefix hex with '0x'

2013-10-04 Thread Wolfgang Denk
Dear Stephen, In message 524f376c.7070...@wwwdotorg.org you wrote: I think we should NAK your patch, and suggest to fix the problem by reverting commit 3f83c87 and making load default to hex input mode. Reverting 3f83c87 would do the opposite of what you want; it'd make extload/fatload

Re: [U-Boot] [PATCH v7 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-10-04 Thread Scott Wood
On Mon, 2013-09-30 at 19:43 +0530, Pekon Gupta wrote: +Platform specific options += + + CONFIG_NAND_OMAP_ECCSCHEME + On OMAP platforms, this specifies NAND ECC scheme. + 1 - HAM1_SW 1-bit Hamming code using software library + (for

Re: [U-Boot] [PATCH] cmd_nvedit.c: setenv_hex must prefix hex with '0x'

2013-10-04 Thread Stephen Warren
On 10/04/2013 04:12 PM, Wolfgang Denk wrote: Dear Stephen, In message 524f376c.7070...@wwwdotorg.org you wrote: I think we should NAK your patch, and suggest to fix the problem by reverting commit 3f83c87 and making load default to hex input mode. Reverting 3f83c87 would do the opposite

Re: [U-Boot] [RFC PATCH 4/3] i.MX6DQ/DLS: remove unused pad declarations

2013-10-04 Thread Eric Nelson
Hi all, I'm just following up on this patch. On 09/18/2013 12:18 PM, Eric Nelson wrote: Hi Otavio, On 09/18/2013 11:27 AM, Otavio Salvador wrote: On Wed, Sep 18, 2013 at 3:14 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: That's not a typo. I really did intend this to be an add-on

Re: [U-Boot] [PATCH v6] usb: new board-specific USB init interface

2013-10-04 Thread Troy Kisky
On 10/4/2013 10:22 AM, Mateusz Zalega wrote: +/* + * You can initialize platform's USB host or device + * ports by passing this enum as an argument to + * board_usb_init(). + */ +enum board_usb_init_type { + USB_INIT_HOST, + USB_INIT_DEVICE +}; + I'm a little late to the game,