[U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-27 Thread Chang-Ming.Huang
From: Jerry Huang The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to support QE 500MHZ and this new board supports 512MB DDR since 2008, but the u-boot only supports 256MB DDR and 66.6MHz oscillator on top tree, For 512MB DDR: BAT0 is used for the first 256MB memory, BAT4 i

[U-Boot] [PATCH 2/2 v2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Chang-Ming.huang
From: Jerry Huang It is sometimes necessary to force the I2C module to become the I2C bus master out of reset and drive SCL(even though SDA may already be driven, which indicates that the bus is busy). This can occur when a system reset does not cause all I2C devices to be reset. Thus, SDA can be

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Joakim Tjernlund
> From: > > From: Jerry Huang > > It is sometimes necessary to force the I2C module to become the I2C bus master > out of reset and drive SCL(even though SDA may already be driven, > which indicates that the bus is busy). This can occur when a system reset > does not cause all I2C devices to be r

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Huang Changming-R66093
Thanks and Best Regards Jerry Huang > -Original Message- > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > Sent: Thursday, October 27, 2011 3:26 PM > To: Huang Changming-R66093 > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to becom

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Huang Changming-R66093
Thanks and Best Regards Jerry Huang > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Huang Changming-R66093 > Sent: Thursday, October 27, 2011 3:40 PM > To: Joakim Tjernlund > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Joakim Tjernlund
Huang Changming-R66093 wrote on 2011/10/27 09:40:23: > > > Thanks and Best Regards > Jerry Huang > > > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se] > > Sent: Thursday, October 27, 2011 3:26 PM > > To: Huang Changming-R66093 > > Cc: u-boot@lists.den

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Joakim Tjernlund
Huang Changming-R66093 wrote on 2011/10/27 09:51:49: > > > > Thanks and Best Regards > Jerry Huang > > > > -Original Message- > > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > > On Behalf Of Huang Changming-R66093 > > Sent: Thursday, October 27, 2011 3:40 PM >

[U-Boot] [PATCH] misc:pmic:samsung Enable PMIC driver at C210 Universal target

2011-10-27 Thread Lukasz Majewski
Enable support for PMIC driver at C210 Universal reference target. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Depend on: "New generic PMIC framework" http://patchwork.ozlabs.org/patch/118071/ http://patchwork.ozlabs.org/patch/117565/ http://patchwork.ozlabs

[U-Boot] [PATCH v5 2/3] usb:gadget:s5p Enable the USB Gadget framework at GONI

2011-10-27 Thread Lukasz Majewski
This commit enables support for USB Gadgets on the GONI reference target. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang Cc: Remy Bohmer --- Changes for v2: - None Changes for v3: - Error handlers for max8998_set_ldo functions Changes for v4:

[U-Boot] [PATCH v5 0/3] usb:gadget:s5p USB Device Controller (UDC) implementation

2011-10-27 Thread Lukasz Majewski
This patch series adds support for Samsung's USB Device Controller (UDC) on GONI/Universal C210 reference targets. Lukasz Majewski (3): usb:gadget:s5p USB Device Controller (UDC) implementation usb:gadget:s5p Enable the USB Gadget framework at GONI usb:gadget:s5p Enable the USB Gadget framew

[U-Boot] [PATCH v1 3/3] usb:gadget:s5p Enable the USB Gadget framework at C210 Universal

2011-10-27 Thread Lukasz Majewski
This commit enables support for USB Gadgets on the C210 Universal reference target. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Depend on: "New generic PMIC framework" http://patchwork.ozlabs.org/patch/118071/ http://patchwork.ozlabs.org/patch/117565/ http:/

[U-Boot] [PATCH] sh: avoid multiple definition errors with cache funcs

2011-10-27 Thread Mike Frysinger
Recent builds for SH4 boards fail with a lot of errors like: cmd_mem.o: In function 'dcache_invalid_range': include/asm/cache.h:25: multiple definition of 'dcache_invalid_range' include/asm/cache.h:25: first defined here This is due to the funcs being defined in the header,

Re: [U-Boot] [PATCH V2] ARM: orion5x: reduce dependence of including platform file

2011-10-27 Thread Prafulla Wadaskar
> -Original Message- > From: Lei Wen [mailto:lei...@marvell.com] > Sent: Wednesday, October 26, 2011 7:52 AM > To: Wolfgang Denk; Albert ARIBAUD; Prafulla Wadaskar; u- > b...@lists.denx.de > Subject: [PATCH V2] ARM: orion5x: reduce dependence of > including platform file > > For files li

Re: [U-Boot] [PATCH] mx51evk: Remove unneeded '1' from mx51evk.h

2011-10-27 Thread Stefano Babic
On 10/24/2011 08:24 PM, Fabio Estevam wrote: > Remove unneeded '1' from mx51evk.h. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx51evk.h | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h > in

Re: [U-Boot] [PATCH] mx51evk: Remove unused get_board_rev function

2011-10-27 Thread Stefano Babic
On 10/26/2011 09:01 PM, Fabio Estevam wrote: > No board information is passed for MX51EVK, so remove get_board_rev function. > > Signed-off-by: Fabio Estevam > --- > Stefano, > > This patch applies on u-boot-imx with my previous mx51evk.h cleanup patch > applied: > http://www.mail-archive.com/u

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-27 Thread Prafulla Wadaskar
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: Wednesday, October 26, 2011 2:41 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Mike Frysinger > Subject: Re: [U-Boot] [PATCH] mvgbe: fix network device indices > > Am Freitag 21 Oktober 2011, 10:09:15 s

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Huang Changming-R66093
> > > > > > > > The above sequence is different than the kernel version, why? > > > > > > I don't know the kernel version, but I write the u-boot code > according > > > to the Reference Manual of PowerPC, e.g p1022: > > > 11.5.6 Generation of SCL When SDA Low > > > It is sometimes necessary to forc

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Huang Changming-R66093
> > > > The above sequence is different than the kernel version, why? > > > > > > I don't know the kernel version, but I write the u-boot code > according > > > to the Reference Manual of PowerPC, e.g p1022: > > > 11.5.6 Generation of SCL When SDA Low > > > It is sometimes necessary to force the I2

[U-Boot] ea20 patches

2011-10-27 Thread Stefano Babic
Hi, do you have any open issues with my patchset (ea20 patches) ? http://patchwork.ozlabs.org/patch/117783/ If not, can you merge them into u-boot-ti ? Thanks, Stefano -- = DENX Software Engineering GmbH, MD: Wolfgang Den

[U-Boot] [PATCH 1/3] ColdFire:Moving the remaining coldfire boards to boards.cfg

2011-10-27 Thread Jason Jin
Move the coldfire boards to boards.cfg. The config name for the EB+MCF-EV123 boards are changed to EB-MCF-EV123 as the '+' cannot be recognized. Signed-off-by: Jason Jin --- Makefile | 108 boards.cfg | 13 +++ 2 files changed

[U-Boot] [PATCH 3/3] ColdFire: The EB+MCF-EV123 boards config update

2011-10-27 Thread Jason Jin
Update the config.mk for EB+MCF-EV123 boards according to the config change from Makefile to boards.cfg. Signed-off-by: Jason Jin --- board/BuS/EB+MCF-EV123/config.mk |1 - board/BuS/EB+MCF-EV123/textbase.mk |1 - 2 files changed, 0 insertions(+), 2 deletions(-) delete mode 100644 boa

[U-Boot] [PATCH 2/3] ColdFire: Fix the compile issue for M52277

2011-10-27 Thread Jason Jin
After commit 327474f854a33b5b7a11c374b0446d1d40d9f673, the M52277EVB_stmicro configuration fail to build. Fix it by moving the env outside the flash and update the lds file. Signed-off-by: Jason Jin --- board/freescale/m52277evb/u-boot.lds |3 --- include/configs/M52277EVB.h |6

Re: [U-Boot] [PATCH] mvgbe: fix network device indices

2011-10-27 Thread Michael Walle
Am Do, 27.10.2011, 11:12 schrieb Prafulla Wadaskar: >> > If I understood it correctly, >> > In current implementation, if only egiga1 device is enabled >> on the board, >> > then it will assign MAC address associated with environment >> variable >> > "ethaddr". >> yes but the current mvgbe driver w

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Joakim Tjernlund
Huang Changming-R66093 wrote on 2011/10/27 11:26:04: > > > > > > The above sequence is different than the kernel version, why? > > > > > > > > I don't know the kernel version, but I write the u-boot code > > according > > > > to the Reference Manual of PowerPC, e.g p1022: > > > > 11.5.6 Generation

[U-Boot] [PATCH 1/6] mx53evk: Remove unneeded '1' from mx51evk.h

2011-10-27 Thread Fabio Estevam
Remove unneeded '1' from mx53evk.h. Cc: Jason Liu Signed-off-by: Fabio Estevam --- include/configs/mx53evk.h | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index c1941e3..a5d403f 100644 --- a/include/

[U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function

2011-10-27 Thread Fabio Estevam
No board information is passed for MX53EVK, so remove get_board_rev function. Cc: Jason Liu Signed-off-by: Fabio Estevam --- board/freescale/mx53evk/mx53evk.c |5 - include/configs/mx53evk.h |1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH 3/6] mx53ard: Remove unused get_board_rev function

2011-10-27 Thread Fabio Estevam
No board information is passed for MX53ARD, so remove get_board_rev function. Signed-off-by: Fabio Estevam --- board/freescale/mx53ard/mx53ard.c |5 - include/configs/mx53ard.h |1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale/mx53ard/mx53ar

[U-Boot] [PATCH 4/6] mx53smd: Remove unused get_board_rev function

2011-10-27 Thread Fabio Estevam
No board information is passed for MX53SMD, so remove get_board_rev function. Signed-off-by: Fabio Estevam --- board/freescale/mx53smd/mx53smd.c |5 - include/configs/mx53smd.h |1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale/mx53smd/mx53sm

[U-Boot] [PATCH 5/6] mx53loco: Remove unused get_board_rev function

2011-10-27 Thread Fabio Estevam
No board information is passed for MX53LOCO, so remove get_board_rev function. Cc: Jason Liu Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |5 - include/configs/mx53loco.h |1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/free

[U-Boot] [PATCH 6/6] vision2: Remove unused get_board_rev function

2011-10-27 Thread Fabio Estevam
No board information is passed for VISION2, so remove get_board_rev function. Signed-off-by: Fabio Estevam --- board/ttcontrol/vision2/vision2.c |9 - include/configs/vision2.h |1 - 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/board/ttcontrol/vision2/v

[U-Boot] [PATCH V3 2/3] mx31: add ESD control registers

2011-10-27 Thread Helmut Raiger
This allows to initialize DDR memory in C code. Currently all mx31 boards use assembler code (lowlevel_init.S) Signed-off-by: Helmut Raiger --- V2: new in V2 V3: no changes arch/arm/include/asm/arch-mx31/imx-regs.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) dif

