Re: [U-Boot] [PATCH] BeagleBoard: Configure DVI/S-video

2011-04-21 Thread Igor Grinberg
On 04/21/11 02:52, Jason Kridner wrote: Based on patches from Syed Mohammed Khasim (kha...@ti.com). Configures the output of the BeagleBoard DVI to be orange. Configures the output of the BeagleBoard S-Video to be a colorbar. --- Updates for this version * Rebased on u-boot-ti.

Re: [U-Boot] [PATCH v3] USB: Remove __attribute__ ((packed)) for struct ehci_hccr and ehci_hcor

2011-04-21 Thread Igor Grinberg
On 04/21/11 02:52, Jason Kridner wrote: Remove __attribute__ ((packed)) to prevent byte access to soc registers in some gcc versions. Having patches to enable ehci for the BeagleBoard lying around for several month, this one was the show-stopper. Credits have to go to Laine Walker-Avina

[U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Shaohui Xie
From: Mingkai Hu mingkai...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- changes for v2: remove #ifdef wrapper and refactor

[U-Boot] [PATCH 2/2][v2] powerpc: make espi can read more than 0xFFFA bytes

2011-04-21 Thread Shaohui Xie
espi flash read returns invalid data if the read length is more than 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time, resister spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x, it need to be split into multiple transactions. Signed-off-by: Shaohui

Re: [U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation

2011-04-21 Thread Aneesh V
Hi Simon, Wolfgang, On Thursday 21 April 2011 12:04 AM, Simon Glass wrote: On Fri, Mar 25, 2011 at 11:35 AM, Albert ARIBAUDalbert.arib...@free.fr wrote: Le 25/03/2011 17:12, Aneesh V a écrit : Another problem I have with relocation is that it makes debugging with JTAG debugers more

[U-Boot] [PATCH v2 0/2] SMDKV310 Board Support

2011-04-21 Thread Chander Kashyap
Hi, This patchset adds support for a new board SMDKV310, based on S5PV310 SOC. This SOC is very similar to S5PC210 SOC, hence we are re-using this SOC code. Specific changes in PATCH v2 are mention in specific patch files. Chander Kashyap (2): ARMV7: Add support for Samsung SMDKV310 Board

[U-Boot] [PATCH v2 1/2] ARMV7: Add support for Samsung SMDKV310 Board

2011-04-21 Thread Chander Kashyap
SMDKV310 board is based on Samsung S5PV310 SOC. This SOC is very much similar to S5PC210. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for v2: - Coding Style Cleanup - Removed unwanted macros from board

[U-Boot] [PATCH v2 2/2] ARMV7: MMC SPL Boot support for SMDKV310 board

2011-04-21 Thread Chander Kashyap
Added MMC SPL boot support for SMDKV310. This framework design is based on nand_spl support. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- Makefile|9 ++ spl/board/samsung/smdkv310/Makefile | 103 +++

[U-Boot] [PATCH] sf: spansion: add support for new spansion flash

2011-04-21 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/spansion.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c index a3401b3..8835e96 100644 ---

[U-Boot] RFC: getramsize() prototype and volatile qualifier

2011-04-21 Thread Albert ARIBAUD
Hi all, Call it a detail, but I see that get_ram_size() calls sometime qualify their argument as volatile and sometimes not, and this makes checkpatch complain that volatiles are Bad(tm), which I would like to get fixed. The prototype for get_ram_size() in is longget_ram_size

Re: [U-Boot] Attention Buyer

2011-04-21 Thread led10-May
Hello Sir, Good day to you. This is May from DesirePower International Group in Shenzhen, China, which is specialized in LED lighting for several years. Top quality with low price of LED lights for you. E-catalogue is free for your learning if you are in need. Would you just take several

Re: [U-Boot] [PATCH] xilinx_ppc_boards: Change address of RESET_VECTOR

2011-04-21 Thread Stefan Roese
On Wednesday 12 January 2011 10:14:42 Ricardo Ribalda Delgado wrote: Old address of RESET_VECTOR were overwritten by the bss sector, making impossible its run from xmd. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [PATCH 0/8] ppc4xx: Update DLVision 10G support

2011-04-21 Thread Stefan Roese
On Wednesday 06 April 2011 13:53:42 Dirk Eibach wrote: Dirk Eibach (8): ppc4xx: Improve DLVision-10G PLL setup ppc4xx: Improve video board detection hwmon: Extend lm63.c to support LM64 ppc4xx: Adapt DLVision 10G to new FPGA firmware ppc4xx: Set DLVision 10G osd position to linux

[U-Boot] Please pull u-boot-ppc4xx/master

2011-04-21 Thread Stefan Roese
Hi Wolfgang, please pull the following ppc4xx patches: The following changes since commit 735eb0f0e66b544b1dfaf6c43ce6e4bd9ae64b5e: tools/env: fix redundant env flag comparison (2011-04-21 00:25:08 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git

Re: [U-Boot] [PATCH v2 3/4] ftsdmc020: move ftsdmc020.h to include/faraday

2011-04-21 Thread Albert ARIBAUD
Hi MacPaul, Le 21/04/2011 04:57, Macpaul Lin a écrit : HI Albert, 2011/4/16 Albert ARIBAUDalbert.u.b...@aribaud.net: Please resend a V3 patch set of the four patches, even if two of them are unchanged. Make sure all patches have their history updated, even the unchanged patches ('V3: no

Re: [U-Boot] Update and Cut down mach types

2011-04-21 Thread Albert ARIBAUD
Le 20/04/2011 21:26, Michael Schwingen a écrit : On 04/20/2011 07:49 PM, Albert ARIBAUD wrote: Le 20/04/2011 19:15, Michael Schwingen a écrit : Why don't we pull the original master mach-types file, and generate the required .h file(s) during make using the same (or a similar) script Linux

Re: [U-Boot] [PATCH v2 3/4] ftsdmc020: move ftsdmc020.h to include/faraday

2011-04-21 Thread Macpaul Lin
Hi Albert, 2011/4/21 Albert ARIBAUD albert.u.b...@aribaud.net: 91478 and 91479, though, I don't see their point: they are adding a file that obviously no one used before it was added, but that no one uses now. These header files are dead code, and should only be added in a patch where other

[U-Boot] The forbidden value in omap3-common timer.c code

2011-04-21 Thread Simon Schwarz
Hi there, I just started to work with the u-boot sources for my bachelor thesis. There was a part in the source which irritated me a bit. I talk about ./arch/arm/cpu/armv7/omap-common/timer.c It's about that part of code: #define TIMER_LOAD_VAL 0x int timer_init(void) { /*

Re: [U-Boot] [beagleboard] Re: [PATCH] Add 'led' command

2011-04-21 Thread Jason Kridner
Adding u-boot list seem to have missed it in my reply. On Thu, Apr 21, 2011 at 9:16 AM, Jason Kridner jkrid...@beagleboard.orgwrote: On Wed, Apr 20, 2011 at 6:04 PM, Wolfgang Denk w...@denx.de wrote: Dear Jason Kridner, In message

Re: [U-Boot] The forbidden value in omap3-common timer.c code

2011-04-21 Thread Bedia, Vaibhav
On Thursday, April 21, 2011 5:44 PM, Simon Schwarz wrote: Hi there, [...] It's about that part of code: #define TIMER_LOAD_VAL 0x IIRC there was a patch which corrected this reload value to 0. Regards, Vaibhav ___ U-Boot mailing list

Re: [U-Boot] [PATCH] cfi_flash: reverse geometry for M29W800DT parts

2011-04-21 Thread Stefan Roese
On Sunday 10 April 2011 22:06:29 Mike Frysinger wrote: The M29W800DT parts also report their geometry with the sector layout reversed. So add that ID to the flash_fixup_stm function. Otherwise, we get: bfin flinfo Bank # 1: CFI conformant FLASH (16 x 16) Size: 1 MB in 19 Sectors AMD

Re: [U-Boot] [PATCH v2] mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices

2011-04-21 Thread Stefan Roese
On Monday 11 April 2011 14:16:19 Heiko Schocher wrote: tested on the a4m072 board with a S29GL512P flash. flinfo without this patch Bank # 1: CFI conformant flash (16 x 16) Size: 32 MB in 256 Sectors AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E Erase timeout:

Re: [U-Boot] [PATCH] cfi_flash driver - Add delay after reset command

2011-04-21 Thread Stefan Roese
On Tuesday 12 April 2011 09:59:04 Aaron Williams wrote: I ran into a problem where the reset was failing except when I enabled debugging support. After talking with Garret Swalling at Spansion I was told that the GL-N series of devices require a 500ns wait for the reset to complete. The

[U-Boot] Please pull u-boot-cfi-flash

2011-04-21 Thread Stefan Roese
Hi Wolfgang, please pull the following patches: The following changes since commit 735eb0f0e66b544b1dfaf6c43ce6e4bd9ae64b5e: tools/env: fix redundant env flag comparison (2011-04-21 00:25:08 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git master

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Wolfgang, Dear Graeme Russ, In message BANLkTimdJkETWEOrJFuxq4hN8gG+DvY=-a...@mail.gmail.com you wrote: What about my other suggestion - A checkpatch summary with an expalation for any warnings or errors? See for example my heads-up for checkpatch warnings -

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Scott, I vote for checkpatch is a tool that can help you find some style problems, but is imperfect, and the things it complains about are of varying importance. If you insist on zero warnings, what's the difference between a warning and an error? And will there then be a U-Boot-specific

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Eric Cooper
On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather than actual changes can also be ignored. How about

Re: [U-Boot] [beagleboard] Re: [PATCH] Add 'led' command

2011-04-21 Thread Jason Kridner
On Thu, Apr 21, 2011 at 9:17 AM, Jason Kridner jkrid...@beagleboard.orgwrote: Adding u-boot list seem to have missed it in my reply. On Thu, Apr 21, 2011 at 9:16 AM, Jason Kridner jkrid...@beagleboard.orgwrote: On Wed, Apr 20, 2011 at 6:04 PM, Wolfgang Denk w...@denx.de wrote: Dear

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Fabian Cenedese
At 10:49 21.04.2011 -0400, Eric Cooper wrote: On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather than actual

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Eric Cooper
On Thu, Apr 21, 2011 at 04:56:36PM +0200, Fabian Cenedese wrote: Is that even possible? The cosmetic patch itself will be surrounded by context lines which may fire up a warning. So these lines need to be changed as well to satisy checkpatch. But this new patch will again include several

Re: [U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation

2011-04-21 Thread Simon Glass
On Wed, Apr 20, 2011 at 11:56 PM, Aneesh V ane...@ti.com wrote: Hi Simon, Wolfgang, On Thursday 21 April 2011 12:04 AM, Simon Glass wrote: On Fri, Mar 25, 2011 at 11:35 AM, Albert ARIBAUDalbert.arib...@free.fr  wrote: Le 25/03/2011 17:12, Aneesh V a écrit : Another problem I have with

[U-Boot] Notification

2011-04-21 Thread Western Union Money
Confirm the receipt of $50,000 from western union by filling the details to the Transfer Manager Mr.Eddy James: WESTERN UNION WINNER BIODATAS Form 1. Name: 2. Address 3. Country : 4. Phone Number 5. Occupation: 6. Sex :.. 7. Age ___ U-Boot mailing

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Fabi, At 10:49 21.04.2011 -0400, Eric Cooper wrote: On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Eric, On Thu, Apr 21, 2011 at 04:56:36PM +0200, Fabian Cenedese wrote: Is that even possible? The cosmetic patch itself will be surrounded by context lines which may fire up a warning. So these lines need to be changed as well to satisy checkpatch. But this new patch will again include

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Eric, On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather than actual changes can also be ignored. How

Re: [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version

2011-04-21 Thread Stefano Babic
On 04/15/2011 08:07 PM, Stefano Babic wrote: On 04/12/2011 04:18 AM, Fabio Estevam wrote: Use the same method of the Linux kernel to print the MX31 silicon version on boot. Tested on a MX31PDK with a 2.0 silicon, where it shows: CPU: Freescale i.MX31 rev 2.0 at 531 MHz Signed-off-by:

[U-Boot] [PATCH] MX31: drop warnings in get_cpu_rev

2011-04-21 Thread Stefano Babic
Drop warnings due to recent commit ARM: mx31: Print the silicon version Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- arch/arm/include/asm/arch-mx31/imx-regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Scott Wood
On Thu, 21 Apr 2011 16:29:17 +0200 Detlev Zundel d...@denx.de wrote: Hi Scott, I vote for checkpatch is a tool that can help you find some style problems, but is imperfect, and the things it complains about are of varying importance. If you insist on zero warnings, what's the difference

Re: [U-Boot] [PATCH] mtd/spi/macronix.c: add MX25L4005 and MX25L8005

2011-04-21 Thread Mike Frysinger
On Wed, Apr 20, 2011 at 10:51 PM, Macpaul Lin wrote: Add support of MX25L4005 and MX25L8005 according to the datasheet http://www.mct.net/download/macronix/mx25l8005.pdf This patch has been tested with MX25L4005 and MX25L8005 thanks, added to my sf branch -mike

Re: [U-Boot] RFC: getramsize() prototype and volatile qualifier

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 3:09 AM, Albert ARIBAUD wrote: Call it a detail, but I see that get_ram_size() calls sometime qualify their argument as volatile and sometimes not, and this makes checkpatch complain that volatiles are Bad(tm), which I would like to get fixed. The prototype for

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: --- a/include/spi.h +++ b/include/spi.h  /* Controller-specific definitions: */  /* CONFIG_HARD_SPI triggers SPI bus initialization in PowerPC */ -#ifdef CONFIG_MPC8XXX_SPI +#if defined(CONFIG_MPC8XXX_SPI) || defined(CONFIG_FSL_ESPI)  #

Re: [U-Boot] [PATCH 2/2][v2] powerpc: make espi can read more than 0xFFFA bytes

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 2:05 AM, Shaohui Xie wrote: espi flash read returns invalid data if the read length is more than 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time, resister spcom[TRANLEN] is 16 bits. If the transaction length is greater than  0x, it need to be

Re: [U-Boot] [PATCH 1/1] mx5: drop boot cause code from board support code

2011-04-21 Thread Stefano Babic
On 04/20/2011 12:47 PM, Jason Liu wrote: The boot cause code has been factor out to soc common code,we need drop the part from the board support code Signed-off-by: Jason Liu jason@linaro.org Hi Jason, --- board/efikamx/efikamx.c | 30 ++

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Stefano Babic
On 04/20/2011 12:47 PM, Jason Liu wrote: +int board_mmc_getcd(u8 *cd, struct mmc *mmc) +{ + struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc-priv; + + if (cfg-esdhc_base == MMC_SDHC1_BASE_ADDR) + *cd = mxc_gpio_get(77); /*GPIO3_13*/ + else + *cd

Re: [U-Boot] [PATCH v4 1/3] ARM: MX31: Fix file name label

2011-04-21 Thread Stefano Babic
On 04/16/2011 04:54 AM, Fabio Estevam wrote: Commit 5d2c154 (IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers) renamed mx31-imx-regs.h to imx-regs.h. Change the file label accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx,

Re: [U-Boot] RFC: getramsize() prototype and volatile qualifier

2011-04-21 Thread Albert ARIBAUD
Le 21/04/2011 19:02, Mike Frysinger a écrit : On Thu, Apr 21, 2011 at 3:09 AM, Albert ARIBAUD wrote: Call it a detail, but I see that get_ram_size() calls sometime qualify their argument as volatile and sometimes not, and this makes checkpatch complain that volatiles are Bad(tm), which I would

Re: [U-Boot] [PATCH V5 1/2] MX5: factor out boot cause funciton to common code

2011-04-21 Thread Stefano Babic
On 04/20/2011 12:47 PM, Jason Liu wrote: factor out boot cause funciton to common code to avoid the duplicate code in each board support package Signed-off-by: Jason Liu jason@linaro.org --- change since v4: - make common code soc specific changes since v3: - add full boot reset

Re: [U-Boot] [PATCH] MX31: drop warnings in get_cpu_rev

2011-04-21 Thread Stefano Babic
On 04/21/2011 06:09 PM, Stefano Babic wrote: Drop warnings due to recent commit ARM: mx31: Print the silicon version Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- Applied directly to u-boot-imx, as fix. regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Kumar Gala
On Apr 21, 2011, at 12:10 PM, Mike Frysinger wrote: On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: --- a/include/spi.h +++ b/include/spi.h /* Controller-specific definitions: */ /* CONFIG_HARD_SPI triggers SPI bus initialization in PowerPC */ -#ifdef CONFIG_MPC8XXX_SPI +#if

[U-Boot] [PATCH] powerpc/85xx: handle both secX.Y and sec-vX.Y properties

2011-04-21 Thread Kumar Gala
From: Kim Phillips kim.phill...@freescale.com versioned SEC properties changed names during development, so for now search and update LIODNs for both secX.Y and sec-vX.Y based properties. Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org

[U-Boot] [PATCH] powerpc/85xx: Enable ESDHC111 erratum on P2040/P3041/P5010/P5020 SoCs

2011-04-21 Thread Kumar Gala
From: Lei Xu b33...@freescale.com The workaround for ESDHC111 should also be applied on P2040/P3041/P5010/P5020 SoCs. Signed-off-by: Lei Xu b33...@freescale.com Signed-off-by: Roy Zang tie-fei.z...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

[U-Boot] [PATCH 1/3] powerpc/85xx: Enable eSPI controller SPI bootsupport on P2020DS

2011-04-21 Thread Kumar Gala
From: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Zhao Chenhui b35...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- boards.cfg|1 + include/configs/P2020DS.h | 28

[U-Boot] [PATCH 2/3] powerpc/85xx: Enable eSPI support for p1_p2_rdb

2011-04-21 Thread Kumar Gala
From: Priyanka Jain priyanka.j...@freescale.com Also added support to save env to spi flash in case of SPIBOOT. Signed-off-by: Priyanka Jain priyanka.j...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- include/configs/P1_P2_RDB.h | 18 -- 1 files

[U-Boot] [PATCH] powerpc/85xx: Change timebase divisor to be defined per processor

2011-04-21 Thread Kumar Gala
Introduce new CONFIG_SYS_FSL_TBCLK_DIV on 85xx platforms because different SoCs have different divisor amounts. All the PQ3 parts are /8, the P4080/P4080 is /16, and P2040/P3041/P5020 are /32. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc85xx/cpu.c|

Re: [U-Boot] [PATCH 1/3] powerpc/85xx: Enable eSPI controller SPI bootsupport on P2020DS

2011-04-21 Thread Scott Wood
On Thu, 21 Apr 2011 13:54:01 -0500 Kumar Gala ga...@kernel.crashing.org wrote: From: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Zhao Chenhui b35...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

[U-Boot] [PATCH] MX31: Make get_cpu_rev() and get_reset_cause() static

2011-04-21 Thread Fabio Estevam
Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/arm1136/mx31/generic.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index 18572b9..c17c738 100644 ---

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 2:13 PM, Kumar Gala wrote: On Apr 21, 2011, at 12:10 PM, Mike Frysinger wrote: On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: --- a/include/spi.h +++ b/include/spi.h /* Controller-specific definitions: */ /* CONFIG_HARD_SPI triggers SPI bus initialization in

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: +struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, +               unsigned int max_hz, unsigned int mode) +{ + ccsr_espi_t *espi = (void *)(CONFIG_SYS_MPC85xx_ESPI_ADDR); you support just one bus ? that's no fun

Re: [U-Boot] RFC: getramsize() prototype and volatile qualifier

2011-04-21 Thread Mike Frysinger
On Thu, Apr 21, 2011 at 1:50 PM, Albert ARIBAUD wrote: Le 21/04/2011 19:02, Mike Frysinger a écrit : On Thu, Apr 21, 2011 at 3:09 AM, Albert ARIBAUD wrote: Call it a detail, but I see that get_ram_size() calls sometime qualify their argument as volatile and sometimes not, and this makes

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-21 Thread Wolfgang Denk
Dear John Rigby, In message banlktikmfdknysqnoe6kvgjpdk2buxt...@mail.gmail.com you wrote: If you are discussing requirements for U-Boot, and plan to get these merged in to mainlineU-Boot one day, it would probably be a good idea to discuss these plans on the U-Boot mailing list as well -

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Wolfgang Denk
Dear Stefano Babic, In message 4db06cbe.8050...@denx.de you wrote: On 04/20/2011 12:47 PM, Jason Liu wrote: +int board_mmc_getcd(u8 *cd, struct mmc *mmc) +{ + struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc-priv; + + if (cfg-esdhc_base == MMC_SDHC1_BASE_ADDR) +

Re: [U-Boot] [PATCH 1/3] ARM: don't panic if no flash is there

2011-04-21 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Lo=EFc?= Minier, In message 20110418094025.gc11...@bee.dooz.org you wrote: Would it be possible to introduce a QEMU Versatile board in U-Boot derived from the regular Versatile board's config? It would disable the things that aren't (yet) supported in QEMU or too

Re: [U-Boot] [PATCH v4 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-21 Thread Wolfgang Denk
Dear Simon Glass, In message banlktikgucjpun2rhs2t2nyq4_kb9gk...@mail.gmail.com you wrote: + eth = usb_eth[usb_max_eth_dev].eth_dev; Index for eth is usb_max_eth_dev. @@ -100,7 +102,10 @@ static void probe_valid_drivers(struct usb_device * dev) *

Re: [U-Boot] [PATCH v3 1/4] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-21 Thread Wolfgang Denk
Dear Simon Glass, In message BANLkTin=5wsszPvwDW_q=Vb44ep0zmP=k...@mail.gmail.com you wrote: Thanks, yes - have done a better rebase so can test properly now. (where do I get ppc_8xx-gcc so I can use MAKEALL?) ELDK is your friend. Best regards, Wolfgang Denk -- DENX Software Engineering

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Graeme Russ
On 22/04/11 02:10, Scott Wood wrote: On Thu, 21 Apr 2011 16:29:17 +0200 Detlev Zundel d...@denx.de wrote: Hi Scott, I vote for checkpatch is a tool that can help you find some style problems, but is imperfect, and the things it complains about are of varying importance. If you insist on

Re: [U-Boot] [PATCH v4 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-21 Thread Simon Glass
On Thu, Apr 21, 2011 at 4:38 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message banlktikgucjpun2rhs2t2nyq4_kb9gk...@mail.gmail.com you wrote: +             eth = usb_eth[usb_max_eth_dev].eth_dev; Index for eth is usb_max_eth_dev. @@ -100,7 +102,10 @@ static void

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Kumar Gala
On Apr 21, 2011, at 4:25 PM, Mike Frysinger wrote: On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: +struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, + unsigned int max_hz, unsigned int mode) +{ + ccsr_espi_t *espi = (void

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Kumar Gala
On Apr 21, 2011, at 4:20 PM, Mike Frysinger wrote: On Thu, Apr 21, 2011 at 2:13 PM, Kumar Gala wrote: On Apr 21, 2011, at 12:10 PM, Mike Frysinger wrote: On Thu, Apr 21, 2011 at 2:04 AM, Shaohui Xie wrote: --- a/include/spi.h +++ b/include/spi.h /* Controller-specific definitions: */ /*

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-21 Thread Zach Pfeffer
What else?  I know one issue maybe why does this need to exist when other solutions exist.  I think that since Android uses it, it is somewhat of a de facto standard. Oh. Android uses it. It must be The Right Thing (TM), then, I guess. Probably like some of the Linux kernel code they use.

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 1:43 AM, Stefano Babic sba...@denx.de wrote: On 04/20/2011 12:47 PM, Jason Liu wrote: +int board_mmc_getcd(u8 *cd, struct mmc *mmc) +{ +     struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc-priv; + +     if (cfg-esdhc_base == MMC_SDHC1_BASE_ADDR)

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Xie Shaohui-B21989
From: vapierfil...@gmail.com [mailto:vapierfil...@gmail.com] On Behalf Of Mike Frysinger Sent: Friday, April 22, 2011 5:25 AM To: Xie Shaohui-B21989 Cc: u-boot@lists.denx.de; Gala Kumar-B11780; Zang Roy-R61911; Hu Mingkai- B21284 Subject: Re: [PATCH 1/2][v2] powerpc: eSPI and eSPI controller

Re: [U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Xie Shaohui-B21989
-Original Message- From: vapierfil...@gmail.com [mailto:vapierfil...@gmail.com] On Behalf Of Mike Frysinger Sent: Friday, April 22, 2011 1:10 AM To: Xie Shaohui-B21989 Cc: u-boot@lists.denx.de; Gala Kumar-B11780; Zang Roy-R61911; Hu Mingkai- B21284 Subject: Re: [PATCH 1/2][v2] powerpc:

[U-Boot] ubi command in u-boot

2011-04-21 Thread Ratheendran R
Dear All, I am presently trying to port UBI filesystem for TQ2440 board, my u-boot do not support the UBI command. Please let me wither we can do copy ubi image without u-boot's UBI support.if there is work around let me know this can be done. I tried nand write.e command support by my uboot to

Re: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 12:36 PM, Jason Hui jason@linaro.org wrote: Hi, Stefano, On Fri, Apr 22, 2011 at 1:43 AM, Stefano Babic sba...@denx.de wrote: On 04/20/2011 12:47 PM, Jason Liu wrote: +int board_mmc_getcd(u8 *cd, struct mmc *mmc) +{ +     struct fsl_esdhc_cfg *cfg

Re: [U-Boot] [PATCH 1/1] mx5: drop boot cause code from board support code

2011-04-21 Thread Jason Hui
Hi, Stefano, On Fri, Apr 22, 2011 at 1:18 AM, Stefano Babic sba...@denx.de wrote: On 04/20/2011 12:47 PM, Jason Liu wrote: The boot cause code has been factor out to soc common code,we need drop the part from the board support code Signed-off-by: Jason Liu jason@linaro.org Hi Jason,

Re: [U-Boot] RFC: getramsize() prototype and volatile qualifier

2011-04-21 Thread Albert ARIBAUD
Le 22/04/2011 00:28, Mike Frysinger a écrit : On Thu, Apr 21, 2011 at 1:50 PM, Albert ARIBAUD wrote: Le 21/04/2011 19:02, Mike Frysinger a écrit : On Thu, Apr 21, 2011 at 3:09 AM, Albert ARIBAUD wrote: Call it a detail, but I see that get_ram_size() calls sometime qualify their argument as