[U-Boot] [PATCH 2/4] x86: Remove cpu_init_r() for x86

2014-11-20 Thread Bin Meng
Since cpu_init_interrupts() was moved out of cpu_init_r(), it is useless to keep cpu_init_r() for x86, thus remove it. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/cpu.c| 6 -- arch/x86/include/asm/u-boot-x86.h | 2 -- common/board_r.c | 2 +-

[U-Boot] [PATCH 3/4] x86: Refactor interrupt_init()

2014-11-20 Thread Bin Meng
Rename interrupt_init() in arch/x86/lib/pcat_interrupts.c to i8259_init() and create a new interrupt_init() in arch/x86/cpu/interrupt.c to call i8259_init() followed by a call to cpu_init_interrupts(). Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/interrupts.c | 26

[U-Boot] [PATCH 4/4] x86: Remove unnecessary call to initr_enable_interrupts()

2014-11-20 Thread Bin Meng
Actually initr_enable_interrupts() was never called in an x86 build due to it was wrapped by CONFIG_x86 (typo of X86). Signed-off-by: Bin Meng bmeng...@gmail.com --- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_r.c b/common/board_r.c index

[U-Boot] [PATCH 1/4] x86: Call cpu_init_interrupts() from interrupt_init()

2014-11-20 Thread Bin Meng
Currently cpu_init_interrupts() is called from cpu_init_r() to setup the interrupt and exception of the cpu core, but at that time the i8259 has not been initialized to mask all the irqs and remap the master i8259 interrupt vector base, so the whole system is at risk of being interrupted, and if

[U-Boot] [PATCH] arm: exynos: fix the div value for set_mmc_clk

2014-11-20 Thread Jaehoon Chung
The most exynos used the Ratio + 1 as div value. And value at register is Ratio. So if want to set exact value, it needs to subtract one. Value at register (Ratio) = div - 1 Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 6 ++ 1 file changed, 6

Re: [U-Boot] [PATCH] imx: mx53loco: Add raw initrd support

2014-11-20 Thread hui....@freescale.com
-Original Message- From: Guillaume GARDET [mailto:guillaume.gar...@free.fr] Sent: Thursday, November 20, 2014 3:39 PM To: u-boot@lists.denx.de Cc: Guillaume GARDET; Stefano Babic; Liu Hui-R64343 Subject: [U-Boot] [PATCH] imx: mx53loco: Add raw initrd support Signed-off-by:

[U-Boot] [PATCH v2] cmd_fuse: return CMD_RET_FAILURE on error

2014-11-20 Thread Hector Palacios
Fuse drivers, like the mxs_ocotp.c, may return negative error codes but the commands are only allowed to return CMD_RET_* enum values to the shell, otherwise the following error appears: exit not allowed from main input shell. Signed-off-by: Hector Palacios hector.palac...@digi.com ---

Re: [U-Boot] [PATCH v1 0/9] Add full DDR init for Marvell Armada-XP MV78xx0 (AXP)

2014-11-20 Thread Stefan Roese
Hi Prafulla, On 28.10.2014 10:35, Stefan Roese wrote: This patch adds the DDR3 setup and training code taken from the Marvell U-Boot repository. This code used to be included as a binary (bin_hdr) into the AXP boot image. Not linked with the main U-Boot. With this code addition and the also

Re: [U-Boot] [PATCH v1 2/2] odroid: usbhost - Add missing gpio_request call

2014-11-20 Thread Minkyu Kang
Dear Suriyan Ramasami, On 20/11/14 01:21, Suriyan Ramasami wrote: The USB host code was missing gpio_request() calls before using the gpio functions, causing errors to be printed out. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v1: - Added gpio_request() call in

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Jeroen Hofstee
Hello Stefan, On 19-11-14 15:16, Stefan Agner wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling them from Thumb2 built code, the stack got corrupted and

Re: [U-Boot] [PATCH v5 3/3] sunxi: video: Add simplefb support

2014-11-20 Thread Ian Campbell
On Wed, 2014-11-19 at 14:32 +0100, Hans de Goede wrote: From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen

Re: [U-Boot] [PATCH v2 3/4] novena: Move the DCD settings to spl code

2014-11-20 Thread Stefano Babic
On 14/11/2014 21:07, Marek Vasut wrote: On Friday, November 14, 2014 at 12:37:01 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is

