Re: [U-Boot] [PATCH v3] MX28: use a clear name for DDR2 initialization

2012-08-05 Thread Stefano Babic
On 28/07/2012 23:44, Otavio Salvador wrote: > The mx28 prefix has been added to the initialization data and function > so it is clear by which SoC it is used as i.MX233 will have a specific > one. While on that, we also change it to static. > > Signed-off-by: Otavio Salvador > --- Applied to u-

Re: [U-Boot] [PATCH] rtc: imxdi: Initial support

2012-08-05 Thread Stefano Babic
On 20/07/2012 16:24, Benoît Thébaudeau wrote: > Add support for Freescale's i.MX DryIce RTC, present on i.MX25. > > Signed-off-by: Benoît Thébaudeau > Cc: Wolfgang Denk > Cc: Stefano Babic > --- Hi Benoit, just a few comments. > + > +/* > + * Date & Time support for Freescale i.MX DryIce RT

Re: [U-Boot] [PATCH] MX28: Add SchulerControl SC_SPS_1 platform

2012-08-05 Thread Stefano Babic
On 01/08/2012 15:14, Marek Vasut wrote: > This i.MX28 platform supports the following: > * 2x FEC ethernet > * USB on USBH0 > * I2C EEPROM > * SPI NVRAM > * LEDs > Hi Marek, > +# > diff --git a/board/schulercontrol/sc_sps_1/

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-08-05 Thread Stefano Babic
On 31/07/2012 21:21, Fabio Estevam wrote: > Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be > redirected to the serial port. > > This is needed because in mx53loco.c we have: > > #ifdef CONFIG_BOARD_LATE_INIT > int board_late_init(void) > { > setenv("stdout", "seri

Re: [U-Boot] [PATCH] mx28evk: Turn on caches

2012-08-05 Thread Stefano Babic
On 31/07/2012 20:10, Fabio Estevam wrote: > Turn on data and instruction caches. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: W

Re: [U-Boot] The way the list manages patch submission

2012-08-05 Thread Alexander Holler
Am 04.08.2012 18:55, schrieb Karl O. Pinc: So perhaps the u-boot list default that has duplicate elimination turned on, where other lists do not, is factor contributing to the confusion. I've never had Some mail-servers have that feature enabled by default too. E.g. cyrus-imapd (called dupl

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm/include/asm/arch-mx27/imx-regs.h | 30 drivers/gpio/mxc_gpio.c |8 +++-- 4

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- board/logicpd/imx27lite/imx27lite.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 8a5015c..5bd3b68 100644 --- a/board/logicpd/imx27lite/imx27lite.c

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-08-05 Thread Stefano Babic
On 05/08/2012 09:34, Stefano Babic wrote: > On 31/07/2012 21:21, Fabio Estevam wrote: >> Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be >> redirected to the serial port. >> >> This is needed because in mx53loco.c we have: >> >> #ifdef CONFIG_BOARD_LATE_INIT >> int board_l

[U-Boot] [PATCH] MX5: mx53loco: do not overwrite the console

2012-08-05 Thread Stefano Babic
On this board, the console is always set to the serial line. Do not allow to overwrite it when video is enabled. Signed-off-by: Stefano Babic CC: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c | 12 ++-- include/configs/mx53loco.h |2 ++ 2 files changed, 8 insertio

Re: [U-Boot] [PATCH] MX28: Add SchulerControl SC_SPS_1 platform

