Re: [U-Boot] [PATCH] ARM: Update mach types

2010-12-29 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d1a5d75.4090...@free.fr> you wrote: > > > This commit updates the mach-types for ARM > > I assume these come straight from the ARM linux kernel sources? The reference for mach-types is not the ARM kernel, but always the mainline (Linus) kernel tree. Best regar

Re: [U-Boot] [PATCH 12/13] add support for function-sections

2010-12-29 Thread Michael Schwingen
Am 12/29/2010 05:47 AM, schrieb Mike Frysinger: > On Tuesday, December 28, 2010 07:43:30 Michael Schwingen wrote: >> Signed-off-by: Michael Schwingen >> --- >> config.mk|6 ++ >> include/configs/actux1.h |1 + >> include/configs/actux2.h |1 + >> include/configs/ac

Re: [U-Boot] [PATCH 12/13] add support for function-sections

2010-12-29 Thread Mike Frysinger
On Wednesday, December 29, 2010 03:28:51 Michael Schwingen wrote: > Am 12/29/2010 05:47 AM, schrieb Mike Frysinger: > > On Tuesday, December 28, 2010 07:43:30 Michael Schwingen wrote: > >> Signed-off-by: Michael Schwingen > >> --- > >> > >> config.mk|6 ++ > >> include/co

Re: [U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

2010-12-29 Thread Dirk Behme
On 22.12.2010 09:02, Wolfgang Denk wrote: > Dear Alexander Holler, > > In message<1292711230-3234-1-git-send-email-hol...@ahsoftware.de> you wrote: >> gcc 4.5.1 seems to ignore (at least some) volatile definitions, >> avoid that as done in the kernel. > ... >> +#define writeb(v,c)

[U-Boot] [PATCH v3 3/8] serial_mxc: add support for MX53 processor

2010-12-29 Thread Jason Liu
This patch add UART support for Freescale MX53 processor Signed-off-by: Jason Liu --- drivers/serial/serial_mxc.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index f96b21f..805f4c5 100644 --- a/drivers/se

[U-Boot] [PATCH v3 4/8] mxc_gpio: add support for MX53 processor

2010-12-29 Thread Jason Liu
This patch add mxc_gpio support for Freescale MX53 processor Signed-off-by: Jason Liu --- Changes for v2 - put this patch into the same patchset with MX53 support as Stefano comments, --- drivers/gpio/mxc_gpio.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH v3 6/8] fsl_pmic: add I2C interface support

2010-12-29 Thread Jason Liu
This patch add I2C interface for fsl_pmic driver support Signed-off-by: Jason Liu --- Changes for v2: - Address the comments from Stefano, - factor out the param_check in pmic_reg for both spi/i2c --- drivers/misc/fsl_pmic.c | 52 ++ 1 files chang

[U-Boot] [PATCH v3 1/8] MX5: Add initial support for MX53 processor

2010-12-29 Thread Jason Liu
Add initial support for Freescale MX53 processor, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low level init support, make use the freq input of setup_pll macro --- Changes for v2: -address some comments of Stefano Babic

[U-Boot] [PATCH v3 5/8] mxc_i2c: add support for MX53 processor

2010-12-29 Thread Jason Liu
This patch add I2C support for Freescale MX53 processor Signed-off-by: Jason Liu --- Changes for v2: -address the comments of Heiko, add #if defined(CONFIG_MX31) to avoid break MX31 build. Move CONFIG_HARD_I2C to the top of the file and fix the error message from: #error "define CONFI

[U-Boot] [PATCH v3 2/3] imximage: Add MX53 boot image support

2010-12-29 Thread Jason Liu
This patch add the MX53 boot image support. This patch has been tested on Freescale MX53EVK board and MX51EVK board. Signed-off-by: Jason Liu --- Changes for v2: - Address the following comments from Stefano, - Get rid of #ifdef in the imximage.h and .c file and use the runtime check for

[U-Boot] [PATCH v3 2/8] fec_mxc: add support for MX53 processor

2010-12-29 Thread Jason Liu
This patch add FEC support for Freescale MX53 processor Signed-off-by: Jason Liu --- drivers/net/fec_mxc.c |2 +- drivers/net/fec_mxc.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 0d0f392..652ced4 100644 ---

[U-Boot] [PATCH v3 1/3] fsl_pmic: add I2C interface support

2010-12-29 Thread Jason Liu
This patch add I2C interface for fsl_pmic driver support Signed-off-by: Jason Liu --- Changes for v2: - Address the comments from Stefano, - factor out the param_check in pmic_reg for both spi/i2c --- drivers/misc/fsl_pmic.c | 52 ++ 1 files chang

[U-Boot] [PATCH v3 3/3] MX5:MX53: add initial support for MX53EVK board

2010-12-29 Thread Jason Liu
Add initial support for MX53EVK board support. FEC, SD/MMC, UART, I2C, have been support. Signed-off-by: Jason Liu --- Changes for v2: -Address the comments from Stefano, Albert and Wolfgang, -remove the ivt.S file and use imximage.cfg instead, -remove the ivt link to u-boot -Add

Re: [U-Boot] [PATCH v3 1/3] fsl_pmic: add I2C interface support

2010-12-29 Thread Jason Liu
2010/12/29 Jason Liu : > This patch add I2C interface for fsl_pmic driver support > > Signed-off-by: Jason Liu > Please ignore this patch. Send it wrongly. Sorry for the noise. > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/m

Re: [U-Boot] [PATCH v3 3/3] MX5:MX53: add initial support for MX53EVK board

