Re: [U-Boot] [PATCH] mxc_spi: Round up clock divider

2012-08-20 Thread Stefano Babic
...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- .../drivers/spi/mxc_spi.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/drivers/spi/mxc_spi.c u-boot-4d3c95f/drivers/spi/mxc_spi.c index 2e15318

Re: [U-Boot] [PATCH] mx25: Enable dcache

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:17, Benoît Thébaudeau wrote: Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu

Re: [U-Boot] [PATCH] mx5: Enable dcache

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:17, Benoît Thébaudeau wrote: Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu

Re: [U-Boot] [PATCH] mx35: Fix typo on EDIO

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:28, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/crm_regs.h |4 ++-- .../board/CarMediaLab/flea3/flea3.c|2 +- .../board

Re: [U-Boot] [PATCH] mx3: Fix typo on IPU_CONF_CSI_EN

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:33, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx31/imx-regs.h |2 +- .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 +- 2 files changed, 2

Re: [U-Boot] [PATCH] mx5/6 timer: Round up tick_to_time() value

2012-08-20 Thread Stefano Babic
benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/armv7/imx-common/timer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu/armv7/imx-common/timer.c u-boot-4d3c95f/arch/arm/cpu/armv7/imx-common

Re: [U-Boot] [PATCH v2 1/4] mx5: cosmetic: Clean up lowlevel_init

2012-08-20 Thread Stefano Babic
On 14/08/2012 17:18, Benoît Thébaudeau wrote: Coding style cleanup: - Remove useless parentheses. - Use tabs for indentations and alignments. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Make patch description

Re: [U-Boot] [PATCH 1/3] mx35: Remove duplicate GPIO3_BASE_ADDR

2012-08-20 Thread Stefano Babic
On 14/08/2012 23:03, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/imx-regs.h |1 - 1 file changed, 1 deletion(-) diff --git u-boot-4d3c95f.orig/arch/arm/include/asm

Re: [U-Boot] [PATCH 1/1] iomux: move IOMUX_GPR13_xxx defines

2012-08-20 Thread Stefano Babic
/io.h #include asm/arch/clock.h #include asm/arch/imx-regs.h +#include asm/arch/iomux.h #include asm/arch/mx6x_pins.h #include asm/errno.h #include asm/gpio.h Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH V4 1/3] imx-common/cmd_bmode.c: add imx bmode (bootmode) command

2012-08-20 Thread Stefano Babic
; +}; + +void add_board_boot_modes(const struct boot_mode *p); +void boot_mode_apply(unsigned cfg_val); +extern const struct boot_mode soc_boot_modes[]; +#endif Applied (whole series) to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH 1/2] spi: fix mxc_spi_slave structure allocation to clear memory

2012-08-20 Thread Stefano Babic
) { puts(mxc_spi: SPI Slave not allocated !\n); return NULL; Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel

Re: [U-Boot] [PATCH 2/2] spi: fix mxs_spi_slave structure allocation to clear memory

2012-08-20 Thread Stefano Babic
, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80

Re: [U-Boot] [PATCH v2] mx5/6: Fix cpu_mmc_init() return value

2012-08-20 Thread Stefano Babic
On 17/08/2012 22:42, Benoît Thébaudeau wrote: Do not pretend to have initialized mmc successfully if CONFIG_FSL_ESDHC is not defined. Instead, only implement a custom cpu_mmc_init() when it does something. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

Re: [U-Boot] [PATCH v2 7/7] mx35: Add cpu_mmc_init()

2012-08-20 Thread Stefano Babic
On 17/08/2012 22:43, Benoît Thébaudeau wrote: Add cpu_mmc_init() function to make it easy to init a single eSDHC instance. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Do not define cpu_mmc_init

Re: [U-Boot] [PATCH v2 1/2] MX28: config: Allow different target generation in elftosb call

2012-08-20 Thread Stefano Babic
to arch/arm/cpu/arm926ejs/mxs/u-boot-imx28.bd Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH v2 2/2] MX28: Move regs-base.h include after SoC type configuration