2012-08-05 Thread Marek Vasut
Dear Stefano Babic, [...] > > diff --git a/board/schulercontrol/sc_sps_1/u-boot.bd > > b/board/schulercontrol/sc_sps_1/u-boot.bd new file mode 100644 > > index 000..c60615a > > --- /dev/null > > +++ b/board/schulercontrol/sc_sps_1/u-boot.bd > > @@ -0,0 +1,14 @@ > > +sources { > > + u_boot_s

[U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR

2012-08-05 Thread Marek Vasut
This gets us rid of duplication of the same file. Signed-off-by: Marek Vasut Cc: Stefano Babic --- Makefile |2 +- arch/arm/cpu/arm926ejs/mx28/u-boot.bd | 14 ++ board/bluegiga/apx4devkit/u-boot.bd | 14 -- board/denx/m28evk/u-boot.

[U-Boot] [PATCH V2] MX28: Add SchulerControl SC_SPS_1 platform

2012-08-05 Thread Marek Vasut
This i.MX28 platform supports the following: * 2x FEC ethernet * USB on USBH0 * I2C EEPROM * SPI NVRAM * LEDs Signed-off-by: Marek Vasut --- board/schulercontrol/sc_sps_1/Makefile | 47 +++ board/schulercontrol/sc_sps_1/sc_sps_1.c | 113 board/schulercontrol/sc_sps_1/sp

Re: [U-Boot] [PATCH] MX28: Move the u-boot.bd info CPUDIR/SOCDIR

2012-08-05 Thread Stefano Babic
On 05/08/2012 12:36, Marek Vasut wrote: > This gets us rid of duplication of the same file. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > --- > Makefile |2 +- > arch/arm/cpu/arm926ejs/mx28/u-boot.bd | 14 ++ > board/bluegiga/apx4devkit/u-bo

Re: [U-Boot] [PATCH] MX28: Add SchulerControl SC_SPS_1 platform

2012-08-05 Thread Stefano Babic
On 05/08/2012 12:14, Marek Vasut wrote: > Dear Stefano Babic, > Hi Marek, >> This is the fourth copy of the same file in u-boot. Do we have really no >> chance to share it among boards ? > > Given that we're coliding with Otavio with every single patch, do you prefer > to > apply this one and

[U-Boot] [PATCH] OMAP3: fix DRAM size for IGEP-based boards.

2012-08-05 Thread Enric Balletbo i Serra
The total RAM size of the IGEP-based boards is 512MiB not 1GiB, the LPDDR memory consist on two dies of 256MiB. Signed-off-by: Enric Balletbo i Serra --- board/isee/igep0020/igep0020.c |6 +++--- board/isee/igep0030/igep0030.c |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)

Re: [U-Boot] [PATCH] rtc: imxdi: Initial support

2012-08-05 Thread Benoît Thébaudeau
On Sun, Aug 5, 2012 at 09:13:29 AM, Stefano Babic wrote: > On 20/07/2012 16:24, Benoît Thébaudeau wrote: > > Add support for Freescale's i.MX DryIce RTC, present on i.MX25. > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Wolfgang Denk > > Cc: Stefano Babic > > --- > > Hi Benoit, > > > just

[U-Boot] MX23/MX28 USB loader

2012-08-05 Thread Marek Vasut
Hi, I developed the following thingie to load firmware onto MX28 via USB recovery. It's still very early development thingie, but might come handy. http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary Best regards, Marek Vasut ___ U-Boot mailing list U-

[U-Boot] [PATCH 2/2] apx4devkit: Turn on caches

2012-08-05 Thread Fabio Estevam
From: Fabio Estevam Turn on data and instruction caches. Signed-off-by: Fabio Estevam include/configs/apx4devkit.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/apx4devkit.h b/include/configs/apx4devkit.h index 9e7ead5..1281ce4 100644 --- a/include/c

[U-Boot] [PATCH 1/2] m28evk: Turn on caches

2012-08-05 Thread Fabio Estevam
From: Fabio Estevam Turn on data and instruction caches. Signed-off-by: Fabio Estevam --- include/configs/m28evk.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index f12d927..e843c96 100644 --- a/include/configs/m

Re: [U-Boot] [PATCH 1/2] m28evk: Turn on caches

2012-08-05 Thread Marek Vasut
Dear Fabio Estevam, > From: Fabio Estevam > > Turn on data and instruction caches. > > Signed-off-by: Fabio Estevam [...] I'd like to put this one on hold until I can properly test all components. I had this in my tree for a while, but I still want to retest SPI and MMC /w DMA before I go

Re: [U-Boot] [PATCH] OMAP3: fix DRAM size for IGEP-based boards.

2012-08-05 Thread Javier Martinez Canillas
On Sun, Aug 5, 2012 at 12:55 PM, Enric Balletbo i Serra wrote: > The total RAM size of the IGEP-based boards is 512MiB not 1GiB, the > LPDDR memory consist on two dies of 256MiB. > > Signed-off-by: Enric Balletbo i Serra > --- > board/isee/igep0020/igep0020.c |6 +++--- > board/isee/igep0030

[U-Boot] [PATCH 1/2] mx51evk: do not overwrite the console

2012-08-05 Thread Fabio Estevam
From: Fabio Estevam On this board, the console is always set to the serial line. Do not allow to overwrite it when video is enabled. Signed-off-by: Fabio Estevam --- board/freescale/mx51evk/mx51evk.c | 10 +- include/configs/mx51evk.h |2 ++ 2 files changed, 11 insertions

[U-Boot] [PATCH 2/2] vision2: do not overwrite the console

2012-08-05 Thread Fabio Estevam
From: Fabio Estevam On this board, the console is always set to the serial line. Do not allow to overwrite it when video is enabled. Signed-off-by: Fabio Estevam --- board/ttcontrol/vision2/vision2.c | 11 +-- include/configs/vision2.h |2 ++ 2 files changed, 11 insertion

Re: [U-Boot] [RESEND] [PATCH 0/2] kirkwood: Generalise dns325 support, include dns320

2012-08-05 Thread Jamie Lentin
Hi Prafulla, thankyou for taking the time to review. On Tue, 31 Jul 2012, Prafulla Wadaskar wrote: -Original Message- From: Jamie Lentin [mailto:j...@lentin.co.uk] Sent: 31 July 2012 14:01 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; albert.u.b...@aribaud.net; ub...@lukaperkov.net Su

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v2)