[U-Boot] [PATCH V3 3/3] mx31: Add board support for HALE TT-01

2011-10-27 Thread Helmut Raiger
This adds basic board support for TT-01 based on the Bluetechnix i.MX31 SOM. Currently only NOR-Flash boot is implemented. Signed-off-by: Helmut Raiger --- V2: - MAINTAINER updated and used board.cfg instead of Makefile change - eliminated config.mk - replaced __REG accessors (WEIM and ESD

[U-Boot] [PATCH V3 1/3] mx31: define pins and init for UART2 and CSPI3

2011-10-27 Thread Helmut Raiger
Signed-off-by: Helmut Raiger --- V2: no changes since V1 V3: fixed multiline comment, rebased to u-boot-imx arch/arm/cpu/arm1136/mx31/devices.c | 15 +++ arch/arm/include/asm/arch-mx31/clock.h|1 + arch/arm/include/asm/arch-mx31/imx-regs.h | 16 3

[U-Boot] [PATCH v2 1/6] mx53evk: Remove unneeded '1' from mx53evk.h

2011-10-27 Thread Fabio Estevam
Remove unneeded '1' from mx53evk.h. Cc: Jason Liu Signed-off-by: Fabio Estevam --- Changes since v1: - Fix board name in Subject include/configs/mx53evk.h | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk

Re: [U-Boot] ea20 patches

2011-10-27 Thread Paulraj, Sandeep
>http://patchwork.ozlabs.org/patch/117783/ > >If not, can you merge them into u-boot-ti ? > >Thanks, >Stefano will do --Sandeep ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/3] omap3: mem: clean-up patches

2011-10-27 Thread Sanjeev Premi
This patchset makes no real change that would impact execution flow. All changes should help in better readability. It was created against u-boot-ti/master. Compile tested with omap3_evm_config and omap3_beagle_config Sanjeev Premi (3): omap3: mem: Define and use common macros omap3: mem: Cl

[U-Boot] [PATCH 1/3] omap3: mem: Define and use common macros

2011-10-27 Thread Sanjeev Premi
Define common macros to arrive at the values of registers SDRC_ACTIM_CTRLA and SDRC_ACTIM_CTRLB for different memory types. This doesn't make any real change in the execution but helps readability. Signed-off-by: Sanjeev Premi Cc: Sandeep Paulraj --- arch/arm/include/asm/arch-omap3/mem.h | 8

[U-Boot] [PATCH 2/3] omap3: mem: Clean-up whitespaces

2011-10-27 Thread Sanjeev Premi
Consistent use of TABs and align definitions with neighbouring code. Signed-off-by: Sanjeev Premi Cc: Sandeep Paulraj --- arch/arm/include/asm/arch-omap3/mem.h | 52 1 files changed, 26 insertions(+), 26 deletions(-) diff --git a/arch/arm/include/asm/arch-oma

[U-Boot] [PATCH 3/3] omap3: mem: Move comments next to definitions

2011-10-27 Thread Sanjeev Premi
Calculations for ACTIM_CTRLA amd ACTIM_CTRLB values are defined in 'header' style comments. Moved them along with definitions. Should help maintain consistency between comments and code if any of these are tweaked in future. Signed-off-by: Sanjeev Premi Cc: Sandeep Paulraj --- arch/arm/include

[U-Boot] [PATCH V2] mmc: access mxcmmc from mx31 boards

2011-10-27 Thread Helmut Raiger
This patch modifies mxcmmc.c to be used not only by i.MX27 but also by i.MX31 boards. Both use the same SD controller, but have different clock set-ups. The i.MX27 imx_get_XXXclock functions are made static to generic.c and a public mxc_get_clock() function is provided. Pins, base address and prot

Re: [U-Boot] [PATCH V2] cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT

2011-10-27 Thread Helmut Raiger
On 10/20/2011 04:19 PM, Helmut Raiger wrote: > This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT. > Along the way it removes some leftover > > #define BOARD_LATE_INIT 1 > > and adds some basic documentation for board specific > callbacks in README. > > Signed-off-by: Helmut Raige

[U-Boot] [PATCH] MX51: vision2: add MACH_TYPE in config file

2011-10-27 Thread Stefano Babic
Add the MACH type to the configuration file. Maybe the board will be not pushed into linux ML, but it remains compatible with older kernels. Signed-off-by: Stefano Babic --- include/configs/vision2.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/visio

Re: [U-Boot] [PATCH] vision2: Remove unused header file

2011-10-27 Thread Stefano Babic
On 10/25/2011 04:34 PM, Fabio Estevam wrote: > errno.h is not used on this file, so remove it. > > Signed-off-by: Fabio Estevam > --- > board/ttcontrol/vision2/vision2.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/board/ttcontrol/vision2/vision2.c > b/board/tt

Re: [U-Boot] [PATCH V2] cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT

2011-10-27 Thread Stefano Babic
On 10/27/2011 02:25 PM, Helmut Raiger wrote: > On 10/20/2011 04:19 PM, Helmut Raiger wrote: >> This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT. >> Along the way it removes some leftover >> >> #define BOARD_LATE_INIT1 >> >> and adds some basic documentation for board specific >> cal

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Premi, Sanjeev
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rini, Tom > Sent: Thursday, October 27, 2011 2:44 AM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard > > This introduces 200MHz M

Re: [U-Boot] [PATCH V3 1/3] mx31: define pins and init for UART2 and CSPI3

2011-10-27 Thread Stefano Babic
On 10/27/2011 01:31 PM, Helmut Raiger wrote: > Signed-off-by: Helmut Raiger > --- > V2: no changes since V1 > V3: fixed multiline comment, rebased to u-boot-imx > > arch/arm/cpu/arm1136/mx31/devices.c | 15 +++ > arch/arm/include/asm/arch-mx31/clock.h|1 + > arch/ar

Re: [U-Boot] [PATCH V3 2/3] mx31: add ESD control registers

2011-10-27 Thread Stefano Babic
On 10/27/2011 01:31 PM, Helmut Raiger wrote: > This allows to initialize DDR memory in C code. > Currently all mx31 boards use assembler code (lowlevel_init.S) > > Signed-off-by: Helmut Raiger > --- > V2: new in V2 > V3: no changes > > arch/arm/include/asm/arch-mx31/imx-regs.h | 13 ++

Re: [U-Boot] [PATCH V3 3/3] mx31: Add board support for HALE TT-01

2011-10-27 Thread Stefano Babic
On 10/27/2011 01:31 PM, Helmut Raiger wrote: > This adds basic board support for TT-01 based on > the Bluetechnix i.MX31 SOM. Currently only NOR-Flash > boot is implemented. > Hi Helmut, > diff --git a/boards.cfg b/boards.cfg > index 0de08a1..4e43b00 100644 > --- a/boards.cfg > +++ b/boards.cfg

Re: [U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

2011-10-27 Thread Simon Glass
Hi Mike, On Wed, Oct 26, 2011 at 11:00 PM, Mike Frysinger wrote: > On Thu, Oct 27, 2011 at 02:18, Simon Glass wrote: >> --- a/net/net.c >> +++ b/net/net.c >> >> -               if (!strcmp(nretry, "yes")) >> +               if (*nretry == 'y') > > not sure about this as it makes it hard to add co

Re: [U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

2011-10-27 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 15:35, Simon Glass wrote: > On Wed, Oct 26, 2011 at 11:00 PM, Mike Frysinger wrote: >> On Thu, Oct 27, 2011 at 02:18, Simon Glass wrote: >>> --- a/net/net.c >>> +++ b/net/net.c >>> >>> -               if (!strcmp(nretry, "yes")) >>> +               if (*nretry == 'y') >> >>

Re: [U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-27 Thread Marek Vasut
> Dear Donggeun Kim, > > In message <1319526928-7927-1-git-send-email-dg77@samsung.com> you wrote: > > In some cases, saving data in RAM as a file with FAT format is required. > > This patch allows the file to be written in FAT formatted partition. > > > > The usage is similar with reading a

Re: [U-Boot] [PATCH v2 04/11] net: tftpput: Add support for receiving ICMP packets

2011-10-27 Thread Simon Glass
Hi Wolfgang, On Wed, Oct 26, 2011 at 10:11 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> > /work/wd/tmp-ppc/u-boot.lds:69 cannot move location counter backwards >> > (from 4000815c to 40008000) >> >> I did see this in my testing, but it seemed to happen even

Re: [U-Boot] Failed to created image file

2011-10-27 Thread Stefan Roese
On Thursday 27 October 2011 06:35:47 Sadashiva wrote: > I am able to build the u-boot source code and its also able to > create u-boot.bin but not able to build the u-boot.img file. > Please can you instruct me how to build u-boot.img file. Hmmm... What exactly is an "u-boot.img"? Whic

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Ivan Nardi
On 20 October 2011 11:06, Arno Steffen wrote: > > I modified single bits by adding a patch (thanks Scott Wood) to uboot, > that allows write in raw mode to flash. Single bit error can corrected > with HW-ECC, not with SW-ECC. Hi all, I would be very interested in using that patch (it is very use

[U-Boot] [PATCH] tt01: add MMC and video support

2011-10-27 Thread Helmut Raiger
board_mmc_init() initializes the pins of SDHC1 and turns on V_MMC1 of the PMIC. The video setup for the Epson display is provided along with some fancy extra info to be displayed next to the HALE logo. Signed-off-by: Helmut Raiger --- V1: Note this requires http://patchwork.ozlabs.org/patch/1221

Re: [U-Boot] [PATCH] tt01: add MMC and video support

2011-10-27 Thread Helmut Raiger
On 10/27/2011 06:11 PM, Helmut Raiger wrote: > board_mmc_init() initializes the pins of SDHC1 and > turns on V_MMC1 of the PMIC. The video setup for > the Epson display is provided along with some fancy > extra info to be displayed next to the HALE logo. > > Signed-off-by: Helmut Raiger > --- > V

[U-Boot] [PATCH v2 0/6] Reduce code size of libnet

2011-10-27 Thread Simon Glass
This patch series should change no functionality, but just reduce code size slightly to what it was before the tftpput series. Each patch is independent and each can be accepted or rejected as required. Overall the effect is to reduce the code size to about 36 bytes lower than it was before tftp w

[U-Boot] [PATCH v2 5/6] net: Be less picky about decoding the netretry env var

2011-10-27 Thread Simon Glass
This is intended purely as a code size reduction. Signed-off-by: Simon Glass --- README|4 net/net.c |6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README b/README index a1910dc..4d9ab77 100644 --- a/README +++ b/README @@ -3579,6 +3579,10 @@ List of

[U-Boot] [PATCH v2 2/6] net: Make net_transfer() a static function

2011-10-27 Thread Simon Glass
This should be a static function so it can be inlined. Signed-off-by: Simon Glass --- Changes in v2: - Add net_transfer() fix net/tftp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/tftp.c b/net/tftp.c index e34f202..81f9af4 100644 --- a/net/tftp.c +++ b/net/tft

[U-Boot] [PATCH v2 4/6] net: Change for loop to memset()

2011-10-27 Thread Simon Glass
This is intended purely as a code size reduction. Signed-off-by: Simon Glass --- Changes in v2: - Fix commit message to say memset() instead of memcpy() net/net.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/net/net.c b/net/net.c index 11f41ed..cd34bf9 100644

[U-Boot] [PATCH v2 1/6] net: Hide more code behind CONFIG_CMD_TFTPPUT

2011-10-27 Thread Simon Glass
This commit reduces code size a little by making the ICMP handler only available to tftpput. This is reasonable since it is the only user at present (ping just uses the normal handler). Signed-off-by: Simon Glass --- net/net.c |8 net/tftp.c |6 -- 2 files changed, 12 inse

[U-Boot] [PATCH v2 3/6] net: Add more #ifdefs for tftpput to reduce code size

2011-10-27 Thread Simon Glass
If CONFIG_CMD_TFTPPUT is not enabled, we want minimal code size impact on the tftp code. This introduces a few more #ifdefs. Signed-off-by: Simon Glass --- Changes in v2: - Add patch with #ifdefs for cases which can only happen with tftpput net/tftp.c | 11 ++- 1 files changed, 10 ins

[U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Simon Glass
The rarp code includes another instance of the auto_load logic, so call what is now net_auto_load() instead. This also fixes an incorrect call to TftpStart() which was never seen since apparently no boards enable rarp. Signed-off-by: Simon Glass --- include/net.h |6 ++ net/bootp.c |

[U-Boot] Failed to created image file

2011-10-27 Thread Sadashiva
Hi, To flash the u-boot image on board through tftp board expects in u-boot.img format only. I cannot flash the u-boot.bin file. Like the code specific or board specfic requires in certain format. So I, need help on how build u-boot.img or image format file or else how to convert the u-

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Tom Rini
On 10/27/2011 05:46 AM, Premi, Sanjeev wrote: >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rini, Tom >> Sent: Thursday, October 27, 2011 2:44 AM >> To: u-boot@lists.denx.de >> Subject: [U-Boot] [PATCH 2/2] OMAP3: Add SPL

Re: [U-Boot] Failed to created image file

2011-10-27 Thread Stefan Roese
On Thursday 27 October 2011 18:29:55 Sadashiva wrote: > To flash the u-boot image on board through tftp board expects in > u-boot.img format only. I cannot flash the u-boot.bin file. Like the code > specific or board specfic requires in certain format. So I, need help on > how build u-boot.

[U-Boot] DIWALI GOODNEWS

2011-10-27 Thread COCACOLA DIWALI EVENT 2011
-- THIS E-MAIL HAS WON TWO CRORES AND TWELVE LAKHS RUPEES IN THE COCA-COLA 2011 EVENT SEND YOUR NAME/ADD/NUMBER TO THIS E-mail:cocacolabo...@w.cn ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 05/10 v3] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-27 Thread Scott Wood
On 10/27/2011 12:23 AM, Heiko Schocher wrote: >>> In drivers/mtd/nand/davinci_nand.c CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST >>> is used, and there are 4bit specific functions, so this define is >>> also valid, just we need in drivers/mtd/nand/nand_spl_simple.c a more >>> common name, right? >> >> Rig

Re: [U-Boot] [PATCH v2] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-27 Thread Scott Wood
On 10/26/2011 09:29 PM, chang-ming.hu...@freescale.com wrote: > From: Jerry Huang > > This patch: > 1. Support 512MB DDR. > 2. Support 33.33MHz oscillator. > 3. QE clock is changed to 500MHz as the default value. > > The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to > supp

[U-Boot] [PATCH] image: Fix inverted logic in architecture check.

2011-10-27 Thread Thierry Reding
Commit 476af29 broke this check when the ifdef lists we consolidated. Signed-off-by: Thierry Reding --- include/image.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/image.h b/include/image.h index 1ba866e..c56a18d 100644 --- a/include/image.h +++ b/include/im

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Scott Wood
On 10/27/2011 10:22 AM, Ivan Nardi wrote: > On 20 October 2011 11:06, Arno Steffen wrote: >> >> I modified single bits by adding a patch (thanks Scott Wood) to uboot, >> that allows write in raw mode to flash. Single bit error can corrected >> with HW-ECC, not with SW-ECC. > > Hi all, > > I woul

Re: [U-Boot] [PATCH v2] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-27 Thread Scott Wood
On 10/27/2011 01:54 PM, Scott Wood wrote: > On 10/26/2011 09:29 PM, chang-ming.hu...@freescale.com wrote: >> From: Jerry Huang >> >> This patch: >> 1. Support 512MB DDR. >> 2. Support 33.33MHz oscillator. >> 3. QE clock is changed to 500MHz as the default value. >> >> The new MPC8360EMDS board cha

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Albert ARIBAUD
Hi Simon, Le 25/10/2011 23:16, Simon Glass a écrit : >> But please think about what you actually want in start.S. Do you >> really want an #ifdef TEGRA2 with a check of a SOC register, followed >> by a branch around the cp15_init code? > > > This is the bit we need to sort out. Indeed, but

[U-Boot] Pullrequest: u-boot-arm/master

2011-10-27 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit c30a15e590c7e5bfd27e4704c81648071f11d51f: FAT: Add FAT write feature (2011-10-26 21:40:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master Ajay Bhargav (4): SPI: Add SPI driver support for Marvell Arm

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Simon Glass
Hi Albert, On Thu, Oct 27, 2011 at 1:05 PM, Albert ARIBAUD wrote: > Hi Simon, > > Le 25/10/2011 23:16, Simon Glass a écrit : > >>> But please think about what you actually want in start.S. Do you >>> really want an #ifdef TEGRA2 with a check of a SOC register, followed >>> by a branch around the

Re: [U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled

2011-10-27 Thread Ilya Yanok
Hi Simon, On 21.10.2011 15:08, Simon Schwarz wrote: Use software ECC for the SPL build if support for software ECC in > SPL is enabled. >>> >>> I'am curious: Is there a special reason for having software ecc in SPL? >> >> Well, yes. On OMAP2+ ECC mode defaults to software (incompatible w

Re: [U-Boot] [PATCH 1/2] OMAP3 SPL: Rework memory initalization and devkit 8000 support

2011-10-27 Thread Igor Grinberg
Hi Tom, That seems like a good change, though I would recommend to split it into smaller patches, please, see below: On 10/26/2011 11:13 PM, Tom Rini wrote: > This changes to making the board be responsible for providing the > memory initialization timings in SPL That probably would be one patch

Re: [U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-27 Thread Wolfgang Denk
Dear Mike Frysinger, In message you wrote: > On Tue, Oct 25, 2011 at 09:15, Donggeun Kim wrote: > > In some cases, saving data in RAM as a file with FAT format is required. > > This patch allows the file to be written in FAT formatted partition. > > i thought Wolfgang NAK-ed FS write patches in

Re: [U-Boot] [PATCH 1/2] OMAP3 SPL: Rework memory initalization and devkit 8000 support

2011-10-27 Thread Tom Rini
On 10/27/2011 01:46 PM, Igor Grinberg wrote: > Hi Tom, > > That seems like a good change, though I would recommend to split it into > smaller > patches, please, see below: > > On 10/26/2011 11:13 PM, Tom Rini wrote: >> This changes to making the board be responsible for providing the >> memory in

Re: [U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > Yes, I'm not sure either. I have found a few env variables that use > single letters (autoload, flashchecksum) and noticed that quite a few > commands only decode as much of their subcommand as they need to be > unique. I am happier with y and n than o

Re: [U-Boot] [PATCH] image: Fix inverted logic in architecture check.

2011-10-27 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 20:58, Thierry Reding wrote: > Commit 476af29 broke this check when the ifdef lists we consolidated. that does seem to be the case ... sorry about that. i don't have any dt systems to test :x. Acked-by: Mike Frysinger -mike ___

Re: [U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-27 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 22:55, Wolfgang Denk wrote: > Mike Frysinger wrote: >> On Tue, Oct 25, 2011 at 09:15, Donggeun Kim wrote: >> > In some cases, saving data in RAM as a file with FAT format is required. >> > This patch allows the file to be written in FAT formatted partition. >> >> i thought W

Re: [U-Boot] [PATCH v2 4/6] net: Change for loop to memset()

2011-10-27 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-10-27 Thread Wolfgang Denk
Commit c30a15e "FAT: Add FAT write feature" introduced a compiler warning. Fix this. Signed-off-by: Wolfgang Denk Cc: Donggeun Kim Cc: Kyungmin Park --- fs/fat/fat.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 7cf173c..756ac64 1

Re: [U-Boot] [PATCH v2 2/6] net: Make net_transfer() a static function

2011-10-27 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 18:24, Simon Glass wrote: > The rarp code includes another instance of the auto_load logic, so call > what is now net_auto_load() instead. Acked-by: Mike Frysinger > This also fixes an incorrect call to TftpStart() which was never seen > since apparently no boards enable

Re: [U-Boot] [PATCH v2 1/6] net: Hide more code behind CONFIG_CMD_TFTPPUT

2011-10-27 Thread Mike Frysinger
i wish there was a way we could be clever and give gcc hints to do better DCE rather than sprinkling #ifdef's. but maybe this is a pipe dream. -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] kirkwood: define CONFIG_SYS_CACHELINE_SIZE

2011-10-27 Thread Michael Walle
Signed-off-by: Michael Walle Cc: Albert ARIBAUD Cc: Prafulla Wadaskar --- arch/arm/include/asm/arch-kirkwood/config.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-kirkwood/config.h b/arch/arm/include/asm/arch-kirkwood/config.h index b393b1a

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Igor Grinberg
On 10/26/2011 11:13 PM, Tom Rini wrote: > This introduces 200MHz Micron parts timing information based on x-loader > and re-organizes the file slightly for grouping. The memory init logic > is also based on what x-loader does in these cases. Note that while > previously u-boot would be flashed in

Re: [U-Boot] [PATCH 1/2] OMAP3 SPL: Rework memory initalization and devkit 8000 support

2011-10-27 Thread Igor Grinberg
On 10/27/2011 11:00 PM, Tom Rini wrote: > On 10/27/2011 01:46 PM, Igor Grinberg wrote: >> Hi Tom, >> >> That seems like a good change, though I would recommend to split it into >> smaller >> patches, please, see below: >> >> On 10/26/2011 11:13 PM, Tom Rini wrote: >>> This changes to making the boa

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Wolfgang Denk
Dear Igor Grinberg, In message <4ea9ca9d.6010...@compulab.co.il> you wrote: > On 10/26/2011 11:13 PM, Tom Rini wrote: > > This introduces 200MHz Micron parts timing information based on x-loader > > and re-organizes the file slightly for grouping. The memory init logic > > is also based on what x

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Tom Rini
On 10/27/2011 02:18 PM, Igor Grinberg wrote: > On 10/26/2011 11:13 PM, Tom Rini wrote: >> This introduces 200MHz Micron parts timing information based on x-loader >> and re-organizes the file slightly for grouping. The memory init logic >> is also based on what x-loader does in these cases. Note

[U-Boot] [PATCH 0/2] improve ethernet device index handling

2011-10-27 Thread Michael Walle
This patchset introduces a new element "index" within the eth_device structure, which is populated by eth_register(). The second patch uses this element to get the right name of the environment variable for the ethernet hardware address. ___ U-Boot maili

[U-Boot] [PATCH 2/2] mvgbe: fix network device indices

2011-10-27 Thread Michael Walle
Don't assume that the MAC address of egiga0 rsp. egiga1 is ethaddr rsp. eth1addr. If there is only a egiga1 device, u-boot will enumerate it as device 0. Instead use the correct index number stored within the eth_device structure. Signed-off-by: Michael Walle Cc: Prafulla Wadaskar --- drivers/n

[U-Boot] [PATCH 1/2] net: introduce per device index

2011-10-27 Thread Michael Walle
Instead of counting the device index everytime a functions needs it, store it in the eth_device struct. eth_register() keeps track of the indices and updates the device's index number. This simplifies some functions in net/eth.c. Additionally, a network driver can now query its index, eg. to get t

Re: [U-Boot] [PATCH 1/2] net: introduce per device index

2011-10-27 Thread Michael Walle
Am Donnerstag 27 Oktober 2011, 23:31:35 schrieb Michael Walle: > Instead of counting the device index everytime a functions needs it, store > it in the eth_device struct. eth_register() keeps track of the indices and > updates the device's index number. This simplifies some functions in > net/eth.c

Re: [U-Boot] [PATCH v2 1/6] net: Hide more code behind CONFIG_CMD_TFTPPUT

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message <1319732672-29071-2-git-send-email-...@chromium.org> you wrote: > This commit reduces code size a little by making the ICMP handler only > available to tftpput. This is reasonable since it is the only user at > present (ping just uses the normal handler). > > Signed-o

Re: [U-Boot] [PATCH v2 2/6] net: Make net_transfer() a static function

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message <1319732672-29071-3-git-send-email-...@chromium.org> you wrote: > This should be a static function so it can be inlined. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Add net_transfer() fix > > net/tftp.c |2 +- > 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH v2 3/6] net: Add more #ifdefs for tftpput to reduce code size

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message <1319732672-29071-4-git-send-email-...@chromium.org> you wrote: > If CONFIG_CMD_TFTPPUT is not enabled, we want minimal code size impact > on the tftp code. This introduces a few more #ifdefs. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Add patch with #

Re: [U-Boot] [PATCH v2 4/6] net: Change for loop to memset()

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message <1319732672-29071-5-git-send-email-...@chromium.org> you wrote: > This is intended purely as a code size reduction. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Fix commit message to say memset() instead of memcpy() > > net/net.c |8 ++-- > 1 f

  1   2   3   >