2012-08-20 Thread Stefano Babic
Salvador ota...@ossystems.com.br Acked-by: Stefano Babic sba...@denx.de --- Changes in v2: - no changes include/configs/apx4devkit.h |4 ++-- include/configs/m28evk.h |4 ++-- include/configs/mx28evk.h|5 +++-- include/configs/sc_sps_1.h |4 ++-- 4 files changed, 9

Re: [U-Boot] [PATCH 1/2] mx28evk: Remove unneeded 'undef'

2012-08-20 Thread Stefano Babic
CONFIG_ENV_IS_IN_SPI_FLASH #ifdef CONFIG_ENV_IS_IN_SPI_FLASH #define CONFIG_SYS_REDUNDAND_ENVIRONMENT #define CONFIG_ENV_SIZE 0x1000 /* 4KB */ Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH 2/2] mxs: Use correct function name to initialize dram

2012-08-20 Thread Stefano Babic
mem_dram_size; }; -int mxs_dram_init(void); +int mx28_dram_init(void); #endif /* __SYS_PROTO_H__ */ Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v2 3/4] mx5: Optimize lowlevel_init for TO 3

2012-08-20 Thread Stefano Babic
silicon revisions. Hence, this patch adds an option to optimize away this revision-specific code from lowlevel_init.S. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, Changes for v2: - Make patch description more detailed

Re: [U-Boot] [PATCH 07/10] mx5 clocks: Fix get_uart_clk()

2012-08-20 Thread Stefano Babic
On 14/08/2012 20:07, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu/armv7/mx5/clock.c | 45 1 file changed, 27 insertions(+), 18 deletions

Re: [U-Boot] [PATCH 07/10] mx5 clocks: Fix get_uart_clk()

2012-08-20 Thread Stefano Babic
On 20/08/2012 11:52, Stefano Babic wrote: Why should we pass a parameter to this function ? Can it be used in another context ? I do not think so, because it decodes the value in the cscmr1 register. I think it is better if you move the reading of the cscmr1 register inside this function

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/mx35_pins.h |3 --- .../board/CarMediaLab/flea3/flea3.c|4 ++-- 2 files changed

Re: [U-Boot] [PATCH 1/6] mx35 iomux: Remove unused macro

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm1136/mx35/iomux.c |2 -- 1 file changed, 2 deletions(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu

Re: [U-Boot] [PATCH 4/6] mx35: Remove declaration of non-existing function

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/sys_proto.h |1 - 1 file changed, 1 deletion(-) diff --git u-boot-4d3c95f.orig/arch/arm/include/asm

Re: [U-Boot] [PATCH 5/6] mx35: Add default pin initializers

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Create default pin initialization functions for the default iomux function assignments of the main peripherals. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu

Re: [U-Boot] [PATCH 1/7] mx35: Move clock enums to clock.h

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm1136/mx35/generic.c|4 +-- .../arch/arm/include/asm/arch-mx35/clock.h | 28

Re: [U-Boot] [PATCH 2/7] mx35: Remove declaration of non-existing function

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/include/asm/arch-mx35/clock.h |2 -- 1 file changed, 2 deletions(-) diff --git u-boot-4d3c95f.orig/arch

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:33, Benoît Thébaudeau wrote: Each eSDHC instance has a dedicated clock. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu/arm1136/mx35/generic.c| 14 -- .../arch/arm

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 20/08/2012 14:34, Benoît Thébaudeau wrote: Hi Stefano, Hi Benoît, Even if the two controllers can have different clocks, this is not supported by the driver. In fact, in drivers/mmc/fsl_esdhc.c: int sdhc_clk = gd-sdhc_clk; The driver uses always the same clock, stored in the global

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 20/08/2012 14:55, Benoît Thébaudeau wrote: OK, then this patch does the job for the single eSDHC instance use case, which will still use gd-sdhc_clk. Yes, but then we do not need ESDHC1, ESDHC2 and ESDHC3, because the driver does not support different clocks. I will make another patch

Re: [U-Boot] [PATCH 3/3] mx35: Clean up lowlevel_init

2012-08-20 Thread stefano babic
...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arm/include/asm/arch-mx35/lowlevel_macro.S | 153 .../board/CarMediaLab/flea3/lowlevel_init.S| 19 +-- .../board/freescale/mx35pdk/lowlevel_init.S| 119 +-- .../board/freescale/mx35pdk

Re: [U-Boot] [PATCH 3/3] mx35: Clean up lowlevel_init

2012-08-21 Thread Stefano Babic
On 20/08/2012 22:25, Fabio Estevam wrote: Hi Stefano, On Mon, Aug 20, 2012 at 4:42 PM, stefano babic sba...@denx.de wrote: With the flea3 I have made some clean-up, making the lowLevel_init.S essential. Same changes were not reported back to the mx35pdk. I am going also to put in a common

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-21 Thread Stefano Babic
On 21/08/2012 01:03, Troy Kisky wrote: Use a common watchdog driver for all these cpus. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- Hi Troy, v2: add README.watchdog include mx31/mx35 watchdogs move to drivers/watchdog Please test on a mx31 and mx35

Re: [U-Boot] [PATCH v4] MX: Set a common gpio.h for all i.MX

2012-08-21 Thread Stefano Babic
On 20/08/2012 23:20, Matt Sealey wrote: Works fine on the Efika MX :) Tested-by: Matt Sealey m...@genesi-usa.com Ok, thanks, I push it on the server. Regards, Stefano -- = DENX Software Engineering GmbH, MD: Wolfgang