2010-12-29 Thread Jason Liu
2010/12/29 Jason Liu : > Add initial support for MX53EVK board support. > FEC, SD/MMC, UART, I2C, have been support. > > Signed-off-by: Jason Liu > Please ignore this patch. Send it wrongly. Sorry for the noise. > > > ___ > U-Boot mailing list > U-Boot@l

Re: [U-Boot] [PATCH v3 2/3] imximage: Add MX53 boot image support

2010-12-29 Thread Jason Liu
2010/12/29 Jason Liu : > This patch add the MX53 boot image support. > > This patch has been tested on Freescale MX53EVK board > and MX51EVK board. > > Signed-off-by: Jason Liu > Please ignore the patch. Send it wrongly. Sorry for the noise. > > > ___ >

[U-Boot] [PATCH v3 7/8] imximage: Add MX53 boot image support

2010-12-29 Thread Jason Liu
This patch add the MX53 boot image support. This patch has been tested on Freescale MX53EVK board and MX51EVK board. Signed-off-by: Jason Liu --- Changes for v2: - Address the following comments from Stefano, - Get rid of #ifdef in the imximage.h and .c file and use the runtime check for

[U-Boot] [PATCH v3 8/8] MX5:MX53: add initial support for MX53EVK board

2010-12-29 Thread Jason Liu
Add initial support for MX53EVK board support. FEC, SD/MMC, UART, I2C, have been support. Signed-off-by: Jason Liu --- Changes for v2: -Address the comments from Stefano, Albert and Wolfgang, -remove the ivt.S file and use imximage.cfg instead, -remove the ivt link to u-boot -Add

[U-Boot] [PATCH] pci_ftpci100: Implementation FTPCI100 PCI driver

2010-12-29 Thread Gavin Guo
FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo --- drivers/pci/pci_ftpci100.c | 282 drivers/pci/pci_ftpci100.h | 117 ++ 2 fi

[U-Boot] [PATCH v2] pci_ftpci100: Implementation FTPCI100 PCI driver

2010-12-29 Thread Gavin Guo
FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo --- Change v2: add Makefile into this patch. drivers/pci/Makefile |1 + drivers/pci/pci_ftpci100.c | 282 +++

[U-Boot] [PATCH] DaVinci DM6467: Fix Build Error

2010-12-29 Thread s-paulraj
From: Sandeep Paulraj This commit fixes build errors on the DM6467 port. Signed-off-by: Sandeep Paulraj --- arch/arm/cpu/arm926ejs/davinci/cpu.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/cpu.c b/arch/arm/cpu/arm926

[U-Boot] [PATCH] DaVinci Sonata: Fix Build Error

2010-12-29 Thread s-paulraj
From: Sandeep Paulraj Fix a build error in the DaVinci Sonata Board Signed-off-by: Sandeep Paulraj --- include/configs/davinci_sonata.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h index ebfdafa..2

[U-Boot] [PATCH] DaVinci: Remove incorrect CONFIG option

2010-12-29 Thread s-paulraj
From: Sandeep Paulraj The option CONFIG_SOC_DM6447 seems to have ended up in the code by mistake. It is not used anywhere and there is no chip called DM6447. Signed-off-by: Sandeep Paulraj --- arch/arm/cpu/arm926ejs/davinci/cpu.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-)

Re: [U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

2010-12-29 Thread Alessandro Rubini
Dirk Behme: > Just for the record: > > The trick is to ensure that the __arch_putx() containing the volatile > is not the last statement in the GCC statement-expression. So, using > something like > > #define writeb(v,c) ({ __iowmb(); __arch_putb(v,c); v;}) > > (note the additional 'v;

[U-Boot] env_flash.c:saveenv() broken when env is smaller than a sector

2010-12-29 Thread Mike Frysinger
On Saturday, July 17, 2010 15:45:48 Wolfgang Denk wrote: > --- a/common/env_flash.c > +++ b/common/env_flash.c > #ifdef CMD_SAVEENV > int saveenv(void) > { > - char *saved_data = NULL; > - int rc = 1; > - char flag = OBSOLETE_FLAG, new_flag = ACTIVE_FLAG; > + env_t env_new; > +

Re: [U-Boot] [PATCH] Add LDFLAGS-u-boot variable and move some linker option to this

2010-12-29 Thread Mike Frysinger
On Monday, December 27, 2010 02:00:24 Nobuhiro Iwamatsu wrote: > This move linker option used by the last of u-boot in LDFLAGS_u-boot > variable. And the option to use in ld uses LDFLAGS variable. Nobuhiro: could you repost with an updated changelog please ? talk about how the the linker needs t

Re: [U-Boot] env_flash.c:saveenv() broken when env is smaller than a sector

2010-12-29 Thread Mike Frysinger
On Wednesday, December 29, 2010 20:53:17 Mike Frysinger wrote: > On Saturday, July 17, 2010 15:45:48 Wolfgang Denk wrote: > > --- a/common/env_flash.c > > +++ b/common/env_flash.c > > int saveenv(void) > > { > > > > - int len, rc; > > - ulong end_addr; > > - ulong flash_sect_addr;

[U-Boot] Question/proposal: why dts files are not normally accepted into u-boot repo?

2010-12-29 Thread Alex Dubov
Greetings. In the old times it was customary to tweak the linux kernel for each and every board, creating "named" configurations, so naturally dts files ended up in the kernel source tree. Yet, kernel build system does nothing with those files. Moreover, during initial board development, u-boot bo