Re: [BUG][Cyrus BOARD] out of bound access in board/varisys/common/sys_eeprom.c

2021-04-13 Thread Andy Fleming
78cab an out of bound access occurs. See > > below. > > > > On 11/4/15 10:48 PM, Andy Fleming wrote: > > > This board runs a P5020 or P5040 chip, and utilizes > > > an EEPROM with similar formatting to the Freescale P5020DS. > > > > > > Large am

Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on T4080

2016-01-08 Thread Andy Fleming
On Thu, Jan 7, 2016 at 2:50 AM, Yangbo Lu wrote: > Fill the right command type when using CMD12 to stop data transfer. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Removed fix for T4160 because other patch had done that > --- >

[U-Boot] [PATCH] cyrus: Enable STDIO deregister

2016-01-06 Thread Andy Fleming
If CONFIG_SYS_STDIO_DEREGISTER is not enabled, usb reset will fail every time. Enabling it allows usb reset to work. Signed-off-by: Andy Fleming <aflem...@gmail.com> --- include/configs/cyrus.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/cyrus.h b/include/configs/c

Re: [U-Boot] [PATCH V2 11/12] board: varisys: Move common headers to board-common directory

2015-11-15 Thread Andy Fleming
ce7814cb3b9 100644 > --- a/board/varisys/cyrus/cyrus.c > +++ b/board/varisys/cyrus/cyrus.c > @@ -20,7 +20,7 @@ > #include > > #include "cyrus.h" > -#include "../common/eeprom.h" > +#include Acked-by: Andy Fleming <aflem...@gmail.com> __

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

2015-11-04 Thread Andy Fleming
This board runs a P5020 or P5040 chip, and utilizes an EEPROM with similar formatting to the Freescale P5020DS. Large amounts of this code were developed by Adrian Cox Signed-off-by: Andy Fleming <aflem...@gmail.com> --- v3: * Clarified sys_eeprom.c comments * Removed

[U-Boot] [PATCH] Fix trini email in the get_maintainer.pl script

2015-11-04 Thread Andy Fleming
Looks like one spot got missed. Probably due to the backslash. Signed-off-by: Andy Fleming <aflem...@gmail.com> --- Noticed this while reading up on the MAINTAINERS files scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_maintaine

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

2015-11-04 Thread Andy Fleming
On Wed, Nov 4, 2015 at 12:39 PM, York Sun <york...@freescale.com> wrote: > > > On 11/03/2015 03:30 PM, Andy Fleming wrote: >> This board runs a P5020 or P5040 chip, and utilizes >> an EEPROM with similar formatting to the Freescale P5020DS. >> >> La

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

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

Re: [U-Boot] [PATCH 2/2] mpc85xx: Add support for the Varisys Cyrus board

2015-11-02 Thread Andy Fleming
On Fri, Oct 30, 2015 at 12:10 PM, York Sun <york...@freescale.com> wrote: > > > On 10/21/2015 04:59 PM, Andy Fleming wrote: >> This board runs a P5020 or P5040 chip, and utilizes >> an EEPROM with similar formatting to the Freescale P5020DS. >> >> La

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

2015-10-21 Thread Andy Fleming
This board runs a P5020 or P5040 chip, and utilizes an EEPROM with similar formatting to the Freescale P5020DS. Large amounts of this code were developed by Adrian Cox Signed-off-by: Andy Fleming <aflem...@gmail.com> --- arch/powerpc/cpu/mpc85xx/Kconfig | 4 + board/varisys/

[U-Boot] [PATCH 1/2] rtc: Add MCP79411 support to DS1307 rtc driver

2015-10-21 Thread Andy Fleming
The code is from Adrian Cox, and is patterned after similar support in Linux (drivers/rtc/rtc-ds1307.c:1121-1135). This chip is used on the Cyrus board from Varisys. Signed-off-by: Andy Fleming <aflem...@gmail.com> --- drivers/rtc/Makefile | 2 +- drivers/rtc/ds1307.

[U-Boot] [PATCH 0/2] Add support for Varisys Cyrus board

2015-10-21 Thread Andy Fleming
Much of this code is patterned off the P5020DS support. The Cyrus board uses an MCP79411 rtc chip, so we add support for that before adding the board. Andy Fleming (2): rtc: Add MCP79411 support to DS1307 rtc driver mpc85xx: Add support for the Varisys Cyrus board arch/powerpc/cpu/mpc85xx

