Re: [U-Boot] [PATCH v2 1/2] arm: move C runtime setup code in crt0.S

2012-11-05 Thread Andreas Bießmann
Dear Albert Aribaud, On 04.11.2012 12:32, Albert ARIBAUD wrote: > Move all the C runtime setup code from every start.S > in arch/arm into arch/arm/lib/crt0.S. This covers > the code sequence from isetting up the initial stack > to calling into board_init_r(). > > Also, rewrite the C runtime setup

Re: [U-Boot] SMSC LAN9514 on TI DM37x board

2012-11-05 Thread Felix Radensky
Hi Marek, Can you please take a look at this problem. Thanks a lot. Felix. On 11/02/2012 08:38 AM, Felix Radensky wrote: Hi, I'm running u-boot-2012.10 on a custom DM37x based board. The board has LAN9514 USB Ethernet adapter connected in EHCI host controller via USB3320 ULPI PHY. This is ve

Re: [U-Boot] [PATCH] mmc: at91sam9x5: support to save environment in mmc

2012-11-05 Thread Andreas Bießmann
Dear Josh Wu, On 02.11.2012 11:17, Josh Wu wrote: > Signed-off-by: Josh Wu Acked-by: Andreas Bießmann > --- > boards.cfg |1 + > include/configs/at91sam9x5ek.h | 19 --- > 2 files changed, 17 insertions(+), 3 deletions(-) Best regards Andreas Bießma

[U-Boot] [PULL] please pull u-boot-avr32/master

2012-11-05 Thread Andreas Bießmann
Dear Tom Rini, The following changes since commit ed296d206a1840c0a0b6c1322379c950f9996905: MAKEALL: Add -s to '${MAKE} tidy' section (2012-10-29 14:21:20 -0700) are available in the git repository at: git://git.denx.de/u-boot-avr32.git master for you to fetch changes up to 60607c9de01afb5

