Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-13 Thread Dileep Katta
Hi Lukasz, On 13 March 2015 at 13:23, Lukasz Majewski l.majew...@samsung.com wrote: Hi Dileep, g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init() to fix this. fastboot command is now added with an optional controller index argument

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Marek Vasut
On Friday, March 13, 2015 at 07:39:08 PM, Stephen Warren wrote: On 03/13/2015 12:13 PM, Marek Vasut wrote: On Friday, March 13, 2015 at 05:35:53 PM, Stephen Warren wrote: On 03/13/2015 08:30 AM, Marek Vasut wrote: On Friday, March 13, 2015 at 07:13:09 AM, Stephen Warren wrote: BCM2835 bus

[U-Boot] DRAM initialization hangs on MX28EVK rev. D

2015-03-13 Thread Adrien Decostre
Dear all, I am quite new to uboot and I am experimenting it on a iMX28 EVK board (rev. D). I am building the uboot (2014.07 version) by means of buildroot (version 2014.08) and I am using the standard mxs-bootlet package provided by buildroot. When trying to boot the EVK, it hangs after DRAM

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-13 Thread James Chargin
Dear Masahiro, Your help has enabled me to make my board Makefile do what I want (except for the clean target, see below). On 03/12/2015 09:20 PM, Masahiro Yamada wrote: Hi James, 2015-03-13 3:35 GMT+09:00 James Chargin jimccr...@gmail.com: I could still use some help with this from

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Marek Vasut
On Friday, March 13, 2015 at 05:35:53 PM, Stephen Warren wrote: On 03/13/2015 08:30 AM, Marek Vasut wrote: On Friday, March 13, 2015 at 07:13:09 AM, Stephen Warren wrote: BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache.

[U-Boot] Question about getting the jump table for non-gpl standalone application

2015-03-13 Thread Caleb Crome
Hello, I'm looking to build a standalone application, and I can't figure out how to access the jump table without including GPL code. I see that 'exports.h' and '_exports.h', and stubs.c all do NOT have the GPL license note. I assume that's so we can build applications that use the jump

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Eric Anholt
Stephen Warren swar...@wwwdotorg.org writes: BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache. BCM2835-ARM-Peripherals.pdf states that: 0: L1 L2 cached 4: L2 cache coherent (non allocaing) 8: L2 cached only c: Direct

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Stephen Warren
On 03/13/2015 12:13 PM, Marek Vasut wrote: On Friday, March 13, 2015 at 05:35:53 PM, Stephen Warren wrote: On 03/13/2015 08:30 AM, Marek Vasut wrote: On Friday, March 13, 2015 at 07:13:09 AM, Stephen Warren wrote: BCM2835 bus addresses use the top 2 bits to determine whether peripherals use

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-13 Thread Lukasz Majewski
On Sat, 14 Mar 2015 00:58:51 +0530 Dileep Katta dileep.ka...@linaro.org wrote: Hi Lukasz, On 13 March 2015 at 13:23, Lukasz Majewski l.majew...@samsung.com wrote: Hi Dileep, g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init()

Re: [U-Boot] DRAM initialization hangs on MX28EVK rev. D

2015-03-13 Thread Fabio Estevam
Hi Adrien, On Fri, Mar 13, 2015 at 12:44 PM, Adrien Decostre ad.decos...@gmail.com wrote: Dear all, I am quite new to uboot and I am experimenting it on a iMX28 EVK board (rev. D). I am building the uboot (2014.07 version) by means of buildroot (version 2014.08) and I am using the

[U-Boot] [RFC 3/4] lcd: use ansi console

2015-03-13 Thread Andrey Danin
Signed-off-by: Andrey Danin danind...@mail.ru --- common/Makefile | 2 +- common/lcd.c | 24 -- common/lcd_console.c | 122 +- include/lcd_console.h | 33 ++ 4 files changed, 105 insertions(+), 76 deletions(-)

[U-Boot] [RFC 1/4] common: add ansi console base implementation