Re: [U-Boot] Relocation issue - need help!

2015-10-20 Thread Andy Fleming
0 at 21:35 +0200, Marek Vasut wrote: >> > > > > > > On Wednesday, September 30, 2015 at 08:24:10 PM, Andy Fleming >> > > > > > > wrote: >> > > > > > > >> > > > > > > Hi! >> > > >

Re: [U-Boot] Relocation issue - need help!

2015-10-02 Thread Andy Fleming
On Thu, Oct 1, 2015 at 9:18 AM, Wolfgang Denk wrote: > Dear Andy, > > In message >

Re: [U-Boot] Relocation issue - need help!

2015-09-30 Thread Andy Fleming
On Thu, Oct 23, 2014 at 8:10 AM, Wolfgang Denk wrote: > Dear Joakim, dear Dirk, > > In message > you > wrote: >> >> Ouch, that was a nasty surprise. > > Indeed. > >> > In my original mail I referenced this

[U-Boot] [PATCH] Change Andy Fleming's email address

2014-07-25 Thread Andy Fleming
Messages to aflem...@freescale.com now bounce, and should be directed to my personal address at aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com --- doc/feature-removal-schedule.txt | 2 +- doc/git-mailrc | 2 +- drivers/net/fm/memac_phy.c | 2 +- drivers