Re: [U-Boot] [PATCH] mxc: Make gpio_get_value() use PSR

2012-08-21 Thread Stefano Babic
by a non-GPIO IOMUX function. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch depends on http://patchwork.ozlabs.org/patch/178694/ . .../drivers/gpio/mxc_gpio.c|2 +- 1 file changed, 1 insertion

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-21 Thread Stefano Babic
On 14/08/2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- CC to Anatolji, he knows very well the MPC5121

Re: [U-Boot] [PATCH 4/5] Add fsl_iim driver

2012-08-21 Thread Stefano Babic
On 14/08/2012 14:52, Benoît Thébaudeau wrote: Add a fsl_iim driver common to i.MX and MPC. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- .../drivers/misc/Makefile |1 + /dev

Re: [U-Boot] [PATCH 5/5] mpc iim: Switch to common fsl_iim

2012-08-21 Thread Stefano Babic
On 14/08/2012 14:53, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- .../arch/powerpc/cpu/mpc512x/Makefile |1 - .../arch/powerpc/cpu/mpc512x/iim.c = /dev/null

Re: [U-Boot] [PATCH 4/5] Add fsl_iim driver

2012-08-21 Thread Stefano Babic
On 21/08/2012 14:56, Benoît Thébaudeau wrote: Hi Stefano, Hi, The address depends on the SOC, and is not a board configuration option. Should we not use IIM_BASE_ADDR ? CONFIG_SYS_FSL_IIM_ADDR is supposed to be a board configuration option, just like CONFIG_SYS_I2C_BASE. Ok, but the

Re: [U-Boot] [PATCH 2/3] mx51evk: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
IMX_GPIO_NR(3, 4) /* GPIO3_4 */ DECLARE_GLOBAL_DATA_PTR; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH 3/3] mx53ard: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
, 31) /* GPIO2_31 */ DECLARE_GLOBAL_DATA_PTR; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office

Re: [U-Boot] [PATCH 1/3] mx53loco: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
MX53LOCO_LCD_POWER IMX_GPIO_NR(3, 24) /* GPIO3_24 */ DECLARE_GLOBAL_DATA_PTR; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-22 Thread Stefano Babic
On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h index bba37ac..594d613 100644 --- a/arch/arm/include/asm/arch-mx31/imx

Re: [U-Boot] [PATCH v2 1/2] mx35: Define default SoC input clock frequencies