Re: [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion

2012-11-05 Thread Andreas Bießmann
Dear Bo Shen, On 29.10.2012 08:00, Bo Shen wrote: > Signed-off-by: Bo Shen > --- > drivers/video/atmel_hlcdfb.c |6 ++ > 1 file changed, 6 insertions(+) Applied to u-boot-atmel/master, thanks! Best regards Andreas Bießmann ___ U-Boot mailin

Re: [U-Boot] [PATCH] at91: move get_chip_id() and get_extension_chip_id() to cpu.c, which can share with all at91 board.

2012-11-05 Thread Andreas Bießmann
Dear Josh Wu, On 01.11.2012 11:57, Josh Wu wrote: > Signed-off-by: Josh Wu > --- > arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 12 > arch/arm/cpu/arm926ejs/at91/cpu.c| 11 +++ > arch/arm/include/asm/arch-at91/at91_dbu.h|4 > arch/a

[U-Boot] [PULL] please pull u-boot-atmel/master

2012-11-05 Thread Andreas Bießmann
Dear Albert Aribaud, The following changes since commit 46d626d3926cf6b9f9c477782c5a0ee620a424cd: socfpga/spl: Remove malloc.h (2012-11-04 16:23:23 +0100) are available in the git repository at: git://git.denx.de/u-boot-atmel.git master for you to fetch changes up to 15915a45d438b9e65e03c3

[U-Boot] [PATCH 0/4] Add DT based ethernet driver for SMDK5250

2012-11-05 Thread Hatim Ali
This patch series enables the DT support on SMDK5250. Ethernet is the first driver whose discovery is based on DT node. More DT based drivers to be added subsequently. Hatim Ali (4): EXYNOS5: FDT: add initial dts file for EXYNOS5250, SMDK5250 fdt: exynos5: Add DT node definition for SROM and S

[U-Boot] [PATCH 1/4] EXYNOS5: FDT: add initial dts file for EXYNOS5250, SMDK5250

2012-11-05 Thread Hatim Ali
This patch adds initial dts file for EXYNOS5250 SoC. This dts file currently include only ethernet devices and properties. More devices to be added in subsequent patches. Also add the dts file for SMDK5250 board which uses the EXYNOS5250 dts file. Signed-off-by: Hatim Ali diff --git a/arch/arm/d

[U-Boot] [PATCH 2/4] fdt: exynos5: Add DT node definition for SROM and SMSC9215

2012-11-05 Thread Hatim Ali
Add the compatibility string and constant for the ethernet driver so the device tree parsing code can recognize it. Signed-off-by: Hatim Ali diff --git a/include/fdtdec.h b/include/fdtdec.h index 0b14075..e310ab4 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -67,6 +67,9 @@ enum fdt_com

[U-Boot] [PATCH 3/4] exynos5: Add DT based driver for SMSC92xx ethernet

2012-11-05 Thread Hatim Ali
Add device tree based ethernet driver for SMSC92xx controller on SMDK5250 boards. Signed-off-by: Hatim Ali diff --git a/arch/arm/include/asm/arch-exynos/sromc.h b/arch/arm/include/asm/arch-exynos/sromc.h index f616bcb..dc6aae2 100644 --- a/arch/arm/include/asm/arch-exynos/sromc.h +++ b/arch/arm

[U-Boot] [PATCH 4/4] exynos5: fdt: Enable FDT for exynos5 based SMDK5250 board

2012-11-05 Thread Hatim Ali
Enable device tree for exynos5. Signed-off-by: Hatim Ali diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index e412da8..a04eb47 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -37,6 +37,12 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY

Re: [U-Boot] [PULL] please pull u-boot-atmel/master

2012-11-05 Thread Albert ARIBAUD
Hi Andreas, On Mon, 5 Nov 2012 11:19:30 +0100, Andreas Bießmann wrote: > Dear Albert Aribaud, > > The following changes since commit 46d626d3926cf6b9f9c477782c5a0ee620a424cd: > > socfpga/spl: Remove malloc.h (2012-11-04 16:23:23 +0100) > > are available in the git repository at: > > git

Re: [U-Boot] hashtable lib and escaping

2012-11-05 Thread Mats Kärrman
Thanks for your advice. I did not say so, but I'm primarily relying on the default environment and not so much the command line. I see now how to make this work by providing the necessary amount of backslash'es. Maybe it was your statement: > THis syntax has never been correct. If it ever worke

Re: [U-Boot] [PATCH 2/3] mmc: sdhci: add the DMA select for SDMA

2012-11-05 Thread Rommel G Custodio
Dear All, Jaehoon Chung On 2012.09/21, Jaehoon Chung wrote: > In host-control register, DMA select bit field is present. > BUt in sdhci.c, didn't select for DMA. This is an FYI. Maybe others will encounter the same problem I had. This code has recently been mainlined and it has caused some probl

Re: [U-Boot] [PATCH v3 1/2] m68k: add support for mcf5307 cpu

2012-11-05 Thread Angelo Dureghello
Hi Wolfgang, thanks for reviewing. See my comments blow. On Sun, Nov 04, 2012 at 10:50:14PM +0100, Wolfgang Denk wrote: > Dear angelo, > > In message <20121104195901.GA5141@angel3> you wrote: > > Add support for freescale coldfire mcf5307 cpu. > ... > > --- /dev/null > > +++ b/arch/m68k/cpu/mcf

[U-Boot] [PATCH v2] net: Fix endianness bug in link-local

2012-11-05 Thread Joe Hershberger
The ip is stored in network order, so we can't test it in host order. Signed-off-by: Joe Hershberger --- Changes in v2: - Changed htonl() to ntohl() net/link_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/link_local.c b/net/link_local.c index d52f13a..1ba796e 10

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
On 11/2/2012 8:24 AM, Joe Hershberger wrote: UBI can mount volumes by name or number The current code forces you to name the volume by prepending every name with "ubi:". From fs/ubifs/super.c * There are several ways to specify UBI volumes when mounting UBIFS: * o ubiX_Y- UBI device nu

[U-Boot] [PATCH v2 2/2] nand: Move the sub-page read support enable to a flag

2012-11-05 Thread Joe Hershberger
Use a flag instead of a hard-coded macro so that sub-page reads can be enabled in other cases (such as on-die ecc). This is the same as a5ff4f102937a3492bca4a9ff0c341d78813414c in Linux Signed-off-by: Joe Hershberger --- Changes in v2: - Added Linux commit ID to commit message drivers/mtd/nand

[U-Boot] [PATCH v2 1/2] ubi: Only read the actual size of the VID header

2012-11-05 Thread Joe Hershberger
If sub-page reads are supported, this will save reading unneeded data Signed-off-by: Joe Hershberger --- drivers/mtd/ubi/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index 8423894..23660e3 100644 --- a/drivers/mtd/ubi/io.c

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Joe Hershberger
Hi Vikram, On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayanan wrote: > > On 11/2/2012 8:24 AM, Joe Hershberger wrote: >> >> UBI can mount volumes by name or number The current code forces you >> to name the volume by prepending every name with "ubi:". >> >> From fs/ubifs/super.c >> * There are

Re: [U-Boot] [PULL] please pull u-boot-avr32/master

2012-11-05 Thread Tom Rini
On Mon, Nov 05, 2012 at 10:31:30AM +0100, Andreas Bie??mann wrote: > Dear Tom Rini, > > The following changes since commit ed296d206a1840c0a0b6c1322379c950f9996905: > > MAKEALL: Add -s to '${MAKE} tidy' section (2012-10-29 14:21:20 -0700) > > are available in the git repository at: > > git

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

2012-11-05 Thread Tom Rini
On Sun, Nov 04, 2012 at 10:51:23PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > b68d6712c379735e886ef9c01b946bc36f295273: > > ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections > (2012-10-26 23:46:21 +0200) > > are available in the git reposito

Re: [U-Boot] [PATCH v1 7/8] am33xx_spl_bch: simple SPL nand loader for AM33XX

2012-11-05 Thread Tom Rini
On Sat, Nov 03, 2012 at 05:21:46PM +0100, Ilya Yanok wrote: > Hi Tom, > > On Wed, Oct 31, 2012 at 1:03 AM, Tom Rini wrote: > > > > > + for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { > > > + this->ecc.hwctl(&mtd, NAND_ECC_READ); + > > nand_command(block, > > > pag

Re: [U-Boot] Custodian branch base commits

2012-11-05 Thread Stephen Warren
On 11/03/2012 05:49 AM, Albert ARIBAUD wrote: > Hi Stephen, > > On Wed, 31 Oct 2012 10:56:08 -0600, Stephen Warren > wrote: > Hopefully, u-boot-arm/master will merge in (or get reset to) u-boot/master fairly shortly. However, should Tegra's repo have to wait for this? >>> >>> Yes

Re: [U-Boot] [PATCH V2 4/4] video: add a driver for the bcm2835

2012-11-05 Thread Stephen Warren
On 11/04/2012 11:02 AM, Anatolij Gustschin wrote: > Hi, > > On Thu, 18 Oct 2012 22:51:34 -0600 > Stephen Warren wrote: >> The firmware running on the bcm2835 SoC's VideoCore CPU manages the >> display controller. Add a simple "LCD" drive that communicates with the ... >> +++ b/drivers/video/bcm28

[U-Boot] [PATCH v5 00/26] pmic: Redesign PMIC framework to support multiple instances of devices

2012-11-05 Thread Lukasz Majewski
PMIC framework has been redesigned to support multiple instances of power related devices (e.g. fuel gauge, PMICs, chargers, micro USB IC, battery). Due to that, code at other architectures and boards have been adjusted properly. New power_init_board() method at ./lib/board.c file has been intro

[U-Boot] [PATCH v5 01/26] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-11-05 Thread Lukasz Majewski
This patch adds support for proper handling of a PMIC I2C transmission comprising of two bytes. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- drivers/misc/pmic_i2

[U-Boot] [PATCH v5 03/26] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-11-05 Thread Lukasz Majewski
PMIC MAX8997 is now ready to work with single and multibus soft I2C implementation. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- drivers/misc/pmic_max8997.c |3 ++- 1 files cha

[U-Boot] [PATCH v5 02/26] pmic:i2c: Add I2C sensor byte order (big/little) to PMIC framework

2012-11-05 Thread Lukasz Majewski
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. Support for big and little sensor endianess is added. Moreover calls to [leXX|beXX]_to_cpu have been added to support little and big endian SoCs. Signed-off-by: Lukasz Majewski Signed-o

[U-Boot] [PATCH v5 05/26] pmic: Introduce power_init_board() method at ./lib/board.c file

2012-11-05 Thread Lukasz Majewski
It is necessary to introduce a new system wide function- power_init_board() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple instances of PMIC devices the initialization shall be performed just after m

[U-Boot] [PATCH v5 04/26] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-11-05 Thread Lukasz Majewski
The PMIC framework has been extended to support multiple instances of the variety of devices responsible for power management. This change allows supporting of e.g. fuel gauge, charger, MUIC (Micro USB Interface Circuit). Power related includes have been moved to ./include/power directory. This is

[U-Boot] [PATCH v5 07/26] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-11-05 Thread Lukasz Majewski
New power_chrg.h file has been added to "bind" together common information about charging battery available in the system. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - Move struct battery elements to a separate file Changes for v3: - None C

[U-Boot] [PATCH v5 08/26] pmic: Move pmic related code to ./drivers/power directory

2012-11-05 Thread Lukasz Majewski
The PMIC framework has been moved to its more natural place ./drivers/power from ./drivers/misc directory. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - New patch for v2 Changes for v3: - None Changes for v4: - Move PMIC related code (max8997.c and max8998.c)

[U-Boot] [PATCH v5 10/26] pmic:battery: Support for Trats Battery at PMIC framework

2012-11-05 Thread Lukasz Majewski
Trats battery is now treated in the same way as other power related devices. This approach allows for more unified handling of all devices responsible for power management. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - New patch at v2. Chang

[U-Boot] [PATCH v5 12/26] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-11-05 Thread Lukasz Majewski
Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 power management device. Special file - fg_battery_cell_params.h with cells characteristics added. The FG device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefan

[U-Boot] [PATCH v5 13/26] pmic:max8997: Function for calculating LDO internal register value

2012-11-05 Thread Lukasz Majewski
Function for calculating LDO internal register value from passed micro Volt. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - MAX8997_LDO_MAX_VAL defined Changes for v3: - None Changes for v4: - None Changes for v5: - None --- drivers/power/pm

[U-Boot] [PATCH v5 14/26] arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
Default PMIC (MAX8997) initialization for Samsung's TRATS development board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- board/samsung/trats/trats.c | 150

[U-Boot] [PATCH v5 15/26] arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- board/samsung/trats/trats.c |2 ++ include/configs/trat

[U-Boot] [PATCH v5 16/26] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None --- board/samsung/trats/trats.c |2 ++

[U-Boot] [PATCH v5 09/26] pmic: Extend struct pmic to support battery and charger related operations

2012-11-05 Thread Lukasz Majewski
Now it is possible to provide specific function per PMIC/power device instance. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - New at patch v2 Changes for v3: - separate power_{battery|chrg|fg} structures to provide battery ops - struct pmic *parent pointer add

[U-Boot] [PATCH v5 17/26] arm:trats:pmic: Enable battery support at Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
Support for TRATS battery has been added. It is treated as a "normal" power related device and thereof controlled by pmic/power subsystem. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - New patch for v2. Changes for v3: - None Changes for v4: -

[U-Boot] [PATCH v5 18/26] pmic:max8997: Support for MAX8997 internal charger control

2012-11-05 Thread Lukasz Majewski
Support for MAX8997 built-in charger. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - power_init_battery() method added to be called from MAX8997 struct pmic instance Changes for v3: - change code according to struct pmic redesign Changes fo

[U-Boot] [PATCH v5 06/26] pmic: Enable power_board_init() support at TRATS

2012-11-05 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag Changes for v4: - None Changes for v5: - None --- board/samsung/trats/trats.c | 11 +++ 1

[U-Boot] [PATCH v5 11/26] pmic:muic: Support for MUIC built into MAX8997 device

2012-11-05 Thread Lukasz Majewski
Support for MUIC (Micro USB Integrated Circuit) built into the MAX8997 power management device. The MUIC device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v2: - power_init_battery now available as a c

[U-Boot] [PATCH v5 19/26] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None ---

[U-Boot] [PATCH v5 21/26] pmic: Extend PMIC framework to support battery related commands

2012-11-05 Thread Lukasz Majewski
Two extra commands: "pmic name bat state" and "pmic name bat charge" has been added to pmic framework. Those provides state display and charge capabilities to named batteries. The pmic_core.c file has been refactored to more consistent name scheme. Signed-off-by: Lukasz Majewski Signed-off-by: K

[U-Boot] [PATCH v5 22/26] power:pmic: Rename ./drivers/power/pmic_* to ./drivers/power/power_* files

2012-11-05 Thread Lukasz Majewski
Rename pmic/power related files at ./drivers/power directory Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None --- drivers/power/Makefile | 10 +--

[U-Boot] [PATCH v5 20/26] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-11-05 Thread Lukasz Majewski
The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - Define separate *p_{} pointer instances for each power device available at Trats - On

[U-Boot] [PATCH v5 25/26] arm:goni:pmic: Adjust GONI target platform board to new PMIC framework

2012-11-05 Thread Lukasz Majewski
Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang Changes for v5: - New patch at v5. --- board/samsung/goni/goni.c |7 +-- 1 files changed, 5

[U-Boot] [PATCH v5 24/26] power:pmic: Rename CONFIG_DIALOG_PMIC defines to CONFIG_DIALOG_POWER

2012-11-05 Thread Lukasz Majewski
Rename CONFIG_DIALOG_PMIC to CONFIG_DIALOG_POWER Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None --- drivers/power/Makefile |2 +- include/configs/mx53loco.h |2 +- 2

[U-Boot] [PATCH v5 26/26] arm:universal_c210:pmic: Adjust C210 Universal target platform board to new PMIC framework

2012-11-05 Thread Lukasz Majewski
Move pmic_init() function call from board_init() to power_init_board() to work with new PMIC/POWER framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang Changes for v5: - New patch at v5. --- board/samsung/universal_c210/universal.c | 11 +++ 1 files

[U-Boot] [PATCH v5 23/26] power:pmic: Rename CONFIG_PMIC* defines to CONFIG_POWER

2012-11-05 Thread Lukasz Majewski
Rename all CONFIG_PMIC* defines to CONFIG_POWER* Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes for v3: - New patch at v3. Changes for v4: - None Changes for v5: - None --- board/samsung/goni/goni.c|2 +- board/samsung/universal_c2

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
Hi Joe, On 11/5/2012 10:19 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayanan wrote: On 11/2/2012 8:24 AM, Joe Hershberger wrote: UBI can mount volumes by name or number The current code forces you to name the volume by prepending every name with "ubi:

Re: [U-Boot] [PATCH V2 4/4] video: add a driver for the bcm2835

2012-11-05 Thread Anatolij Gustschin
On Mon, 05 Nov 2012 10:19:36 -0700 Stephen Warren wrote: > On 11/04/2012 11:02 AM, Anatolij Gustschin wrote: > > Hi, > > > > On Thu, 18 Oct 2012 22:51:34 -0600 > > Stephen Warren wrote: > >> The firmware running on the bcm2835 SoC's VideoCore CPU manages the > >> display controller. Add a simpl

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Joe Hershberger
Hi Vikram, On Mon, Nov 5, 2012 at 11:36 AM, Vikram Narayanan wrote: > Hi Joe, > > > On 11/5/2012 10:19 PM, Joe Hershberger wrote: >> >> Hi Vikram, >> >> On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayanan >> wrote: >>> >>> >>> On 11/2/2012 8:24 AM, Joe Hershberger wrote: UBI can moun

Re: [U-Boot] hashtable lib and escaping

2012-11-05 Thread Wolfgang Denk
Dear Mats Kärrman, In message you wrote: > > that set me off wrong, because in 2009.03 (before the introduction of hasht > able) it did work and there were no confusing parsing of escapes. That's not true. AFAICT, quoting resp. escape rules haven't changed at all, with a single exception: the o

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
On 11/5/2012 11:48 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 11:36 AM, Vikram Narayanan wrote: Hi Joe, On 11/5/2012 10:19 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayanan wrote: On 11/2/2012 8:24 AM, Joe Hershberger wrote: UB

Re: [U-Boot] [PATCH v3 2/2] amcore: add support for amcore board

2012-11-05 Thread Wolfgang Denk
Dear Angelo Dureghello, please make sure to keep the mailing list on Cc: ! In message <20121105153011.GA8705@angel3> you wrote: > > > > board/sysam/amcore/Makefile| 43 > > > board/sysam/amcore/amcore.c| 168 ++ > > > board/sysam/amcore/config.mk | 23

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Joe Hershberger
Hi Vikram, On Mon, Nov 5, 2012 at 12:41 PM, Vikram Narayanan wrote: > On 11/5/2012 11:48 PM, Joe Hershberger wrote: >> >> Hi Vikram, >> >> On Mon, Nov 5, 2012 at 11:36 AM, Vikram Narayanan >> wrote: >>> >>> Hi Joe, >>> >>> >>> On 11/5/2012 10:19 PM, Joe Hershberger wrote: Hi Vikram

Re: [U-Boot] [PATCH v2] net: Fix endianness bug in link-local

2012-11-05 Thread Kim Phillips
On Mon, 5 Nov 2012 10:13:45 -0600 Joe Hershberger wrote: > The ip is stored in network order, so we can't test it in host order. > > Signed-off-by: Joe Hershberger > --- > Changes in v2: > - Changed htonl() to ntohl() Reviewed-by: Kim Phillips Kim ___

Re: [U-Boot] Custodian branch base commits

2012-11-05 Thread Albert ARIBAUD
Hi Stephen, On Mon, 05 Nov 2012 10:17:23 -0700, Stephen Warren wrote: > On 11/03/2012 05:49 AM, Albert ARIBAUD wrote: > > Hi Stephen, > > > > On Wed, 31 Oct 2012 10:56:08 -0600, Stephen Warren > > wrote: > > > Hopefully, u-boot-arm/master will merge in (or get reset to) > u-boot/ma

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

2012-11-05 Thread Stephen Warren
On 11/05/2012 09:54 AM, Tom Rini wrote: > On Sun, Nov 04, 2012 at 10:51:23PM +0100, Albert ARIBAUD wrote: > >> Hello Tom, >> >> The following changes since commit >> b68d6712c379735e886ef9c01b946bc36f295273: >> >> ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections >> (2012-10-26 23:46

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-11-05 Thread Stephen Warren
On 11/02/2012 04:10 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 11/02/2012 03:28 PM, Marek Vasut wrote: >>> Dear Stephen Warren, >>> On 11/02/2012 02:38 PM, Marek Vasut wrote: >> ... >> > Dumb question -- might be unrelated. Does the tegra mmc driver do DMA? > And if so, wha

Re: [U-Boot] [PATCH 5/5] mpc iim: Switch to common fsl_iim

2012-11-05 Thread Benoît Thébaudeau
Dear Anatolij Gustschin, On Tuesday, August 21, 2012 10:15:00 AM, Stefano Babic wrote: > On 14/08/2012 14:53, Benoît Thébaudeau wrote: > > Signed-off-by: Benoît Thébaudeau > > Cc: Wolfgang Denk > > Cc: Stefano Babic > > --- > > .../arch/powerpc/cpu/mpc512x/Makefile |1 - > > .

[U-Boot] [PATCH v2] mx5: Mark lowlevel_init board-specific code

2012-11-05 Thread Benoît Thébaudeau
The mx5 lowlevel_init.S contains board-specific code based on the reference design. Let's keep it since it avoids creating new lowlevel_init files and it may be used by many boards. But add a config to make it optional in order not to cause issues on boards not following this part of the reference

[U-Boot] [PATCH 01/13] mx31: Move EHCI definitions to ehci-fsl.h

2012-11-05 Thread Benoît Thébaudeau
The EHCI definitions in i.MX31's imx-regs.h are MXC-generic, so move them to ehci-fsl.h so that all MXC SoCs can use them. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx31/imx-regs.h | 26 .../include/usb/ehci

[U-Boot] [PATCH 02/13] ehci-mxc: Clean up

2012-11-05 Thread Benoît Thébaudeau
Clean up ehci-mxc: - Remove useless #if's. - Fix identation. - Issue a #error if used with an unsupported platform. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mxc.c| 86 +--- 1 file changed, 40 inser

Re: [U-Boot] [PATCH 2/3] md5: Fix gcc-4.7 build problem in md5

2012-11-05 Thread Pavel Machek
Hi! > In message <20121104003242.92729200...@gemini.denx.de> I wrote: > > > > > /* Append length in bits and transform */ > > > - ctx->in32[14] = ctx->bits[0]; > > > - ctx->in32[15] = ctx->bits[1]; > > > + memcpy(ctx->in + 14 * sizeof(__u32), ctx->bits, 2 * sizeof(__u32)); > > > > This makes t

[U-Boot] [PATCH 03/13] ehci-mx5: Clean up

2012-11-05 Thread Benoît Thébaudeau
Clean up ehci-mx5: - Fix column alignments. - Fix comments. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c| 34 ++-- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git u-boot-usb-76454b2.

[U-Boot] [PATCH 04/13] ehci-mx5: Fix OC_DIS usage

2012-11-05 Thread Benoît Thébaudeau
MXC_OTG_PHYCTRL_OC_DIS_BIT disables the oc pin if set, like MXC_H1_OC_DIS_BIT, not the opposite. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-

[U-Boot] [PATCH 05/13] ehci-mx5: Fix OPM usage

2012-11-05 Thread Benoît Thébaudeau
MXC_OTG_UCTRL_OPM_BIT disables (masks) the power/oc pins if set, like MXC_H1_UCTRL_H1PM_BIT and MXC_H2_UCTRL_H2PM_BIT, not the opposite. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c|4 ++-- 1 file

[U-Boot] [PATCH 06/13] ehci-mx5: Fix *PM usage for i.MX53

2012-11-05 Thread Benoît Thébaudeau
The MXC_*_UCTRL_*PM_BIT bits are available only on i.MX51. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c |6 ++ 1 file changed, 6 insertions(+) diff --git u-boot-usb-76454b2.orig/drivers/usb/host

[U-Boot] [PATCH 07/13] ehci-mx5: Add missing OC_DIS for i.MX53

2012-11-05 Thread Benoît Thébaudeau
The i.MX53 has MXC_H*_UCTRL_H*_OC_DIS_BIT bits to disable the oc pin. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c| 25 1 file changed, 25 insertions(+) diff --git u-boot-usb-76454b2.orig/driv

[U-Boot] [PATCH 08/13] ehci-mxc: Make EHCI power/oc polarities configurable

2012-11-05 Thread Benoît Thébaudeau
Make EHCI power and overcurrent polarities configurable. If not set, these new configurartions keep the default register values so that existing board files do not have to be changed. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c

[U-Boot] [PATCH 09/13] ehci-mxc: Make i.MX25 EHCI configurable

2012-11-05 Thread Benoît Thébaudeau
Use EHCI MXC configuration options for i.MX25. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic Cc: Matthias Weisser --- .../drivers/usb/host/ehci-mxc.c| 71 +--- .../include/configs/zmx25.h|6 +- 2 files chan

[U-Boot] [PATCH 10/13] ehci-mxc: Define host offsets

2012-11-05 Thread Benoît Thébaudeau
Some MXC SoCs like the i.MX35 have hosts located at unusual offsets, so prepare to the introduction of i.MX35 support by defining the ehci-mxc hosts offsets at SoC level. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx25/imx-regs.h

[U-Boot] [PATCH 11/13] ehci-mxc: Add support for i.MX35

2012-11-05 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 + .../drivers/usb/host/ehci-mxc.c| 68 2 files changed, 70 insertions(+) diff --git u-boot-usb-76454b2.orig/arch/arm/incl

[U-Boot] [PATCH 12/13] mx35pdk: Add support for OTG

2012-11-05 Thread Benoît Thébaudeau
Add support for the OTG port on the mx35pdk Personality board. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Marek Vasut --- Note: I have tested this on a similar board, but not on the mx35pdk itself. So please, someone test on mx35pdk. Stefano? .../board/freescale/mx35pdk/lowlevel_i

[U-Boot] [PATCH 13/13] ehci-mx5: Make board_ehci_hcd_init() optional

2012-11-05 Thread Benoît Thébaudeau
A custom board_ehci_hcd_init() may be unneeded, so add a weak default implementation doing nothing. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- .../drivers/usb/host/ehci-mx5.c|8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH 1/3] nand: Clean up nand_util

2012-11-05 Thread Benoît Thébaudeau
This patch cleans up nand_util.c: - Fix tabs. - Fix typos. - Remove space character before opening parenthesis in function calls. - Fix comments. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood --- .../drivers/mtd/nand/nand_util.c | 64 ++-- 1 file change

[U-Boot] [PATCH 2/3] nand: Fix nand_erase_opts() offset check

2012-11-05 Thread Benoît Thébaudeau
NAND Flash is erased by blocks, not by pages. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood --- .../drivers/mtd/nand/nand_util.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git u-boot-nand-flash-9c60e75.orig/drivers/mtd/nand/nand_util

[U-Boot] [PATCH 3/3] nand: Add torture feature

2012-11-05 Thread Benoît Thébaudeau
This patch adds a NAND Flash torture feature, which is useful as a block stress test to determine if a block is still good and reliable (or should be marked as bad), e.g. after a write error. This code is ported from mtd-utils' lib/libmtd.c. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood ---

Re: [U-Boot] [PATCH v7 09/16] arm: Add control over cachability of memory regions

2012-11-05 Thread Simon Glass
Hi Dennis, On Sun, Nov 4, 2012 at 7:00 PM, Dennis Lan (dlan) wrote: > HI Simon: > This patch still not go to the master branch, > but I actually found it useful, like interact with peripheral buffer > (not only just LCD here), then I can set special attribute. It should come in via Tegra, ARM fa

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-05 Thread Simon Glass
Hi, On Thu, Nov 1, 2012 at 10:03 AM, Stephen Warren wrote: > On 11/01/2012 01:42 AM, Heiko Schocher wrote: >> Hello Stephen, >> >> On 31.10.2012 17:25, Stephen Warren wrote: >>> On 10/31/2012 09:56 AM, Simon Glass wrote: Hi Stephen, On Wed, Oct 31, 2012 at 8:41 AM, Stephen War

Re: [U-Boot] [PATCH 1/2] tegra: i2c: Add function to know about current bus

2012-11-05 Thread Simon Glass
Hi Heiko, On Tue, Oct 30, 2012 at 10:26 PM, Heiko Schocher wrote: > Hello Simon, > > > On 30.10.2012 18:28, Simon Glass wrote: >> >> Rather than using a variable in various places, add a single function, >> tegra_i2c_get_bus(), which returns a pointer to information about a >> bus. >> >> This wil

[U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Benoît Thébaudeau
Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like to use the multi-controller feature on MXC since most of these SoCs come with a USB IP supporting an OTG controller and multiple host-only controllers. Currently the MXC code in ehci-mx{c|5|6}.c just ignores the i

Re: [U-Boot] [PATCH] pxa: Disable dcache on palmld, palmtc, zipitz2

2012-11-05 Thread Simon Glass
Hi, On Wed, Oct 31, 2012 at 9:52 AM, Tom Warren wrote: > Marek, > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Wednesday, October 31, 2012 9:41 AM >> To: Tom Rini >> Cc: Simon Glass; U-Boot Mailing List; Tom Warren >> Subject: Re: [PATCH] pxa: Disable dcache

Re: [U-Boot] [PATCH 2/3] md5: Fix gcc-4.7 build problem in md5

2012-11-05 Thread Wolfgang Denk
Dear Pavel, In message <20121105200340.GA15821@xo-6d-61-c0.localdomain> you wrote: > > > > > /* Append length in bits and transform */ > > > > - ctx->in32[14] = ctx->bits[0]; > > > > - ctx->in32[15] = ctx->bits[1]; > > > > + memcpy(ctx->in + 14 * sizeof(__u32), ctx->bits

Re: [U-Boot] [PATCH v3 2/2] amcore: add support for amcore board

2012-11-05 Thread Angelo Dureghello
On Mon, Nov 05, 2012 at 07:48:56PM +0100, Wolfgang Denk wrote: > Dear Angelo Dureghello, > > please make sure to keep the mailing list on Cc: ! > ok. > In message <20121105153011.GA8705@angel3> you wrote: > > > > > > board/sysam/amcore/Makefile| 43 > > > > board/sysam/amcore/a

Re: [U-Boot] [PATCH v3 1/2] m68k: add support for mcf5307 cpu

2012-11-05 Thread Angelo Dureghello
Hi Wolfgang, i have still a question here, please see below. On Sun, Nov 04, 2012 at 10:50:14PM +0100, Wolfgang Denk wrote: > Dear angelo, > > In message <20121104195901.GA5141@angel3> you wrote: > > Add support for freescale coldfire mcf5307 cpu. > ... > > --- /dev/null > > +++ b/arch/m68k/cpu/

Re: [U-Boot] [PATCH v3 2/2] amcore: add support for amcore board

2012-11-05 Thread Angelo Dureghello
Hi Wolfgang, sorry but i have still a note here. About #define VALUE (0) you said to fix it globally, without parens. Working for the fixes i found several "accepted" files (i.e. m5282.h) full of #define XYZ1 (1) #define XYZ2 (2) etc etc. CodingStyle says parens around expressions must

Re: [U-Boot] [PATCH v2 10/25] common/misc: sparse fixes

2012-11-05 Thread Henrik Nordström
mån 2012-10-29 klockan 18:34 -0500 skrev Kim Phillips: > diff --git a/common/command.c b/common/command.c > index 50c8429..f51df26 100644 > --- a/common/command.c > +++ b/common/command.c > @@ -40,8 +40,15 @@ int _do_help (cmd_tbl_t *cmd_start, int cmd_items, > cmd_tbl_t * cmdtp, int > int

[U-Boot] [PATCH v2 1/2] cbfs: Remove mention of CREDITS files

2012-11-05 Thread Simon Glass
As requested by Wolfgang, remove references to CREDITS in the CBFS files. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to remove mention of CREDITS in CBFS files fs/cbfs/Makefile |4 +--- fs/cbfs/cbfs.c |3 --- include/cbfs.h |3 --- 3 files changed, 1 insertions(+)

[U-Boot] [PATCH v2 2/2] cbfs: Add docbook template

2012-11-05 Thread Simon Glass
This adds a docbook template for fs, and makes CBFS use it. Signed-off-by: Simon Glass --- Changes in v2: - Repeat function name in comment as required by dopey DocBook doc/DocBook/Makefile |2 +- include/cbfs.h | 69 ++ 2 files change

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-11-05 Thread Simon Glass
Hi, On Sat, Nov 3, 2012 at 2:11 PM, Simon Glass wrote: > Hi Wolfgang, > > On Sat, Nov 3, 2012 at 8:04 AM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message >> you >> wrote: >>> >>> >> > --- /dev/null >>> >> > +++ b/common/cmd_cbfs.c >>> >> > @@ -0,0 +1,214 @@ >>> >> > +/* >>> >> > +

Re: [U-Boot] [PATCH 2/3] md5: Fix gcc-4.7 build problem in md5

2012-11-05 Thread Pavel Machek
Hi! In message <20121105200340.GA15821@xo-6d-61-c0.localdomain> you wrote: >> >> > > > /* Append length in bits and transform */ >> > > > - ctx->in32[14] = ctx->bits[0]; >> > > > - ctx->in32[15] = ctx->bits[1]; >> > > > + memcpy(ctx->in + 14 * siz

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Marek Vasut
Dear Benoît Thébaudeau, > Hi Marek, > > Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like > to use the multi-controller feature on MXC since most of these SoCs come > with a USB IP supporting an OTG controller and multiple host-only > controllers. > > Currently the MXC co

Re: [U-Boot] [PATCH 01/13] mx31: Move EHCI definitions to ehci-fsl.h

2012-11-05 Thread Marek Vasut
Dear Benoît Thébaudeau, > The EHCI definitions in i.MX31's imx-regs.h are MXC-generic, so move them > to ehci-fsl.h so that all MXC SoCs can use them. > > Signed-off-by: Benoît Thébaudeau > Cc: Marek Vasut > Cc: Stefano Babic [...] I'll delegate review of this patchset to Stefano .. .Stefano,

Re: [U-Boot] [PATCH 13/13] ehci-mx5: Make board_ehci_hcd_init() optional

2012-11-05 Thread Marek Vasut
Dear Benoît Thébaudeau, > A custom board_ehci_hcd_init() may be unneeded, so add a weak default > implementation doing nothing. > > Signed-off-by: Benoît Thébaudeau > Cc: Marek Vasut > Cc: Stefano Babic > --- > .../drivers/usb/host/ehci-mx5.c|8 > 1

  1   2   >