Re: [U-Boot] [PATCH v4] ARM: mxs: tools: Add support for boot progress display flag

2014-11-20 Thread Stefano Babic
Hi Alexey, On 11/10/2014 23:43, Alexey Ignatov wrote: mkimage -T mxs now support new flag in config file: DISPLAYPROGRESS - makes boot process print HTLLC characters for each BootROM instruction. Signed-off-by: Alexey Ignatov lexsz...@gmail.com --- After fixing a couple of checkpatch's

Re: [U-Boot] [PATCH] imx:mx6sxsabresd fix pfuz probe failed

2014-11-20 Thread Stefano Babic
On 31/10/2014 04:08, Peng Fan wrote: The PFUZ probe failed with the following msg: wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0x8 retry=0 wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0x8 retry=1

Re: [U-Boot] [PATCH] imx: mx6slevk: Change default mmcdev to USDHC2 device

2014-11-20 Thread Stefano Babic
On 04/11/2014 08:26, Ye.Li wrote: Since USDHC1 and USDHC3 added, the dev index for USDHC2 changed to 1. So modify the default mmcdev in environment variables to dev 1. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6slevk.h |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH v3 2/2] imx: fix exception vectors relocation in imx27

2014-11-20 Thread Stefano Babic
Hi Albert, On 13/11/2014 17:59, Albert ARIBAUD wrote: Commit 3ff46cc4 fixed exception vectors setting in the general ARM case, by either copying the exception and indirect vector tables to normal (0x) or high (0x) vectors address, or setting VBAR to U-Boot's base if

Re: [U-Boot] [PATCH v2 1/4] mx6sabresd: Move the DCD settings to spl code

2014-11-20 Thread Stefano Babic
On 14/11/2014 12:36, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel,

Re: [U-Boot] [PATCH v2 2/4] gw_ventana: Move the DCD settings to spl code

2014-11-20 Thread Stefano Babic
On 14/11/2014 12:37, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel,

Re: [U-Boot] [PATCH v2 4/4] mx6: Use a common SPL configuration file

2014-11-20 Thread Stefano Babic
On 14/11/2014 12:37, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Many boards use a minimal .cfg file in the SPL case. Introduce spl_sd.cfg so that we can reuse it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks !

Re: [U-Boot] [PATCH v2 3/4] novena: Move the DCD settings to spl code

2014-11-20 Thread Stefano Babic
On 14/11/2014 12:37, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel,

Re: [U-Boot] [PATCH 1/3] imx: consolidate set_chipselect_size function

2014-11-20 Thread Stefano Babic
On 14/11/2014 14:27, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Move MX5 specific set_chipselect_size function into generic i.MX part, such that MX6 based boards are able to use this function as well. While doing this the iomuxc gpr member needed to be

Re: [U-Boot] [PATCH 2/3] mx6: add weim registers

2014-11-20 Thread Stefano Babic
On 14/11/2014 14:27, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 3/3] mx6qsabreauto: Add parallel NOR flash support

2014-11-20 Thread Stefano Babic
On 14/11/2014 14:27, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabreauto boards come with 32 MiB of parallel NOR flash. Add support for it: U-Boot 2015.01-rc1-18107-g1543636-dirty (Nov 14 2014 - 11:11:04)

Re: [U-Boot] [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized

2014-11-20 Thread Stefano Babic
On 14/11/2014 16:16, Albert ARIBAUD wrote: Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH 1/2] wandboard: Fix error handling in board_mmc_init()

2014-11-20 Thread Stefano Babic
On 15/11/2014 17:50, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH 2/2] mx53loco: Fix error handling in board_mmc_init()

2014-11-20 Thread Stefano Babic
On 15/11/2014 17:50, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] mx6sabresd: State that only mx6q is supported in SPL

2014-11-20 Thread Stefano Babic
On 15/11/2014 17:57, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Make clear that current SPL code only supports the mx6q variant. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/4] tqma6: (cosmetic) remove CONFIG_FLASH_SECTOR_SIZE

2014-11-20 Thread Stefano Babic
On 18/11/2014 13:22, Markus Niebel wrote: From: Markus Niebel markus.nie...@tq-group.com This is nowhere documented and only used by two other boards. Replace it with TQMA6_SPI_FLASH_SECTOR_SIZE. Signed-off-by: Markus Niebel markus.nie...@tq-group.com --- Applied to u-boot-imx, thanks !

