[U-Boot] [PATCH 2/2] tegra: move to common SPL framework

2012-10-19 Thread Allen Martin
Change tegra SPL to use common SPL framework. Any tegra specific initialization is now done in spl_board_init() instead of board_init_f()/board_init_r(). Only one SPL boot target is supported on tegra, which is boot to RAM image. jump_to_image_no_args() must be overridden on tegra so the host CP

[U-Boot] [PATCH 1/2] SPL: make jump_to_image_no_args a weak symbol

2012-10-19 Thread Allen Martin
Change jump_to_image_no_args() to a weak symbol to allow override by SoC specific code. This is required by tegra because the SPL runs on a different CPU from the image it is loading, so tegra specific initialization is required to start the host CPU. Pass in spl_image as a parameter for the same

Re: [U-Boot] [PATCH V2 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:59PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Seaboard has a GPIO that switches an external mux between Tegra's debug > UART and SPI flash. This is initialized from the SPL so that SPL debug > output can be seen. Simplify the code that does this, and d

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:58PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Seaboard and Ventana are very similar boards, and so share the seaboard.c > board file. The one difference needed so far is detected at run-time by > calling machine_is_ventana(). This bloats the Ventana bu

Re: [U-Boot] [PATCH V2 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:57PM -0700, Stephen Warren wrote: > From: Stephen Warren > > For Tegra, the SPL and main U-Boot are concatenated together to form a > single memory image. Hence, the maximum SPL size is the different in > TEXT_BASE for SPL and main U-Boot. Instead of manually calcula

Re: [U-Boot] [PATCH V2 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:56PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within > SPL_TEXT_BASE..SPL_MAX_SIZE. > > Different .lds files implement this check in two possible ways: > 1) An ASSERT() like this > 2) Def

Re: [U-Boot] [PATCH V2 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-19 Thread Allen Martin
On Thu, Oct 18, 2012 at 04:25:55PM -0700, Stephen Warren wrote: > From: Stephen Warren > > When -ffunction-sections or -fdata-section are used, symbols are placed > into sections such as .data.eserial1_device and .bss.serial_current. > Update the linker script to explicitly include these. Without

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-19 Thread Allen Martin
On Sat, Oct 06, 2012 at 05:07:03PM -0700, Marek Vasut wrote: > Reorder serial_assign() function to get rid of the extra level of > indentation. Also, adjust the return value to be -EINVAL instead of > positive one to be more consistent. > > Signed-off-by: Marek Vasut > Cc: Marek Vasut > Cc: Tom

Re: [U-Boot] [PATCH v2 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-10-19 Thread Simon Guinot
On Fri, Oct 19, 2012 at 11:38:09PM +0200, Albert ARIBAUD wrote: > Signed-off-by: Albert ARIBAUD > --- > Changes in v2: > - split the patch in two: mvgbe phy/port changes and WS support. > - removed spurious DEBUG define > - fixed various checkpatch errors/warnings/typos > > board/LaCie/netspace_

Re: [U-Boot] [PATCH 1/6] am33xx: Enable UART{1,2,4,5} clocks

2012-10-19 Thread Andrew Bradford
Tom & Marek, On Thu, 27 Sep 2012 10:53:05 -0700 Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 09/27/12 10:27, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On 09/27/12 10:11, Marek Vasut wrote: > >>> Dear Tom Rini, > >>> > On 09/27/12 09:45, Marek Vasut wrote:

Re: [U-Boot] [PATCH 1/1] ipu common: reset ipuv3 correctly

2012-10-19 Thread Anatolij Gustschin
Hi, On Sat, 6 Oct 2012 22:16:04 +0800 Liu Ying wrote: > From: Liu Ying > > This patch checks self-clear sw_ipu_rst bit in > SCR register of SRC controller to be cleared > after setting it to high to reset IPUv3. This > makes sure that IPUv3 finishes sofware reset. > A timeout mechanism is added

[U-Boot] [PATCH v3 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-10-19 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- Changes in v3: - fix broken support for NETSPACE_(MINI|LITE)_V2 Changes in v2: - split the patch in two: mvgbe phy/port changes and WS support. - removed spurious DEBUG define - fixed various checkpatch errors/warnings/typos board/LaCie/netspace_v2/netspace_v2.

[U-Boot] [PATCH v3 1/2] mvgbe: allow non-sequential PHY addresses

2012-10-19 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- Changes in v3: - fixed building when SoC provides only one GbE port. arch/arm/include/asm/arch-kirkwood/kirkwood.h |1 - arch/arm/include/asm/arch-orion5x/orion5x.h |1 - drivers/net/mvgbe.c | 12 +++- drivers/net/mv

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

2012-10-19 Thread Albert ARIBAUD
Hello Tom, The following changes since commit bd23b22badadcdc414a900828253961fc5ec6c39: Merge branch 'ag...@denx.de-next' of git://git.denx.de/u-boot-staging (2012-10-15 13:37:22 -0700) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes

Re: [U-Boot] [PATCH v3 13/18] lcd: Add support for flushing LCD fb from dcache after update

2012-10-19 Thread Simon Glass
Hi Eric, On Wed, Oct 17, 2012 at 6:07 PM, Eric Nelson wrote: > Hi Simon, > > > On 10/17/2012 05:50 PM, Simon Glass wrote: >> >> Hi Eric, >> >> On Wed, Oct 17, 2012 at 5:41 PM, Eric Nelson >> wrote: >>> >>> Hi Simon, >>> >>> >>> On 10/17/2012 03:07 PM, Simon Glass wrote: Hi Eric,

Re: [U-Boot] [PATCH v4 4/5] cfb_console: Add support for some ANSI terminal escape codes

2012-10-19 Thread Anatolij Gustschin
Hi, On Fri, 19 Oct 2012 14:00:07 +0200 Pali Rohár wrote: ... > + When CONFIG_CFB_CONSOLE_ANSI is defined, console will have > + ANSI terminal support. Needed for CONFIG_CMDLINE_EDITING. What do you mean here? Doesn't command line editing work without ANSI support in cfb?

[U-Boot] [PATCH v5 4/5] cfb_console: Add support for some ANSI terminal escape codes

2012-10-19 Thread Anatolij Gustschin
From: Pali Rohár Add optional support for some ANSI escape sequences to the cfb_console driver. Define CONFIG_CFB_CONSOLE_ANSI to enable cursor moving, color reverting and clearing the cfb console via ANSI escape codes. Signed-off-by: Pali Rohár Signed-off-by: Anatolij Gustschin --- Changes in

Re: [U-Boot] [PATCH v2 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-10-19 Thread Albert ARIBAUD
On Fri, 19 Oct 2012 23:38:09 +0200, Albert ARIBAUD wrote: > Signed-off-by: Albert ARIBAUD > --- > Changes in v2: > - split the patch in two: mvgbe phy/port changes and WS support. > - removed spurious DEBUG define > - fixed various checkpatch errors/warnings/typos For some reason the series now

Re: [U-Boot] Compiling polarssl lib in uboot

2012-10-19 Thread Tom Rini
On Fri, Oct 19, 2012 at 09:41:22AM +0200, Peter Czypek wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I want to verify signed data in a "nice" and "proper" way. Which would > be using a lib, in my opinion. So you want to add a command that uses it, OK. I would see lib/zlib or lib/

[U-Boot] [PATCH V3 3/3] fs: add filesystem switch libary, implement ls and fsload commands

2012-10-19 Thread Stephen Warren
From: Stephen Warren Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it for zfs because I don't have any filesystems of that type to test with. Re

[U-Boot] [PATCH V3 2/3] fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}

2012-10-19 Thread Stephen Warren
From: Stephen Warren This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use t

[U-Boot] [PATCH V3 1/3] fs: delete unused Makefile

2012-10-19 Thread Stephen Warren
From: Stephen Warren fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and hence causes make to directly descend two directory levels into each individual filesystem, and it never descends into fs/ itself. So, delete this useless file. Signed-off-by: Stephen Warren Reviewed-b

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-19 Thread Stephen Warren
On 10/19/2012 01:51 PM, Simon Glass wrote: > Hi Stephen, > > On Thu, Oct 18, 2012 at 4:25 PM, Stephen Warren wrote: >> Seaboard and Ventana are very similar boards, and so share the seaboard.c >> board file. The one difference needed so far is detected at run-time by >> calling machine_is_ventana

[U-Boot] [PATCH v2 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-10-19 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- Changes in v2: - split the patch in two: mvgbe phy/port changes and WS support. - removed spurious DEBUG define - fixed various checkpatch errors/warnings/typos board/LaCie/netspace_v2/netspace_v2.c | 44 ++-- board/LaCie/netspace_v2/netspace_v2.h | 1

[U-Boot] [PATCH v2 1/2] mvgbe: allow non-sequential PHY addresses

2012-10-19 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- drivers/net/mvgbe.c | 10 +- drivers/net/mvgbe.h |7 --- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index 47bf27c..40b9bcf 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c

Re: [U-Boot] [PATCH] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-10-19 Thread Andy Fleming
On Thu, Oct 18, 2012 at 4:04 AM, Marek Vasut wrote: > Dear Liu Shengzhou-B36685, >> > > > >> > > > > +/* Check USB PHY clock valid */ >> > > > > +static int usb_phy_clk_valid(struct usb_ehci *ehci) { >> > > > > + if ((!(in_be32(&ehci->control) & PHY_CLK_VALID)) && >> > > > > +

Re: [U-Boot] [PATCH] arm: fdt: Relocate fdt along with other data

2012-10-19 Thread Albert ARIBAUD
Hi Stephen, On Fri, 28 Sep 2012 09:22:48 -0600, Stephen Warren wrote: > On 09/27/2012 07:41 PM, Simon Glass wrote: > > Rather than leave the fdt down next to the code/data, we really should > > relocate it along with everything else. For CONFIG_OF_EMBED this happens > > automatically, but for CO

Re: [U-Boot] [PATCH 9/9 V2] SMDK5250: Enable Sound

2012-10-19 Thread Simon Glass
On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch enables sound support for EXYNOS5 > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - corrected the commit message. > include/configs/smdk5250.h |8 > 1 files changed, 8 ins

Re: [U-Boot] [PATCH 7/9 V2] EXYNOS: Add I2S base address

2012-10-19 Thread Simon Glass
On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch adds base address for I2S > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > arch/arm/include/asm/arch-exynos/cpu.h |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-)

Re: [U-Boot] Add support for eco5-pk ARM board

2012-10-19 Thread Albert ARIBAUD
Hi Raphaël, On Fri, 19 Oct 2012 13:16:12 -0400, Raphaël Assénat wrote: > On 19/10/12 01:10 PM, Tom Rini wrote: > > On 10/19/12 09:56, Raphaël Assénat wrote: > >> On 15/10/12 02:25 PM, Tom Rini wrote: > >>> On Mon, Jul 16, 2012 at 09:31:36AM -, Raphael Assenat wrote: > >>> > This patch a

Re: [U-Boot] [PATCH 6/9 V2] EXYNOS: Add pinmux for I2S

2012-10-19 Thread Simon Glass
Hi Rajeshwari, On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch adds pinmux support for I2S1 > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - made exynos_i2s_config pinmux function static. > arch/arm/cpu/armv7/exynos/pinmux.c

Re: [U-Boot] [PATCH 5/9 V2] EXYNOS: Add parameters required by I2S

2012-10-19 Thread Simon Glass
Hi, On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch adds the audio parameters required by the I2S to play the > predefined audio data. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Really these should come from the device tree. In the absence of that they

Re: [U-Boot] [PATCH] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-10-19 Thread Anatolij Gustschin
Hi, On Thu, 18 Oct 2012 06:21:56 +0200 Marek Vasut wrote: > Dear Shengzhou Liu, > > > when missing USB PHY clock, u-boot will hang during USB > > initialization when issuing "usb start". We should check > > USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. > > > > Signed-off-by: Shen

Re: [U-Boot] [PATCH 4/9 V2] EXYNOS: Add I2S registers

2012-10-19 Thread Simon Glass
On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch add I2S registers > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > arch/arm/include/asm/arch-exynos/i2s-regs.h | 66 > ++

Re: [U-Boot] [PATCH 3/9 V2] Sound: Add command for audio playback

2012-10-19 Thread Simon Glass
Hi Rajeshwari, On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This patch adds command to test audio playback. > sound init - Initialises the audio subsystem (i2s and wm8994 codec) > sound play - Plays predefined the audio data. > > Signed-off-by: Rajeshwari Shinde > --- > Changes i

Re: [U-Boot] [PATCH 2/9 V2] SOUND: Add WM8994 codec

2012-10-19 Thread Simon Glass
Hi Rajeshwari, On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde wrote: > This pastc adds driver for audio codec WM8994 > patch > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - None > drivers/sound/Makefile |1 + > drivers/sound/

Re: [U-Boot] [PATCH V2 3/3] fs: add partition switch libary, implement ls and fsload commands

2012-10-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/19/12 12:26, Stephen Warren wrote: [snip] > Yes, I suppose I could: > > * Add a bit-mask of legal filesystems as a parameter to > fs_set_blk_dev(). > > * Move the body of do_fsload() into some common called by > do_fsload(), do_ext2load(), d

Re: [U-Boot] [PATCH V2 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-19 Thread Simon Glass
On Thu, Oct 18, 2012 at 4:25 PM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard has a GPIO that switches an external mux between Tegra's debug > UART and SPI flash. This is initialized from the SPL so that SPL debug > output can be seen. Simplify the code that does this, and don't actu

Re: [U-Boot] [PATCH V2 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-19 Thread Simon Glass
On Thu, Oct 18, 2012 at 4:25 PM, Stephen Warren wrote: > From: Stephen Warren > > Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within > SPL_TEXT_BASE..SPL_MAX_SIZE. > > Different .lds files implement this check in two possible ways: > 1) An ASSERT() like this > 2) Defining a ME

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-19 Thread Simon Glass
Hi Stephen, On Thu, Oct 18, 2012 at 4:25 PM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard and Ventana are very similar boards, and so share the seaboard.c > board file. The one difference needed so far is detected at run-time by > calling machine_is_ventana(). This bloats the Ventan

Re: [U-Boot] [PATCH V2 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-19 Thread Simon Glass
Hi Stephen, On Thu, Oct 18, 2012 at 4:25 PM, Stephen Warren wrote: > From: Stephen Warren > > For Tegra, the SPL and main U-Boot are concatenated together to form a > single memory image. Hence, the maximum SPL size is the different in > TEXT_BASE for SPL and main U-Boot. Instead of manually cal

Re: [U-Boot] [PATCH V2 3/3] fs: add partition switch libary, implement ls and fsload commands

2012-10-19 Thread Stephen Warren
On 10/19/2012 01:18 PM, Rob Herring wrote: > On 10/19/2012 11:56 AM, Stephen Warren wrote: >> On 10/18/2012 05:23 PM, Tom Rini wrote: >>> On 10/18/12 16:12, Rob Herring wrote: On 10/18/2012 06:01 PM, Tom Rini wrote: >> ... >>> On 10/11/2012 01:59 PM, Stephen Warren wrote: Implemen

Re: [U-Boot] [PATCH V2 3/3] fs: add partition switch libary, implement ls and fsload commands

2012-10-19 Thread Rob Herring
On 10/19/2012 11:56 AM, Stephen Warren wrote: > On 10/18/2012 05:23 PM, Tom Rini wrote: >> On 10/18/12 16:12, Rob Herring wrote: >>> On 10/18/2012 06:01 PM, Tom Rini wrote: > ... >> On 10/11/2012 01:59 PM, Stephen Warren wrote: >>> Implement "ls" and "fsload" commands that act like >>>

[U-Boot] [PATCH] powerpc/qoriq: Move FMAN microcode location

2012-10-19 Thread York Sun
Move FMAN microcude from 0xEF00 to 0xEFF4 to free up the beginning of this virtual bank so that this bank can store RCW or be used together with other banks to store large images. Signed-off-by: York Sun --- include/configs/P1023RDS.h |2 +- include/configs/P2041RDB.h |2 +-

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

2012-10-19 Thread Tom Rini
On Fri, Oct 19, 2012 at 9:08 AM, Jin Zhengxiong-R64188 wrote: > Hi, Tom, > > The following changes since commit 12c79a957804c13c2ba8e6606990fd6bd1f55e9a: > > powerpc: delete Wind River SBC8560/8540 support (2012-10-17 09:39:16 -0700) > > are available in the git repository at: > git://git.de

Re: [U-Boot] Add support for eco5-pk ARM board

2012-10-19 Thread Raphaël Assénat
On 15/10/12 02:25 PM, Tom Rini wrote: > On Mon, Jul 16, 2012 at 09:31:36AM -, Raphael Assenat wrote: > >> This patch adds support for the 8D Technologies ECO5-PK board which is >> based on the TI AM3505 ARM SOC. >> >> Signed-off-by: Raphael Assenat > > Sorry for the late reply, please add a

Re: [U-Boot] Add support for eco5-pk ARM board

2012-10-19 Thread Raphaël Assénat
On 19/10/12 01:10 PM, Tom Rini wrote: > On 10/19/12 09:56, Raphaël Assénat wrote: >> On 15/10/12 02:25 PM, Tom Rini wrote: >>> On Mon, Jul 16, 2012 at 09:31:36AM -, Raphael Assenat wrote: >>> This patch adds support for the 8D Technologies ECO5-PK board which is based on the TI AM3505

Re: [U-Boot] Add support for eco5-pk ARM board

2012-10-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/19/12 09:56, Raphaël Assénat wrote: > On 15/10/12 02:25 PM, Tom Rini wrote: >> On Mon, Jul 16, 2012 at 09:31:36AM -, Raphael Assenat wrote: >> >>> This patch adds support for the 8D Technologies ECO5-PK board >>> which is based on the TI AM3

Re: [U-Boot] [PATCH V2 3/3] fs: add partition switch libary, implement ls and fsload commands

2012-10-19 Thread Stephen Warren
On 10/18/2012 05:23 PM, Tom Rini wrote: > On 10/18/12 16:12, Rob Herring wrote: >> On 10/18/2012 06:01 PM, Tom Rini wrote: ... > On 10/11/2012 01:59 PM, Stephen Warren wrote: >> Implement "ls" and "fsload" commands that act like >> {fat,ext2}{ls,load}, and transparently handle either

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

2012-10-19 Thread Jin Zhengxiong-R64188
Hi, Tom, The following changes since commit 12c79a957804c13c2ba8e6606990fd6bd1f55e9a: powerpc: delete Wind River SBC8560/8540 support (2012-10-17 09:39:16 -0700) are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master Alison Wang (1): ColdFire: uart: fix b

Re: [U-Boot] [PATCH 1/6 V5] common: Add symbol handling for generic lists into Makefile

2012-10-19 Thread Joe Hershberger
Hi Marek, On Fri, Oct 19, 2012 at 10:00 AM, Marek Vasut wrote: > This patch adds essential components for generation of the contents of > the linker section that is used by the linker-generated array. All of > the contents is held in a separate file, u-boot.lst, which is generated > at runtime ju

Re: [U-Boot] [PATCH 1/6 V5] common: Add symbol handling for generic lists into Makefile

2012-10-19 Thread Joe Hershberger
Hi Marek, On Fri, Oct 19, 2012 at 10:00 AM, Marek Vasut wrote: > This patch adds essential components for generation of the contents of > the linker section that is used by the linker-generated array. All of > the contents is held in a separate file, u-boot.lst, which is generated > at runtime ju

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

2012-10-19 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. --- drivers/power/Makefile |2 +- include/configs/mx53loco.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

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

2012-10-19 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. --- board/samsung/goni/goni.c|2 +- board/samsung/universal_c210/universal.c |2 +- drivers/power/Makefi

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

2012-10-19 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. --- drivers/power/Makefile | 10 +- drivers/power/{pmic_core.c => power_core.

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

2012-10-19 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 v3 19/24] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-10-19 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 --- board/samsung/trats/trats.c | 41 +

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

2012-10-19 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 v3 18/24] pmic:max8997: Support for MAX8997 internal charger control

2012-10-19 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 --- drive

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

2012-10-19 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 --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |2 ++ 2 fil

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

2012-10-19 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 --- board/samsun

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

2012-10-19 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 --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |2 ++ 2 files changed, 4 insertio

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

2012-10-19 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 --- board/samsung/trats/trats.c | 150 ++ inclu

[U-Boot] [PATCH v3 12/24] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-10-19 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 v3 13/24] pmic:max8997: Function for calculating LDO internal register value

2012-10-19 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 --- drivers/power/max8997/pmic_max8997.c | 16

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

2012-10-19 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 v3 09/24] pmic: Extend struct pmic to support battery and charger related operations

2012-10-19 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 ad

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

2012-10-19 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. Chan

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

2012-10-19 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 --- drivers/misc/Makefile |7 ---

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

2012-10-19 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 -

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

2012-10-19 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 --- board/samsung/trats/trats.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-

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

2012-10-19 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 v3 04/24] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-10-19 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 v3 03/24] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-10-19 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 --- drivers/misc/pmic_max8997.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --

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

2012-10-19 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 v3 01/24] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-10-19 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 --- drivers/misc/pmic_i2c.c |9 - 1 files changed, 8 inser

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

2012-10-19 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 5/5] exynos4: universal_C210: add display support

