Re: [U-Boot] [PATCH V2] imx: mmc: access mxcmmc from mx31 boards

2011-11-07 Thread Helmut Raiger
On 11/02/2011 08:02 AM, Helmut Raiger wrote: > On 10/27/2011 02:19 PM, Helmut Raiger wrote: >> This patch modifies mxcmmc.c to be used >> not only by i.MX27 but also by i.MX31 boards. >> Both use the same SD controller, but have different >> clock set-ups. >> The i.MX27 imx_get_XXXclock functions a

[U-Boot] [PATCH] mvblx: punt unused clean/distclean targets

2011-11-07 Thread Michael Jones
Signed-off-by: Michael Jones --- This would have been cleaned up by commit 464c7920 ("punt unused clean/distclean targets"), but these files were in the pipeline to go upstream when that patch was submitted. board/matrix_vision/mvblx/Makefile |6 -- 1 files changed, 0 insertions(+), 6

Re: [U-Boot] [PATCH V2] imx: mmc: access mxcmmc from mx31 boards

2011-11-07 Thread Stefano Babic
On 11/07/2011 08:59 AM, Helmut Raiger wrote: > On 11/02/2011 08:02 AM, Helmut Raiger wrote: >> On 10/27/2011 02:19 PM, Helmut Raiger wrote: >>> This patch modifies mxcmmc.c to be used >>> not only by i.MX27 but also by i.MX31 boards. >>> Both use the same SD controller, but have different >>> clock

[U-Boot] (no subject)

2011-11-07 Thread COCA-COLA COMPANY
Your Email Has Won 2,12,000.00 INR.Send Your Name:,Mobile No:, Address:___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] No power on USB host of IMX25 PDK

2011-11-07 Thread Hugo Holgersson
On 11/04/2011 05:24 PM, Fabio Estevam wrote: > On Fri, Nov 4, 2011 at 2:06 PM, Hugo Holgersson > wrote: >> Thanks for the input! >> >> Putting the mux code to generic.c, as it was done for the UART's pins, did >> not change anything... >> >> I write MXC_EHCI_MODE_SERIAL to&ehci->portsc. Exactly

Re: [U-Boot] [PATCH 2/2] env: add regex support for environment variables

