Re: [U-Boot] [PATCH 2/6] arm: Remove jornada link script

2011-11-19 Thread Kristoffer Ericson
Acked On Thu, Nov 17, 2011 at 07:10:46PM +0100, Marek Vasut wrote: This link script seems old and incompatible with relocation and its own sa1000 start.S file. It isn't used because the CPU's link script was picked up in preference to this. Signed-off-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH] davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board

2011-11-19 Thread Christian Riesch
This patch fixes the build breakage for the davinci_sonata board. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Sergey Kubushyn k...@koi8.net Cc: Sandeep Paulraj s-paul...@ti.com --- board/davinci/sonata/sonata.c|3 --- include/configs/davinci_sonata.h |2 ++ 2

[U-Boot] [PATCH] davinci_schmoogie: define CONFIG_MACH_TYPE for davinci_schmoogie board

2011-11-19 Thread Christian Riesch
This patch fixes the build breakage for the davinci_schmoogie board. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Sergey Kubushyn k...@koi8.net Cc: Sandeep Paulraj s-paul...@ti.com --- board/davinci/schmoogie/schmoogie.c |3 --- include/configs/davinci_schmoogie.h |3

[U-Boot] [PATCH] hawkboard: Replace HAWKBOARD_KICK{0, 1}_UNLOCK defines

2011-11-19 Thread Christian Riesch
This patch replaces the HAWKBOARD_KICK{0,1}_UNLOCK defines by DV_SYSCFG_KICK{0,1}_UNLOCK. The kick register values are not hawkboard specific but may be used for all davinci boards. In commit f3c149d6c6e5ba8dd72baa86fe527837e4fb0e9a new defines for these values wer introduced. Signed-off-by:

[U-Boot] [PATCH 1/9] ARM: a320evb: re-add MACH_TYPE_FARADAY

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_FARADAY was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/faraday/a320evb/a320evb.c |1 - include/configs/a320evb.h |3 +++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_HHP_CRADLE was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/cradle/cradle.c|3 --- include/configs/cradle.h |3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/cradle/cradle.c

[U-Boot] [PATCH 5/9] ARM: sbc35_a9g20: re-add MACH_TYPE_SBC35_A9G20

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_SBC35_A9G20 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/calao/sbc35_a9g20/sbc35_a9g20.c |1 - include/configs/sbc35_a9g20.h |3 +++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 4/9] ARM: pleb2: re-add MACH_TYPE_PLEB2

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_PLEB2 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/pleb2/pleb2.c |3 --- include/configs/pleb2.h |3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/pleb2/pleb2.c

[U-Boot] [PATCH 7/9] ARM: xm250: re-add MACH_TYPE_XM250

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_XM250 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/xm250/xm250.c |3 --- include/configs/xm250.h |3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/xm250/xm250.c

