Re: [U-Boot] [PATCH] nand_spl: fix u-boot.lst breakage

2012-11-13 Thread Wolfgang Denk
Dear Marek Vasut, In message <201211140017.02013.ma...@denx.de> you wrote: > > > Commit 97b24d3d51a92cb8c0c1e1a74abf22fe1a1807a3 "common: Add symbol > > handling for generic lists into Makefile" introduced build errors in many > > nand_spl targets, complaining of a missing u-boot.lst. When not d

Re: [U-Boot] U-Boot NAND-Access

2012-11-13 Thread Scott Wood
On 11/13/2012 03:57:50 AM, Peter Niklas wrote: Yes, I understand. Unfortunate for me. But besides the custom uboot version: Would I need to configure additional commands to use NAND-Flash in the mainline? You would need to add support for your hardware. -Scott _

[U-Boot] [PATCH 3/4 v2] dtc/libfdt: introduce fdt types for annotation by endian checkers

2012-11-13 Thread Kim Phillips
Projects such as linux and u-boot run sparse on libfdt. libfdt contains the notion of endianness via usage of endian conversion functions such as fdt32_to_cpu. As such, in order to pass endian checks, libfdt has to annotate its fdt variables such that sparse can warn when mixing bitwise and regul

Re: [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup

2012-11-13 Thread Joe Hershberger
Hi Tomas, On Sat, Nov 3, 2012 at 6:23 PM, Tomas Hlavacek wrote: > Dear Wolfgang, > > On Sat, Nov 3, 2012 at 4:09 PM, Wolfgang Denk wrote: >> Dear Tomas Hlavacek, >> >> In message <1351876722-5183-1-git-send-email-tmshl...@gmail.com> you wrote: >>> This patchset is a first stage of preparation of

Re: [U-Boot] [PATCH] nand_spl: fix u-boot.lst breakage

2012-11-13 Thread Marek Vasut
Dear Scott Wood, > Commit 97b24d3d51a92cb8c0c1e1a74abf22fe1a1807a3 "common: Add symbol > handling for generic lists into Makefile" introduced build errors in many > nand_spl targets, complaining of a missing u-boot.lst. When not doing an > out-of-tree build, $(obj) expands to nothing, so GCC ende

Re: [U-Boot] [PATCH v2 00/22] Convert p1_p2_rdb_pc to new spl

2012-11-13 Thread Scott Wood
On 10/30/2012 04:12:56 PM, Tom Rini wrote: On Tue, Oct 30, 2012 at 03:17:04PM -0500, Scott Wood wrote: > On 10/30/2012 12:04:40 PM, Tom Rini wrote: > >On Mon, Oct 29, 2012 at 09:04:48PM -0500, Scott Wood wrote: > > > >> Tested on p2020rdb-pca and p1020rdb-pc. > >> > >> Jos?? Miguel Gon??alves (1)

[U-Boot] [PATCH v3] powerpc/mpc85xx/p2020rdb-pca: Use L2 SRAM for SPL boot

2012-11-13 Thread Scott Wood
This allows DDR configuration to be deferred to the final U-Boot image, which is able to make use of SPD data. The SPL itself cannot use SPD due to code size constraints. It previously used fixed register values for DDR configuration, and those values did not work on the p2020rdb-pca board I test

[U-Boot] [PATCH] nand_spl: fix u-boot.lst breakage

2012-11-13 Thread Scott Wood
Commit 97b24d3d51a92cb8c0c1e1a74abf22fe1a1807a3 "common: Add symbol handling for generic lists into Makefile" introduced build errors in many nand_spl targets, complaining of a missing u-boot.lst. When not doing an out-of-tree build, $(obj) expands to nothing, so GCC ended up being given -I with n

Re: [U-Boot] [PATCH 1/2] libfdt: Add support for appending the values to a existing property

2012-11-13 Thread Kim Phillips
On Mon, 12 Nov 2012 21:41:17 -0500 Jerry Van Baren wrote: > On 11/08/2012 08:41 PM, Kim Phillips wrote: > > On Sat, 15 Sep 2012 10:36:28 -0400 > > Jerry Van Baren wrote: > >> Queued up 2 of 2 patches to the u-boot-fdt "next" branch. I'll issue a > >> pull request when the merge window opens. >

Re: [U-Boot] [PATCH V2 1/2] mmc: add bcm2835 driver

2012-11-13 Thread Albert ARIBAUD
Hi Stephen, On Sun, 11 Nov 2012 14:54:46 -0700, Stephen Warren wrote: > On 11/10/2012 02:17 AM, Albert ARIBAUD wrote: > > Hi Stephen, > > > >> arch/arm/include/asm/arch-bcm2835/sdhci.h | 24 > >> drivers/mmc/Makefile |1 + > >> drivers/mmc/bcm2835_sdhci.c

Re: [U-Boot] [PATCH v2 0/2] Factorize ARM startup code as mush as possible.

2012-11-13 Thread Albert ARIBAUD
Hi Sughosh, On Tue, 13 Nov 2012 09:40:19 +0530, Sughosh Ganu wrote: > hi Albert, > > On Sat, Nov 10, 2012 at 8:00 PM, Albert ARIBAUD > wrote: > > > Hi Sughosh, > > > > On Thu, 8 Nov 2012 19:50:28 +0530, Sughosh Ganu > > wrote: > > > > > hi Albert, > > > > > > On Mon Nov 05, 2012 at 01:09:25PM

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

2012-11-13 Thread Benoît Thébaudeau
A custom board_ehci_hcd_init() may be unneeded, so add a weak default implementation doing nothing. By the way, use simple __weak from linux/compiler.h for board_ehci_hcd_postinit() instead of weak alias with full attribute. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --

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

2012-11-13 Thread Benoît Thébaudeau
Add support for the OTG port on the mx35pdk Personality board. Signed-off-by: Benoît Thébaudeau Tested-by: Stefano Babic Cc: Stefano Babic Cc: Marek Vasut --- Changes for v2: - Tested by Stefano. Changes for v3: - Fix lines over 80 characters. .../board/freescale/mx35pdk/lowlevel_init.S

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

2012-11-13 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Stefano Babic --- Changes for v2: None. Changes for v3: - Fix lines over 80 characters. .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 + .../drivers/usb/host/ehci-mxc.c| 69 2 files cha

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../arc

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: - Fix lines over 80 characters. .../drivers/usb/host/ehci-mxc.c| 72 +--- ..

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: -

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../drivers/usb/host/ehci-mx5.c| 24 1 file changed, 24 insertion

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../drivers/usb/host/ehci-mx5.c |7 ++- 1 file changed, 6 insertions(+), 1 dele

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../drivers/usb/host/ehci-mx5.c

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../drivers/usb/host/ehci-mx5.c |6 +++--- 1

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: - Fix lines over 80 characters. .../drivers/usb/host/ehci-mx5.c| 45 +++- 1 file ch

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../drivers/usb/host/ehci-mxc.c| 86 +

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

2012-11-13 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 --- Changes for v2: None. Changes for v3: None. .../arch/arm/include/asm/arch-mx31/imx-regs.h |

[U-Boot] [PATCH] omap4: Add comments on some "#endif"s for readability.

2012-11-13 Thread Robert P. J. Day
No functional changes, simply for readability. Signed-off-by: Robert P. J. Day --- diff --git a/arch/arm/cpu/armv7/omap4/clocks.c b/arch/arm/cpu/armv7/omap4/clocks.c index 5bd0a88..12c5803 100644 --- a/arch/arm/cpu/armv7/omap4/clocks.c +++ b/arch/arm/cpu/armv7/omap4/clocks.c @@ -44,7 +44,7 @@

[U-Boot] [PATCH] omap3: Add a few comments to "#endif"s for readability.

2012-11-13 Thread Robert P. J. Day
No functional changes, just more comments for readability when a preprocessor check spans more than a few lines, and for consistency. Signed-off-by: Robert P. J. Day --- diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c index f3cd81a..89c587e 100644 --- a/arch/ar

[U-Boot] [PATCH] Pass sdrc timing values through board_sdrc_timings structure

2012-11-13 Thread Peter Barada
Instead of passing individual registers by value to board_get_mem_timings, pass a board_mem_timings structure pointer for the board files to fill in. Pass same structure pointer to write_sdrc_timings. This saves about 90 bytes of space in SPL. Signed-off-by: Peter Barada --- arch/arm/cpu/armv7/

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

2012-11-13 Thread Stephen Warren
On 11/12/2012 11:24 PM, Heiko Schocher wrote: > Hello Stephen, > > On 08.11.2012 18:05, Stephen Warren wrote: >> On 11/07/2012 11:47 PM, Heiko Schocher wrote: >>> On 01.11.2012 18:03, Stephen Warren wrote: >> ... I'd suggest having a CONFIG_SYS_I2C_DRIVERS variable at most, and each driv

Re: [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode

2012-11-13 Thread Stefano Babic
On 13/11/2012 16:55, Andreas Bießmann wrote: >> +CONFIG_SPL_OS_BOOT Activate Falcon mode. >> +A board should implement the following functions: > > I think reordering this list to have the required functions directly > after the colon would be helpful. Alternatively add a poi

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Marek Vasut
Dear Andreas Bießmann, > Dear Marek Vasut, > > On 13.11.2012 17:30, Marek Vasut wrote: > > Dear Andreas Bießmann, > > > >> On 13.11.2012 17:21, Wolfgang Denk wrote: > >>> Dear Marek Vasut, > >>> > >>> In message <201211131453.18366.ma...@denx.de> you wrote: > > make[1]: Entering dir

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Andreas Bießmann
Dear Marek Vasut, On 13.11.2012 17:30, Marek Vasut wrote: > Dear Andreas Bießmann, > >> On 13.11.2012 17:21, Wolfgang Denk wrote: >>> Dear Marek Vasut, >>> >>> In message <201211131453.18366.ma...@denx.de> you wrote: > make[1]: Entering directory `.../doc/DocBook' > make[1]: Leaving d

[U-Boot] [PATCH] Makefile: silence 'make clean'

2012-11-13 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann Cc: Marek Vasut Cc: Wolfgang Denk --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9dc89f9..5fa2fba 100644 --- a/Makefile +++ b/Makefile @@ -811,7 +811,7 @@ clean: @rm -f $(obj)include/generated

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Marek Vasut
Dear Andreas Bießmann, > On 13.11.2012 17:21, Wolfgang Denk wrote: > > Dear Marek Vasut, > > > > In message <201211131453.18366.ma...@denx.de> you wrote: > >>> make[1]: Entering directory `.../doc/DocBook' > >>> make[1]: Leaving directory `.../doc/DocBook' > >>> > >>> We didn't have this bef

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Andreas Bießmann
On 13.11.2012 17:21, Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201211131453.18366.ma...@denx.de> you wrote: >> >>> make[1]: Entering directory `.../doc/DocBook' >>> make[1]: Leaving directory `.../doc/DocBook' >>> >>> We didn't have this before, and we shouldn't have this. >

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Wolfgang Denk
Dear Marek Vasut, In message <201211131453.18366.ma...@denx.de> you wrote: > > > make[1]: Entering directory `.../doc/DocBook' > > make[1]: Leaving directory `.../doc/DocBook' > > > > We didn't have this before, and we shouldn't have this. > > > > Can you please fix this regression? Th

Re: [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode

2012-11-13 Thread Andreas Bießmann
Dear Stefano Babic, On 13.11.2012 12:11, Stefano Babic wrote: > Simple howto to add support to a board > for booting the kernel from SPL ("Falcon" mode). > > Signed-off-by: Stefano Babic > --- > Changes in v2: > - spelling, language fixes (Andreas Biessman) > - rewrite some unclear sentences > -

Re: [U-Boot] [PATCH v2 2/2] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define

2012-11-13 Thread Thomas Weber
On 11/13/2012 12:11 PM, Stefano Babic wrote: > CONFIG_SPL_OS_BOOT_KEY is used only in board files. It is > not required to have a general CONFIG_ option. Rename it and > define it in board directory. > > Signed-off-by: Stefano Babic > Tested on Devkit8000. Tested-by: Thomas Weber Acked-by: Thoma

Re: [U-Boot] Want to burn a u-boot to a customized board

2012-11-13 Thread narke
On Tue, 13 Nov 2012 01:33:21 +0100, Angelo Dureghello wrote: Hi Narke, every board has a specific include/configs/xxyyzz.h configuration file, based on the board-specific memory map (where flash, sdram etc are mapped). So, if you are not lucky enough that other similar boards use same

Re: [U-Boot] [PATCH 1/7] i2c: Use __weak instead of __attribute__((weak, alias))

2012-11-13 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <1352766871-892-1-git-send-email-ma...@denx.de> you wrote: > > Use __weak from linux/compiler.h instead of __attribute__((weak, alias)) > > to define overridable function. This patch is intended as a cleanup patch > > to bring some consistenc

Re: [U-Boot] U-Boot 2012.10 - pxa270 CPU Unknown / no turbo

2012-11-13 Thread Marek Vasut
Dear Andreas Puls, > Hi together, > > i've got another problem with latest stable U-Boot-2012.10 and a Toradex > Colibri PXA270 V2.4 > > Uboot dosen't regonized the CPU Revision > u-boot summary screen: > > U-Boot 2012.10 (Nov 12 2012 - 14:22:12) > CPU: Marvell PXA27x rev. Unknown See arch/arm

Re: [U-Boot] Silence "make clean"

2012-11-13 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek, > > your commit 30ff8918 ("kerneldoc: Implant DocBook from Linux kernel") > causes "make clean" (and all other targets that use this implicitly) > to spit out these messages: > > make[1]: Entering directory `.../doc/DocBook' > make[1]: Leaving direct

Re: [U-Boot] [PATCH 4/7] i2c: mxs: Abstract out the MXS I2C speed setup

2012-11-13 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek, > > In message <1352766871-892-4-git-send-email-ma...@denx.de> you wrote: > > This patch pulls out the I2C speed setup from the i2c_init() call > > and implements the bus configuration lookup table with register > > values that needs to be programmed into the I2C

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

2012-11-13 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. Changes for v6: - None Changes for v7: - Check pmic_init() return valu

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

2012-11-13 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. Changes for v6: - None Changes for v7: - Check pmic_init() return valu

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

2012-11-13 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 Changes for v6: - None Changes for v7: - None --- board/samsung/goni/goni.c

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

2012-11-13 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 Changes for v6: - None Changes for v7: - None --- drivers/power/Makefile |

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

2012-11-13 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 Changes for v6: - None Changes for v7: - None --- drivers/power/Ma

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

2012-11-13 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 v7 20/26] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-11-13 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 v7 19/26] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-11-13 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 Cha

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

2012-11-13 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 v7 18/26] pmic:max8997: Support for MAX8997 internal charger control

2012-11-13 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 v7 16/26] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-11-13 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 Changes for v6: - None Changes for v7: -

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

2012-11-13 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 Changes for v6: - None Changes for v7: - Check return value of

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

2012-11-13 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 v7 14/26] arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board

2012-11-13 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 Changes for v6: - None Changes for v7: - Chec

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

2012-11-13 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 Changes for v6: - Non

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

2012-11-13 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 v7 10/26] pmic:battery: Support for Trats Battery at PMIC framework

2012-11-13 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 v7 09/26] pmic: Extend struct pmic to support battery and charger related operations

2012-11-13 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 v7 08/26] pmic: Move pmic related code to ./drivers/power directory

2012-11-13 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 v7 07/26] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-11-13 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 v7 05/26] pmic: Introduce power_init_board() method at ./lib/board.c file

2012-11-13 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 v7 06/26] pmic: Enable power_board_init() support at TRATS

2012-11-13 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - None Changes for v3: - Remove CONFIG_POWER_INIT flag Changes for v4: - None Changes for v5: - None Changes for v6: - None Changes for v7

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

2012-11-13 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 v7 03/26] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-11-13 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 Changes for v6: - None Changes for v7: - None --- drive

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

2012-11-13 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 v7 01/26] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-11-13 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 Changes for v6: - None Ch

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

2012-11-13 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

Re: [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode

2012-11-13 Thread Thomas Weber
Hello Stefano, there are some inconsistency for the writing of the Falcon mode: "Falcon" mode, Falcon mode, Falcon, falcon, "Falcon mode" On 11/13/2012 12:11 PM, Stefano Babic wrote: > Simple howto to add support to a board > for booting the kernel from SPL ("Falcon" mode). > > Signed-off-by: Ste

Re: [U-Boot] [PATCH 00/11] ks8695 (cm4008, cm41xx) bugfixes, constant removals, configuration generalized (repost)

2012-11-13 Thread Yann Vernier
On Sat, 10 Nov 2012 09:03:32 +0100 Albert ARIBAUD wrote: > Hi Yann, > > On Fri, 5 Oct 2012 14:09:47 +0200, Yann Vernier > wrote: > > > On Thu, 4 Oct 2012 11:15:06 +0200 > > Albert ARIBAUD wrote: > > > Sorry it took me so long to crawl my backlog... This series was > > > posted with long line

[U-Boot] Silence "make clean"

2012-11-13 Thread Wolfgang Denk
Dear Marek, your commit 30ff8918 ("kerneldoc: Implant DocBook from Linux kernel") causes "make clean" (and all other targets that use this implicitly) to spit out these messages: make[1]: Entering directory `.../doc/DocBook' make[1]: Leaving directory `.../doc/DocBook' We didn't

[U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode

2012-11-13 Thread Stefano Babic
Simple howto to add support to a board for booting the kernel from SPL ("Falcon" mode). Signed-off-by: Stefano Babic --- Changes in v2: - spelling, language fixes (Andreas Biessman) - rewrite some unclear sentences - drop CONFIG_SPL_OS_BOOT_KEY - make example with twister more exhaustive doc/RE

[U-Boot] [PATCH v2 2/2] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define

2012-11-13 Thread Stefano Babic
CONFIG_SPL_OS_BOOT_KEY is used only in board files. It is not required to have a general CONFIG_ option. Rename it and define it in board directory. Signed-off-by: Stefano Babic --- board/technexion/twister/twister.c |8 board/technexion/twister/twister.h |2 ++ board/timll/d

Re: [U-Boot] wanting a couple clarifications on the boards.cfg file

2012-11-13 Thread Robert P. J. Day
On Mon, 12 Nov 2012, Henrik Nordström wrote: > mån 2012-11-12 klockan 12:43 -0500 skrev Robert P. J. Day: > > after some playing around, i think i have a pretty good handle on > > the structure and usage of the boards.cfg file, except for what are > > apparently some oddities (not errors, just r

Re: [U-Boot] MPC8306SOM U-Boot issue

2012-11-13 Thread Wolfgang Denk
Dear Easwar, In message you wrote: > > Im using a board similar to MPC8306SOM, We are using the same DDR, NOR, Similar is not good enough. If there are _any_ differences, you must adapt U-Boot to these = port U-Boot to your hardware. There is no way around that. OK, you can close your ey

Re: [U-Boot] U-Boot NAND-Access

2012-11-13 Thread Peter Niklas
Yes, I understand. Unfortunate for me. But besides the custom uboot version: Would I need to configure additional commands to use NAND-Flash in the mainline? Regards, Peter From: Scott Wood To: Peter Niklas , Cc: Date: 13.11.2012 04:13 Subject: Re: [U-Boot] U-Boot NAND-Access On 11/08/2

[U-Boot] MPC8306SOM U-Boot issue

2012-11-13 Thread Easwar Balasubramanian
Hi, Im using a board similar to MPC8306SOM, We are using the same DDR, NOR, NAND and Processor. Even the part number is not changed. We tried to boot U-Boot from NOR flash, but there is no response on the Serial Console. We checked the data lines and address lines, everything appears to be work

Re: [U-Boot] [PATCH 4/7] i2c: mxs: Abstract out the MXS I2C speed setup

2012-11-13 Thread Wolfgang Denk
Dear Marek, In message <1352766871-892-4-git-send-email-ma...@denx.de> you wrote: > This patch pulls out the I2C speed setup from the i2c_init() call > and implements the bus configuration lookup table with register > values that needs to be programmed into the I2C IP to run at > particular speed.

Re: [U-Boot] [PATCH v2 2/4] New command bootmenu: ANSI terminal Boot Menu support

2012-11-13 Thread Wolfgang Denk
Dear Pali Rohár, In message <1351769953-13560-3-git-send-email-pali.ro...@gmail.com> you wrote: > This patch adding ANSI terminal bootmenu command. It is extension to generic > menu which provide output for ANSI terminals. ... > + if (key == '\e') { > +

[U-Boot] U-Boot 2012.10 - pxa270 CPU Unknown / no turbo

2012-11-13 Thread Andreas Puls
Hi together, i've got another problem with latest stable U-Boot-2012.10 and a Toradex Colibri PXA270 V2.4 Uboot dosen't regonized the CPU Revision u-boot summary screen: U-Boot 2012.10 (Nov 12 2012 - 14:22:12) CPU: Marvell PXA27x rev. Unknown first lines of dmesg: [0.00] CPU: XScale-PX

Re: [U-Boot] [PATCH v2 3/4] New command clear: Clear the ANSI terminal

2012-11-13 Thread Wolfgang Denk
Dear Pali Rohár, In message <1351769953-13560-4-git-send-email-pali.ro...@gmail.com> you wrote: > This patch adding new simple command clear which clear ANSI terminal. Please note that this duplicates or affects existing functionality; for example, common/lcd.c implements the "cls" = Clear Scree