2011-11-07 Thread Detlev Zundel
Hi Wolfgang, this really is an interesting addition! > Syntax: env regex [-g] [-s subst] regex name [...] > > The code is based on SLRE (http://slre.sourceforge.net/) > which provides a tiny subset of Perl regular expressions. > > Without options, this will implement regex pattern matching on >

[U-Boot] [PATCH 01/17] env: clean environment.h checkpatch and code style

2011-11-07 Thread Igor Grinberg
Though one warning left: WARNING: do not add new typedefs #149: FILE: u-boot/include/environment.h:149: +typedef struct environment_s { total: 0 errors, 1 warnings, 181 lines checked Signed-off-by: Igor Grinberg --- include/environment.h | 44 +++-

[U-Boot] [PATCH 03/17] env: move extern default_environment[] to environment.h

2011-11-07 Thread Igor Grinberg
Extract all extern declarations for default_environment[] out of c files into the environment.h header. Signed-off-by: Igor Grinberg Cc: Stefan Roese --- board/zeus/zeus.c |1 - common/env_dataflash.c |2 -- common/env_flash.c |2 -- common/env_mgdisk.c|3 --- commo

[U-Boot] [PATCH 00/17] Cleanup environment related files

2011-11-07 Thread Igor Grinberg
This patch series cleans up environment related files in terms of checkpatch and other coding style issues. It is based on Mon, 7 Nov 2011 Wolfgang's master. There are several warnings/errors left, mostly because I don't think we need those solved or I can't choose the right solution. Probably, t

[U-Boot] [PATCH 04/17] env: move extern environment[] to environment.h

2011-11-07 Thread Igor Grinberg
Extract all extern declarations for environment out of c files into the environment.h header. Signed-off-by: Igor Grinberg --- common/env_flash.c|4 +--- common/env_mmc.c |3 +-- common/env_nand.c |3 +-- common/env_onenand.c |6 +- include/environment.h |4

[U-Boot] [PATCH 05/17] env: clean cmd_nvedit.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the cmd_nvedit.c checkpatch warnings, errors and coding style. There are 10 wanrings left about the simple_strtoul() function: WARNING: simple_strtoul is obsolete, use kstrtoul instead #359: FILE: cmd_nvedit.c:359: + load_addr = simple_strtoul(argv[2], NULL, 16); ... tot

[U-Boot] [PATCH 06/17] env: clean env_nowhere.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_nowhere.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_nowhere.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/env_nowhere.c b/common/env_nowhere.c index a6890db..8a3ca19 100644 --- a/common/e

[U-Boot] [PATCH 07/17] env: clean env_mgdisk.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_mgdisk.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_mgdisk.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_mgdisk.c b/common/env_mgdisk.c index b95d85e..5dd92e7 100644 --- a/common/env_mgdisk.

[U-Boot] [PATCH 08/17] env: clean env_dataflash.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_dataflash.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_dataflash.c | 32 include/dataflash.h|2 ++ 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/common/env_dataflash.c b/c

[U-Boot] [PATCH 09/17] env: clean env_onenand.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_onenand.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_onenand.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/common/env_onenand.c b/common/env_onenand.c index c09fdf3..f356056 100644 --- a/common

[U-Boot] [PATCH 10/17] env: clean env_nvram.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_nvram.c checkpatch warnings, errors and coding style. There are 2 wanring left about the extern used in c file: WARNING: externs should be avoided in .c files #53: FILE: env_nvram.c:53: +extern void *nvram_read(void *dest, const long src, size_t count); WARNING: externs should

[U-Boot] [PATCH 12/17] env: clean env_embedded.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_embedded.c checkpatch warnings, errors and coding style. There is one error left though: ERROR: Macros with multiple statements should be enclosed in a do - while loop #79: FILE: u-boot/common/env_embedded.c:79: +#define GEN_ABS(name, value) \ + asm(".glo

[U-Boot] [PATCH 02/17] common: move extern char console_buffer[] to common.h

2011-11-07 Thread Igor Grinberg
Extract all extern declarations for console_buffer[] out of c files into the common.h header. Signed-off-by: Igor Grinberg Cc: Frank Gottschling Cc: Murray Jensen --- board/amcc/yucca/cmd_yucca.c |1 - board/eltec/bab7xx/misc.c|1 - board/eltec/elppc/misc.c |1 - board/elte

[U-Boot] [PATCH 11/17] env: clean env_mmc.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_mmc.c checkpatch warnings, errors and coding style. Simplify env_relocate_spec() function implementation. Also mark internal functions as static. Signed-off-by: Igor Grinberg --- common/env_mmc.c | 72 + 1 files changed, 23 in

[U-Boot] [PATCH 14/17] env: clean env_sf.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_sf.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_sf.c | 48 1 files changed, 20 insertions(+), 28 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index 2ff10dd..a798fbe 1

[U-Boot] [PATCH 15/17] env: clean env_flash.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_flash.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_flash.c | 175 +--- 1 files changed, 84 insertions(+), 91 deletions(-) diff --git a/common/env_flash.c b/common/env_flash.c index a3

[U-Boot] [PATCH 13/17] env: clean env_eeprom.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_eeprom.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_eeprom.c | 104 ++ 1 files changed, 46 insertions(+), 58 deletions(-) diff --git a/common/env_eeprom.c b/common/env_eeprom.c index

[U-Boot] [PATCH 16/17] env: clean env_nand.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_nand.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_nand.c | 99 1 files changed, 46 insertions(+), 53 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index d97532

[U-Boot] [PATCH 17/17] env: clean env_common.c checkpatch and code style

2011-11-07 Thread Igor Grinberg
Cleanup the env_common.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg --- common/env_common.c | 52 + include/environment.h |8 +++ 2 files changed, 26 insertions(+), 34 deletions(-) diff --git a/common/en

Re: [U-Boot] [PATCH 03/17] env: move extern default_environment[] to environment.h

2011-11-07 Thread Stefan Roese
On Monday 07 November 2011 12:13:57 Igor Grinberg wrote: > Extract all extern declarations for default_environment[] out of c files > into the environment.h header. > > Signed-off-by: Igor Grinberg > Cc: Stefan Roese Acked-by: Stefan Roese Thanks. Best regards, Stefan -- DENX Software Engin

Re: [U-Boot] No power on USB host of IMX25 PDK

2011-11-07 Thread Fabio Estevam
On Mon, Nov 7, 2011 at 8:09 AM, Hugo Holgersson wrote: > #define USBCTRL_OTGBASE_OFFSET  0x600 > should maybe be called just USB_CTRL_OFFSET. Also, please be aware of this documentation error about the USB base register that is discussed here: http://www.spinics.net/lists/arm-kernel/msg105440.htm

Re: [U-Boot] [PATCH] dfu: initial implementation

2011-11-07 Thread Andrzej Pietrasiewicz
Dear Wolfgang Denk, Please see my comments inline. > > > > DFU is part of USB; an extension to be precise, but an extension > bound > > so tightly to the design and philosophy of USB that it is rather > > inconceivable to separate the two. > > Could you please be so kind and explain which exact

Re: [U-Boot] [PATCH] ARM: Generic cache ops skeleton

2011-11-07 Thread Albert ARIBAUD
Le 06/11/2011 02:16, Marek Vasut a écrit : > This patch should allow a CPU to register it's own cache ops. This shall allow > multiple CPUs with different cache handlings to be supported. I don't really like the idea of a system of dynamic cache ops right now, because as discussed by Mike, we're

Re: [U-Boot] [PATCH] ARM: Generic cache ops skeleton

2011-11-07 Thread Albert ARIBAUD
Le 06/11/2011 20:29, Simon Glass a écrit : > It's actually a lot more than cache ops. SOCs have there own clock > stuff, pinmux things, power mgmt, timers and the like. While it might > be desirable to provide this feature it is a fair bit of work and we > need to be careful not to make things mor

[U-Boot] [PATCH] pxe: make the first label the implicit default

2011-11-07 Thread Jason Hobbs
If no default label is specified, but a situation arises where the default label should be used, treat the first label specified as the default label. Signed-off-by: Jason Hobbs Cc: Ricardo Salveti de Araujo Cc: Wolfgang Denk --- common/cmd_pxe.c | 17 ++--- 1 files changed, 14 i

[U-Boot] uboot on devkit8000

2011-11-07 Thread Mariya Abdul Ghafoor
I configured Angstrom on DevKit8000 (clone of Beagleboard) now the touch screen shows shell prompt i.e. root@DevKit8000~# but there is no uboot console output...I need to port Android on it and without the console output I have no idea how! I am new to embedded systems and is totally confused

[U-Boot] Code relocation in U-boot.

2011-11-07 Thread Sandeep Sharma
Hi, I am analyzing U-Boot code for "relocate_code" function. In this function after copying the text section and before clearing the bss section we are doing "fix .rel.dyn relocations". I want to know that what actually we are doing in this section of code. What does this section actually contains

[U-Boot] Pull request for u-boot-coldfire.git

2011-11-07 Thread Jin Zhengxiong-R64188
Hi, Wolfgang, Please kindly pull The following changes since commit fec79acc864bed049b6beae719ccbf2bbec5403a: sandbox: drop unused return (2011-11-03 22:35:25 +0100) are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master Jason Jin (3): ColdFire:Moving th

Re: [U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-07 Thread Wolfgang Grandegger
On 11/02/2011 05:16 PM, Stefano Babic wrote: > On 11/02/2011 05:03 PM, Jana Rapava wrote: >> >> Ok, so non-board-specific parts should go into ./arch/arm/cpu/armv7/mx5/ >> and board-specific callbacks should stay here? Do I understand you well? > > Yes, I think so > >> >>> >>> I don't want to blo

Re: [U-Boot] [PATCH] add a git mailrc file for maintainers

2011-11-07 Thread Kumar Gala
On Nov 6, 2011, at 5:07 PM, Mike Frysinger wrote: > This should make sending out e-mails to the right people easier. > > Signed-off-by: Mike Frysinger > --- > doc/git-mailrc | 100 > 1 files changed, 100 insertions(+), 0 deletions(-) > cr

[U-Boot] [PATCH v3] config.mk: use memoization in cc-option macro to speed up compilation

2011-11-07 Thread Daniel Schwierzeck
Apply memoization to cc-option macro by caching the results of the gcc calls. This macro is called very often so using cached results leads to faster compilation times. The old behaviour can be restored by defining the config option CONFIG_CC_OPT_CACHE_DISABLE=y. Signed-off-by: Daniel Schwierzeck

Re: [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic

2011-11-07 Thread Stephen Warren
Joe Hershberger wrote at Friday, November 04, 2011 8:25 PM: > ARM boards should use the generic GPIO API > Update the existing gpio implementations to conform the the generic API The Tegra changes look mostly OK, but: a) They are almost entirely unrelated to this patch description; most of the di

Re: [U-Boot] uboot on devkit8000

2011-11-07 Thread Thomas Weber
Am 07.11.2011 14:18, schrieb Mariya Abdul Ghafoor: > > I configured Angstrom on DevKit8000 (clone > of Beagleboard) now the touch screen shows shell prompt i.e. > root@DevKit8000~# but there is no uboot console output...I need to port > Android on it and without the console output I have no id

Re: [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic

2011-11-07 Thread Mike Frysinger
On Monday 07 November 2011 11:35:33 Stephen Warren wrote: > Joe Hershberger wrote at Friday, November 04, 2011 8:25 PM: > > -void gpio_free(int gp) > > +int gpio_free(unsigned gpio) > > { > > + return 0; > > } > > If you're doing a cleanup pass on this driver, you may as well make > gpio_free(

Re: [U-Boot] [PATCH] add a git mailrc file for maintainers

2011-11-07 Thread Mike Frysinger
On Monday 07 November 2011 10:06:43 Kumar Gala wrote: > On Nov 6, 2011, at 5:07 PM, Mike Frysinger wrote: > > +alias kumar Kumar Gala > > Please change to 'galak' ah, the crappy patchwork interface made it hard to figure out what username you were utilizing > ga...@kernel.crashing.org

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Stephen Warren
[Resending in an attempt to avoid base64 encoding] On 11/05/2011 04:20 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <1320164902-24190-3-git-send-email-swar...@nvidia.com> you wrote: >> The legacy uImage format includes an absolute load and entry- >> point address. When presented

Re: [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic

2011-11-07 Thread Stephen Warren
Mike Frysinger wrote at Monday, November 07, 2011 10:40 AM: > * PGP Signed by an unknown key > > On Monday 07 November 2011 11:35:33 Stephen Warren wrote: > > Joe Hershberger wrote at Friday, November 04, 2011 8:25 PM: > > > -void gpio_free(int gp) > > > +int gpio_free(unsigned gpio) > > > { > >

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Stephen Warren
On 11/07/2011 09:56 AM, Stephen Warren wrote: > [Resending in an attempt to avoid base64 encoding] > > On 11/05/2011 04:20 PM, Wolfgang Denk wrote: >> Dear Stephen Warren, >> >> In message <1320164902-24190-3-git-send-email-swar...@nvidia.com> you wrote: >>> The legacy uImage format includes an ab

Re: [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic

2011-11-07 Thread Joe Hershberger
On Mon, Nov 7, 2011 at 11:02 AM, Stephen Warren wrote: > Mike Frysinger wrote at Monday, November 07, 2011 10:40 AM: >> * PGP Signed by an unknown key >> >> On Monday 07 November 2011 11:35:33 Stephen Warren wrote: >> > Joe Hershberger wrote at Friday, November 04, 2011 8:25 PM: >> > > -void gpio_

Re: [U-Boot] [PATCH v8 2/4] gpio: Replace ARM gpio.h with the common API in include/asm-generic

2011-11-07 Thread Mike Frysinger
On Monday 07 November 2011 12:02:16 Stephen Warren wrote: > Mike Frysinger wrote at Monday, November 07, 2011 10:40 AM: > > On Monday 07 November 2011 11:35:33 Stephen Warren wrote: > > > Joe Hershberger wrote at Friday, November 04, 2011 8:25 PM: > > > > -void gpio_free(int gp) > > > > +int gpio_f

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Simon Glass
Hi Stephen, On Mon, Nov 7, 2011 at 9:09 AM, Stephen Warren wrote: > On 11/07/2011 09:56 AM, Stephen Warren wrote: >> [Resending in an attempt to avoid base64 encoding] >> >> On 11/05/2011 04:20 PM, Wolfgang Denk wrote: >>> Dear Stephen Warren, >>> >>> In message <1320164902-24190-3-git-send-email

[U-Boot] [PATCH 0/12]: Add more framework to OMAP3 SPL, port more boards

2011-11-07 Thread Tom Rini
Hey all, This is related to, but a bit different from the RFT thread I made with beagleboard SPL patches. I've incorporated the feedback about splitting the changes up a lot more and after talking with Scott Wood on IRC after the ML thread, I've created an omap3 specific file with the NAND relate

[U-Boot] [PATCH 01/12] OMAP3: Update SDRC dram_init to always call make_cs1_contiguous()

2011-11-07 Thread Tom Rini
We update the comment in make_cs1_contiguous() to be a little bit more clear (it's been copy/pasted from other silicons) and then explain in dram_init() why we need to always try this. Note that in the previous behavior we were always calling this on boards that never had cs1 populated anyhow so m

[U-Boot] [PATCH 02/12] OMAP3: Add a helper function to set timings in SDRC

2011-11-07 Thread Tom Rini
Since we go through the sequence to setup the SDRC timings more than once, break this logic out into its own function and have that function call mem_ok() to make sure the memory is usable. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/sdrc.c | 116 --

[U-Boot] [PATCH 03/12] OMAP3: Change mem_ok to clear again after reading back

2011-11-07 Thread Tom Rini
It's possible to need to call this function on the same banks multiple times so we want to be sure that 'pos A' is cleared out again at the end. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/mem.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/

[U-Boot] [PATCH 04/12] OMAP3: Remove get_mem_type prototype

2011-11-07 Thread Tom Rini
This function doesn't exist for omap3 Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/sys_proto.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 995e7cb..9e64410

[U-Boot] [PATCH 05/12] OMAP3: Add optimal SDRC autorefresh control values

2011-11-07 Thread Tom Rini
This adds the optimal SDRC autorefresh control register values for 100Mhz, 133MHz, 165MHz and 200MHz clocks. We switch to using this to provide the default 165MHz value. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 12 +++- 1 files changed, 7 insertions(+), 5 de

[U-Boot] [PATCH 06/12] OMAP3: Suffix all Micron memory timing parts with their speed

2011-11-07 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 54 + 1 files changed, 28 insertions(+), 26 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h index 61baccb..a3c 100644 --- a/arch/arm/

[U-Boot] [PATCH 08/12] OMAP3 SPL: Add identify_pop_memory function

2011-11-07 Thread Tom Rini
A number of boards are populated with a PoP chip for both DDR and NAND memory. So to determine DDR timings the NAND chip needs to be probed and mfr/id returned to the board to make decisions with. All of this code is put into spl_pop_probe.c and controlled via CONFIG_SPL_OMAP3_POP_PROBE. Signed-

[U-Boot] [PATCH 09/12] OMAP3: Add SPL support to Beagleboard

2011-11-07 Thread Tom Rini
This introduces 200MHz Micron parts timing information based on x-loader to . The memory init logic is also based on what x-loader does in these cases. Note that while previously u-boot would be flashed in with SW ECC in this case it now must be flashed with HW ECC. Cc: Dirk Behme Beagleboard r

[U-Boot] [PATCH 07/12] OMAP3 SPL: Rework memory initalization and devkit8000 support

2011-11-07 Thread Tom Rini
This changes to making the board be responsible for providing the memory initialization timings in SPL and converts the devkit8000 to this framework. In SPL we try and initialize both CS0 and CS1. Cc: Frederik Kriewitz Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/sdrc.c |

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Wolfgang Denk
Dear Stephen Warren, In message <74cdbe0f657a3d45afbb94109fb122ff173f9a5...@hqmail01.nvidia.com> you wrote: > > > Your own IH_TYPE_*_REL patches are queued and will be merged soon. > > Oh. I kept pushing and pushing on these and kept meeting resistance. I There was no resistance ever. There we

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > > copy it." Given the way Linux zImage works, I know > > this works fine on all those SoCs, and even if it didn't, the U-Boot > > scripts for those SoCs could arrange for the uImage to be loaded to a > > SoC-specific address that the zImage /would/ wo

Re: [U-Boot] Code relocation in U-boot.

2011-11-07 Thread Albert ARIBAUD
Le 07/11/2011 14:41, Sandeep Sharma a écrit : > Hi, > > I am analyzing U-Boot code for "relocate_code" function. In this function > after copying the text section and before clearing the bss section we are > doing "fix .rel.dyn relocations". I want to know that what actually we are > doing in this

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

2011-11-07 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit fec79acc864bed049b6beae719ccbf2bbec5403a: sandbox: drop unused return (2011-11-03 22:35:25 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Ajay Bhargav (1): gplugD: Fix for error:MACH_TYPE_SHEEVA

Re: [U-Boot] [PATCH 1/7 v2] integrator: pass configs for core modules

2011-11-07 Thread Albert ARIBAUD
Hi Linus, Le 03/11/2011 22:14, Linus Walleij a écrit : > Albert, are the v2 patches OK? > > In patchworx it's these: > http://patchwork.ozlabs.org/patch/121278/ > http://patchwork.ozlabs.org/patch/121279/ > http://patchwork.ozlabs.org/patch/121280/ > http://patchwork.ozlabs.org/patch/121281/ > htt

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-07 Thread Marek Vasut
> Dear Stephen Warren, > > In message <74cdbe0f657a3d45afbb94109fb122ff173f9a5...@hqmail01.nvidia.com> you wrote: > > > Your own IH_TYPE_*_REL patches are queued and will be merged soon. > > > > Oh. I kept pushing and pushing on these and kept meeting resistance. I > > There was no resistance e

Re: [U-Boot] [PATCH v3] config.mk: use memoization in cc-option macro to speed up compilation

2011-11-07 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1320679603-24847-1-git-send-email-daniel.schwierz...@googlemail.com> you wrote: > Apply memoization to cc-option macro by caching the results of the > gcc calls. This macro is called very often so using cached results > leads to faster compilation times. > >

Re: [U-Boot] [PATCH 01/56] board/mpl/common/flash.c: fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-2-git-send-email...@denx.de> you wrote: > Fix: > ../common/flash.c: In function 'flash_erase': > ../common/flash.c:603:24: warning: variable 'l_sect' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Denis Peter

Re: [U-Boot] [PATCH 02/56] arch/powerpc/cpu/mpc5xxx/i2c.c: fix GC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-3-git-send-email...@denx.de> you wrote: > Fix: > i2c.c: In function 'wait_for_bb': > i2c.c:104:16: warning: variable 'temp' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Heiko Schocher > --- > arch/powerpc

Re: [U-Boot] [PATCH 03/56] arch/powerpc/lib/board.c: make (mostly) checkpatch-clean

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-4-git-send-email...@denx.de> you wrote: > CodingStyle cleanup. > > Accepted (in this cleanup) checkpatch messages: > > - externs should be avoided > (to be cleaned up later) > - no spaces at the start of a line > (accepted in multi-line #if's)

Re: [U-Boot] [PATCH 04/56] arch/powerpc/lib/board.c: fix build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-5-git-send-email...@denx.de> you wrote: > Fix: > board.c: In function 'board_init_r': > board.c:633:8: warning: unused variable 's' [-Wunused-variable] > > Signed-off-by: Wolfgang Denk > --- > arch/powerpc/lib/board.c |3 --- > 1 files change

Re: [U-Boot] [PATCH 05/56] board/tqc/tqm5200/cmd_stk52xx.c: fix GC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-6-git-send-email...@denx.de> you wrote: > Fix: > cmd_stk52xx.c: In function 'spi_transmit': > cmd_stk52xx.c:85:6: warning: variable 'dummy' set but not used > [-Wunused-but-set-variable] > cmd_stk52xx.c: In function 'i2s_play_wave': > cmd_stk52xx.c:

Re: [U-Boot] [PATCH 06/56] arch/powerpc/cpu/mpc5xxx/usb_ohci.c: fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-7-git-send-email...@denx.de> you wrote: > Fix: > usb_ohci.c: In function 'dl_transfer_length': > usb_ohci.c:751:8: warning: variable 'tdINFO' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > arch/powerpc/cpu

Re: [U-Boot] [PATCH 07/56] board/mcc200/auto_update.c: fixx GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-8-git-send-email...@denx.de> you wrote: > Fix: > auto_update.c: In function 'do_auto_update': > auto_update.c:344:48: warning: variable 'got_ctrlc' set but not used > [-Wunused-but-set-variable] > auto_update.c:344:18: warning: variable 'bitmap_firs

Re: [U-Boot] [PATCH 08/56] drivers/rtc/ds3231.c: fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-9-git-send-email...@denx.de> you wrote: > Fix: > ds3231.c: In function 'rtc_get': > ds3231.c:90:52: warning: variable 'control' set but not used > [-Wunused-but-set-variable] > > Fix is done by switching to standard debug() instead of custom macro.

Re: [U-Boot] [PATCH 09/56] drivers/rtc/rv3029.c: fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-10-git-send-email...@denx.de> you wrote: > Fix: > rv3029.c: In function 'rtc_set': > rv3029.c:98:6: warning: variable 'ret' set but not used > [-Wunused-but-set-variable] > rv3029.c: In function 'set_eere_bit': > rv3029.c:131:6: warning: variable 'r

Re: [U-Boot] [PATCH 10/56] drivers/video/videomodes.c: fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-11-git-send-email...@denx.de> you wrote: > Fix: > videomodes.c: In function 'video_get_params': > videomodes.c:162:13: warning: variable 't' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > drivers/video/vid

Re: [U-Boot] [PATCH 11/56] fs/fat/fat.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-12-git-send-email...@denx.de> you wrote: > Fix: > fat.c: In function 'fat_register_device': > fat.c:74:19: warning: variable 'info' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > fs/fat/fat.c | 35 ++

Re: [U-Boot] [PATCH 12/56] PM520: add missing enable_interrupts()

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-13-git-send-email...@denx.de> you wrote: > The code disabled interrupts in several locations, without re-enabling > them again. Fix this. > > While we are at it, also fix a GCC 4.6 build warning: > flash.c: In function 'flash_erase': > flash.c:373

Re: [U-Boot] [PATCH 14/56] board/esd/pf5200/pf5200.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-15-git-send-email...@denx.de> you wrote: > Fix: > pf5200.c: In function 'do_phypower': > pf5200.c:330:6: warning: variable 'status' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Reinhard Arlt > --- > board

Re: [U-Boot] [PATCH 13/56] board/esd/cpci5200/strataflash.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-14-git-send-email...@denx.de> you wrote: > Fix: > strataflash.c: In function 'flash_write_cfiword': > strataflash.c:681:11: warning: variable 'ctladdr' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Reinhard

Re: [U-Boot] [PATCH 15/56] board/tqc/tqm5200/cam5200_flash.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-16-git-send-email...@denx.de> you wrote: > Fix: > cam5200_flash.c: In function 'flash_erase_32': > cam5200_flash.c:282:24: warning: variable 'l_sect' set but not used > [-Wunused-but-set-variable] > cam5200_flash.c: In function 'flash_erase_16': > c

Re: [U-Boot] [PATCH 16/56] drivers/video/cfb_console.c:Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-17-git-send-email...@denx.de> you wrote: > Silence this warning: > cfb_console.c: In function 'video_logo': > cfb_console.c:1563:18: warning: variable 'y_off' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: An

Re: [U-Boot] [PATCH 17/56] mpc8xx/fec.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-18-git-send-email...@denx.de> you wrote: > Fix: > fec.c: In function 'fec_pin_init': > fec.c:381:18: warning: variable 'fecp' set but not used > [-Wunused-but-set-variable] > fec.c: In function 'fec8xx_miiphy_write': > fec.c:1013:8: warning: variabl

Re: [U-Boot] [PATCH 18/56] drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-19-git-send-email...@denx.de> you wrote: > Fix: > mpc8xx_pcmcia.c: In function 'pcmcia_on': > mpc8xx_pcmcia.c:76:8: warning: variable 'slotbit' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > drivers/pcmcia

Re: [U-Boot] [PATCH 19/56] board/c2mon/pcmcia.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-20-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'pcmcia_voltage_set': > pcmcia.c:202:21: warning: variable 'cp' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > board/c2mon/pcmcia.c |

Re: [U-Boot] [PATCH 20/56] board/icu862/pcmcia.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-21-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'cfg_port_B': > pcmcia.c:21:20: warning: variable 'immap' set but not used > [-Wunused-but-set-variable] > pcmcia.c: In function 'pcmcia_hardware_enable': > pcmcia.c:50:20: warn

Re: [U-Boot] [PATCH 20/56] board/icu862/pcmcia.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-21-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'cfg_port_B': > pcmcia.c:21:20: warning: variable 'immap' set but not used > [-Wunused-but-set-variable] > pcmcia.c: In function 'pcmcia_hardware_enable': > pcmcia.c:50:20: warn

Re: [U-Boot] [PATCH 21/56] board/kup/common/pcmcia.c: Fix GCC 4.6 compiler warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-22-git-send-email...@denx.de> you wrote: > Fix: > ../common/pcmcia.c: In function 'pcmcia_hardware_enable': > ../common/pcmcia.c:23:20: warning: variable 'immap' set but not used > [-Wunused-but-set-variable] > ../common/pcmcia.c: In function 'pcmci

Re: [U-Boot] [PATCH 22/56] board/lwmon/pcmcia.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-23-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'pcmcia_hardware_enable': > pcmcia.c:33:21: warning: variable 'cp' set but not used > [-Wunused-but-set-variable] > pcmcia.c:32:20: warning: variable 'immap' set but not used >

Re: [U-Boot] [PATCH 23/56] board/manroland/uc100/pcmcia.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-24-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'pcmcia_voltage_set': > pcmcia.c:158:25: warning: variable 'pcmp' set but not used > [-Wunused-but-set-variable] > pcmcia.c:157:20: warning: variable 'immap' set but not used >

Re: [U-Boot] [PATCH 24/56] board/mbx8xx/pcmcia.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-25-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'pcmcia_hardware_enable': > pcmcia.c:83:25: warning: variable 'sysp' set but not used > [-Wunused-but-set-variable] > pcmcia.c:81:21: warning: variable 'cp' set but not used > [

Re: [U-Boot] [PATCH 25/56] board/netta/codec.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-26-git-send-email...@denx.de> you wrote: > Fix: > codec.c: In function 's_write_BR': > codec.c:1389:15: warning: variable 'v' set but not used > [-Wunused-but-set-variable] > codec.c: In function 's_write_OR': > codec.c:1400:15: warning: variable 'v

Re: [U-Boot] [PATCH 26/56] board/netta/pcmcia.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-27-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'cfg_ports': > pcmcia.c:151:21: warning: variable 'cp' set but not used > [-Wunused-but-set-variable] > pcmcia.c:150:20: warning: variable 'immap' set but not used > [-Wunused-b

Re: [U-Boot] [PATCH 27/56] board/r360mpi/pcmcia.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-28-git-send-email...@denx.de> you wrote: > Fix: > pcmcia.c: In function 'pcmcia_hardware_enable': > pcmcia.c:22:21: warning: variable 'cp' set but not used > [-Wunused-but-set-variable] > pcmcia.c: In function 'pcmcia_hardware_disable': > pcmcia.c:1

Re: [U-Boot] [PATCH 28/56] mpc8xx/cpu.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-29-git-send-email...@denx.de> you wrote: > Fix: > cpu.c: In function 'check_CPU': > cpu.c:188:8: warning: variable 'mid' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > arch/powerpc/cpu/mpc8xx/cpu.c |3

Re: [U-Boot] [PATCH 29/56] ICU862: Fix incorrect flash handling

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-30-git-send-email...@denx.de> you wrote: > There is only one bank of NOR flash memory on ICU862 boards. > Remove code that attempts to deal with a second bank. > > This also fixes build warnings: > flash.c: In function 'flash_init': > flash.c:120:1

Re: [U-Boot] [PATCH 30/56] board/kup/kup4k/kup4k.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-31-git-send-email...@denx.de> you wrote: > Fix: > kup4k.c: In function 'initdram': > kup4k.c:155:19: warning: variable 'mod' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Klaus Heydeck > --- > board/kup/ku

Re: [U-Boot] [PATCH 31/56] board/eltec/mhpc/flash.c: Fix GCC 4.6 build warning

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-32-git-send-email...@denx.de> you wrote: > Fix: > flash.c: In function 'write_buff': > flash.c:314:6: warning: variable 'count' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Frank Gottschling > --- > board

Re: [U-Boot] [PATCH 32/56] mpc8xx/i2c.c: CodungStyle cleanup

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-33-git-send-email...@denx.de> you wrote: > Make (mostly) checkpatch-clean > > We don't acctually change the code (like convert to use I/O > accessors), so there will be some remaining "Use of volatile" > warnings from checkpatch. > > Signed-off-by

Re: [U-Boot] [PATCH 33/56] mpc8xx/i2c.c: replace PRINTD() by debug()

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-34-git-send-email...@denx.de> you wrote: > This also fixes some GCC 4.6 build warnings like: > warning: variable 'txbd' set but not used [-Wunused-but-set-variable] > warning: variable 'rxbd' set but not used [-Wunused-but-set-variable] > > Signed-

Re: [U-Boot] [PATCH 34/56] board/etx094/flash.c: CodingStyle cleanup

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-35-git-send-email...@denx.de> you wrote: > Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, > so there will be "Use of volatile is usually wrong" warnings left. > > Signed-off-by: Wolfgang Denk > --- > board/etx094/flash.c

Re: [U-Boot] [PATCH 35/56] board/etx094/flash.c: Fix flash initialization

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-36-git-send-email...@denx.de> you wrote: > The ETX094 has only one NOR flash bank. Remove all code trying to > deal with a second bank. This also fixes a number of GCC 4.6 build > warnings: > flash.c: In function 'flash_init': > flash.c:68:13: war

Re: [U-Boot] [PATCH 36/56] board/genietv/flash.c: CodingStyle cleanup

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-37-git-send-email...@denx.de> you wrote: > Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, > so there will be "Use of volatile is usually wrong" warnings left. > > Signed-off-by: Wolfgang Denk > --- > board/genietv/flash.c

  1   2   3   >