[U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_PXA_CERF was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/cerf250/cerf250.c |3 --- include/configs/cerf250.h |3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:252:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:421:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

[U-Boot] [PATCH 0/9] Fix build issues for some ARM boards

2011-11-19 Thread Anatolij Gustschin
Build breakage still pollutes the MAKEALL log. Fix build problems for some ARM based boards. The patches can be pulled from git://git.denx.de/u-boot-video.git arm-fixes I also fixed davinci_schmoogie and davinci_sonata, but there are already patches for these on the patchwork [1], [2], so I do

[U-Boot] [PATCH] microblaze: usable uart16550 for big endian systems

2011-11-19 Thread Stephan Linz
As a result of the commit 6833260 the uart16550 driver is broken for Microblaze big endian systems, because of the missing 3 byte offset. Other than as described, the U-Boot BSP does not treat properly the 3 byte offset. However, with the new 32 bit access to ns16550 registers we can enable

[U-Boot] [PATCH 6/9] ARM: tny_a9260: re-add MACH_TYPE_TNY_A9G20 and MACH_TYPE_TNY_A9260

2011-11-19 Thread Anatolij Gustschin
MACH_TYPE_TNY_A9G20 and MACH_TYPE_TNY_A9260 were removed from mach-types.h. Add them to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/calao/tny_a9260/tny_a9260.c |5 - include/configs/tny_a9260.h |4 2 files changed, 4 insertions(+), 5

[U-Boot] [PATCH 8/9] ARM: cerf250: fix GCC 4.6 warings

2011-11-19 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:223:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:392:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

[U-Boot] [PATCH v2 09/12] drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: davinci_i2c.c: In function 'flush_rx': davinci_i2c.c:81:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de Acked-by: Heiko Schocher h...@denx.de --- v2: - drop void cast since REG() is not a function call but expands

Re: [U-Boot] [PATCH 09/12] drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
On Wed, 16 Nov 2011 08:42:07 -0700 Tom Rini tom.r...@gmail.com wrote: ... --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -78,13 +78,11 @@ static int poll_i2c_irq(int mask)  void flush_rx(void)  { -       int     dummy; -        while (1) {                if

Re: [U-Boot] [PATCH] Add PR1 Appliance - ISDN PRI board

2011-11-19 Thread Dimitar Penev
Hi Mike, Thank you for the review. I am attaching the updated patch bellow. Few comments in a reply to your remarks/questions. --- +void board_reset(void) +{ + /* workaround for weak pull ups on ssel

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-19 Thread Kumar Gala
If you look at current board/freescale/p1_p2_rdb/law.c it doesn't have PCI LAWs anymore. I think for your example you just need an empty data structure: struct law_entry law_table[] = { }; this should hopefully make num_law_entries = 0; +}; + +int num_law_entries =

Re: [U-Boot] [PATCH] powerpc/85xx: clean up and document the QE/FMAN microcode macros

2011-11-19 Thread Kumar Gala
On Nov 8, 2011, at 5:40 PM, Timur Tabi wrote: Several macros are used to identify and locate the microcode binary image that U-boot needs to upload to the QE or Fman. Both the QE and the Fman use the QE Firmware binary format to package their respective microcode data, which is why the same

Re: [U-Boot] [PATCH] powerpc/85xx: clean up and document the QE/FMAN microcode macros

2011-11-19 Thread Tabi Timur-B04825
Kumar Gala wrote: #ifdef CONFIG_QE /* QE microcode/firmware address */ -#define CONFIG_SYS_QE_FW_ADDR0xefec -#define CONFIG_SYS_QE_FW_LENGTH 0x1 +#define CONFIG_SYS_QE_FMAN_FW_IN_NOR +#define CONFIG_SYS_QE_FMAN_FW_ADDR 0xefec +#define

Re: [U-Boot] [PATCH 1/9] ARM: a320evb: re-add MACH_TYPE_FARADAY

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_FARADAY was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_PXA_CERF was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon Glass

Re: [U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_HHP_CRADLE was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon

Re: [U-Boot] [PATCH 4/9] ARM: pleb2: re-add MACH_TYPE_PLEB2

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_PLEB2 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon Glass

Re: [U-Boot] [PATCH 5/9] ARM: sbc35_a9g20: re-add MACH_TYPE_SBC35_A9G20

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_SBC35_A9G20 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon

Re: [U-Boot] [PATCH 6/9] ARM: tny_a9260: re-add MACH_TYPE_TNY_A9G20 and MACH_TYPE_TNY_A9260

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_TNY_A9G20 and MACH_TYPE_TNY_A9260 were removed from mach-types.h. Add them to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on

Re: [U-Boot] [PATCH 7/9] ARM: xm250: re-add MACH_TYPE_XM250

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_XM250 was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by: Simon Glass

Re: [U-Boot] [PATCH 8/9] ARM: cerf250: fix GCC 4.6 warings

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: Fix: flash.c: In function 'flash_erase': flash.c:223:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:392:6: warning: variable 'flag' set but not used

Re: [U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: Fix: flash.c: In function 'flash_erase': flash.c:252:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:421:6: warning: variable 'flag' set but not used

[U-Boot] [PATCH] Fix tsize warning in tools/aisimage.c

2011-11-19 Thread Simon Glass
This fixes the following warning with gcc 4.4.3. aisimage.c: In function 'aisimage_generate': aisimage.c:365: warning: 'tsize' may be used uninitialized in this function Signed-off-by: Simon Glass s...@chromium.org --- tools/aisimage.c |6 +++--- 1 files changed, 3 insertions(+), 3

[U-Boot] [PATCH] drivers/net/mvgbe.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: mvgbe.c: In function 'mvgbe_send': mvgbe.c:555:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] mvgbe.c: In function 'mvgbe_recv': mvgbe.c:640:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Re: [U-Boot] [PATCH 2/6] arm: Remove jornada link script

2011-11-19 Thread Marek Vasut
Acked Ok, so how shall we handle SA1110 ? I can pick it up, then send pullrq to albert ? M On Thu, Nov 17, 2011 at 07:10:46PM +0100, Marek Vasut wrote: This link script seems old and incompatible with relocation and its own sa1000 start.S file. It isn't used because the CPU's link

Re: [U-Boot] Revert mmc: retry the cmd8 to meet 74 clocks requirement in the spec

2011-11-19 Thread Stephen Warren
On 01/-10/-28163 12:59 PM, Macpaul Lin wrote: This reverts commit 02f3029f1810b99869254d0cf0a71946a008a728. This patch add 3 times retry to CMD8 because the Marvell mmc controller doesn't obey the power ramp up process in the SD specification 6.4.1. (Please refer to figure 6.1 and 6.2 in the

Re: [U-Boot] Revert mmc: retry the cmd8 to meet 74 clocks requirement in the spec

2011-11-19 Thread Pali Rohár
On Saturday 19 November 2011 12:36:00 Stephen Warren wrote: On 01/-10/-28163 12:59 PM, Macpaul Lin wrote: This reverts commit 02f3029f1810b99869254d0cf0a71946a008a728. This patch add 3 times retry to CMD8 because the Marvell mmc controller doesn't obey the power ramp up process in the SD

[U-Boot] [PATCH] drivers/net/dnet.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: dnet.c: In function 'dnet_send': dnet.c:136:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] dnet.c: In function 'dnet_set_hwaddr': dnet.c:209:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] dnet.c:209:2: warning:

[U-Boot] [PATCH] drivers/usb/host/ehci-mxc.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: ehci-mxc.c: In function 'ehci_hcd_init': ehci-mxc.c:113:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/usb/host/ehci-mxc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] board/xaeniax/flash.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:223:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:392:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

Re: [U-Boot] [PATCH] Add PR1 Appliance - ISDN PRI board

2011-11-19 Thread Mike Frysinger
On Saturday 19 November 2011 10:18:16 Dimitar Penev wrote: +void board_reset(void) +{ + /* workaround for weak pull ups on ssel */ + if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER) + bfin_reset_boot_spi_cs(GPIO_PF10); +} do you actually have this problem in the hardware ? or is

[U-Boot] [PATCH] net/bootp.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: bootp.c: In function 'BootpCopyNetParams': bootp.c:108:11: warning: unused variable 'tmp_ip' [-Wunused-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- net/bootp.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/bootp.c b/net/bootp.c index

Re: [U-Boot] [PATCH 2/6] arm: Remove jornada link script

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 11:27 AM, Marek Vasut marek.va...@gmail.com wrote: Acked Ok, so how shall we handle SA1110 ? I can pick it up, then send pullrq to albert ? SGTM - Simon M On Thu, Nov 17, 2011 at 07:10:46PM +0100, Marek Vasut wrote: This link script seems old and incompatible

[U-Boot] [PATCH] Blackfin: bf537-stamp: drop board reset workaround

2011-11-19 Thread Mike Frysinger
The bf537-stamp shouldn't need this SPI flash workaround. It was added by accident a long time ago through a convoluted series of steps which originated from a customer board (not the bf537-stamp). So drop it to keep people from incorrectly adding it to their own boards. Signed-off-by: Mike

[U-Boot] [RFC PATCH 2/3] tegra2: Fix conflicting pinmux for UARTA

2011-11-19 Thread Stephen Warren
Tegra appears to boot with function UARTA pre-selected on mux group SDB. If two mux groups are both set to the same function, it's unclear which group's pins drive the RX signals into the HW module. For UARTA, SDB certainly overrides group IRTX in practice. To solve this, configure some

[U-Boot] [RFC PATCH 0/3] tegra2: Add paz00 support

2011-11-19 Thread Stephen Warren
This patch series adds support for the Toshiba AC100 Tegra netbook. I'm posting it as an RFC because: a) The AC100 is designed by Compal and marketed by Toshiba. Should we put the files into board/nvidia (since it uses an NVIDIA SoC), or create a board/toshiba or board/compal directory to

[U-Boot] [RFC PATCH 3/3] tegra2: Add support for Paz00 (Toshiba AC100)

2011-11-19 Thread Stephen Warren
The Toshiba AC100 (code-name Paz00m a/k/a Dynabook AZ) is an netbook derived from the NVIDIA Tegra Harmony reference board. It ships with Ubuntu, but is often repurposed to run Linux. This patch adds just enough support to get a U-Boot serial console, and the ability access built-in eMMC and the

[U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-19 Thread Stephen Warren
I forgot to edit it when I cut/paste Tom Warren's MAINTAINERS entry. Signed-off-by: Stephen Warren swar...@nvidia.com --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 567dc61..c532c29 100644 --- a/MAINTAINERS +++

Re: [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output

2011-11-19 Thread Marek Vasut
2011/11/17 Marek Vasut marek.va...@gmail.com Jana, you have efikamx and I can get you HDMI cable. Can you recheck tomorrow ? M Ok, I can. So any updates? ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net: Armada100: Fix compilation warnings

2011-11-19 Thread Anatolij Gustschin
Hi Praffula, On Mon, 31 Oct 2011 16:49:37 +0530 Ajay Bhargav ajay.bhar...@einfochips.com wrote: This patch fix compilation warnings for Armada100 FEC driver Ref: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Ajay Bhargav

[U-Boot] [PATCH 01/10] drivers/usb/musb/musb_hcd.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: musb_hcd.c: In function 'submit_control_msg': musb_hcd.c:851:6: warning: variable 'csr' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/usb/musb/musb_hcd.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 02/10] drivers/mtd/onenand/samsung.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: samsung.c: In function 's3c_onenand_check_lock_status': samsung.c:486:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/mtd/onenand/samsung.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 04/10] drivers/net/lan91c96.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: lan91c96.c: In function 'dump_memory_info': lan91c96.c:157:7: warning: variable 'mem_info' set but not used [-Wunused-but-set-variable] lan91c96.c: In function 'smc_send_packet': lan91c96.c:320:16: warning: variable 'ioaddr' set but not used [-Wunused-but-set-variable] Signed-off-by:

[U-Boot] [PATCH 07/10] board/lubbock/flash.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:223:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:392:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de

[U-Boot] [PATCH 06/10] drivers/net/cs8900.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: cs8900.c: In function 'get_reg_init_bus': cs8900.c:69:14: warning: variable 'c' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/net/cs8900.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 00/10] another round of GCC 4.6 warning fixes

2011-11-19 Thread Anatolij Gustschin
These patches can also be pulled from git://git.denx.de/u-boot-video.git gcc46-warning-fixes Anatolij Gustschin (10): drivers/usb/musb/musb_hcd.c: Fix GCC 4.6 warning drivers/mtd/onenand/samsung.c: Fix GCC 4.6 warning board/ronetix/pm9263/pm9263.c: Fix GCC 4.6 warning

[U-Boot] [PATCH 08/10] board/mx1ads/syncflash.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: syncflash.c: In function 'SF_SR': syncflash.c:60:10: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] syncflash.c: In function 'SF_PrechargeAll': syncflash.c:96:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] mx1ads.c: In function

