Re: [U-Boot] [PATCH 2/2] pxa: fix memory coherency problem after relocation

2013-06-21 Thread Albert ARIBAUD
Hi Marek, On Sat, 22 Jun 2013 04:29:56 +0200, Marek Vasut wrote: > Albert, do you want me to pick these or will you? Pick them and PR me. > Best regards, > Marek Vasut Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] [PATCH 2/2] pxa: fix memory coherency problem after relocation

2013-06-21 Thread Marek Vasut
Dear Mike Dunn, > On the xscale, the icache must be invalidated and the write buffers drained > after writing code over the data bus, even if the caches are disabled. > Tested on the pxa270. > > Signed-off-by: Mike Dunn > --- > arch/arm/lib/relocate.S |9 + > 1 files changed, 9 ins

Re: [U-Boot] [PATCH 1/2] pxa: use -mcpu=xscale compiler option

2013-06-21 Thread Marek Vasut
Dear Mike Dunn, > Pass '-mcpu=xscale' to the compiler instead of march and mtune. This will > cause gcc to define the __XSCALE__ macro. > > Signed-off-by: Mike Dunn > --- > arch/arm/cpu/pxa/config.mk |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/cpu/p

Re: [U-Boot] [PATCH v3] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-21 Thread Scott Wood
On 06/21/2013 12:09:18 AM, Heiko Schocher wrote: diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index d81972c..2778f7f 100644 --- a/drivers/mtd/nand/nand_util.c +++ b/drivers/mtd/nand/nand_util.c @@ -120,6 +120,10 @@ int nand_erase_opts(nand_info_t *meminfo, const na

Re: [U-Boot] [U-Boot, v2] powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs

2013-06-21 Thread Scott Wood
On 06/21/2013 03:38:48 PM, Andy Fleming wrote: On Thu, Jun 13, 2013 at 10:14:00AM +0530, Prabhakar Kushwaha wrote: > init_tlbs() initialize all the TLB entries required for the system. > > So disable DEBUG TLB entry before TLB entries initialization. > > Signed-off-by: Prabhakar Kushwaha Applie

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

2013-06-21 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 847e6693ccb529bf8346db62876f38f0c4e04ade: arm: pxa: config option for PXA270 turbo mode (2013-06-12 22:24:12 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to fbf87b1823dd5ebc2a3

Re: [U-Boot] [U-Boot, v2] powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs

2013-06-21 Thread Scott Wood
On 06/21/2013 04:05:37 PM, Fleming Andy-AFLEMING wrote: On Jun 21, 2013, at 3:59 PM, Scott Wood wrote: > On 06/21/2013 03:38:48 PM, Andy Fleming wrote: >> On Thu, Jun 13, 2013 at 10:14:00AM +0530, Prabhakar Kushwaha wrote: >> > init_tlbs() initialize all the TLB entries required for the syste

Re: [U-Boot] [PATCH v3 0/6] Optimize ARM relocation

2013-06-21 Thread Albert ARIBAUD
On Tue, 11 Jun 2013 14:17:29 +0200, Albert ARIBAUD wrote: > This series optimizes relocation by ensuring ARM > binaries only use one type of relocation record, > R_ARM_RELATIVE., then optimizing relocation code > accordingly. > > 1. A Makefile rule is added that checks that no > other relocation

Re: [U-Boot] [U-Boot, v2] powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs

2013-06-21 Thread Fleming Andy-AFLEMING
On Jun 21, 2013, at 3:59 PM, Scott Wood wrote: > On 06/21/2013 03:38:48 PM, Andy Fleming wrote: >> On Thu, Jun 13, 2013 at 10:14:00AM +0530, Prabhakar Kushwaha wrote: >> > init_tlbs() initialize all the TLB entries required for the system. >> > >> > So disable DEBUG TLB entry before TLB entries i

Re: [U-Boot] [U-Boot, 2/8, v2] powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS

2013-06-21 Thread Andy Fleming
On Fri, Jun 07, 2013 at 05:25:16PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There will clear the BSS in the function clear_bss(), the reset address of > the BSS started from the __bss_start, and increased by four-byte increments, > finally stoped depending on the address is e

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

2013-06-21 Thread Andy Fleming
The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172: NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master for you to fetch changes up to 57072338800

Re: [U-Boot] [U-Boot,v4] powerpc/85xx: Add P1023RDB board support

2013-06-21 Thread Andy Fleming
On Fri, Jun 14, 2013 at 04:21:48PM +0800, Chunhe Lan wrote: > P1023RDB Specification: > --- > Memory subsystem: >512MB DDR3 (Fixed DDR on board) >64MB NOR flash >128MB NAND flash > > Ethernet: >eTSEC1: Connected to Atheros AR8035 GETH PHY >eTSEC2: Connected

Re: [U-Boot] powerpc: mpc85xx/mpc86xx: Fix off-by-one boundary checking with ARRAY_SIZE

2013-06-21 Thread Andy Fleming
On Sun, May 26, 2013 at 03:00:30PM +0800, Axel Lin wrote: > If a variable is used as array subscript, it's valid value range is > 0 ... ARRAY_SIZE -1. > > Signed-off-by: Axel Lin Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [U-Boot,v2] powerpc/pixis: Fix pixis help message

2013-06-21 Thread Andy Fleming
On Fri, May 31, 2013 at 08:48:04AM -0700, York Sun wrote: > "pixis_reset help" command prints the message without a new line "\n", > which makes the prompt on the same line. > > Signed-off-by: York Sun Applied, thanks! Andy ___ U-Boot mailing list U-

Re: [U-Boot] [U-Boot, 4/6] Makefile: move the common makefile line to public area

2013-06-21 Thread Andy Fleming
On Mon, May 20, 2013 at 02:07:26PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > Move the common makefile line shared by the SPL and non-SPL to the public > area, > so that we can avoid excessive SPL symbols. Some of them will be used by the > SPL later. > > This patch is on top

Re: [U-Boot] [U-Boot, 3/6] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-06-21 Thread Andy Fleming
On Mon, May 20, 2013 at 02:07:25PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There will need the environment in SPL for reasons other than network > support (in particular, hwconfig contains info for how to set up DDR). > > Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace C

Re: [U-Boot] [U-Boot, 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script

2013-06-21 Thread Andy Fleming
On Mon, May 20, 2013 at 02:07:23PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > For SD/SPI 2-stage bootloader, the On-Chip Rom code loads the SPL into L2 > SRAM, > then jump to it to begin execution. After that, the SPL loads the final uboot > image into DDR, then jump to it to

Re: [U-Boot] board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define

2013-06-21 Thread Andy Fleming
On Fri, May 17, 2013 at 02:22:34PM +0530, Prabhakar Kushwaha wrote: > PCIe TLB should be created with CONFIG_PCI defined > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

Re: [U-Boot] [U-Boot, 2/6, v2] powerpc/boot: Change the macro of Boot from SRIO and PCIE master module

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:46PM +0800, Liu Gang wrote: > Currently, the macro "CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER" can enable > the master module of Boot from SRIO and PCIE on a platform. But this > is not a silicon feature, it's just a specific booting mode based on > the SRIO and PCIE interf

Re: [U-Boot] [U-Boot, 5/6, v2] powerpc/t4qds: Enable master module for Boot from SRIO and PCIE

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:49PM +0800, Liu Gang wrote: > T4 can support the feature of Boot from SRIO/PCIE, and the macro > "CONFIG_SRIO_PCIE_BOOT_MASTER" will enable the master module of this feature > when building the u-boot image. > > You can get some description about this macro in README

Re: [U-Boot] [U-Boot, v2] fsl_ifc: add support for different IFC bank count

2013-06-21 Thread Andy Fleming
On Thu, May 16, 2013 at 10:18:13AM +0800, Mingkai Hu wrote: > From: Mingkai Hu > > Calculate reserved fields according to IFC bank count > > 1. Move csor_ext register behind csor register and fix res offset > 2. Move ifc bank count to config_mpc85xx.h to support 8 bank count > 3. Guard fsl_ifc.h

Re: [U-Boot] board/b4860qds: Relax NOR flash teadc timing parameter

2013-06-21 Thread Andy Fleming
On Fri, May 17, 2013 at 01:40:52PM +0530, Prabhakar Kushwaha wrote: > Relax parameters to give address latching more time to setup. > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] powerpc/mpc85xx: work around erratum A-006593

2013-06-21 Thread Andy Fleming
On Wed, May 15, 2013 at 05:50:13PM -0500, Scott Wood wrote: > Erratum A-006593 is "Atomic store may report failure but still allow > the store data to be visible". > > The workaround is: "Set CoreNet Platform Cache register CPCHDBCR0 bit > 21 to 1'b1. This may have a small impact on synthetic wri

Re: [U-Boot] [U-Boot, 1/6, v2] powerpc/doc: Update the README.srio-pcie-boot-corenet

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:45PM +0800, Liu Gang wrote: > 1. Misalignment will be found in the doc/README.srio-pcie-boot-corenet >file when the tabs are set to 8 characters. And the standard for >u-boot should be 8 character tabs! So this issue should be amended. > > 2. Add a NOTE for th

Re: [U-Boot] [U-Boot, 3/6, v2] powerpc/b4860qds: Enable master module for boot from SRIO and PCIE

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:47PM +0800, Liu Gang wrote: > B4860QDS can support the feature of Boot from SRIO/PCIE, and the macro > "CONFIG_SRIO_PCIE_BOOT_MASTER" will enable the master module of this feature > when building the u-boot image. > > You can get some description about this macro in R

Re: [U-Boot] powerpc/mpc85xx:Fix "boot page TLB" entry size for NAND SPL

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 11:19:55AM +0530, Prabhakar Kushwaha wrote: > e500v2 processor does not support 8K page size TLB entries. > > So create new TLB entry only during NAND SPL boot. > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Andy ___

Re: [U-Boot] [U-Boot, 4/6, v2] powerpc/b4860qds: Slave module for boot from SRIO and PCIE

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:48PM +0800, Liu Gang wrote: > When a b4860qds board boots from SRIO or PCIE, it needs to finish these > processes: > 1. Set all the cores in holdoff status. > 2. Set the boot location to one PCIE or SRIO interface by RCW. > 3. Set a specific TLB entry

Re: [U-Boot] powerpc: Use lower case for the core names

2013-06-21 Thread Andy Fleming
On Sun, Apr 21, 2013 at 01:11:02PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Freescale documentation presents the PowerPC core names in lower case, such as > "e300", "e500", "e600", etc. > > Change the upper case occurrences into lower case so that the core names > reported in U-boo

Re: [U-Boot] powerpc/BSC9132: Add IFC bank count

2013-06-21 Thread Andy Fleming
On Thu, Apr 18, 2013 at 07:31:01PM -0700, York Sun wrote: > BSC9132 has 3 IFC banks. > > Signed-off-by: York Sun Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, 3/5, v5] board/p1010rdb:Add NAND boot support using new SPL format

2013-06-21 Thread Andy Fleming
On Tue, Apr 16, 2013 at 01:28:12PM +0530, Prabhakar Kushwaha wrote: > - defines contants > - Add spl_minimal.c to initialise DDR > - update TLB entries as per NAND boot > - remove nand_spl support for P1010RDB > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Fixed typos in commit mes

Re: [U-Boot] [U-Boot, 4/5, v5] board/bsc9131rdb:Add NAND boot support using new SPL format

2013-06-21 Thread Andy Fleming
On Tue, Apr 16, 2013 at 01:28:25PM +0530, Prabhakar Kushwaha wrote: > - Add NAND boot target >- defines contants >- Add spl_minimal.c to initialise DDR >- update TLB entries as per NAND boot > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Fixed typo Andy

Re: [U-Boot] [U-Boot, 5/5, v5] board/bsc9132qds:Add NAND boot support using new SPL format

2013-06-21 Thread Andy Fleming
On Tue, Apr 16, 2013 at 01:28:40PM +0530, Prabhakar Kushwaha wrote: > - Add NAND boot target >- defines contants >- Add spl_minimal.c to initialise DDR >- update TLB, LAW entries as per NAND boot > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Fixed typo. Andy __

Re: [U-Boot] [U-Boot, 2/5, v5] powerpc/mpc85xx: new SPL support for IFC NAND

2013-06-21 Thread Andy Fleming
On Tue, Apr 16, 2013 at 01:27:59PM +0530, Prabhakar Kushwaha wrote: > Linker script is not able find start.o binary. So add its absolute path in > u-boot-spl.lds. This change is similar to u-boot-nand.lds > > common/Makefile: Avoid compiling unnecssary files > > fsl_ifc_spl.c : It is is responsib

Re: [U-Boot] [U-Boot, 1/5, v5] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-06-21 Thread Andy Fleming
On Tue, Apr 16, 2013 at 01:27:44PM +0530, Prabhakar Kushwaha wrote: > IFC errata A003399 is valid for IFC NOR boot i.e.if no on-board NOR flash or > no NOR boot, do not compile its workaround. > > Signed-off-by: Prabhakar Kushwaha Applied, thanks! Andy _

Re: [U-Boot] board/bsc9131rdb: Add DSP side tlb and laws

2013-06-21 Thread Andy Fleming
On Thu, Apr 04, 2013 at 09:31:54AM +0530, Priyanka Jain wrote: > BSC9131RDB is a Freescale Reference Design Board for > BSC9131 SoC which is a integrated device that contains > one powerpc e500v2 core and one DSP starcore. > > To support DSP starcore > -Creating LAW and TLB for DSP-CCSR space. > -

Re: [U-Boot] board/bsc9131rdb: Update default boot environment settings

2013-06-21 Thread Andy Fleming
On Thu, Apr 04, 2013 at 02:40:32PM +0530, Priyanka Jain wrote: > BSC9131RDB has 1GB DDR. > Out of this, only 880MB is passed on to Linux via bootm_size. > Remaining > -16MB is reserved for PowerPC-DSP shared control area > -128MB is reserved for DSP private area. > > Also 256MB, out of this 880MB

Re: [U-Boot] powerpc/mpc85xx: explicit cast the SDRAM size to type phys_size_t

2013-06-21 Thread Andy Fleming
On Fri, Apr 12, 2013 at 03:56:28PM +0800, Mingkai Hu wrote: > To avoid sign extension problem, use explicit casting to cast > the SDRAM size to type phys_size_t, or else, if the SDRAM size > is 2G(0x8000), it will be extended to 0x8000 > when phys_size_t is type 'unsigned long long'

Re: [U-Boot] board/bsc9131rdb: Add targets for Sysclk 100MHz

2013-06-21 Thread Andy Fleming
On Mon, Apr 01, 2013 at 12:12:45PM +0530, Priyanka Jain wrote: > BSC9131RDB supports Sysclk > -66MHz if jumper J16 is close (default state) > -100MHz if jumper J16 is open > > Add targets > -BSC9131RDB_NAND_SYSCLK100 : for NAND boot at Sysclk 100MHz > -BSC9131RDB_SPIFLASH_SYSCLK100: for SPI boot a

Re: [U-Boot] [U-Boot, v2] powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs

2013-06-21 Thread Andy Fleming
On Thu, Jun 13, 2013 at 10:14:00AM +0530, Prabhakar Kushwaha wrote: > init_tlbs() initialize all the TLB entries required for the system. > > So disable DEBUG TLB entry before TLB entries initialization. > > Signed-off-by: Prabhakar Kushwaha Applied, with fixes. > diff --git a/arch/powerpc/cpu

Re: [U-Boot] [U-Boot, 6/6, v2] powerpc/t4qds: Slave module for boot from SRIO and PCIE

2013-06-21 Thread Andy Fleming
On Tue, May 07, 2013 at 04:30:50PM +0800, Liu Gang wrote: > When a T4 board boots from SRIO or PCIE, it needs to finish these processes: > 1. Set all the cores in holdoff status. > 2. Set the boot location to one PCIE or SRIO interface by RCW. > 3. Set a specific TLB entry for the

Re: [U-Boot] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-06-21 Thread Andy Fleming
On Mon, May 27, 2013 at 10:51:46AM +1200, Chris Packham wrote: > From: Chris Packham > > Instead of assuming that SYS_TEXT_BASE is 0xFFF8 calculate the initial > pbl command offset by subtracting the image size from the top of the > 24-bit address range. Also increase the size of the memory b

Re: [U-Boot] [U-Boot,v2] powerpc/85xx: Add TWR-P10xx board support

2013-06-21 Thread Andy Fleming
On Thu, Apr 25, 2013 at 03:51:11PM +0800, Xie Xiaobo wrote: > TWR-P1025 Specification: > --- > Memory subsystem: >512MB DDR3 (on board DDR) >64Mbyte 16bit NOR flash >One microSD Card slot > > Ethernet: >eTSEC1: Connected to Atheros AR8035 GETH PHY >eTSEC3: C

Re: [U-Boot] [PATCH 0/11] MIPS: bootm updates

2013-06-21 Thread Langer Thomas (LQDE RD ST PON SW)
Hello Daniel, sorry for being late with my questions. Daniel Schwierzeck wrote onĀ 2013-06-09: > MIPS: bootm: refactor initialisation of kernel cmdline > MIPS: bootm: refactor initialisation of kernel environment > MIPS: bootm: make initialisation of Linux environment optional > MIPS: boot

Re: [U-Boot] [RFC] [UBOOT] [PATCH 0/4] DWC back port from Linux kernel

2013-06-21 Thread Tom Rini
On Fri, Jun 21, 2013 at 01:27:41PM -0500, Dan Murphy wrote: > This patch series has been generated in an effort to get comments on > the implementation of the dwc code within the uBoot. > > The first patch is the one of major concern as this patch will make an > attempt to commonize the usb heade

Re: [U-Boot] Modifying the Device tree fields

2013-06-21 Thread Scott Wood
On 06/21/2013 12:26:33 PM, Kamaraj P wrote: Hello All, In my device tree blob, i would like to add some interrupt to the protected-source list dynamically in the u-boot before launching the linux kernel. mpic: pic@4 { interrupt-controller; #address-cells = <0>;

Re: [U-Boot] Modifying the Device tree fields

2013-06-21 Thread Tom Rini
On Fri, Jun 21, 2013 at 10:56:33PM +0530, Kamaraj P wrote: > Hello All, > > In my device tree blob, i would like to add some interrupt to the > protected-source list dynamically in the u-boot before launching the linux > kernel. > > mpic: pic@4 { > interrupt-controller; >

Re: [U-Boot] AM335x: enabling datacache in SPL slows down system?

2013-06-21 Thread Tom Rini
On Fri, Jun 21, 2013 at 08:46:47PM +0200, Jeroen Hofstee wrote: > Hello Wolfgang, > > On 06/21/2013 07:33 AM, Wolfgang Denk wrote: > >We observed the very same issue with the verry first prototype > >implementation of Falcon mode on an AM3517 based board. [..] > For the am3517 the only thing need

Re: [U-Boot] AM335x: enabling datacache in SPL slows down system?

2013-06-21 Thread Jeroen Hofstee
Hello Wolfgang, On 06/21/2013 07:33 AM, Wolfgang Denk wrote: We observed the very same issue with the verry first prototype implementation of Falcon mode on an AM3517 based board. [..] For the am3517 the only thing needed is to add SRAM to the known memory. See [1], that should change the cache

[U-Boot] Modifying the Device tree fields

2013-06-21 Thread Kamaraj P
Hello All, In my device tree blob, i would like to add some interrupt to the protected-source list dynamically in the u-boot before launching the linux kernel. mpic: pic@4 { interrupt-controller; #address-cells = <0>; #interrupt-cells = <2>; re

Re: [U-Boot] [PATCH v2 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-06-21 Thread Nikolay Nikolaev
Hello, On Thu, Jun 13, 2013 at 2:01 PM, Andre Przywara wrote: > For the KVM and XEN hypervisors to be usable, we need to enter the > kernel in HYP mode. Now that we already are in non-secure state, > HYP mode switching is within short reach. > > While doing the non-secure switch, we have to enab

[U-Boot] [RFC] [UBOOT] [PATCH 3/4] omap5: usb: Add usb otg clocks and enable

2013-06-21 Thread Dan Murphy
Add and enable the USB OTG clocks. Signed-off-by: Dan Murphy --- arch/arm/cpu/armv7/omap5/hw_data.c | 14 ++ arch/arm/cpu/armv7/omap5/prcm-regs.c |1 + arch/arm/include/asm/arch-omap5/clocks.h |4 arch/arm/include/asm/omap_common.h |1 + common/cmd_

[U-Boot] [RFC] [UBOOT] [PATCH 4/4] Makefile: Add the libdwc3 to the main Makefile

2013-06-21 Thread Dan Murphy
Add the libdwc3 to the Makefile so that drivers/usb/dwc3 is included in the build Signed-off-by: Dan Murphy --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index ef154aa..e0a15cf 100644 --- a/Makefile +++ b/Makefile @@ -327,6 +327,7 @@ LI

[U-Boot] [RFC] [UBOOT] [PATCH 0/4] DWC back port from Linux kernel

2013-06-21 Thread Dan Murphy
This patch series has been generated in an effort to get comments on the implementation of the dwc code within the uBoot. The first patch is the one of major concern as this patch will make an attempt to commonize the usb headers so that there is re-use and prepare the usb headers for future usb

Re: [U-Boot] [PATCH v2 0/7] cleanup in the 'ifm AC14xx' board support

2013-06-21 Thread Gerhard Sittig
On Wed, Jun 05, 2013 at 14:51 +0200, Gerhard Sittig wrote: > > this change set adjusts the configuration of the 'ifm AC14xx' board > to get closer to mainline philosophy and slightly improves builtin > diagnostics and robustness after setup failure > > > changes in v2: > - address a potential NU

Re: [U-Boot] [PATCH] nand: Don't call adjust_size_for_badblocks for erase

2013-06-21 Thread Scott Wood
On 06/20/2013 11:19:19 PM, Heiko Schocher wrote: Hello Scott, Am 20.06.2013 19:52, schrieb Scott Wood: > adjust_size_for_badblocks reduces the the operation size to account nitpicking: please only one "the". Thanks, I'll fix when applying. -Scott _

Re: [U-Boot] [PATCH V2] drivers:power:max77686: add function to set voltage and mode

2013-06-21 Thread Minkyu Kang
Dear Piotr Wilczek, On 21 May 2013 21:54, Piotr Wilczek wrote: > This patch add new functions to pmic max77686 to set voltage and mode. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > CC: Rajeshwari Shinde > > Acked-by: Rajeshwari Shinde > --- > Changes

Re: [U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-21 Thread Stephen Warren
On 06/21/2013 05:05 AM, Jim Lin wrote: > Add DT node for USB EHCI function. > Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. > Changes in v5: > - Move changes on fdtdec.h and fdtdec.c to patch 2/3 > - Modify PHY type to hsic for USB2 port HSIC is an odd choice; ULPI is much more c

[U-Boot] [PATCH 1/2] pxa: use -mcpu=xscale compiler option

2013-06-21 Thread Mike Dunn
Pass '-mcpu=xscale' to the compiler instead of march and mtune. This will cause gcc to define the __XSCALE__ macro. Signed-off-by: Mike Dunn --- arch/arm/cpu/pxa/config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/pxa/config.mk b/arch/arm/cpu/pxa/con

[U-Boot] [PATCH 2/2] pxa: fix memory coherency problem after relocation

2013-06-21 Thread Mike Dunn
On the xscale, the icache must be invalidated and the write buffers drained after writing code over the data bus, even if the caches are disabled. Tested on the pxa270. Signed-off-by: Mike Dunn --- arch/arm/lib/relocate.S |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 0/2] pxa: fix memory coherency problem after relocation

2013-06-21 Thread Mike Dunn
These patches fix a memory coherency problem that sometimes occurs on xscale after code relocation. The first patch changes the options passed to the compiler so that the __XSCALE__ macro is defined. This is used in the second patch to limit the change to xscale cores, where the necessary cache o

Re: [U-Boot] [PATCH 3/4 V5] S5P: Serial: Add fdt support to driver

2013-06-21 Thread Minkyu Kang
Dear Rajeshwari Shinde, On 17 May 2013 20:03, Rajeshwari Shinde wrote: > This patch adds FDT support to the serial s5p driver. > At present disabling the serial console (from the device tree) crashes > U-Boot. Add checks for this case, so that execution can continue without > a serial console.

Re: [U-Boot] [PATCH 00/10] PXE support updates

2013-06-21 Thread Joe Hershberger
Hi Rob, On Sun, Jun 16, 2013 at 9:29 PM, Joe Hershberger wrote: > Hi Rob, > > On Sun, Jun 16, 2013 at 10:24 AM, Rob Herring wrote: >> On Tue, May 14, 2013 at 3:32 PM, Joe Hershberger >> wrote: >>> Hi Rob, >>> >>> On Tue, May 14, 2013 at 2:48 PM, Rob Herring wrote: On Sun, Dec 2, 2012 at 9

[U-Boot] [PATH v5 13/14] sf: Remove spi_flash_cmd_poll_bit()

2013-06-21 Thread Jagannadha Sutradharudu Teki
There is no other call other than spi_flash_cmd_wait_ready(), hence removed spi_flash_cmd_poll_bit and use the poll status code spi_flash_cmd_wait_ready() itself. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass --- Changes for v5: - none Changes for v4: - no

[U-Boot] [PATH v5 04/14] sf: Update sf to support all sizes of flashes

2013-06-21 Thread Jagannadha Sutradharudu Teki
Updated the spi_flash framework to handle all sizes of flashes using bank/extd addr reg facility The current implementation in spi_flash supports 3-byte address mode due to this up to 16Mbytes amount of flash is able to access for those flashes which has an actual size of > 16MB. As most of the f

[U-Boot] [PATH v5 03/14] sf: Read flash bank addr register at probe time

2013-06-21 Thread Jagannadha Sutradharudu Teki
Read the flash bank addr register to get the state of bank in a perticular flash. and also bank write happens only when there is a change in bank selection from user. bank read only valid for flashes which has > 16Mbytes those are opearted in 3-byte addr mode, each bank occupies 16Mytes. Suppose

[U-Boot] [PATH v5 11/14] sf: stmicro: Add support for N25Q1024A

2013-06-21 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q1024A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff

[U-Boot] [PATH v5 14/14] sf: Add flag status register polling support

2013-06-21 Thread Jagannadha Sutradharudu Teki
Flag status register polling is required for micron 512Mb flash devices onwards, for performing erase/program operations. Like polling for WIP(Write-In-Progress) bit in read status register, spi_flash_cmd_wait_ready will poll for PEC(Program-Erase-Control) bit in flag status register. Signed-off-

[U-Boot] [PATH v5 09/14] sf: stmicro: Add support for N25Q512A

2013-06-21 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q512A SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff -

[U-Boot] [PATH v5 07/14] sf: Use spi_flash_addr() in write call

2013-06-21 Thread Jagannadha Sutradharudu Teki
Use the existing spi_flash_addr() for 3-byte addressing cmd filling in write call. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/

Re: [U-Boot] [PATCH 1/4 V5] EXYNOS5: FDT: Add compatible strings for Serial

2013-06-21 Thread Minkyu Kang
Dear Rajeshwari Shinde, On 17 May 2013 20:03, Rajeshwari Shinde wrote: > Add required compatible information for s5p serial driver > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > Changes in V2: > - Changed the compatible string t

[U-Boot] [PATH v5 01/14] sf: Add bank address register writing support

2013-06-21 Thread Jagannadha Sutradharudu Teki
This patch provides support to program a flash bank address register. extended/bank address register contains an information to access the 4th byte addressing in 3-byte address mode. reff' the spec for more details about bank addr register in Page-63, Table 8.16 http://www.spansion.com/Support/Da

[U-Boot] [PATH v5 06/14] sf: Add bank addr code in CONFIG_SPI_FLASH_BAR

2013-06-21 Thread Jagannadha Sutradharudu Teki
Defined bank addr code on CONFIG_SPI_FLASH_BAR macro, to reduce the size for existing boards which has < 16Mbytes SPI flashes. It's upto user which has provision to use the bank addr code for flashes which has > 16Mbytes. Signed-off-by: Jagannadha Sutradharudu Teki Reviewed-by: Simon Glass ---

[U-Boot] [PATH v5 02/14] sf: Discover the bank addr commands

2013-06-21 Thread Jagannadha Sutradharudu Teki
Bank/Extended addr commands are specific to particular flash vendor so discover them based on the idocode0. Assign the discovered bank commands to spi_flash members so-that the bank read/write will use their specific operations. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5:

[U-Boot] [PATH v5 08/14] sf: stmicro: Add support for N25Q512

2013-06-21 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q512 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff --

[U-Boot] [PATH v5 05/14] sf: Update sf read to support all sizes of flashes

2013-06-21 Thread Jagannadha Sutradharudu Teki
This patch updated the spi_flash read func to support all sizes of flashes using bank reg addr facility. The same support has been added in below patch for erase/write spi_flash functions: "sf: Support all sizes of flashes using bank addr reg facility" (sha1: c956f600cbb0943d0afe1004cdb503f4fcd8f4

[U-Boot] [PATH v5 00/14] sf: Update sf framework to support all sizes of flashes

2013-06-21 Thread Jagannadha Sutradharudu Teki
This is a v5 patch series with some modifications on previous series with same head "sf: Update sf framework to support all sizes of flashes" The current implementation in sf supports 3-byte address mode due to this up to 16MB amount of flash is able to access for those flashes which has an actual

[U-Boot] [PATH v5 12/14] sf: spansion: Add support for S25FL512S_64K

2013-06-21 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL512S_64K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spansion.c | 7 +++ 1 file changed, 7 insertions(+)

[U-Boot] [PATH v5 10/14] sf: stmicro: Add support for N25Q1024

2013-06-21 Thread Jagannadha Sutradharudu Teki
Add support for Numonyx N25Q1024 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/stmicro.c | 6 ++ 1 file changed, 6 insertions(+) diff -

[U-Boot] [PATCH v3 2/4] sf: Place the sf calls in proper order

2013-06-21 Thread Jagannadha Sutradharudu Teki
From: Jagannadha Sutradharudu Teki Placed the sf calls in proper order - erase/write/read Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v3: - Changes for v2: - drivers/mtd/spi/spi_flash.c | 184 ++-- 1 file changed, 92 inse

[U-Boot] [PATCH v3 1/4] sf: Unify spi_flash write code

2013-06-21 Thread Jagannadha Sutradharudu Teki
Move common flash write code into spi_flash_write_common(). Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Simon Glass --- Changes for v3: - Used proper comments on spi_flash_write_common Changes for v2: - drivers/mtd/spi/spi_flash.c | 120

[U-Boot] [PATCH v3 4/4] sf: Warn to use BAR for > 16MiB flashes

2013-06-21 Thread Jagannadha Sutradharudu Teki
From: Jagannadha Sutradharudu Teki Warning for > 16MiB flashes to #define CONFIG_SPI_FLASH_BAR Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v3: - Changes for v2: - drivers/mtd/spi/spi_flash.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/

[U-Boot] [PATCH v3 3/4] sf: Add debug messages on spi_flash_read_common

2013-06-21 Thread Jagannadha Sutradharudu Teki
- Added debug's on spi_flash_read_common() - Added space Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v3: - Changes for v2: - drivers/mtd/spi/spi_flash.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash.c b

Re: [U-Boot] [PATCH] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

2013-06-21 Thread Lubomir Popov
Hi Axel, On 21/06/13 13:54, Axel Lin wrote: > The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. > These SoCs have different gpio count but currently omap_gpio driver uses hard > coded 192 which is wrong. > > This patch fixes this issue by: > 1. Move define of OMAP_MAX_GPI

[U-Boot] [PATCH v5 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-21 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- Changes in v2: - Move common definitions into arch-tegra/usb.h and chip specific definitions into arch-tegraXX(X)/usb.h - In ehci-t

[U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-21 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin --- Changes in v2: - Remove PLL parameters from dt file Changes in v3: - Change VBus GPIO from H.05 to DD.04 for Beaver board. Changes in v4: - Change Beaver VBus GPIO to H.05

[U-Boot] [PATCH v5 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-21 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- Changes in v2: - Add support for Beaver board. Changes in v3: - None Changes in v4: - None Changes in v5: - None include/configs/beaver.h

Re: [U-Boot] [PATCH v4 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Albert ARIBAUD
Hi Stefan, On Fri, 21 Jun 2013 12:42:46 +0200, Stefan Roese wrote: > Fix a problem with a re-assignment of r8 in the SPL version. > > This patch now moves the call to s_init() to a later stage, right before > calling board_init_f(). And makes sure that r8 is correctly initialized > before s_ini

[U-Boot] [PATCH] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

2013-06-21 Thread Axel Lin
The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. These SoCs have different gpio count but currently omap_gpio driver uses hard coded 192 which is wrong. This patch fixes this issue by: 1. Move define of OMAP_MAX_GPIO to all arch/arm/include/asm/arch-omap*/gpio.h. 2. Updat

[U-Boot] [PATCH v4 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Stefan Roese
Fix a problem with a re-assignment of r8 in the SPL version. This patch now moves the call to s_init() to a later stage, right before calling board_init_f(). And makes sure that r8 is correctly initialized before s_init() is called. r8 now is only written in crt0.S. This error was detected on the

Re: [U-Boot] [PATCH v3 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Stefan Roese
On 21.06.2013 12:30, Albert ARIBAUD wrote: >> SPL already has GD set to the correct location (in s_init), we mustn't >> move it around now since some data (clocks etc) is already present. > > Actually the commit message is not accurate any more, as it states > s_init should keep setting gd -- sorr

Re: [U-Boot] [PATCH v3 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Albert ARIBAUD
Hi Stefan, On Fri, 21 Jun 2013 11:10:10 +0200, Stefan Roese wrote: > SPL already has GD set to the correct location (in s_init), we mustn't > move it around now since some data (clocks etc) is already present. Actually the commit message is not accurate any more, as it states s_init should keep

Re: [U-Boot] [PATCH 8/8] powerpc/p1022ds: boot from spi flash with SPL

2013-06-21 Thread Zhang Ying-B40530
From: Andy Fleming [mailto:aflem...@gmail.com] Sent: Thursday, June 20, 2013 12:37 AM To: Zhang Ying-B40530; jagannadha.sutradharudu-t...@xilinx.com Cc: U-Boot list; Wood Scott-B07421; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH 8/8] powerpc/p1022ds: boot from spi flash with SPL O

Re: [U-Boot] [PATCH 2/2] OMAP: gpio: Introduce get_omap_gpio_count() function to get gpio count

2013-06-21 Thread Lubomir Popov
Axel, Why do you introduce a function when this stuff is constant and known to the compiler? Just put a #define in every header. You are now uselessly inflating code... Regards, Lubo On 21/06/13 11:50, Axel Lin wrote: > Now the omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoC

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Lubomir Popov
Hi Heiko, Axel, On 21/06/13 11:44, Heiko Schocher wrote: > Hello Lubomir, > > Am 21.06.2013 09:44, schrieb Lubomir Popov: >> One more thing that perhaps seems more reasonable in general: >> >> These OMAP_MAX_GPIO defines could go into the corresponding .../arch-omap*.h >> files, where the base ad

Re: [U-Boot] Not able to boot using zImage

2013-06-21 Thread Enric Balletbo Serra
Hi Tom, Thanks for your quick reply. 2013/6/20 Tom Rini > On Thu, Jun 20, 2013 at 12:27:02PM +0200, Enric Balletbo Serra wrote: > > > Hi all, > > > > I've some problems trying to boot a zImage with following command after > > load the zImage and the fdt file on memory: > > > > U-Boot > fdt add

[U-Boot] [PATCH v3 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Stefan Roese
SPL already has GD set to the correct location (in s_init), we mustn't move it around now since some data (clocks etc) is already present. This error was detected on the SPL port for the Compulab CM-T35 board (OMAP3530). Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Albert ARIBAUD --- v3: - Som

Re: [U-Boot] [PATCH v2 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-21 Thread Albert ARIBAUD
Hi Stefan, On Fri, 21 Jun 2013 04:13:17 +0200, Stefan Roese wrote: > Fix a problem with a re-assignment of r8 in the SPL version. > > This patch now moves the call to s_init() to a later stage, right before > calling board_init_f(). And makes sure that r8 is correctly initialized > before s_ini

[U-Boot] [PATCH 2/2] OMAP: gpio: Introduce get_omap_gpio_count() function to get gpio count

2013-06-21 Thread Axel Lin
Now the omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. These SoCs have various gpio count. Thus introduce get_omap_gpio_count() function to get correct gpio count. Signed-off-by: Axel Lin --- arch/arm/cpu/armv7/am33xx/board.c | 5 + arch/arm/cpu/armv7/omap3/board.c |

[U-Boot] [PATCH 1/2] OMAP5: Fix gpio_bank_54xx setting

2013-06-21 Thread Axel Lin
OMAP54XX and DRA7XX SoCs have 8 banks per 32 GPIOs, that is, 256 in total. Fix the gpio bank setting. Signed-off-by: Axel Lin --- arch/arm/cpu/armv7/omap5/hwinit.c | 4 +++- arch/arm/include/asm/arch-omap5/gpio.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Axel Lin
2013/6/21 Heiko Schocher : > Hello Lubomir, > > Am 21.06.2013 09:44, schrieb Lubomir Popov: >> One more thing that perhaps seems more reasonable in general: >> >> These OMAP_MAX_GPIO defines could go into the corresponding .../arch-omap*.h >> files, where the base addresses are defined, and the num

  1   2   >