Re: [U-Boot] [PATCH 2/4] tqma6: add missing include

2014-11-20 Thread Stefano Babic
On 18/11/2014 13:22, Markus Niebel wrote: From: Markus Niebel markus.nie...@tq-group.com Add include needed to have prototype for board_spi_cs_gpio Signed-off-by: Markus Niebel markus.nie...@tq-group.com --- board/tqc/tqma6/tqma6.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 3/4] tqma6: add warning on failed setup_i2c

2014-11-20 Thread Stefano Babic
On 18/11/2014 13:22, Markus Niebel wrote: From: Markus Niebel markus.nie...@tq-group.com setup_i2c has a return value. Use it to give feedback on error. Signed-off-by: Markus Niebel markus.nie...@tq-group.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 4/4] tqma6: use imx_ddr_size

2014-11-20 Thread Stefano Babic
On 18/11/2014 13:22, Markus Niebel wrote: From: Markus Niebel markus.nie...@tq-group.com Signed-off-by: Markus Niebel markus.nie...@tq-group.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH] mx6sabresd: Access SRC_SBMR1 register via structure

2014-11-20 Thread Stefano Babic
On 18/11/2014 14:26, Fabio Estevam wrote: In U-boot it is preferred to access the register via structure pointer, so convert it such style. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH] scripts/Makefile.lib: Make __dtb_dt_begin align on a 4 byte boundary

2014-11-20 Thread Bin Meng
With CONFIG_OF_EMBED, __dtb_dt_begin must be aligned on a 4 byte boundary otherwise fdtdec_prepare_fdt() will fail. Signed-off-by: Bin Meng bmeng...@gmail.com --- scripts/Makefile.lib | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index

Re: [U-Boot] [PATCH v4 3/3] ARM: atmel: add sama5d4ek board support

2014-11-20 Thread Masahiro Yamada
Hi Bo, On Mon, 10 Nov 2014 15:24:02 +0800 Bo Shen voice.s...@atmel.com wrote: diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig new file mode 100644 index 000..16a5ed7 --- /dev/null +++ b/configs/sama5d4ek_mmc_defconfig @@ -0,0 +1,3 @@

Re: [U-Boot] [PATCH v3 1/2] mmc: fsl_esdhc: Update esdhc driver for iMX6SX

2014-11-20 Thread Stefano Babic
On 04/11/2014 08:35, Ye.Li wrote: The reset value of uSDHCx_INT_STATUS_EN register is changed to 0 on iMX6SX. So the fsl_esdhc driver must update to set the register, otherwise no state can be detected. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best

Re: [U-Boot] [PATCH v3 2/2] imx: mx6sxsabresd: Add board support for USDHC2 and USDHC3

2014-11-20 Thread Stefano Babic
On 04/11/2014 08:36, Ye.Li wrote: Add full support for USDHC2, USDHC3, USDHC4 on mx6sx sabresd board. The default boot socket is USDHC4, so the MMC environment device and mmcdev variable are set to this device. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks !

Re: [U-Boot] [PATCH v4 3/3] ARM: atmel: add sama5d4ek board support

2014-11-20 Thread Bo Shen
Hi Masahiro, On 11/20/2014 05:45 PM, Masahiro Yamada wrote: Hi Bo, On Mon, 10 Nov 2014 15:24:02 +0800 Bo Shen voice.s...@atmel.com wrote: diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig new file mode 100644 index 000..16a5ed7 --- /dev/null +++

Re: [U-Boot] [PATCH v3 5/5] imx: imx6q/dlsabreauto: Add PMIC Pfuze100 support

2014-11-20 Thread Stefano Babic
On 06/11/2014 09:29, Ye.Li wrote: Add the pfuze100 initialization in power_init_board for imx6q/dl sabreauto board. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v3 4/5] imx: mx6sxsabresd: Use the pfuze common init function

2014-11-20 Thread Stefano Babic
On 06/11/2014 09:29, Ye.Li wrote: Modify the pfuze init for mx6sxsabresd to use the shared pfuze_common_init function. And move this initialization to power_init_board. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v3 3/5] imx: mx6sabresd: Use the pfuze common init function

2014-11-20 Thread Stefano Babic
On 06/11/2014 09:29, Ye.Li wrote: Modify the pfuze init for mx6sabresd to use the shared pfuze_common_init function. And move this initialization to power_init_board. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v3 2/5] imx: mx6sabre common: Factorize the Pfuze init function