2012-08-22 Thread Stefano Babic
On 21/08/2012 23:07, Benoît Thébaudeau wrote: Define default SoC input clock frequencies for i.MX35 in order to get rid of duplicated definitions. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch depends on http

Re: [U-Boot] [PATCH v2 2/2] mx35 timer: Switch to 32-kHz source

2012-08-22 Thread Stefano Babic
: Stefano Babic sba...@denx.de --- Changes for v2: - Fix multiline comment style. - Use default SoC input clock frequency definitions instead of duplicating frequency definitions in all board files. .../arch/arm/cpu/arm1136/mx35/timer.c | 44 1 file

[U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com --- Note: this is based on Tom's series ARM: SPL: Make more generic, merge

Re: [U-Boot] [PATCH v2 1/3] mx53loco: Use IMX_GPIO_NR macro

2012-08-23 Thread Stefano Babic
ipu_pixfmt.h -#define MX53LOCO_LCD_POWER (2 * 32 + 24) /* GPIO3_24 */ +#define MX53LOCO_LCD_POWER IMX_GPIO_NR(3, 24) DECLARE_GLOBAL_DATA_PTR; Applied (whole series) to u-boot-imx (after removing Use IMX_GPIO_NR macro. as suggested by Troy), thanks. Best regards, Stefano

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 1/7] mx35: Move clock enums to clock.h

2012-08-23 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 4/6] mx35: Remove declaration of non-existing function

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/sys_proto.h |1 - 1 file changed, 1 deletion(-) diff --git u-boot-4d3c95f.orig/arch/arm/include/asm

Re: [U-Boot] [PATCH 01/10] mx5: Undeclare imx_decode_pll()

2012-08-23 Thread Stefano Babic
On 14/08/2012 20:06, Benoît Thébaudeau wrote: The imx_decode_pll() function does not exist for mx5, so remove its declaration. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-23 Thread Stefano Babic
On 22/08/2012 20:30, Troy Kisky wrote: On 8/22/2012 12:22 AM, Stefano Babic wrote: On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: Hi Troy, So, you are saying CONFIG_ options don't belong in imx-regs.h, or you

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
On 23/08/2012 10:51, Stefan Roese wrote: On 08/23/2012 10:40 AM, Stefano Babic wrote: If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
On 23/08/2012 11:28, Stefan Roese wrote: Hi Stefano, On 08/23/2012 11:23 AM, Stefano Babic wrote: diff --git a/common/spl/spl.c b/common/spl/spl.c index 7d15460..827ff1c 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -100,7 +100,11 @@ void spl_parse_image_header(const struct

Re: [U-Boot] [PATCH v2] mx5: add iomux-mx51.h include

2012-08-23 Thread Stefano Babic
), + MX51_PAD_GPIO1_8__SD2_CD= IOMUX_PAD(0x814, 0x3e8, 6, __NA_, 0, MX51_ESDHC_PAD_CTRL), +}; + +#endif /* __IOMUX_MX51_H__ */ IMHO it looks good. Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic

Re: [U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-23 Thread Stefano Babic
mx53evk:IMX_CONFIG=board/freescale/mx53evk/imximage.cfg diff --git a/include/configs/efikamx.h b/include/configs/mx51_efikamx.h similarity index 100% rename from include/configs/efikamx.h rename to include/configs/mx51_efikamx.h Acked-by: Stefano Babic sba...@denx.de Best regards

Re: [U-Boot] [PATCH] mxs: Convert timeout parameter to 'unsigned int'

2012-08-23 Thread Stefano Babic
mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int)); Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5

Re: [U-Boot] [PATCH 2/4] efikamx: remove drive strength function and roll its functionality into the DCD

2012-08-23 Thread Stefano Babic
# DRAM_DQM0 +DATA 4 0x73fa84d8 0xc5 # DRAM_DQM1 +DATA 4 0x73fa84dc 0xc5 # DRAM_DQM2 +DATA 4 0x73fa84e0 0xc5 # DRAM_DQM3 # Setting DDR for micron # 13 Rows, 10 Cols, 32 bit, SREF=4 Micron Model Acked-by: Stefano Babic