2012-08-05 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 + arch/arm/include/asm/arch

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v2)

2012-08-05 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- board/logicpd/imx27lite/imx27lite.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 8a5015c..5bd3b68 100644 --- a/board/logicpd/imx27lite/imx27lite.c

[U-Boot] [PATCH v1 0/6] Rework for mxs SoC family support

2012-08-05 Thread Otavio Salvador
This patchset is the basis for inclusion of i.MX233 support on U-Boot. To accomplish it, this patchset moves code around to create the mxs SoC family support. Changes in v1: - new patch - rebase against imx/master - rework due apx4devkit board addition Otavio Salvador (6): mxs: reorganize sourc

[U-Boot] [PATCH v1 1/6] mxs: reorganize source directory for easy sharing of code in i.MXS SoCs

2012-08-05 Thread Otavio Salvador
Most code can be shared between i.MX23 and i.MX28 as both are from i.MXS family; this source directory structure makes easy to share code among them. Signed-off-by: Otavio Salvador --- Changes in v1: - rebase against imx/master - rework due apx4devkit board addition arch/arm/cpu/arm926ejs/{mx28

[U-Boot] [PATCH v1 2/6] mxs: prefix register acessor macros with 'mxs' prefix

2012-08-05 Thread Otavio Salvador
As the register accessing mode is the same for all i.MXS SoCs we ought to use 'mxs' prefix intead of 'mx28'. Signed-off-by: Otavio Salvador --- Changes in v1: - rebase against imx/master arch/arm/cpu/arm926ejs/mxs/clock.c |4 +- arch/arm/cpu/arm926ejs/mxs/iomux.c |6

[U-Boot] [PATCH v1 3/6] mxs: prefix register structs with 'mxs' prefix

2012-08-05 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v1: - rebase against imx/master - rework due apx4devkit board addition arch/arm/cpu/arm926ejs/mxs/clock.c | 36 arch/arm/cpu/arm926ejs/mxs/mx28.c| 28 +++ arch/arm/cpu/arm926ejs/mxs/spl_lradc_init.c |4 +-

[U-Boot] [PATCH v1 4/6] mxs: Reowork SPL to use 'mxs' prefix for methods

2012-08-05 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v1: - rebase against imx/master - rework due apx4devkit board addition arch/arm/cpu/arm926ejs/mxs/mx28.c |8 +- .../cpu/arm926ejs/mxs/{mx28_init.h => mxs_init.h} | 14 +- arch/arm/cpu/arm926ejs/mxs/spl_boot.c |

[U-Boot] [PATCH v1 6/6] mxs: rename mx28.c to mxs.c as it is common to i.MX233 and i.MX28 SoCs

2012-08-05 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v1: - rebase against imx/master arch/arm/cpu/arm926ejs/mxs/Makefile |2 +- arch/arm/cpu/arm926ejs/mxs/{mx28.c => mxs.c} |0 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/cpu/arm926ejs/mxs/{mx28.c => mxs.c} (100%) d

[U-Boot] [PATCH v1 5/6] mxs: Clarify why we poweroff in case of brownout in 5v conflict

2012-08-05 Thread Otavio Salvador
If VDDIO has a brownout, then the VDD5V_GT_VDDIO becomes unreliable but this wasn't clear on code so a comment has been added to clarify it. Signed-off-by: Otavio Salvador --- Changes in v1: - new patch arch/arm/cpu/arm926ejs/mxs/spl_power_init.c |4 1 file changed, 4 insertions(+) di

Re: [U-Boot] pull request for u-boot-tegra/master

2012-08-05 Thread Albert ARIBAUD
Hi Tom, On Fri, 3 Aug 2012 16:35:40 -0700, Tom Warren wrote: > Albert, > > Has this been pulled into ARM master? I don't think I saw a response > from you, but I might have missed it. Sorry Tom, but I have been unavailable for some time and especially on jul 30 and 31, so no, it has not been p

Re: [U-Boot] pull request for u-boot-tegra/master

2012-08-05 Thread Albert ARIBAUD
Hi Albert, On Sun, 5 Aug 2012 21:46:21 +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 3 Aug 2012 16:35:40 -0700, Tom Warren > wrote: > > Albert, > > > > Has this been pulled into ARM master? I don't think I saw a response > > from you, but I might have missed it. > > Sorry Tom, but I ha

Re: [U-Boot] Please pull u-boot-ti/master

2012-08-05 Thread Albert ARIBAUD
Hi Tom, On Fri, 3 Aug 2012 09:16:26 -0700, Tom Rini wrote: > Hello, > > The following changes since commit 30a5f098e261b00b9c3ce43b8d4a641e106d26a0: > > Revert "arm: armv7: add compile option -mno-unaligned-access if available" > (2012-07-29 11:19:37 +0200) > > are available in the git repo

[U-Boot] [PATCH v4 0/5] OMAP: SPL networking support

2012-08-05 Thread Ilya Yanok
These series provides support for networking in SPL. These patches try to use network infrasctructure as is, without trying to cut some minimal set of it, so the resulting SPL image is quite big and only useful for boards with plenty of SRAM/OCRAM (like TI AM335x based ones). Changes in v3: - ad

[U-Boot] [PATCH v4 1/5] net/bootp: add VCI support for BOOTP also

2012-08-05 Thread Ilya Yanok
Vendor Class Identifier option is common to BOOTP and DHCP and can be useful without PXE. So send VCI in both BOOTP and DHCP requests if CONFIG_BOOTP_VCI_STRING is defined. Signed-off-by: Ilya Yanok --- Changes in v4: - moved vci_strlen var inside macro - used strlen instead of sizeof net/bo

[U-Boot] [PATCH v4 3/5] OMAP: spl: call timer_inti() from SPL

2012-08-05 Thread Ilya Yanok
We need to initialize timer properly, otherwise all delays inside SPL will be wrong. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/omap-common/spl.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 4d1

[U-Boot] [PATCH v4 2/5] spl: don't mark __u_boot_cmd* as undefined

2012-08-05 Thread Ilya Yanok
__u_boot_cmd* symbols are not used in SPL so there is no need to tell the linker that they are undefined. With these symbols marked as undefined linker fails to garbage collect some unused functions and even fails to build the resulting image. Signed-off-by: Ilya Yanok --- spl/Makefile |2 -

[U-Boot] [PATCH v4 4/5] OMAP: networking support for SPL

2012-08-05 Thread Ilya Yanok
This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too. This patch tries to use existing network code as much as possible. Unfortunately, it depends on environment which in turn depends on o

[U-Boot] [PATCH v4 5/5] am335x_evm: enable networking in SPL

2012-08-05 Thread Ilya Yanok
This patch adds support for networking in SPL on TI AM335x based boards. Vendor Class Identifier used by SPL during BOOTP is "AM335x U-Boot SPL". Signed-off-by: Ilya Yanok --- Changes in v3: - set Vendor Class Identifier for SPL Changes in v4: - SPL_BOARD_INIT is not needed anymore include/

[U-Boot] [PATCH v2] arm: rmobile: Add support TMU base timer function

2012-08-05 Thread Nobuhiro Iwamatsu
Some rmobile SoC has TMU base timer function. This supports TMU. Signed-off-by: Nobuhiro Iwamatsu --- V2: Remove unused variable. arch/arm/cpu/armv7/rmobile/Makefile |4 +- arch/arm/cpu/armv7/rmobile/timer_tmu.c| 161 + arch/arm/include/asm/arch-

[U-Boot] [PATCH v2] arm: rmobile: Add support for ATMARK-TECHNO Armadillo-800EVA board

2012-08-05 Thread Nobuhiro Iwamatsu
From: Hideyuki Sano The Armadillo-800EVA board has Renesas R-Mobile R8A7740, 512MB DDR3-SDRAM, Ethernet, and more. This patch supports the following functions: - 512MB DDR3-SDRAM - Serial console (SCIF) - Ethernet MAC(MII) & PHY(SMSC) Signed-off-by: Hideyuki Sano Signed-off-by: Nobuhiro Iwa

[U-Boot] [PATCH 1/2] arm: rmobile: armadillo-800eva Remove board_eth_init

2012-08-05 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- board/atmark-techno/armadillo-800eva/armadillo-800eva.c |5 - 1 file changed, 5 deletions(-) diff --git a/board/atmark-techno/armadillo-800eva/armadillo-800eva.c b/board/atmark-techno/armadillo-800eva/armadillo-800eva.c index 2f91666..a075865 100644

[U-Boot] [PATCH 2/2] arm: rmobile: Add cpu_eth_init function

2012-08-05 Thread Nobuhiro Iwamatsu
This supports ethernet driver of RMOBILE R8A7740. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Makefile |2 +- arch/arm/cpu/armv7/rmobile/emac.c | 36 +++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 arch/arm/cpu/

Re: [U-Boot] [PATCH v4 3/5] OMAP: spl: call timer_inti() from SPL

2012-08-05 Thread Tom Rini
On Sun, Aug 5, 2012 at 2:21 PM, Ilya Yanok wrote: > We need to initialize timer properly, otherwise all delays > inside SPL will be wrong. > > Signed-off-by: Ilya Yanok > --- > > arch/arm/cpu/armv7/omap-common/spl.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/cpu/armv7

Re: [U-Boot] [PATCH v4 2/5] spl: don't mark __u_boot_cmd* as undefined

2012-08-05 Thread Tom Rini
On Sun, Aug 5, 2012 at 2:21 PM, Ilya Yanok wrote: > __u_boot_cmd* symbols are not used in SPL so there is no need > to tell the linker that they are undefined. With these symbols > marked as undefined linker fails to garbage collect some unused > functions and even fails to build the resulting ima

[U-Boot] [PATCH V4 1/4] README: fix references to config_cmd_default.h

2012-08-05 Thread Stephen Warren
All usage of config_cmd_default.h uses <> for the include statement. Update the README to do the same, rather than using "". Signed-off-by: Stephen Warren --- v4: No change v3: No change v2: New patch --- README |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/

[U-Boot] [PATCH V4 3/4] ARM: add basic support for the Broadcom BCM2835 SoC

2012-08-05 Thread Stephen Warren
This SoC is used in the Raspberry Pi, for example. For more details, see: http://www.broadcom.com/products/BCM2835 http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf. Initial support is enough to boot to a serial console, execute a minimal set of U-Boot commands, do

[U-Boot] [PATCH V4 4/4] ARM: add Raspberry Pi model B board, using BCM2835 SoC

2012-08-05 Thread Stephen Warren
The Raspberry Pi model B uses the BCM2835 SoC, has 256MB of RAM, contains an SMSC 9512 USB LAN/Hub chip, and various IO connectors. For more details, see http://www.raspberrypi.org/. Various portions (cache enable, MACH_TYPE setup, RAM size limit, stack relocation to top of RAM) extracted from wor

[U-Boot] [PATCH V4 2/4] ARM: arm1176: enable instruction cache in arch_cpu_init()

2012-08-05 Thread Stephen Warren
Note that this affects all users of the ARM1176 CPU that enable CONFIG_ARCH_CPU_INIT, not just the BCM2835 SoC, potentially such as tnetv107x. Cc: Cyril Chemparathy Signed-off-by: Stephen Warren --- v4: No change v3: No change, re-ordered patch v2: No change --- arch/arm/cpu/arm1176/cpu.c |