2012-10-19 Thread Piotr Wilczek
This patch add support for display on Universal C210 board. Width of displyed logo must be not bigger than 480 pixel and is limited by width of the screen. Tizen logo size is 520x120 pixels and should be resized. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Chan

[U-Boot] [PATCH v5 4/5] drivers: video: fix image position

2012-10-19 Thread Piotr Wilczek
This patch fixes image position on screen when images's height or width is biger then the lcd's. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none Changes in v3: - none Changes in v4: - none Changes in v4: - none

[U-Boot] [PATCH v5 3/5] drivers: video: Add ld9040 video driver

2012-10-19 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Donghwa Lee --- Changes in v2: - none Changes in v3: - none Changes in v4: - removed comment and unused struct Changes in v5: - none drivers/video/Makefile |1 + drivers/video/ld9

[U-Boot] [PATCH v5 2/5] misc:max8998 Add LDO macros

2012-10-19 Thread Piotr Wilczek
Add LDO7 and LDO17 macros to max8998_pmic.h necessary to power on the LCD. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none Changes in v3: - none Changes in v4: - none Changes in v5: - none include/max8998_pmic

[U-Boot] [PATCH v5 1/5] exynos4: universal_C210: use software SPI

2012-10-19 Thread Piotr Wilczek
This patch use software spi on Samsung Universal C210 board. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- New path added in v5. board/samsung/universal_c210/universal.c | 87 +++-- include/configs/s5pc210_universal.h | 21 +