Re: [U-Boot] [PATCH 3/4] efikamx: configure Smarttop PCBID and LED pads in DCD for convenience

2012-08-23 Thread Stefano Babic
settings DATA 4 0x73fa850c 0x20c5 # SDODT1 DATA 4 0x73fa8510 0x20c5 # SDODT0 Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang

Re: [U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-23 Thread Stefano Babic
mx53evk:IMX_CONFIG=board/freescale/mx53evk/imximage.cfg diff --git a/include/configs/efikamx.h b/include/configs/mx51_efikamx.h similarity index 100% rename from include/configs/efikamx.h rename to include/configs/mx51_efikamx.h It is fine with me. Acked-by: Stefano Babic sba...@denx.de

Re: [U-Boot] [PATCH 4/4] efikamx: update to Efika MX Smarttop and Smartbook boards

2012-08-23 Thread Stefano Babic
: Efika SB, rev Unknown\n); - break; - } + printf(Smarttop (1.%i)\n, rev 0xf); + } else if (machine_is_efikasb()) { + printf(Smartbook\n); } return 0; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-23 Thread Stefano Babic
On 22/08/2012 12:43, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's U-Boot to our mainline U-Boot in the queue [1]. As I don't have the overview

[U-Boot] [PATCH V2] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com CC: Stefan Roese stefan.ro...@gmail.com --- Changes: - move the #ifdef out of the C

Re: [U-Boot] [PATCH v3 0/19] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-23 Thread Stefano Babic
to quiet these as I don't like the idea of sprinkling http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303 and I'm sending another email to discuss that. Nice Work ! Tested on a MX35 board. Acked-by: Stefano Babic sba...@denx.de Regards, Stefano

Re: [U-Boot] [PATCH] mxc: Make gpio_get_value() use PSR

2012-08-23 Thread Stefano Babic
by a non-GPIO IOMUX function. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch depends on http://patchwork.ozlabs.org/patch/178694/ . .../drivers/gpio/mxc_gpio.c|2 +- 1 file changed, 1 insertion

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v2)

2012-08-23 Thread Stefano Babic
directly the pad status instead of the internal shadow register. If you rename your ssr into gpio_psr we do not need this #ifdef. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition

2012-08-23 Thread Stefano Babic
-usa.com Cc: Stefano Babic sba...@denx.de Cc: Marek Vasut ma...@denx.de --- Hi Matt, Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1df4c1d..c042206 100644 --- a/Makefile +++ b/Makefile @@ -664,6 +664,7 @@ $(TIMESTAMP_FILE

Re: [U-Boot] [PATCH] mx6qarm2:Use IMX_GPIO_NR macro

2012-08-23 Thread Stefano Babic
= !gpio_get_value(IMX_GPIO_NR(6,11)); } else /* Don't have the CD GPIO pin on board */ ret = 1; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD

Re: [U-Boot] [PATCH 3/3] mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'

2012-08-24 Thread Stefano Babic
On 24/08/2012 01:06, Otavio Salvador wrote: Ping? Hi Otavio, Marek has already acked it, we get the ACK from Veli-Pekkola this morning. I have put the series in my ready to be merged queue. It will be merged soon. Regards, Stefano On Sun, Aug 19, 2012 at 12:07 PM, Marek Vasut

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Stefano Babic
, but it is not yet merged. I discharge it, send to the ML the right one. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-25 Thread Stefano Babic
if ssr becomes gpio_psr Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v4)

2012-08-26 Thread Stefano Babic
) [6] = GPIO7_BASE_ADDR, #endif }; Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D

Re: [U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v4)

2012-08-26 Thread Stefano Babic
/* + * GPIO + */ +#define CONFIG_MXC_GPIO + +/* * MTD partitions */ #define CONFIG_CMD_MTDPARTS Acked-by: Stefano Babic sba...@denx.de Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD

Re: [U-Boot] [PATCH v2] mx5: add iomux-mx51.h include

2012-08-26 Thread Stefano Babic
Linux kernel * additionally roll in the USB pads * removed GPIO_NUMBER define Signed-off-by: Matt Sealey m...@genesi-usa.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v4)

2012-08-26 Thread Stefano Babic
, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v4)

2012-08-26 Thread Stefano Babic
On 25/08/2012 17:30, Philippe Reynes wrote: The gpio api has been tested on an armadeus apf27. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH] mx5:Use IMX_GPIO_NR macro

2012-08-27 Thread Stefano Babic
and resubmit ? Thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142

Re: [U-Boot] [PATCH 1/5] MX28: DMA: Align the struct mxs_dma_desc

2012-08-27 Thread Stefano Babic
On 22/08/2012 04:17, Marek Vasut wrote: Align this structure to DMA alignment size. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-mxs/dma.h |3

Re: [U-Boot] [PATCH 4/4] efikamx: update to Efika MX Smarttop and Smartbook boards

2012-08-27 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: This is a rework of a previously submitted patchset and bundles the main board support and USB support into a single commit. It requires the patch mx5: add iomux-mx51.h include * Use iomux-mx51.h include to simplify board configuration. * Simplify

Re: [U-Boot] [PATCH 2/4] efikamx: remove drive strength function and roll its functionality into the DCD

2012-08-27 Thread Stefano Babic
| 77 - board/genesi/mx51_efikamx/imximage_mx.cfg | 42 +++- 2 files changed, 18 insertions(+), 101 deletions(-) Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH 3/4] efikamx: configure Smarttop PCBID and LED pads in DCD for convenience

2012-08-27 Thread Stefano Babic
the amount of code required later on. Signed-off-by: Matt Sealey m...@genesi-usa.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-27 Thread Stefano Babic
= genesi/mx51_efikamx}/efikamx.c (100%) rename board/{efikamx = genesi/mx51_efikamx}/imximage_mx.cfg (100%) rename board/{efikamx = genesi/mx51_efikamx}/imximage_sb.cfg (100%) rename include/configs/{efikamx.h = mx51_efikamx.h} (100%) Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH] mxs: Convert timeout parameter to 'unsigned int'

2012-08-27 Thread Stefano Babic
mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int)); Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH v2 1/2] mx35: Define default SoC input clock frequencies

2012-08-27 Thread Stefano Babic
On 21/08/2012 23:07, Benoît Thébaudeau wrote: Define default SoC input clock frequencies for i.MX35 in order to get rid of duplicated definitions. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch depends on http

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-08-27 Thread Stefano Babic
generation in elftosb call MX28: Move regs-base.h include after SoC type configuration mxs: Replace i.MX233 by i.MX23 on copyright header mxs: Only build internal Ethernet controller for i.MX28 mxs: Rename 'mx28_dram_init' to 'mxs_dram_init' Stefano Babic (1): MX: Set a common

Re: [U-Boot] [PATCH v2 1/2] mx35: Define default SoC input clock frequencies

2012-08-27 Thread Stefano Babic
On 27/08/2012 15:26, Benoît Thébaudeau wrote: Hi Benoît, I cannot apply this series. Can you take a look, please ? Yes, it's because it should be applied only after http://patchwork.ozlabs.org/patch/177437/ (dependency indicated after the patch header). I see, I have missed this

Re: [U-Boot] [PATCH v2] efikamx: update to Efika MX Smarttop and Smartbook boards

2012-08-27 Thread Stefano Babic
, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de

Re: [U-Boot] [PATCH v2] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-27 Thread Stefano Babic
testing confirms the new settings are stable. Patch v2: * picked the correct commit from our development tree, correcting tuned DDR ODF setting (which was correct anyway) Signed-off-by: Matt Sealey m...@genesi-usa.com Cc: Stefano Babic sba...@denx.de Cc: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH v2] mx5:Use IMX_GPIO_NR macro