2015-03-13 Thread Andrey Danin
This code is based on ansi implementation in cfb_console. It is adopted to be used in lcd and cfb_console drivers. Signed-off-by: Andrey Danin danind...@mail.ru --- common/ansi_console.c | 355 + include/ansi_console.h | 39 ++ 2 files

[U-Boot] [RFC 2/4] video: cfb_console: use common ansi implementation

2015-03-13 Thread Andrey Danin
Signed-off-by: Andrey Danin danind...@mail.ru --- drivers/video/Makefile | 2 +- drivers/video/cfb_console.c | 381 2 files changed, 33 insertions(+), 350 deletions(-) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index

[U-Boot] [RFC 4/4] paz00: enable bootmenu

2015-03-13 Thread Andrey Danin
Signed-off-by: Andrey Danin danind...@mail.ru --- include/configs/paz00.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/paz00.h b/include/configs/paz00.h index 284419f..17063d0 100644 --- a/include/configs/paz00.h +++ b/include/configs/paz00.h @@ -64,6 +64,11 @@

Re: [U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-13 Thread Simon Glass
Hi Albert, On 13 March 2015 at 02:04, Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr wrote: This series extends functionality for the LPC32xx platform and introduces the WORK Microwave work_92105 board which makes use of the extended functionality. NOTES: A - I2C driver remains non-DM

[U-Boot] [RFC 0/4] ansi console support for lcd driver

2015-03-13 Thread Andrey Danin
Main reason for this patches is ability to use bootmenu on devices that use lcd driver (like Toshiba AC100). Lcd driver doesn't have ansi support while cfb_console does. Ansi related code was moved from cfb_console to separate place. Then this code was used in both cfb_console and lcd driver.

Re: [U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-13 Thread Scott Wood
On Fri, 2015-03-13 at 09:04 +0100, Albert ARIBAUD (3ADEV) wrote: + /* go through all four small pages */ + for (i = 0; i 4; i++) { + /* start auto decode (reads 528 NAND bytes) */ + writel(0, lpc32xx_nand_mlc_registers-ecc_auto_dec_reg); + /* wait

Re: [U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-13 Thread Stefan Roese
Hi Simon, On 13.03.2015 03:48, Simon Glass wrote: This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash and saved in the environment. This feature is enabled by

[U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Stephen Warren
BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache. BCM2835-ARM-Peripherals.pdf states that: 0: L1 L2 cached 4: L2 cache coherent (non allocaing) 8: L2 cached only c: Direct uncached. That document also states that Software accessing

[U-Boot] [PATCH] exynos5: add trace feature #ifdef in exynos5-common.h

2015-03-13 Thread Inha Song
We can enable / disable trace feature from the FTRACE config options. To enable, compile U-Boot with FTRACE=1. This patch add #ifdef FTRACE in exynos5-common.h for enable/disable to use FTRACE configs instead of having to change board config files. Signed-off-by: Inha Song ideal.s...@samsung.com

[U-Boot] [PATCH 1/2] kbuild: remove *_felconfig target

2015-03-13 Thread Masahiro Yamada
This target was added by commit cbdd9a9737cc (sunxi: kconfig: Add %_felconfig rule to enable FEL build of sunxi platforms.). At that time, U-Boot used separate .config files for U-Boot proper and SPL. I understood the pain to modify both .config and spl/.config. Now, we have switched to single

[U-Boot] [PATCH v5 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: - move regs and functions in private struct Changes in v2: - added MUX setting for SSP0 arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 14 +++

[U-Boot] [PATCH v5 4/8] lpc32xx: add GPIO support

2015-03-13 Thread Albert ARIBAUD (3ADEV)
This driver only supports Driver Model, not legacy model. Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: - move DM dependency constraint into Kconfig - move regs pointer and function cache into private struct - discourage

[U-Boot] [PATCH v5 1/8] lpc32xx: add Ethernet support

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 9 + arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 7 +

[U-Boot] [PATCH v5 3/8] lpc32xx: i2c: add LPC32xx I2C interface support

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 11 ++ arch/arm/include/asm/arch-lpc32xx/clk.h | 4 +

[U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-13 Thread Albert ARIBAUD (3ADEV)
This series extends functionality for the LPC32xx platform and introduces the WORK Microwave work_92105 board which makes use of the extended functionality. NOTES: A - I2C driver remains non-DM During v2 review, it was suggested to move to DM for I2C. However, this caused issues with the

[U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-13 Thread Albert ARIBAUD (3ADEV)
The controller's Reed-Solomon ECC hardware is used except of course for raw reads and writes. It covers in- and out-of-band data together. The SPL framework is supported. Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: - switch to CONFIG_SYS_NAND_SELF_INIT

[U-Boot] [PATCH 4/4] ARM: atmel: at91sam9n12ek: enable spl support

2015-03-13 Thread Bo Shen
Enable SPL support for at91sam9n12ek boards, now it supports boot up from NAND flash, serial flash. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile| 1 + arch/arm/mach-at91/include/mach/at91_pmc.h |

[U-Boot] [PATCH 2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-13 Thread Bo Shen
Supports boot up from NAND flash with software ECC eanbled. And supports boot up from SD/MMC card with FAT file system. As the boot from SD/MMC card with FAT file system, the BSS segment is too big to fit into SRAM, so, use the lds to put it into SDRAM. Signed-off-by: Bo Shen

[U-Boot] [PATCH 3/4] ARM: atmel: at91sam9x5ek: enable spl support

2015-03-13 Thread Bo Shen
Enable SPL support for at91sam9x5ek board. Now, it supports boot up from NAND flash and SPI flash. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile | 1 + arch/arm/mach-at91/include/mach/at91_pmc.h

[U-Boot] [PATCH 1/4] ARM: atmel: arm926ejs: fix clock configuration

2015-03-13 Thread Bo Shen
Config MCKR according to the datasheet sequence, or else it will cause the MCKR configuration failed. Remove timeout checking for clock configuration, if configure the clock failed, let the system hang while not run in wrong clock configuration. Signed-off-by: Bo Shen voice.s...@atmel.com ---

[U-Boot] [PATCH 0/4] ARM: atmel: boards: enable SPL support

2015-03-13 Thread Bo Shen
This patch series enable SPL support for following boards: - at91sam9m10g45ek - NAND flash boot support - SD card boot support - at91sam9n12ek - NAND flash boot support - SPI flash boot support - at91sam9x5ek - NAND flash boot support - SPI flash boot support Bo

Re: [U-Boot] [PATCH 2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-13 Thread Masahiro Yamada
Hi Bo, 2015-03-13 18:19 GMT+09:00 Bo Shen voice.s...@atmel.com: diff --git a/configs/at91sam9m10g45ek_mmc_defconfig b/configs/at91sam9m10g45ek_mmc_defconfig index 6949d3a..84d3133 100644 --- a/configs/at91sam9m10g45ek_mmc_defconfig +++ b/configs/at91sam9m10g45ek_mmc_defconfig @@ -1,4

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-13 Thread Lukasz Majewski
Hi Dileep, g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init() to fix this. fastboot command is now added with an optional controller index argument with default value as 0, to facilitate configurable controller index. Signed-off-by:

[U-Boot] [PATCH v5 8/8] lpc32xx: add support for board work_92105

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Work_92105 from Work Microwave is an LPC3250- based board with the following features: - 64MB SDR DRAM - 1 GB SLC NAND, managed through MLC controller. - Ethernet - Ethernet + PHY SMSC8710 - I2C: - EEPROM (24M01-compatible) - RTC (DS1374-compatible) - Temperature sensor (DS620) - DACs (2 x

[U-Boot] [PATCH v5 7/8] lpc32xx: add lpc32xx-spl.bin boot image target

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: - remove script/Makefile.spl change Changes in v2: - move boot image generation to mkimage framework common/image.c | 1 + include/image.h | 1 +

[U-Boot] [PATCH v5 6/8] dtt: add ds620 support

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - cosmetic: added a blank line before copyright drivers/hwmon/Makefile | 1 + drivers/hwmon/ds620.c | 65

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-13 Thread Markus Niebel
Hello Stefan, Am 12.03.2015 um 16:18 schrieb Stefan Roese: Hi Markus, On 12.03.2015 15:25, Markus Niebel wrote: Am 12.03.2015 um 13:34 schrieb Stefan Roese: By making the tqma6_iomuxc_spi() weak, this patch adds the possibility to add a different function for this SPI configuration. This

Re: [U-Boot] [PATCH 2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-13 Thread Bo Shen
Hi Masahiro, On 03/13/2015 05:34 PM, Masahiro Yamada wrote: Hi Bo, 2015-03-13 18:19 GMT+09:00 Bo Shen voice.s...@atmel.com: diff --git a/configs/at91sam9m10g45ek_mmc_defconfig b/configs/at91sam9m10g45ek_mmc_defconfig index 6949d3a..84d3133 100644 ---

[U-Boot] [PATCH 0/2] kbuild: clean up glue code to delete scripts/multoconfig.sh

2015-03-13 Thread Masahiro Yamada
Masahiro Yamada (2): kbuild: remove *_felconfig target kbuild: remove scripts/multiconfig.sh Makefile | 13 +- scripts/kconfig/Makefile | 10 + scripts/multiconfig.sh | 102 --- 3 files changed, 21 insertions(+), 104

[U-Boot] [PATCH 2/2] kbuild: remove scripts/multiconfig.sh

2015-03-13 Thread Masahiro Yamada
We have switched to the single .config configuration system, the same one as used in Linux Kernel. The necessary glue code is small enough now, so move it to the top-level Makefile and scripts/kconfig/Makefile, and then delete scripts/multiconfig.sh. Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2] common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()

2015-03-13 Thread Stefano Babic
On 10/03/2015 08:04, Stefan Roese wrote: Without this patch, the IMX watchdog will not be initialized. And therefor not active. This patch fixes this by calling hw_watchdog_init() also when CONFIG_IMX_WATCHDOG is defined. Signed-off-by: Stefan Roese s...@denx.de Cc: Simon Glass

Re: [U-Boot] [PATCH 01/14] mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE

2015-03-13 Thread Stefano Babic
Hi Fabio, On 02/03/2015 18:14, Fabio Estevam wrote: Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message:

Re: [U-Boot] [PATCH] mx53ard: Use the standard U-boot prompt

2015-03-13 Thread Stefano Babic
On 09/03/2015 16:49, Fabio Estevam wrote: By not defining CONFIG_SYS_PROMPT, the standard = prompt is used, so remove its definition. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] bootcount: Add dcache flush to bootcount_store()

2015-03-13 Thread Tom Rini
On Fri, Mar 13, 2015 at 09:48:56AM -0400, Tom Rini wrote: On Wed, Mar 11, 2015 at 09:51:38AM +0100, Stefan Roese wrote: Without this dcache_flush the updated bootcounter may not be saved to its location. This was detected on an iMX.6 platform using the OCRAM (internal SRAM) as

Re: [U-Boot] [PATCH] ARM: move -march=* and -mtune= options to arch/arm/Makefile

2015-03-13 Thread Masahiro Yamada
Albert, 2015-02-27 2:43 GMT+09:00 Masahiro YAMADA yamad...@jp.panasonic.com: Hi Albert, 2015-02-26 6:14 GMT+09:00 Albert ARIBAUD albert.u.b...@aribaud.net: I'm fine with the patch's goal and principle, but it does not seem to apply properly to u-boot-arm/master. Can you have a look?

[U-Boot] Setting up MAC address for eth drivers

2015-03-13 Thread Michal Simek
Hi, I have a question regarding setting mac address for drivers. Drivers setting up write_hwaddr via eth_write_hwaddr via eth_initialize which is called from common/board_r.c. But then there are some drivers(macb, designware, altera_tse) which also calls mac setup from dev-init which has side

Re: [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close

2015-03-13 Thread Stefano Babic
Hi John, On 03/03/2015 15:48, Maxin B. John wrote: Replace mmc open/close with mmc dev in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d cmd_mmc.c: Drop open/close mmc sub-commands Signed-off-by: Maxin B. John

Re: [U-Boot] [PATCH] warp: Add Device Firmware Upgrade support

2015-03-13 Thread Stefano Babic
On 02/03/2015 14:17, Fabio Estevam wrote: Device Firmware Upgrade (DFU) is a very convenient mechanism to upgrade U-boot on the eMMC. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2] warp: Add a README file

2015-03-13 Thread Stefano Babic
On 02/03/2015 16:57, Fabio Estevam wrote: Provide instructions on how to upgrade U-boot in the eMMC. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] mx6sabre: Do not enable UMS with SPL

2015-03-13 Thread Stefano Babic
On 09/03/2015 22:44, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit ad8aae82b20ac6a (mx6sabre: Enable User Mass Storage) SPL target does not boot anymore due to the increased spl image size. Only enable USB Mass Storage for the non-SPL target.

Re: [U-Boot] [PATCH] mx6: soc: Switch to cold reset

2015-03-13 Thread Stefano Babic
Hi Dirk, On 09/03/2015 14:48, Dirk Behme wrote: Disable the warm reset and enable the cold reset for a more reliable restart ('reset'). This is taken from the Linux kernel, see imx_src_init() in arch/arm/mach-imx/src.c. Signed-off-by: Dirk Behme dirk.be...@de.bosch.com --- Applied to

Re: [U-Boot] [PATCH] imx:mx6 remove duplicated includes

2015-03-13 Thread Stefano Babic
On 04/03/2015 14:33, Peng Fan wrote: There is no need to include asm/bootm.h twice, so remove one. Signed-off-by: Peng Fan peng@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 2/2] warp: Select CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE

2015-03-13 Thread Stefano Babic
On 12/03/2015 02:52, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Warp has a DDR eMMC, so enable CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE for better performance: reading zImage 5790288 bytes read in 117 ms (47.2 MiB/s) Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH 1/2] mx6_common: Do not select esdhc DDR mode for all boards

2015-03-13 Thread Stefano Babic
On 12/03/2015 02:52, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that really have a DDR-capable eMMC, so remove this option from common code to avoid regressions. Reported-by: Stefan Roese

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-13 Thread Stefan Roese
Hi Markus, On 13.03.2015 10:05, Markus Niebel wrote: -static void tqma6_iomuxc_spi(void) +__weak void tqma6_iomuxc_spi(void) { unsigned i; When implementing an baseboard specific init handler, we will get a warning about unused tqma6_ecspi1_pads and tqma6_ecspi1_cs, or did I miss

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-13 Thread Stefan Roese
On 13.03.2015 14:25, Stefan Roese wrote: But OK, this looks not very nice As I said, not completely ready, but would prevent some code duplication. With my current approach we have code duplication. Ups. I meant we have *no* code duplication. Sorry! Thanks, Stefan

Re: [U-Boot] bootcount: Add dcache flush to bootcount_store()

2015-03-13 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:38AM +0100, Stefan Roese wrote: Without this dcache_flush the updated bootcounter may not be saved to its location. This was detected on an iMX.6 platform using the OCRAM (internal SRAM) as bootcounter storage area. And issuing reset from within U-Boot cause

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Marek Vasut
On Friday, March 13, 2015 at 07:13:09 AM, Stephen Warren wrote: BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache. BCM2835-ARM-Peripherals.pdf states that: 0: L1 L2 cached 4: L2 cache coherent (non allocaing) 8: L2 cached only

Re: [U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys-virt address translations

2015-03-13 Thread Stephen Warren
On 03/13/2015 08:30 AM, Marek Vasut wrote: On Friday, March 13, 2015 at 07:13:09 AM, Stephen Warren wrote: BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache. BCM2835-ARM-Peripherals.pdf states that: 0: L1 L2 cached 4: L2 cache

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-13 Thread Markus Niebel
Hello Stefan, Am 13.03.2015 um 14:25 schrieb Stefan Roese: Hi Markus, On 13.03.2015 10:05, Markus Niebel wrote: Not sure if I understand this correctly. Could you give an example? Again, my current baseboard has no SPI at all. tqma6_iomux_spi is for the SPI controller the serial nor is