[U-Boot] [PATCH v5 0/5] arm:exynos: Support for display drivers

2012-10-19 Thread Piotr Wilczek
This patchset add support for display on Universal C210 board. Software SPI support is added to universal C210. Max8998 is modified to power on display, new driver ld9040 is added and support for LCD display on universal C210 board is added. Changes in v2: - removed unnecessary function fo

Re: [U-Boot] Uncompress error with LZO

2012-10-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/19/12 00:43, Matthias Weißer wrote: > 18.10.2012 19:21, schrieb Tom Rini: >> On Thu, Oct 18, 2012 at 02:24:20PM +0200, Matthias Wei?er wrote: >>> Hi >>> >>> I get some misterious errors from time to time when >>> decompressing an LZO compressed

[U-Boot] [PATCH 1/6 V5] common: Add symbol handling for generic lists into Makefile

2012-10-19 Thread Marek Vasut
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially ge

Re: [U-Boot] mpc82xx: Remove BMW board port

2012-10-19 Thread Wolfgang Denk
Dear James, it appears you wrote (as Tom quotes so): > > I never received the email. It appears you have a major problem with your e-mail setup, then, because none of your messages reached the mailing list either. Please check your mail configuration. Best regards, Wolfgang Denk -- DENX Sof

Re: [U-Boot] [PATCH 1/6 V4] common: Add symbol handling for generic lists into Makefile