2012-08-27 Thread Stefano Babic
: trailing whitespace #106: FILE: board/freescale/mx53evk/mx53evk.c:222: +^I^Iret = !gpio_get_value(IMX_GPIO_NR(3, 13)); $ total: 2 errors, 0 warnings, 95 lines checked Regards, Stefano Babic -- = DENX Software Engineering GmbH

[U-Boot] [PATCH v1 2/8] OMAP3: twister : get MAC address from EEPROM

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/technexion/twister/twister.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/technexion/twister/twister.c b/board/technexion/twister/twister.c index c2b10ac..7429e93 100644 --- a/board/technexion/twister/twister.c

[U-Boot] [PATCH v1 1/8] OMAP3: tam3517: add function to read MAC from EEPROM

2012-08-28 Thread Stefano Babic
The manufacturer delivers the TAM3517 SOM with 4 MAC address. They are stored on the EEPROM of the SOM. The patch adds a function to get their values and set the ethaddr variables. Signed-off-by: Stefano Babic sba...@denx.de --- include/configs/tam3517-common.h | 66

[U-Boot] [PATCH v1 3/8] OMAP3: mt_ventoux: Correct board pinmux

2012-08-28 Thread Stefano Babic
Fix some issues (some pins were not set as GPIOs) Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.h | 74 +++--- 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/board/teejet/mt_ventoux/mt_ventoux.h b/board/teejet

[U-Boot] [PATCH v1 4/8] OMAP3: mt_ventoux: activate GPIO4

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- include/configs/mt_ventoux.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mt_ventoux.h b/include/configs/mt_ventoux.h index 5db6d57..131670a 100644 --- a/include/configs/mt_ventoux.h +++ b/include/configs/mt_ventoux.h

[U-Boot] [PATCH v1 5/8] OMAP3: mt_ventoux: read MAC address from EEPROM

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 16 1 file changed, 16 insertions(+) diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux/mt_ventoux.c index 9fbaedd..b7744a9 100644 --- a/board/teejet/mt_ventoux

[U-Boot] [PATCH v1 7/8] video: drop duplicate set of DISPC_CONFIG register

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- drivers/video/omap3_dss.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/omap3_dss.c b/drivers/video/omap3_dss.c index 6686718..5fcc0fb 100644 --- a/drivers/video/omap3_dss.c +++ b/drivers/video/omap3_dss.c @@ -112,7 +112,6

[U-Boot] [PATCH v1 6/8] OMAP3: mt_ventoux: disable the buzzer at start-up

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 14 ++ board/teejet/mt_ventoux/mt_ventoux.h |4 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux

[U-Boot] [PATCH v1 8/8] OMAP3: mt_ventoux: added video support

2012-08-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 91 ++ board/teejet/mt_ventoux/mt_ventoux.h |2 +- include/configs/mt_ventoux.h | 16 ++ 3 files changed, 108 insertions(+), 1 deletion(-) diff --git a/board

Re: [U-Boot] [PATCH v1 8/8] OMAP3: mt_ventoux: added video support

2012-08-28 Thread Stefano Babic
On 28/08/2012 10:11, Heiko Schocher wrote: Hello Stefano, Hi Heiko, +static struct panel_config lcd_cfg[] = { +{ +.timing_h = ((4 /* hpb */ - 1) 20) | +((8 /*hfp */- 1) 8) | +(41 /* hsw */ - 1), /* Horizontal timing */ Could we use here a

Re: [U-Boot] [PATCH v1 7/8] video: drop duplicate set of DISPC_CONFIG register

2012-08-28 Thread Stefano Babic
On 28/08/2012 12:40, Jeroen Hofstee wrote: Hi Stefano, Hi Jeroen, On 08/28/2012 09:46 AM, Stefano Babic wrote: Signed-off-by: Stefano Babic sba...@denx.de --- drivers/video/omap3_dss.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/omap3_dss.c b/drivers/video

<    1   2   3   4   5   6   7   8   9   10   >