2014-11-20 Thread Stefano Babic
On 06/11/2014 09:28, Ye.Li wrote: Since the Pfuze initializations are similar on various mx6 SABRE boards. Factorize the initialization to a common function in file board/freescale/common/pfuze.c. So that all SABRE boards BSP can share the function. Signed-off-by: Ye.Li b37...@freescale.com

Re: [U-Boot] [PATCH v3 1/5] power: pfuze100: Update definitions for buck regulators

2014-11-20 Thread Stefano Babic
On 06/11/2014 09:28, Ye.Li wrote: Add definitions for buck regulators (SW1A/B/C) registers and voltage values. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] scripts/Makefile.lib: Make __dtb_dt_begin align on a 4 byte boundary

2014-11-20 Thread Masahiro Yamada
Hi Bin, I think this issue is covered by Simon's patch: http://patchwork.ozlabs.org/patch/411062/ On Thu, 20 Nov 2014 17:45:06 +0800 Bin Meng bmeng...@gmail.com wrote: With CONFIG_OF_EMBED, __dtb_dt_begin must be aligned on a 4 byte boundary otherwise fdtdec_prepare_fdt() will fail.

Re: [U-Boot] [PATCH] scripts/Makefile.lib: Make __dtb_dt_begin align on a 4 byte boundary

2014-11-20 Thread Bin Meng
Hi Masahiro, On Thu, Nov 20, 2014 at 6:04 PM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Bin, I think this issue is covered by Simon's patch: http://patchwork.ozlabs.org/patch/411062/ Thanks for the info. I did not notice that patch before. Regards, Bin

[U-Boot] [PATCH 1/3] arm: semihosting: staticize internal functions

2014-11-20 Thread Linus Walleij
The semihosting code exposes internal file handle handling functions to read(), open(), close() and get the length of a certain file handle. However the code using it is only interested in either reading and entire named file into memory or getting the file length of a file referred by name. No

[U-Boot] [PATCH 2/3] arm: semihosting: fix up compile bugs

2014-11-20 Thread Linus Walleij
There is currently a regression when using newer ARM64 compilers for semihosting: the way long types are inferred from context is no longer the same. The semihosting runtime uses long and size_t, so use this explicitly in the semihosting code and interface, and voila: the code now works again.

[U-Boot] [PATCH 3/3] arm: semihosting: get rid of forward declarations

2014-11-20 Thread Linus Walleij
By rearranging the functions in the semihosting code we can avoid forward-declaration of the internal static functions. This puts the stuff in a logical order: read/open/close/len and then higher-order functions follow at the end. Cc: Darwin Rambo dra...@broadcom.com Cc: AKASHI Takahiro

Re: [U-Boot] [RFC] dm: tegra: boot time regression

2014-11-20 Thread Marcel Ziswiler
On Mon, 2014-11-17 at 06:53 +, Simon Glass wrote: Did this get resolved? No, unfortunately not. Do you have an update please? I just retested this and it is still the case all with latest mainline stuff both on the U-Boot as well as the Linux kernel side. Another issue I noticed is that

[U-Boot] Linker errors with SPL and FAT