[U-Boot] [PATCH 09/10] board/mx1ads/mx1ads.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: mx1ads.c: In function 'board_early_init_f': mx1ads.c:83:24: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/mx1ads/mx1ads.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 10/10] common/cmd_bootm.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: cmd_bootm.c: In function 'bootm_load_os': cmd_bootm.c:315:7: warning: unused variable 'unc_len' [-Wunused-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- common/cmd_bootm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c

[U-Boot] [PATCH 03/10] board/ronetix/pm9263/pm9263.c: Fix GCC 4.6 warning

2011-11-19 Thread Anatolij Gustschin
Fix: pm9263.c: In function 'pm9263_lcd_hw_psram_init': pm9263.c:167:20: warning: variable 'x' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/ronetix/pm9263/pm9263.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-)

[U-Boot] [PATCH 05/10] arch/arm/cpu/arm926ejs/omap/cpuinfo.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: cpuinfo.c: In function 'print_cpuinfo': cpuinfo.c:155:6: warning: variable 'system_serial_low' set but not used [-Wunused-but-set-variable] cpuinfo.c:154:6: warning: variable 'system_serial_high' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

Re: [U-Boot] [PATCH 1/4] onenand:samsung Target dependent OneNAND chip probe function

2011-11-19 Thread Marek Vasut
Separate callback for probing OneNAND memory chip. If no special function is defined, default implementation will be used. This approach gives more flexibility for OneNAND device probing. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF

