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) 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 > > During v2 review,

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

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

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

2015-03-13 Thread Andrey Danin
Signed-off-by: Andrey Danin --- 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 @@ #define CONFIG_SYS_WHITE

[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. The

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

2015-03-13 Thread Andrey Danin
Signed-off-by: Andrey Danin --- 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 22a316b..0819ee9 100644 ---

[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 --- common/ansi_console.c | 355 + include/ansi_console.h | 39 ++ 2 files changed, 394 insertions(

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); > + /

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 wrote: > Hi Lukasz, > > On 13 March 2015 at 13:23, Lukasz Majewski > wrote: > > > Hi Dileep, > > > > > g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running > > > cmd_fastboot. Calling board_usb_init() to fix this. > > > fastboot comm

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 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 standard mxs-bootlet

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 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 with default

[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 table.

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

2015-03-13 Thread Eric Anholt
Stephen Warren 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 uncached. > > That do

[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 in

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: > >>

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 or

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.

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 : I could still use some help with this from someone who really knows h

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

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 cohe

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 cache

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) >

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 >

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 som

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] [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 > > 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. > > Signed-off-by: Fabio Estev

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 > --- Applied to u-boot-imx, thanks !

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 > > 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 > --- Applied to u-boot-imx, thanks !

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 > > 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 > Signed-off-by: Fabio E

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 > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

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 > Cc: Simon Glass > Cc: Fabio Esteva

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 > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineeri

[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 d

[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 --- This patc

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 > --

[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 ef

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 > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software E

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 > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

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 > messag

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 : > Hi Albert, > > 2015-02-26 6:14 GMT+09:00 Albert ARIBAUD : > >> >> 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? > > Sure. > > I've just posted v2: > http://pa

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 : diff --git a/configs/at91sam9m10g45ek_mmc_defconfig b/configs/at91sam9m10g45ek_mmc_defconfig index 6949d3a..84d3133 100644 --- a/configs/at91sam9m10g45ek_mmc_defconfig +++ b/configs/at91s

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 : > 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 +1,5 @@ > +CONFIG_

[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 --- arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile| 1 + arch/arm/mach-at91/include/mach/at91_pmc.h | 4 +- arch/arm/mach-

[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 --- arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile | 1 + arch/arm/mach-at91/include/mach/at91_pmc.h | 6 ++- arch/arm

[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 --- arch/arm/mach-at91/ar

[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 Shen

[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 --- arch/arm/mach

[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 .

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 configuratio

[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 --- include/configs/e

[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) --- 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 + tools/Makefile | 1 + tools/

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

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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 ++ include/dtt.h

[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) --- 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 +++ arch/arm/include/asm/arch-lpc32xx/clk.h | 3

[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) --- 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 readers from using funct

[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) --- 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 + arch/arm/include/asm/arch-lpc32xx/cpu.h | 2 + arch/ar

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

2015-03-13 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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 + arch/arm/include/asm/arch-lpc32xx/config.h| 3 + arch/arm

[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 'date',

[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) --- Changes in v5: - switch to CONFIG_SYS_NAND_SELF_INIT Changes in v4: - remove two

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-

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 def