2014-11-20 Thread Andy Pont
Hello, I am trying to build U-Boot SPL (2014.07) for a custom TI AM3354 based board with MMC support. Mostly I have cloned the settings from the am335x_evm.h config file but am getting linker errors with SPL... common/spl/built-in.o: In function `spl_register_fat_device':

Re: [U-Boot] m68k maintenance

2014-11-20 Thread jason....@freescale.com
Hi Angelo Dureghello Thanks for your reminder. I'm really not active for the ColdFire platform maintenance recently due to other work assigned. I'll try to find a custodians inside Freescale to take over the work as there are many Freescale boards need to maintain. Thanks. Regards, Jason

[U-Boot] [PATCH] powerpc/mpc85xx: use correct dma compatible for several SoCs

2014-11-20 Thread Laurentiu Tudor
Newer qoriq socs have an updated dma ip block with a different compatible. Let's make sure we use the proper string so that the dmas get their liodn. In order to have the means to specify the compatible string, the liodn setting macros were updated to receive a new parameter for it. The following

[U-Boot] [PATCH] tbs2910: Fix error handling in board_mmc_init()

2014-11-20 Thread Soeren Moch
When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard Signed-off-by: Soeren Moch sm...@web.de -- Cc: Stefano Babic

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-20 Thread Albert ARIBAUD
Hello Bill, On Wed, 19 Nov 2014 13:34:34 -0500, Bill Pringlemeir bpringlem...@nbsps.com wrote: In message 20141119074214.3d414ce6@lilith you^H^H^H Stefan wrote: For -mauto-it, it is not documented in the gas documentation online or in my current as' --target-help. I'll dig this deeper

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-20 Thread Albert ARIBAUD
Hello li.xi...@freescale.com, On Wed, 19 Nov 2014 07:21:26 +, li.xi...@freescale.com li.xi...@freescale.com wrote: Hi Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Tuesday, November 18, 2014 3:18 PM To: Xiubo Li-B47053 Cc: Sun

Re: [U-Boot] [PATCH v8 2/3] Odroid-XU3: Add support for Odroid-XU3

2014-11-20 Thread Jaehoon Chung
Hi, CPU:Exynos5800@1200MHz Board: Odroid XU3 based on EXYNOS5422 Exynos5800? is it right? On 11/14/2014 03:25 PM, Hyungwon Hwang wrote: This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com Tested-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH v3 2/2] imx: fix exception vectors relocation in imx27

2014-11-20 Thread Albert ARIBAUD
Hello Stefano, On Fri, 14 Nov 2014 14:24:52 +0100, Stefano Babic sba...@denx.de wrote: Hi Albert, On 14/11/2014 13:10, Albert ARIBAUD wrote: I'll have a look at the i.MX25, i.MX31 and i.MX35 reference manuals, but at most that will only tell me if they have the same problem as i.MX27

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Stefan Agner
Hi Jeroen, On 2014-11-20 10:21, Jeroen Hofstee wrote: Hello Stefan, On 19-11-14 15:16, Stefan Agner wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling

[U-Boot] [PATCH v2 3/3] sandbox: enable showdev command

2014-11-20 Thread Masahiro Yamada
Of course, this command can be used on any boards besides sandbox. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None include/configs/sandbox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index

[U-Boot] [PATCH v2 2/3] dm: add a command to list devices in a tree-like format

2014-11-20 Thread Masahiro Yamada
We are adding more and more drivers to driver model these days. Compared with the ad-hoc driver system, it seems pretty difficult to understand how drivers are working on driver model. For ex. - Which devices have been bound? - Which devices have been probed? - Which is the parent of this

[U-Boot] [PATCH v2 1/3] lib: string: move strlcpy() to a common place

2014-11-20 Thread Masahiro Yamada
Move strlcpy() definition from drivers/usb/gadget/ether.c to lib/string.c because it is a very useful function. Let's add the prototype to include/linux/string.h too. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None drivers/usb/gadget/ether.c | 24

[U-Boot] [PATCH v2 0/3] dm: display devices in a tree-like format for easy debug

2014-11-20 Thread Masahiro Yamada
When I was reviewing I2C DM series, I found it difficult to track what is going on. When is this node is bound/probe? etc. I think this tool is helpful to know which device is bound/probe. Devices are listed like tree command does. Changes in v2: - Fix the tree format Masahiro Yamada (3):

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Jeroen Hofstee
Hello Stefan, On 20-11-14 13:15, Stefan Agner wrote: Hi Jeroen, On 2014-11-20 10:21, Jeroen Hofstee wrote: Hello Stefan, On 19-11-14 15:16, Stefan Agner wrote: Resynchronize memcpy/memset with kernel and build them explicitly in Thumb2 mode (unified syntax). Those assembler files can be

[U-Boot] [PATCH v7 0/4] add i.MX6 thermal sensor driver

2014-11-20 Thread Ye . Li
This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre boards. Also adds various anadig bit definitions as required for upcoming drivers. Changes in v7: -Convert the imx thermal driver to DM. -Enable DM drivers for mx6sabre boards. Changes in v6: -Aligned imx thermal driver

[U-Boot] [PATCH v7 1/4] mx6: clock: Add thermal clock enable function

2014-11-20 Thread Ye . Li
From: Nitin Garg nitin.g...@freescale.com Add api to check and enable pll3 as required for thermal sensor driver. Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Nitin Garg nitin.g...@freescale.com --- arch/arm/cpu/armv7/mx6/clock.c| 30 ++

[U-Boot] [PATCH v7 3/4] mx6: thermal: Check cpu temperature via thermal sensor

2014-11-20 Thread Ye . Li
Add imx6 thermal device to mx6 soc file. Read the cpu temperature using this device to access onchip thermal sensor. Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Nitin Garg nitin.g...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 15 +++ arch/arm/imx-common/cpu.c

[U-Boot] [PATCH v7 4/4] mx6: mx6sabre common: Enable i.MX thermal DM driver

2014-11-20 Thread Ye . Li
Enable i.MX thermal DM driver to mx6sabre_common.h file. Since the thermal is used in init_sequence_f, so define the CONFIG_SYS_MALLOC_F_LEN to support DM driver using in pre relocation phase. Additional, thermal driver depends on ocotp, make sure to enable CONFIG_MXC_OCOTP when

[U-Boot] [PATCH v7 2/4] DM: thermal: Add imx thermal DM driver

2014-11-20 Thread Ye . Li
Add a new thermal uclass for thermal sensor and implement the imx thermal driver basing on this uclass. Signed-off-by: Ye.Li b37...@freescale.com --- drivers/Makefile |1 + drivers/thermal/Makefile |9 ++ drivers/thermal/imx_thermal.c| 177

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-20 Thread Simon Glass
+ A few more people to cc Hi Masahiro, On 20 November 2014 06:05, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Wed, 19 Nov 2014 10:24:47 + Simon Glass s...@chromium.org wrote: BTW, address_offset within the chip and data are treated in the same way in

Re: [U-Boot] [PATCH v5 3/3] sunxi: video: Add simplefb support

2014-11-20 Thread Hans de Goede
Hi, On 11/20/2014 10:22 AM, Ian Campbell wrote: On Wed, 2014-11-19 at 14:32 +0100, Hans de Goede wrote: From: Luc Verhaegen l...@skynet.be Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree

Re: [U-Boot] [i2c] Pull request

2014-11-20 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2014 01:50 AM, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git The following changes since commit 2086e388d56cbb0e3737a6276f04f00f74bf6723: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-11-14

Re: [U-Boot] [ubi] Pull request

2014-11-20 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2014 02:00 AM, Heiko Schocher wrote: Hello Tom, please pull from u-boot-ubi.git The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2014-11-20 Thread Tom Rini
On Wed, Nov 19, 2014 at 09:03:46AM +0100, Stefan Roese wrote: Hi Tom, please pull the patch series from Dirk. It includes one CFI related patch and one mpc83xx where we have the Ack from Kim. The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel:

Re: [U-Boot] powerpc: mpc52xx: PULL REQUEST

2014-11-20 Thread Tom Rini
On Wed, Nov 19, 2014 at 01:14:35PM +0100, Wolfgang Denk wrote: Dear Tom, The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17 08:47:18 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v2 1/3] lib: string: move strlcpy() to a common place

2014-11-20 Thread Simon Glass
On 20 November 2014 12:20, Masahiro Yamada yamad...@jp.panasonic.com wrote: Move strlcpy() definition from drivers/usb/gadget/ether.c to lib/string.c because it is a very useful function. Let's add the prototype to include/linux/string.h too. Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2 4/4] sunxi: Add usb keyboard Kconfig option

2014-11-20 Thread Ian Campbell
On Sun, 2014-11-16 at 17:06 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell ian.campb...@citrix.com --- board/sunxi/Kconfig | 7 +++ configs/A13-OLinuXinoM_defconfig | 1 +

Re: [U-Boot] [PATCH v5 0/3] ARM: Add armv7/Kconfig and allow booting in secure mode on non-secure boot capable systems

2014-11-20 Thread Hans de Goede
Hi Albert, On 11/14/2014 09:34 AM, Hans de Goede wrote: Hi Albert, Here is v5 of my patchset to allow booting in secure mode on non-secure boot capable systems. Changes in v2: -ARM: Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options: -Drop all the FIXME-s, use proper

Re: [U-Boot] [PATCH v2 04/11] fdt: Add device tree memory bindings

2014-11-20 Thread Tom Rini
On Wed, Nov 12, 2014 at 03:14:35PM -0700, Simon Glass wrote: [snip, and sorry for the late reply] What I am talking about here is the memory for U-Boot - i.e. how does U-Boot know how much memory is available. The scheme here is that you can have a board ID which controls this, with the U-Boot

Re: [U-Boot] [PATCH v2 2/3] dm: add a command to list devices in a tree-like format

2014-11-20 Thread Simon Glass
Hi Masahiro, On 20 November 2014 12:20, Masahiro Yamada yamad...@jp.panasonic.com wrote: We are adding more and more drivers to driver model these days. Compared with the ad-hoc driver system, it seems pretty difficult to understand how drivers are working on driver model. For ex. - Which

Re: [U-Boot] [PATCH v1 2/2] odroid: usbhost - Add missing gpio_request call

2014-11-20 Thread Suriyan Ramasami
Hello Minkyu Kang, On Thu, Nov 20, 2014 at 12:41 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Suriyan Ramasami, On 20/11/14 01:21, Suriyan Ramasami wrote: The USB host code was missing gpio_request() calls before using the gpio functions, causing errors to be printed out.

[U-Boot] BUG: bootz/bootm command mandates a fdt blob

2014-11-20 Thread Suriyan Ramasami
Hello Simon, This mail is addressed to you as the FDT support was added by you. I am not sure who else to address it to. I find that if CONFIG_OF_LIBFDT is defined then the user is forced to provide a FDT blob. In most of the cases it makes sense. However, this removes the ability to

[U-Boot] [PATCH] gw_ventana: Use the generic spl_sd.cfg

2014-11-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com gw_ventana can boot from SPI or NAND and both of these interfaces boot from the same 0x400 offset. This means that we could simplify the code and replace the custom gw_ventana.cfg with the generic spl_sd.cfg, as it provides the same boot offset of

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Bill Pringlemeir
On 20-11-14 13:15, Stefan Agner wrote: No particular reason, I did not know how to fix this without digging into it. Hence, after I discovered this, I checked why those warnings do not happen for the kernel, then I applied just the AFLAGS the kernel is using. I guess fixing the underlying

Re: [U-Boot] [PATCH v7 2/4] DM: thermal: Add imx thermal DM driver

2014-11-20 Thread Stefano Babic
Hi Ye, On 20/11/2014 14:14, Ye.Li wrote: Add a new thermal uclass for thermal sensor and implement the imx thermal driver basing on this uclass. Thanks for doing this ! Signed-off-by: Ye.Li b37...@freescale.com --- drivers/Makefile |1 + drivers/thermal/Makefile

Re: [U-Boot] [PATCH] tbs2910: Fix error handling in board_mmc_init()

2014-11-20 Thread Stefano Babic
Hi Soeren, On 20/11/2014 13:03, Soeren Moch wrote: When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard Signed-off-by:

Re: [U-Boot] m68k maintenance

2014-11-20 Thread Tom Rini
On Thu, Nov 20, 2014 at 08:19:17AM +, jason@freescale.com wrote: Hi Angelo Dureghello Thanks for your reminder. I'm really not active for the ColdFire platform maintenance recently due to other work assigned. I'll try to find a custodians inside Freescale to take over the work as

Re: [U-Boot] [PATCH v5 1/3] Kconfig: Add EXPERT option

2014-11-20 Thread Tom Rini
On Fri, Nov 14, 2014 at 09:58:52AM +0100, Hans de Goede wrote: Hi, On 11/14/2014 09:55 AM, Albert ARIBAUD wrote: Hello Hans, On Fri, 14 Nov 2014 09:34:29 +0100, Hans de Goede hdego...@redhat.com wrote: From: Tom Rini tr...@ti.com For similar reasons to why the Linux Kernel has

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Jeroen Hofstee
Hi, On 20-11-14 16:18, Bill Pringlemeir wrote: --- arch/arm/lib/memset.S | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/lib/memset.S b/arch/arm/lib/memset.S index 0cdf895..4fe38f6 100644 --- a/arch/arm/lib/memset.S +++

Re: [U-Boot] BUG: bootz/bootm command mandates a fdt blob

2014-11-20 Thread Hans de Goede
Hi Suriyan, On 11/20/2014 04:16 PM, Suriyan Ramasami wrote: Hello Simon, This mail is addressed to you as the FDT support was added by you. I am not sure who else to address it to. I find that if CONFIG_OF_LIBFDT is defined then the user is forced to provide a FDT blob. In most

[U-Boot] [PATCH 4/5] lcd: remove LCD_MONOCHROME

2014-11-20 Thread Nikita Kiryanov
No one is using LCD_MONOCHROME; remove related code. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Wolfgang Denk w...@denx.de Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 30 ++ drivers/video/mpc8xx_lcd.c | 17 -

[U-Boot] [PATCH 1/5] lcd: remove CONFIG_SYS_INVERT_COLORS

2014-11-20 Thread Nikita Kiryanov
No one is using CONFIG_SYS_INVERT_COLORS; remove related code. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 8 drivers/video/mpc8xx_lcd.c | 4 +--- 2 files changed, 1

[U-Boot] [PATCH 2/5] lcd: cleanup lcd_drawchars

2014-11-20 Thread Nikita Kiryanov
Remove code duplication from lcd_drawchars(). Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 2f711c6..ff53cf1 100644

[U-Boot] [PATCH 5/5] lcd: refactor lcd console stuff into its own file

2014-11-20 Thread Nikita Kiryanov
common/lcd.c is a mix of code portions that do different but related things. To improve modularity, the various code portions should be split into their own modules. Separate lcd console code into its own file. In the process of making this move, some minor changes are introduced: CONSOLE_ROWS

[U-Boot] [PATCH 3/5] mpc8xx_lcd: get rid of CONFIG_EDT32F10

2014-11-20 Thread Nikita Kiryanov
No one is using CONFIG_EDT32F10; remove related code. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Wolfgang Denk w...@denx.de Cc: Anatolij Gustschin ag...@denx.de --- drivers/video/mpc8xx_lcd.c | 28 include/configs/R360MPI.h | 1 - 2 files changed, 29

[U-Boot] [PATCH 0/5] cleanup and refactor lcd.c

2014-11-20 Thread Nikita Kiryanov
This series is a first step towards an end goal of merging all CONFIG_LCD related functionality into CONFIG_VIDEO code. My plan is to start by refactoring lcd.c into something cleaner (less ifdefs) and more modular (split code into multiple files), then possibly refactor CONFIG_VIDEO code if

Re: [U-Boot] CTRL-C hangs after hush: fix segfault on syntax error

2014-11-20 Thread Przemyslaw Marczak
Hello, On 11/20/2014 06:21 AM, Stephen Warren wrote: Rabin, With 128059b926b3 hush: fix segfault on syntax error applied, I find that if I press CTRL-C at the U-Boot prompt, U-Boot hangs. If I revert that commit, CTRL-C works fine (prints CTRL-C and returns to the command prompt). I'm testing

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-20 Thread Bill Pringlemeir
On Wed, 19 Nov 2014 13:34:34 -0500, Bill Pringlemeir bpringlem...@nbsps.com wrote: In message 20141119074214.3d414ce6@lilith Albert wrote: For -mauto-it, it is not documented in the gas documentation online or in my current as' --target-help. I'll dig this deeper today, but barring any

Re: [U-Boot] BUG: bootz/bootm command mandates a fdt blob

2014-11-20 Thread Simon Glass
Hi, On 20 November 2014 16:04, Hans de Goede hdego...@redhat.com wrote: Hi Suriyan, On 11/20/2014 04:16 PM, Suriyan Ramasami wrote: Hello Simon, This mail is addressed to you as the FDT support was added by you. I am not sure who else to address it to. Just to be clear, I didn't add

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-20 Thread Simon Glass
Hi Masahiro, On 19 November 2014 09:21, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Tue, 18 Nov 2014 14:37:33 + Simon Glass s...@chromium.org wrote: Hi Masahiro, On 18 November 2014 12:51, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon,

Re: [U-Boot] CTRL-C hangs after hush: fix segfault on syntax error

2014-11-20 Thread Simon Glass
Hi Stephen, On 20 November 2014 05:21, Stephen Warren swar...@wwwdotorg.org wrote: Rabin, With 128059b926b3 hush: fix segfault on syntax error applied, I find that if I press CTRL-C at the U-Boot prompt, U-Boot hangs. If I revert that commit, CTRL-C works fine (prints CTRL-C and returns to

[U-Boot] USB Host not enumerating properly on AM335x-based board

2014-11-20 Thread Maxime Ripard
Hi, I'm currently working on 2014.07, on a custom TI AM335x based board. Everything works great so far, except when we're trying to have USB host working. The board has the MUSB1 controller wired as USB Host only, with the following configuration: #define CONFIG_USB_MUSB_DSPS #define

  1   2   3   >