2011-11-19 Thread Marek Vasut
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_PXA_CERF was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware. Acked-by:

Re: [U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF

2011-11-19 Thread Marek Vasut
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin ag...@denx.de wrote: MACH_TYPE_PXA_CERF was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin ag...@denx.de I built this and it fixes the failure. I did not test on hardware.

Re: [U-Boot] [PATCH 0/6] Tidy up ARM link scripts

2011-11-19 Thread Marek Vasut
The ARM link scripts are very similar but each CPU has its own. This series adds support for a default link script across an architecture in arch/arch/cpu/u-boot.lds. It is then possible to remove most of the ARM link scripts. This will make it easier to maintain these. Please CC Albert

Re: [U-Boot] [PATCH 1/6] Allow arch directory to contain .lds without requiring Makefile

2011-11-19 Thread Marek Vasut
The Makefile for a CPU is in arch/($ARCH)/cpu/$(CPU). We want to support having an .lds file in arch/$(ARCH)/cpu without requiring an additional Makefile there. This change makes it clear that we expect a Makefile in the same directory as the link script except in this case. Signed-off-by:

[U-Boot] [PATCH] PXA: Drop CERF250 board

2011-11-19 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de Cc: Prakash Kumar prak...@embedx.com --- MAINTAINERS |4 - board/cerf250/Makefile| 43 - board/cerf250/cerf250.c | 85 -

Re: [U-Boot] [PATCH 3/9] openrisc: Add cpu files

2011-11-19 Thread Stefan Kristiansson
On Sat, Nov 19, 2011 at 12:59:05AM -0500, Mike Frysinger wrote: On Saturday 19 November 2011 00:21:32 Stefan Kristiansson wrote: --- /dev/null +++ b/arch/openrisc/cpu/cache.c +int checkicache(void) +int checkdcache(void) these should be static --- /dev/null +++

Re: [U-Boot] [PATCH 0/6] Tidy up ARM link scripts

2011-11-19 Thread Simon Glass
Hi Marek, On Sat, Nov 19, 2011 at 8:04 PM, Marek Vasut marek.va...@gmail.com wrote: The ARM link scripts are very similar but each CPU has its own. This series adds support for a default link script across an architecture in arch/arch/cpu/u-boot.lds. It is then possible to remove most of the

Re: [U-Boot] [PATCH 1/6] Allow arch directory to contain .lds without requiring Makefile

2011-11-19 Thread Simon Glass
Hi Marek, On Sat, Nov 19, 2011 at 8:07 PM, Marek Vasut marek.va...@gmail.com wrote: The Makefile for a CPU is in arch/($ARCH)/cpu/$(CPU). We want to support having an .lds file in arch/$(ARCH)/cpu without requiring an additional Makefile there. This change makes it clear that we expect a

Re: [U-Boot] [PATCH] PXA: Drop CERF250 board

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 8:20 PM, Marek Vasut marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de Cc: Prakash Kumar prak...@embedx.com +jtassit...@embedx.com who may wish to update the maintainer?

Re: [U-Boot] [PATCH 0/6] Tidy up ARM link scripts

2011-11-19 Thread Marek Vasut
Hi Marek, On Sat, Nov 19, 2011 at 8:04 PM, Marek Vasut marek.va...@gmail.com wrote: The ARM link scripts are very similar but each CPU has its own. This series adds support for a default link script across an architecture in arch/arch/cpu/u-boot.lds. It is then possible to remove

Re: [U-Boot] [PATCH] mx5: Correct a warning in clock.c

2011-11-19 Thread Simon Glass
Hi Mike, On Fri, Nov 18, 2011 at 11:53 AM, Mike Frysinger vap...@gentoo.org wrote: On Friday 18 November 2011 12:20:02 Stefano Babic wrote: On 11/05/2011 03:25 PM, Simon Glass wrote: This corects the warning below, obtained with my gcc 4.6 compiler. arch/arm/cpu/armv7/mx5/libmx5.o: In

Re: [U-Boot] [PATCH 1/6] Allow arch directory to contain .lds without requiring Makefile

2011-11-19 Thread Mike Frysinger
On Saturday 19 November 2011 23:07:08 Marek Vasut wrote: LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot.lds endif ifeq ($(wildcard $(LDSCRIPT)),) + LDSCRIPT := $(TOPDIR)/arch/$(ARCH)/cpu/u-boot.lds + # We don't expect a Makefile here +

Re: [U-Boot] [PATCH] PXA: Drop CERF250 board

2011-11-19 Thread Mike Frysinger
no changelog as to why it's being dropped ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/9] openrisc: Add cpu files

2011-11-19 Thread Mike Frysinger
On Saturday 19 November 2011 23:27:34 Stefan Kristiansson wrote: On Sat, Nov 19, 2011 at 12:59:05AM -0500, Mike Frysinger wrote: On Saturday 19 November 2011 00:21:32 Stefan Kristiansson wrote: --- /dev/null +++ b/arch/openrisc/cpu/cache.c +int checkicache(void) +int

Re: [U-Boot] [PATCH] mx5: Correct a warning in clock.c

2011-11-19 Thread Mike Frysinger
On Sunday 20 November 2011 00:08:05 Simon Glass wrote: On Fri, Nov 18, 2011 at 11:53 AM, Mike Frysinger wrote: On Friday 18 November 2011 12:20:02 Stefano Babic wrote: On 11/05/2011 03:25 PM, Simon Glass wrote: This corects the warning below, obtained with my gcc 4.6 compiler.

Re: [U-Boot] [PATCH] mx5: Correct a warning in clock.c

2011-11-19 Thread Simon Glass
Hi Mike, On Sat, Nov 19, 2011 at 9:31 PM, Mike Frysinger vap...@gentoo.org wrote: On Sunday 20 November 2011 00:08:05 Simon Glass wrote: On Fri, Nov 18, 2011 at 11:53 AM, Mike Frysinger wrote: On Friday 18 November 2011 12:20:02 Stefano Babic wrote: On 11/05/2011 03:25 PM, Simon Glass

Re: [U-Boot] [PATCH] Allow for parallel builds and saved output

2011-11-19 Thread Simon Glass
Hi Kumar, On Tue, Nov 8, 2011 at 5:48 AM, Kumar Gala ga...@kernel.crashing.org wrote: On Nov 3, 2011, at 11:22 AM, Simon Glass wrote: Hi Andy, On Thu, Nov 3, 2011 at 12:28 AM, Andy Fleming aflem...@freescale.com wrote: The MAKEALL script cleverly runs make with the appropriate options to

Re: [U-Boot] [PATCH 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430

2011-11-19 Thread Igor Grinberg
On 11/18/11 12:43, Thomas Weber wrote: This patch removes the CONFIG_OMAP3430, because it is unused. Signed-off-by: Thomas Weber we...@corscience.de When you change board related files, it is a good practice to CC board maintainers. Thanks Acked-by: Igor Grinberg grinb...@compulab.co.il

Re: [U-Boot] [PATCH 2/3] ARM: OMAP3: Remove unused define SDRC_R_C_B

2011-11-19 Thread Igor Grinberg
On 11/18/11 12:44, Thomas Weber wrote: This patch removes the unused definition of SDRC_R_C_B from the config files. Signed-off-by: Thomas Weber we...@corscience.de Acked-by: Igor Grinberg grinb...@compulab.co.il --- include/configs/am3517_crane.h |1 -

Re: [U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

2011-11-19 Thread Igor Grinberg
On 11/18/11 12:44, Thomas Weber wrote: This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before. Signed-off-by: Thomas Weber we...@corscience.de Acked-by: Igor Grinberg grinb...@compulab.co.il --- include/configs/am3517_crane.h |4

Re: [U-Boot] [PATCH v4 10/14] OMAP3 SPL: Add identify_nand_chip function

2011-11-19 Thread Igor Grinberg
Hi Tom, On 11/19/11 00:48, Tom Rini wrote: A number of boards are populated with a PoP chip for both DDR and NAND memory. Other boards may simply use this as an easy way to identify board revs. So we provide a function that can be called early to reset the NAND chip and return the result of