Re: [U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-07-01 Thread Andy Fleming
On Fri, Jun 27, 2014 at 4:37 AM, Pantelis Antoniou pantelis.anton...@gmail.com wrote: Hi Eli, On Jun 12, 2014, at 12:41 PM, Eli Billauer wrote: The current wait loop just reads the status 1 times, which makes the actual timeout period platform-dependent. The udelay() call within the

Re: [U-Boot] [PATCH 3/6] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2014-06-19 Thread Andy Fleming
On Sun, Jun 15, 2014 at 7:46 PM, Otavio Salvador ota...@ossystems.com.br wrote: This adds support to switch to 1.8V in case CMD11 succeeds. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- drivers/mmc/fsl_esdhc.c | 30 +++--- include/fsl_esdhc.h | 2

Re: [U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-06-19 Thread Andy Fleming
On Thu, Jun 12, 2014 at 4:41 AM, Eli Billauer eli.billa...@gmail.com wrote: The current wait loop just reads the status 1 times, which makes the actual timeout period platform-dependent. The udelay() call within the loop makes the new timeout ~100 ms. Signed-off-by: Eli Billauer

Re: [U-Boot] [PATCH v2] net: Add fixed phy driver

2013-09-02 Thread Andy Fleming
On Mon, Sep 2, 2013 at 7:30 AM, Christian Gmeiner christian.gmei...@gmail.com wrote: This patch is needed if the MAC is directly connected to a ethernet switch. In my case the FEC MAC is connected to a Micrel KSZ8895. All I need to to is configure my fixed phy/link like: #define

Re: [U-Boot] Some custodian changes

2013-08-09 Thread Andy Fleming
On Thu, Aug 8, 2013 at 10:39 AM, Tom Rini tr...@ti.com wrote: Hey all, I want to announce a few custodian changes. Andy Fleming is stepping down from both his PowerPC and MMC custodianships to go off and do something non-technical and fun for a while. I want to thank him for all his time

Re: [U-Boot] [PATCH v2] board/p1010rdb: add pin mux and sdhc support in any boot

2013-07-16 Thread Andy Fleming
On Sun, Jun 16, 2013 at 9:32 PM, Shengzhou Liu shengzhou@freescale.comwrote: SDHC pins are multiplexed with IFC and ULPI interfaces. This patch intends to enable SDHC function in case of NOR/NAND/SPI boot aside from SD boot. If esdhc is configured in hwconfig, u-boot will configure

Re: [U-Boot] [U-Boot, v7, 1/5] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-07-16 Thread Andy Fleming
On Wed, Jun 26, 2013 at 03:55:13PM +0200, Dirk Eibach wrote: From: Reinhard Pfau p...@gdsys.de Extend the tpm library with support for single authorized (AUTH1) commands as specified in the TCG Main Specification 1.2. (The internally used helper functions are implemented in a way that they

Re: [U-Boot] [U-Boot, v7, 2/5] i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0

2013-07-16 Thread Andy Fleming
On Wed, Jun 26, 2013 at 03:55:14PM +0200, Dirk Eibach wrote: From: Reinhard Pfau p...@gdsys.de if alen is 0: no longer start a write cycle before reading data. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Acked-by: Heiko Schocher

Re: [U-Boot] [U-Boot,v7,3/5] Add Atmel I2C tpm

2013-07-16 Thread Andy Fleming
On Wed, Jun 26, 2013 at 03:55:15PM +0200, Dirk Eibach wrote: From: Dirk Eibach eib...@gdsys.de Add support for Atmel TPM devices with two wire interface. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Reinhard Pfau reinhard.p...@gdsys.cc Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot, v7, 5/5] mpc85xx: Add gdsys ControlCenter Digital board

2013-07-16 Thread Andy Fleming
On Wed, Jun 26, 2013 at 03:55:17PM +0200, Dirk Eibach wrote: From: Dirk Eibach eib...@gdsys.de The gdsys ControlCenter Digital board is based on a Freescale P1022 QorIQ SOC. It boots from SPI-Flash but can be configured to boot from SD-card for factory programming and testing. On board

Re: [U-Boot] [U-Boot, v7, 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-07-16 Thread Andy Fleming
On Wed, Jun 26, 2013 at 03:55:16PM +0200, Dirk Eibach wrote: From: Dirk Eibach eib...@gdsys.de MAKEALL is fine for ppc4xx and mpc85xx. Run checks were done on our controlcenterd hardware. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Applied, thanks! Andy

Re: [U-Boot] [U-Boot, v3] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-07-16 Thread Andy Fleming
On Fri, Jul 05, 2013 at 11:59:26AM +0530, Prabhakar Kushwaha wrote: CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs. CONFIG_SPL_INIT_MINIMAL never creates any debug TLB entry, so no need of disable_tlb(). Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com

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

2013-07-16 Thread Andy Fleming
arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel (2013-07-16 09:20:16 -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 2a6936059a1f393d828274bf5d33dd54c0a3c882: powerpc/mpc85xx:Disable

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

2013-07-16 Thread Andy Fleming
The following changes since commit baa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf: arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel (2013-07-16 09:20:16 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up

Re: [U-Boot] drivers/mmc/dw_mmc - remove extra arch specific asm/arch/clk.h inclusion

2013-07-16 Thread Andy Fleming
without it. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Andy Fleming aflem...@gmail.com Cc: Rajeshwari Shinde rajeshwar...@samsung.com Cc: Amar amarendra...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Jaehoon Chung jh80.ch

Re: [U-Boot] fsl_esdhc: Touch only relevant sys ctrl bits

2013-07-16 Thread Andy Fleming
On Mon, Jul 15, 2013 at 03:44:29PM +0200, Dirk Behme wrote: Dealing with the sys ctrl register should touch only the relevant bits and not accidently the whole register. On i.MX6, the sys control register contains bits which shouldn't be reset to 0, e.g. SYS_CTRL[3-0] and IPP_RST_N

Re: [U-Boot] Powerpc: eSDHC: Fix mmc read write err in uboot of T4240QDS board

2013-07-16 Thread Andy Fleming
On Mon, Jul 01, 2013 at 02:26:01PM +0800, Haijun.Zhang wrote: Fill the right command type when using CMD12 to stop data transfer. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Fleming Andrew-AFLEMING aflem...@freescale.com CC: Scott Wood scottw...@freescale.com Applied to get

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Fix hang after 'save' command

2013-06-28 Thread Andy Fleming
On Thu, Jun 27, 2013 at 9:33 PM, Zhang Haijun-B42677 b42...@freescale.comwrote: Hi, Fleming ** ** I found the root cause. Our driver didn’t make a distinction between different board for this register. (Just distinguish by esdhc version) On p1025 board watermark level was

Re: [U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-28 Thread Andy Fleming
On Fri, Jun 14, 2013 at 4:14 AM, Wolfgang Denk w...@denx.de wrote: Dear Kim, In message 1371198068-3581-1-git-send-email...@denx.de you wrote: mpc8323erdb.c: In function 'mac_read_from_eeprom': mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Fix hang after 'save' command

2013-06-27 Thread Andy Fleming
On Thu, Jun 27, 2013 at 4:50 AM, Zhang Haijun-B42677 b42...@freescale.comwrote: Hi, Fleming and Fabio Sorry to reply to you so late. As our manual described. In the eSDHC, the data buffer can hold up to 128 words (32-bit). The watermark levels for both write and read can be configured

Re: [U-Boot] [PATCH 01/10 v5] powerpc/mpc85xx: support application without resetvec segment in the linker script

2013-06-27 Thread Andy Fleming
On Thu, Jun 27, 2013 at 5:01 PM, Tom Rini tr...@ti.com wrote: On Fri, Jun 21, 2013 at 07:36:09AM +0200, Wolfgang Denk wrote: Dear ying.zh...@freescale.com, In message 1371715468-21120-1-git-send-email-ying.zh...@freescale.com you wrote: --- a/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds

Re: [U-Boot] [PATCH 03/10 v5] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-06-27 Thread Andy Fleming
This patch was On Thu, Jun 27, 2013 at 5:03 PM, Tom Rini tr...@ti.com wrote: On Thu, Jun 20, 2013 at 04:04:21PM +0800, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com There will need the environment in SPL for reasons other than network support (in particular,

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: Connected

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 chris.pack...@alliedtelesis.co.nz 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

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] [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 prabha...@freescale.com Applied, with fixes. diff --git

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 at

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 is

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] [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 prabha...@freescale.com 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] [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 responsible

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 prabha...@freescale.com Applied, thanks! Fixed typo.

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 prabha...@freescale.com Applied, thanks! Fixed

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 prabha...@freescale.com Applied, thanks! Fixed typo Andy

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 york...@freescale.com Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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 fabio.este...@freescale.com 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

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 for

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 README

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 prabha...@freescale.com Applied, thanks! Andy

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 the

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 write

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 mingkai...@freescale.com 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

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 prabha...@freescale.com Applied, thanks! Andy ___ U-Boot mailing list

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 interfaces.

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 file,

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 b40...@freescale.com 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

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 prabha...@freescale.com Applied, thanks! Andy ___ U-Boot mailing list U-Boot@lists.denx.de

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 b40...@freescale.com 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

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 b40...@freescale.com 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

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 axel@ingics.com Applied, thanks! Andy ___ U-Boot mailing list

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 york...@freescale.com Applied, thanks! Andy ___ U-Boot

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 to

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

2013-06-21 Thread Andy Fleming
to 5707233880090f785c33df32c04549ea1aeef61e: powerpc/85xx: Add P1023RDB board support (2013-06-20 17:08:53 -0500) Andy Fleming (2): 85xx: Change clock-frequency compatible to 2.0 85xx: Change case of MPC85XX_PORBMSR_ROMLOC_SHIFT

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 b40...@freescale.com 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

Re: [U-Boot] [PATCH 10/10] powerpc: p1022ds: support TPL on the P1022DS

2013-06-19 Thread Andy Fleming
On Tue, Jun 18, 2013 at 12:54 PM, Scott Wood scottw...@freescale.comwrote: On 06/18/2013 10:37:02 AM, Timur Tabi wrote: On Tue, Jun 18, 2013 at 5:39 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com Support TPL on the P1022DS. Please define TPL. I have no idea

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

2013-06-19 Thread Andy Fleming
On Fri, Jun 7, 2013 at 4:25 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com Support to boot from spi flash. This patch is on top of the patch: powerpc/p1022ds: boot from SD Card with SPL Signed-off-by: Ying Zhang b40...@freescale.com ---

Re: [U-Boot] [PATCH v6 4/5] Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM

2013-06-19 Thread Andy Fleming
On Wed, Jun 12, 2013 at 3:08 AM, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach eib...@gdsys.de MAKEALL is fine for ppc4xx and mpc85xx. Run checks were done on our controlcenterd hardware. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc

Re: [U-Boot] Bug in fdt_fixup_fman_firmware

2013-06-18 Thread Andy Fleming
--- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -492,7 +492,7 @@ if (!p) return; - fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 0); + fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 16); if (!fmanfw) return; Could you submit this

Re: [U-Boot] [PATCH 2/2] powerpc/c29xpcie: add support for C29XPCIE board

2013-06-18 Thread Andy Fleming
On Wed, Apr 24, 2013 at 2:14 AM, Po Liu po@freescale.com wrote: From: Mingkai Hu mingkai...@freescale.com C29XPCIE board is a series of Freescale PCIe add-in cards to perform as public key crypto accelerator or secure key management module. It includes C293PCIE board, C293PCIE board and

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add C29x SoC support

2013-06-18 Thread Andy Fleming
On Wed, Apr 24, 2013 at 2:14 AM, Po Liu po@freescale.com wrote: From: Mingkai Hu mingkai...@freescale.com The Freescale C29x family is a high performance crypto co-processor. It combines a single e500v2 core with necessary SEC engine. There're three SoC types(C291, C292, C293) with the

Re: [U-Boot] MIPI-CSI Support question

2013-06-18 Thread Andy Fleming
On Thu, Apr 25, 2013 at 4:07 AM, tiger...@viatech.com.cn wrote: Hi, experts: MIPI(Mobile Industry Processor Interface) has defined many mobile device interface. Such as: CSI --- for Camera DSI --- for Display It seems DSI has samples on Exynos board.(in drivers\video directory) I want to

Re: [U-Boot] [PATCH v5 13/14] mmc: ftsdc010_mci: clk_get_rate() - clock_get_rate()

2013-06-17 Thread Andy Fleming
On Mon, Jun 17, 2013 at 7:07 AM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su dant...@faraday-tech.com This updates ftsdc010_mci.c for latest Faraday clock APIs. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Albert Aribaud albert.u.b...@aribaud.net CC: Andy Fleming

Re: [U-Boot] fsl_esdhc: Do not clear interrupt status bits until data processed

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 10:34:22AM -0500, Andrew Gabbasov wrote: After waiting for the command completion event, the interrupt status bits, that occured to be set by that time, are cleared by writing them back. It is supposed, that it should be command related bits (command complete and may be

Re: [U-Boot] [U-Boot, V3, REPOST, 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:00PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all related defines that must or can be set when using that option. Signed-off-by: Stephen Warren swar...@nvidia.com Reviewed-by: Peter

Re: [U-Boot] [U-Boot, V3, REPOST, 4/4] ARM: tegra: make use of negative ENV_OFFSET on NVIDIA boards

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:03PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Use a negative value of CONFIG_ENV_OFFSET for all NVIDIA reference boards that store the U-Boot environment in the 2nd eMMC boot partition. This makes U-Boot agnostic to the size of the

Re: [U-Boot] [U-Boot, V3, REPOST, 2/4] mmc: report capacity for the selected partition

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:01PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Enhance the MMC core to calculate the size of each MMC partition, and update mmc-capacity whenever a partition is selected. This causes: mmc dev 0 1 ; mmcinfo ... to report the size

Re: [U-Boot] [U-Boot, V3, REPOST, 3/4] env_mmc: allow negative CONFIG_ENV_OFFSET

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:02PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com A negative value of CONFIG_ENV_OFFSET is treated as a backwards offset from the end of the eMMC device/partition, rather than a forwards offset from the start. This is useful when a

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

2013-06-14 Thread Andy Fleming
The following changes since commit 077becc345717c3cf32e88316298b74d0cff6581: Merge branch 'master' of git://git.denx.de/u-boot-74xx-7xx (2013-06-11 18:11:47 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to

Re: [U-Boot] mmc: fsl_esdhc: Fix hang after 'save' command

2013-06-13 Thread Andy Fleming
On Tue, May 28, 2013 at 03:09:42PM -0300, Fabio Estevam wrote: Since commit 48e0b2bd (powerpc/esdhc: Correct judgement for DATA PIO mode) we see mx6 systems to hang after doing a 'save' command. Revert this commit since the original 'ifdef' logic from 7b43db92 (drivers/mmc/fsl_esdhc.c: fix

Re: [U-Boot] [U-Boot,V2] MMC: DWMMC: Fix FIFO_DEPTH calculation

2013-06-13 Thread Andy Fleming
/160247 Signed-off-by: Hatim Ali hatim...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org Acked-by: Jaehoon Chung jh80.ch...@samsung.com Acked-by: Andy Fleming aflem...@freescale.com Looks

Re: [U-Boot] [U-Boot, U-BOOT] mmc: sdhci: Enable 8-bit bus width only for 3.0 spec onwards

2013-06-13 Thread Andy Fleming
On Tue, May 21, 2013 at 03:01:36PM +0530, Jagannadha Sutradharudu Teki wrote: CAP register don't have any information for 8-bit buswidth support on 2.0 sdhci spec, only from 3.0 onwards bit[18] got this information. Due to this misassignment in sdhci, mmc is setting 8-bit buswidth using

Re: [U-Boot] [U-Boot, v2] mmc: fix env in mmc with redundant compile error

2013-06-13 Thread Andy Fleming
On Wed, May 15, 2013 at 09:38:16AM +0800, Bo Shen wrote: The commit d196bd8 (env_mmc: add support for redundant environment) introduce the following compile error when enable redundant environment support with MMC ---8--- env_mmc.c:149: error: 'env_t' has no member named 'flags'

Re: [U-Boot] mmc write bug fix

2013-06-13 Thread Andy Fleming
Karrman mats.karr...@tritech.se Cc: Andy Fleming aflem...@gmail.com Please use git to generate patches, if possible. This didn't apply cleanly, and required that I apply it by hand. However, applied it is. Andy ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH RFC] NET: TSEC: make PHY addresses software configurable

2013-06-11 Thread Andy Fleming
On Mon, Jun 10, 2013 at 8:45 AM, Wolfgang Denk w...@denx.de wrote: Some systems use a SoM (system on module) in such a way that the PHY addresses depend on the carrier board used, or even on the geographic position of the SoM on the carrier board. This patch adds support for runtime

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

2013-05-24 Thread Andy Fleming
The following changes since commit 53237afe5b64abe7b17fbfed958f3dc83f503ffa: cmd_mem: fix cp command (2013-05-24 10:38:08 -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 a71d45d706a5b51c348160163b6c159632273fed:

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

2013-05-23 Thread Andy Fleming
On Tue, Apr 16, 2013 at 2:58 AM, Prabhakar Kushwaha prabha...@freescale.com 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 prabha...@freescale.com I'm currently

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

2013-05-23 Thread Andy Fleming
On Thu, May 23, 2013 at 5:27 PM, Andy Fleming aflem...@gmail.com wrote: On Tue, Apr 16, 2013 at 2:58 AM, Prabhakar Kushwaha prabha...@freescale.com wrote: - Add NAND boot target - defines contants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot

Re: [U-Boot] [PATCH 1/5] arch/powerpc/cpu/mpc8xxx: PAMU driver support

2013-05-22 Thread Andy Fleming
On Thu, Mar 28, 2013 at 5:46 AM, Ruchika Gupta ruchika.gu...@freescale.comwrote: PAMU driver basic support for usage in Secure Boot. In secure boot PAMU is not in bypass mode. Hence to use any peripheral (SEC Job ring in our case), PAMU has to be configured. The Header file fsl_pamu.h and

Re: [U-Boot] [PATCH] mmc and fat bug fixes

2013-05-17 Thread Andy Fleming
On Thu, May 16, 2013 at 4:26 AM, Ruud Commandeur rcommand...@clb.nl wrote: Assuming this is necessary, I think it then might be time to reorder this: if (!blkcnt) -- possibly at the very start of the function. return 0; if (blkcnt == 1) cmd.cmdidx =

Re: [U-Boot] [PATCH] mmc and fat bug fixes

2013-05-15 Thread Andy Fleming
On Wed, May 15, 2013 at 9:23 AM, Ruud Commandeur rcommand...@clb.nl wrote: This patch fixes a number of mmc and fat-related bugs: Added a check for blkcnt 0 in mmc_write_blocks (drivers/mmc.c) to prevent a hangup for further mmc commands. You need more information than that. Why is some

Re: [U-Boot] [PATCH v2] mmc: fix env in mmc with redundant compile error

2013-05-15 Thread Andy Fleming
On Tue, May 14, 2013 at 8:38 PM, Bo Shen voice.s...@atmel.com wrote: The commit d196bd8 (env_mmc: add support for redundant environment) introduce the following compile error when enable redundant environment support with MMC ---8--- env_mmc.c:149: error: 'env_t' has no member named 'flags'

Re: [U-Boot] [PATCH] Add the symbol for the minimal SPL used to eliminate unused code

2013-05-15 Thread Andy Fleming
On Wed, May 15, 2013 at 2:02 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com Add the symbol CONFIG_SPL_BUILD_MINIMAL for the minimal SPL. It used to eliminate code unused in the minimal SPL but used in the SPL. This patch is on top of the following patch: 1.

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

2013-05-15 Thread Andy Fleming
The following changes since commit fb651b10d43be36e7d7e16704c4b5ea1e295587a: Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx (2013-05-15 08:41:04 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to

  1   2   3   4   5   6   >