2012-10-19 Thread Marek Vasut
Dear Wolfgang Denk, [...] > Maybe we can sae one call to objdump by storing the intermediate > result? I removed the other call in subsequent patch anyway, so this is fine now. > > + cd $(LNDIR) && $(LD) $(LDFLAGS) $(LDFLAGS_$(@F)) \ > > + $$UNDEF_SYM $$UNDEF_LST $(_

Re: [U-Boot] [PATCH 04/20] scsi: Add function to report number of scsi drives

2012-10-19 Thread Rob Herring
On 10/18/2012 10:45 PM, Simon Glass wrote: > From: Stefan Reinauer > > Add a new function to find out the number of available SCSI disks. Wouldn't setting an environment variable be more useful? Then we can loop over devices in boot scripts. Rob > > Signed-off-by: Stefan Reinauer > Signed-of

[U-Boot] [PATCH v4 4/5] cfb_console: Add support for some ANSI terminal escape codes

2012-10-19 Thread Pali Rohár
* This patch add support for move cursor, reverse colors and clear console via ANSI espace codes in cfb_console driver * ANSI escape codes can be enabled/disabled via CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Pali Rohár --- Changes in v4: - No changes Changes in v3: - Fixed multiline com

[U-Boot] [PATCH v4 3/5] Add power bus message definitions in twl4030.h

2012-10-19 Thread Pali Rohár
* Code copied from linux kernel 3.0.0 from file include/linux/i2c/twl.h * commit 6523b148b44be38d89c2ee9865d34da30d9f5f1c Signed-off-by: Pali Rohár --- Changes in v4: - Added commit id to commit message include/twl4030.h | 98 + 1 file ch

[U-Boot] [PATCH v4 2/5] arm bootm: Do not append zero ATAG_MEM

2012-10-19 Thread Pali Rohár
If dram bank size is calculated at runtime, it can be zero on some boards. This patch added code which ignore these zero bank size in ATAG_MEM. Signed-off-by: Pali Rohár --- Changes in v4: - No changes arch/arm/lib/bootm.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/li

[U-Boot] [PATCH v4 1/5] arm bootm: Allow to pass board specified atags

2012-10-19 Thread Pali Rohár
Board can implement function setup_board_tags which is used for adding atags Signed-off-by: Pali Rohár --- Changes in v4: - Added commit message - Use __weak instead gcc attribute arch/arm/include/asm/setup.h |5 + arch/arm/lib/bootm.c |4 2 files changed, 9 inser

[U-Boot] [PATCH v4 0/5] Nokia RX-51 support

2012-10-19 Thread Pali Rohár
This patch series add support for new board Nokia RX-51 (aka N900). This patch series supersedes version v3. Pali Rohár (5): arm bootm: Allow to pass board specified atags arm bootm: Do not append zero ATAG_MEM Add power bus message definitions in twl4030.h cfb_console: Add support for som

Re: [U-Boot] [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-10-19 Thread Marek Vasut
Dear Shengzhou Liu, > when missing USB PHY clock, u-boot will hang during USB > initialization when issuing "usb start". We should check > USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. > > Signed-off-by: Shengzhou Liu > --- > against master branch of upstream u-boot tree > v2: inte

[U-Boot] [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-10-19 Thread Shengzhou Liu
when missing USB PHY clock, u-boot will hang during USB initialization when issuing "usb start". We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu --- against master branch of upstream u-boot tree v2: integrated Marek's comment to use single

Re: [U-Boot] [PATCH 06/11] arm: cm4008, cm41xx: Fix ROM relocation

2012-10-19 Thread Yann Vernier
On Thu, 18 Oct 2012 21:09:07 +0200 Albert ARIBAUD wrote: > Hi Yann, > > On Fri, 5 Oct 2012 14:09:53 +0200, Yann Vernier > wrote: > > > Changed CONFIG_SYS_TEXT_BASE to actual address (required for > > board_init_f) and moved it into cm4{008,1xx}.h, along with a warning > > that it must match C

Re: [U-Boot] [PATCH 03/11] arm: ks8695eth: Use MAC address from environment

2012-10-19 Thread Yann Vernier
On Thu, 18 Oct 2012 15:55:31 -0500 Joe Hershberger wrote: > Hi Yann, > > On Fri, Oct 5, 2012 at 7:09 AM, Yann Vernier > wrote: > > Removed board specific MAC reading code from driver. > > Should move the reading to the cm4008/cm41xx board code. > > --- > > drivers/net/ks8695eth.c | 38 > > ++

Re: [U-Boot] [PATCH V3 03/32] imximage: move flash_offset check to common location

2012-10-19 Thread Stefano Babic
Am 18/10/2012 20:40, schrieb Troy Kisky: > On 10/8/2012 6:19 AM, Stefano Babic wrote: >> On 04/10/2012 03:47, Troy Kisky wrote: >>> Both set_imx_hdr_v1 and set_imx_hdr_v2 perform the >>> same check. Move check to before the set_imx_hdr call. >>> >>> Signed-off-by: Troy Kisky >>> >>> --- >>> v3: sp

[U-Boot] [PATCH] arm: atmel: cpux9k2: add missing cache configs

2012-10-19 Thread Jens Scharsig (BuS Elektronik)
From: "Jens Scharsig (BuS Elektronik)" * add CONFIG_SYS_CACHELINE_SIZE to eb_cpux9k2 board config header * dissable dcache (CONFIG_SYS_DCACHE_OFF) for eb_cpux9k2 Signed-off-by: Jens Scharsig (BuS Elektronik) --- This patch is send in reqest of

Re: [U-Boot] Uncompress error with LZO

2012-10-19 Thread Matthias Weißer
18.10.2012 19:21, schrieb Tom Rini: On Thu, Oct 18, 2012 at 02:24:20PM +0200, Matthias Wei?er wrote: Hi I get some misterious errors from time to time when decompressing an LZO compressed image. The output is as follows zmx25> bootm 0x8200 ## Booting kernel from Legacy Image at 8200 ..

  1   2   >