[U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
make: *** [Makefile:1206: u-boot] Error 1 This is a regression from v2017.01. Is there a known fix or workaround? Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nür

[U-Boot] [PATCH v2 4/4] env_sf: use DIV_ROUND_UP to calculate number of sectors to erase

2017-04-08 Thread Andreas Fenkart
simpler to read Signed-off-by: Andreas Fenkart --- common/env_sf.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index 6a1583ebec..9944602367 100644 --- a/common/env_sf.c +++ b/common/env_sf.c @@ -80,7 +80,7 @@ int

[U-Boot] [PATCH v2 0/4] env_sf: minor refactorings

2017-04-08 Thread Andreas Fenkart
rebased patches on master fixed compiled error in 1st patch (missing variable declaration) compile tested all patches with travis Andreas Fenkart (4): env_sf: factor out prepare_flash_device enf_sf: reuse setup_flash_device instead of open coding it env_sf: re-order error handling in single

[U-Boot] [PATCH v2 3/4] env_sf: re-order error handling in single-buffer env_relocate_spec

2017-04-08 Thread Andreas Fenkart
this makes it easier comparable to the double-buffered version Signed-off-by: Andreas Fenkart Reviewed-by: Simon Glass --- common/env_sf.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index a52fb734c8..6a1583ebec

[U-Boot] [PATCH v2 2/4] enf_sf: reuse setup_flash_device instead of open coding it

2017-04-08 Thread Andreas Fenkart
s not yet usable when relocating. Signed-off-by: Andreas Fenkart --- common/env_sf.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index 8af590a3d9..a52fb734c8 100644 --- a/common/env_sf.c +++ b/common/env_sf.c @@ -176,12 +

[U-Boot] [PATCH v2 1/4] env_sf: factor out prepare_flash_device

2017-04-08 Thread Andreas Fenkart
copy&paste code found in single/double buffered code path Signed-off-by: Andreas Fenkart Reviewed-by: Simon Glass --- common/env_sf.c | 48 +++- 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c i

Re: [U-Boot] [PATCH v6 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-13 Thread Andreas Bießmann
re is another breakage in this patch I was not able to discover yesterday. The at91_emac driver for at91rm9200 devices uses the pio struct internally and therefore this patch also breaks the build for at91rm9200. Could you please also fix this? Andreas > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [U-Boot, v5, 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-12 Thread Andreas Bießmann
This patch breaks on at91 devices without PIO3 due to missing PIO_SCDR_DIV define, please fix this. First one failing for me using buildman is pm9g45. Andreas > Signed-off-by: Wenyou Yang > --- > > Changes in v5: None > Changes in v4: > - Fix the incomplete conversion of the pe

Re: [U-Boot] [U-Boot, v2, 4/4] configs: at91sam9x5ek: move SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 05:11:35PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > Signed-off-by: Wenyou Yang > Reviewed-by:

Re: [U-Boot] [U-Boot, v2, 7/7] configs: sama5d3_xplained: move CONFIG_SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:40:04PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d3x_xplained_*_defconfig > files. this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > > Signed-off-by:

Re: [U-Boot] [U-Boot, v3, 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:01:29PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann this one will conflict with e856bdcfb49291d30b19603fc101bea096c48196, just drop

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 15:29 schrieb Marek Vasut: > On 02/12/2017 03:20 PM, Andreas Färber wrote: >> Am 01.12.2016 um 02:06 schrieb Marek Vasut: >>> diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c >>> new file mode 100644 >>> index 000..95b3367 >

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
ops; > + > + mmc = mmc_create(cfg, priv); > + if (!mmc) > + return -ENODEV; > + > + mmc->dev = dev; > + upriv->mmc = mmc; > + > + return 0; > +} > +static const struct udevice_id jz_mmc_ids[] = { > + { .

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:52 schrieb Andreas Färber: > Hi Marek, > > Am 01.12.2016 um 02:06 schrieb Marek Vasut: >> From: Paul Burton >> >> Add support for the Creator CI20 platform based on the JZ4780 SoC. >> The DTS file comes from Linux 4.6 as of revision >> 7

Re: [U-Boot] [PATCH] am33xx: board: Refactor USB initialization into separate function

2017-02-12 Thread Andreas Färber
> + > +#else/* CONFIG_USB_MUSB_* && CONFIG_AM335X_USB* && !CONFIG_DM_USB */ > + > +int static int arch_usb_init(void)(void) This looks like a copy&paste gone wrong. Regards, Andreas > +{ > struct udevice *dev; > int ret; > &g

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 13:53 schrieb Marek Vasut: > On 02/12/2017 01:24 PM, Andreas Färber wrote: >> Am 12.02.2017 um 12:55 schrieb Marek Vasut: >>> On 02/12/2017 12:52 PM, Andreas Färber wrote: >>>> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >

Re: [U-Boot] [PATCH] tiny-printf: add static to locally used functions

2017-02-12 Thread Andreas Färber
esolve its size issue), Tested-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:55 schrieb Marek Vasut: > On 02/12/2017 12:52 PM, Andreas Färber wrote: >> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >> >> LD spl/u-boot-spl >> mipsel-suse-linux-ld.bfd: u-boot-spl section `.data' will not fit in

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
BOOT_USE_SECTOR=y leads to this error: LD spl/u-boot-spl mipsel-suse-linux-ld.bfd: u-boot-spl section `.data' will not fit in region `.sram' mipsel-suse-linux-ld.bfd: region `.sram' overflowed by 288 bytes ../scripts/Makefile.spl:304: recipe for target 'spl/u-boot-sp

Re: [U-Boot] [PATCH v2 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: None configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1

Re: [U-Boot] [PATCH v2 7/8] board: sama5d4ek: enable early debug UART

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: None board/atmel/sama5d4ek/sama5d4ek.c | 15 ++- configs

Re: [U-Boot] [PATCH v2 0/8] board: sama5d4: convert boards to support DM/DT

2017-02-06 Thread Andreas Bießmann
r the spi driver > http://lists.denx.de/pipermail/u-boot/2016-October/270516.html > could you please send this series rebased on current ToT? Andreas > Changes in v2: > - Restore the wrong removal #define CONFIG_USB_ETHER. > - Update the commit log. > - Restore the wrong remova

Re: [U-Boot] [PATCH v2 6/8] board: sama5d4ek: clean up code

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: - Restore the wrong removal USB related

Re: [U-Boot] [U-Boot, v2, 5/8] board: sama5d4ek: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:46PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4ek_*_defconfig. > > Signed-off-by: Wenyou Yang Reviewed-by

Re: [U-Boot] [U-Boot, v2, 4/8] board: sama5d4_xplained: enable early debug UART

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:45PM +0800, Wenyou Yang wrote: > Enable early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > b

Re: [U-Boot] [U-Boot, v2, 3/8] board: sama5d4_xplained: clean up code

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:44PM +0800, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk driver and > the dts file, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > ---

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:42PM +0800, Wenyou Yang wrote: > If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined > by configs/*_defconfig file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None >

Re: [U-Boot] [U-Boot, v2, 3/3] gpio: at91_gpio: Add the clock support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:29PM +0800, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: > - Add Reviewed-by tag. > > drivers/gpio/at91_gpio.

Re: [U-Boot] [U-Boot, v2, 1/3] gpio: Kconfig: Add CONFIG_AT91_GPIO option

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:27PM +0800, Wenyou Yang wrote: > The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot,v1] clk: at91: pmc: add more compatibles

2017-02-04 Thread Andreas Bießmann
On Wed, Oct 26, 2016 at 03:21:32PM +0800, Wenyou Yang wrote: > To keep the compatibles aligned with kernel, add more compatibles. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > drivers/clk/at91/pmc.c | 6 ++ > 1 file changed, 6 insertions

Re: [U-Boot] [U-Boot, v2, 2/3] gpio: at91_gpio: Add the device tree support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:28PM +0800, Wenyou Yang wrote: > Add the device tree support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > drivers/gpio/at91_gpio.c | 15 ++

Re: [U-Boot] [PATCH v3 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Andreas Färber
: >>>>> This driver implements MMC support on Meson GX (S905) based systems. >>>>> It's based on Carlo Caione's work, changes: >>>>> - BLK support added >>>>> - general refactoring >>>>> >>>>> Signed-of

Re: [U-Boot] [PATCH v2 4/4] mmc: meson: add MMC support in Odroid C2 board init / config

2017-01-26 Thread Andreas Färber
the device tree if updated properly, and Beniamino's pinctrl driver seemed to get merged, so why do we need the above code in odroid-c2.c at all? > CONFIG_DEFAULT_DEVICE_TREE="meson-gxbb-odroidc2" > # CONFIG_DISPLAY_CPUINFO is not set > # CONFIG_DISPLAY_BOARDINFO is not set

Re: [U-Boot] [PATCH v2 3/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-01-26 Thread Andreas Färber
ast). I would've also expected to see Carlo as actual author (--author="...") instead of such a textual remark. Jaehoon, please hold off applying this until it has seen some more review. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Ime

Re: [U-Boot] [PATCH v2 2/4] mmc: meson: enable MMC device nodes on Odroid C2

2017-01-26 Thread Andreas Färber
Am 25.01.2017 um 20:52 schrieb Heiner Kallweit: > Enable the MMC device nodes on Odroid C2. > > Signed-off-by: Heiner Kallweit Same question about syncing. The dtb is actually passed on in the bootefi boot path, so it should match what's in Linux. Regards, Andreas -- S

Re: [U-Boot] [PATCH v2 1/4] mmc: meson: add MMC nodes to Meson GXBB DT

2017-01-26 Thread Andreas Färber
If there is a reason to remove the interrupt definitions, you should explain that here please. Regards, Andreas > > Signed-off-by: Heiner Kallweit > --- > v2: > - no changes > --- > arch/arm/dts/meson-gxbb.dtsi | 18 ++ > 1 file changed, 18 insertions(+) &

Re: [U-Boot] [PATCH v3 2/4] kconfig: Add a FREEBSD option

2017-01-26 Thread Andreas Färber
you need to change for uImage / FIT support? Does that have to > be conditionalized? Or going further, is there a strict reason the distro changes need to be conditionalized at all? As long as they're properly guarded with checks for file existence it would only cost little boot time on a

Re: [U-Boot] [PATCH v3 1/4] kconfig: Add API kconfig file

2017-01-26 Thread Andreas Färber
Am 26.01.2017 um 18:45 schrieb Emmanuel Vadot: > On Thu, 26 Jan 2017 18:17:47 +0100 > Andreas Färber wrote: > >> Am 26.01.2017 um 17:46 schrieb Emmanuel Vadot: >>> Add kconfig file to enable API support >>> >>> Signed-off-by: Emmanuel Vadot >>&g

Re: [U-Boot] [PATCH v3 1/4] kconfig: Add API kconfig file

2017-01-26 Thread Andreas Färber
s series updates the two boards Tom pointed out. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [PATCH v2 1/4] kconfig: Add API kconfig file

2017-01-17 Thread Andreas Färber
ot; > + default n > + help > + This option enable the U-Boot API. "enables" Should the help say, e.g., "userspace API" for clarity? > + > +endmenu Otherwise looks okay, obviously. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnbe

[U-Boot] [PATCH v3] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. MMC and USB are not yet implemented, so this is the only boot option. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andr

Re: [U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Am 15.01.2017 um 20:03 schrieb Alexander Graf: > On 15/01/2017 19:52, Andreas Färber wrote: >> Use the generic "distro" boot framework to enable automatic DHCP boot. >> >> The fdt and kernel addresses are adopted from downstream; ramdisk and >> scripta

[U-Boot] [PATCH] meson: misc_init_r is board-specific

2017-01-15 Thread Andreas Färber
Move it from meson-gxbb-common.h to odroid-c2.h to allow new boards not to implement it. Signed-off-by: Andreas Färber --- include/configs/meson-gxbb-common.h | 1 - include/configs/odroid-c2.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/meson

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 + configs/odroid-c2

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 + configs/odroid-c2

Re: [U-Boot] [PATCH] mx6sx: Add initial support for UDOO Neo Board

2017-01-09 Thread Andreas Färber
en " \ > + "echo WARNING: Could not determine dtb to use; fi; \0" \ Nit: Trailing semicolon and space could be dropped. > + "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ > + "pxefile_addr_r=" __stringi

[U-Boot] [PATCH v2] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2017-01-09 Thread Andreas Färber
d converting it in fdt_value_setenv(), like its counterpart fdt_parse_prop() already does. Consistently use fdt32_t, fdt32_to_cpu() and cpu_to_fdt32(). Fixes: bc80295 ("fdt: Add get commands to fdt") Cc: Joe Hershberger Cc: Gerald Van Baren Signed-off-by: Andreas Färber --- cmd/

Re: [U-Boot] [PATCH v2] tools/env: fix environment alignment tests for block devices

2016-11-28 Thread Andreas Fenkart
Hi Max, LGTM, see one nit below, can fixed later On 11/19/2016 01:58 PM, Max Krummenacher wrote: commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the environment must start at an erase block boundary. For block devices the sample fw_env.config does not mandate a erase block size f

[U-Boot] [PATCH 4/4] env_sf: use DIV_ROUND_UP to calculate number of sectors to erase

2016-11-28 Thread Andreas Fenkart
simpler, needs less thinking when reading the code Signed-off-by: Andreas Fenkart --- common/env_sf.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index 8a3de63..0434bb8 100644 --- a/common/env_sf.c +++ b/common

[U-Boot] [PATCH 2/4] enf_sf: reuse setup_flash_device instead of open coding it

2016-11-28 Thread Andreas Fenkart
s not yet usable when relocating. Signed-off-by: Andreas Fenkart --- common/env_sf.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index 5126762..ba9ac8a 100644 --- a/common/env_sf.c +++ b/common/env_sf.c @@ -175,12 +175,9 @@

[U-Boot] [PATCH 3/4] env_sf: re-order error handling in single-buffer env_relocate_spec

2016-11-28 Thread Andreas Fenkart
this makes it easier comparable to the double-buffered version Signed-off-by: Andreas Fenkart --- common/env_sf.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index ba9ac8a..8a3de63 100644 --- a/common/env_sf.c +++ b

[U-Boot] [PATCH 1/4] env_sf: factor out prepare_flash_device

2016-11-28 Thread Andreas Fenkart
copy&paste code found in single/double buffered code path Signed-off-by: Andreas Fenkart --- common/env_sf.c | 47 ++- 1 file changed, 18 insertions(+), 29 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index c53200f..5126762 10

[U-Boot] [PATCH 0/4] env_sf: minor cleanup

2016-11-28 Thread Andreas Fenkart
Andreas Fenkart (4): env_sf: factor out prepare_flash_device enf_sf: reuse setup_flash_device instead of open coding it env_sf: re-order error handling in single-buffer env_relocate_spec env_sf: use DIV_ROUND_UP to calculate number of sectors to erase common/env_sf.c | 91

Re: [U-Boot] [PATCH] tools/env: fix environment alignment tests for block devices

2016-11-18 Thread Andreas Fenkart
2016-11-18 11:38 GMT+01:00 Max Krummenacher : > commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the > environment must start at an erase block boundary. > > For block devices the sample fw_env.config does not mandate a erase block size > for block devices. A missing setting defaults t

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-11-15 Thread Andreas Färber
Hi Simon, Am 28.10.2016 um 03:52 schrieb Simon Glass: > On 27 October 2016 at 05:44, Andreas Färber wrote: >> Am 26.10.2016 um 21:19 schrieb Simon Glass: >>> On 26 October 2016 at 09:02, Andreas Färber wrote: >>>> On a Raspberry Pi 2 disagreements on c

Re: [U-Boot] [PATCH] evb-rk3399: deduced the dram node size when space reserved

2016-11-07 Thread Andreas Färber
Am 07.11.2016 um 09:30 schrieb Kever Yang: > The size dram node need to be deduced by the same amount of reserved space. > > Reported-by: Andreas Färber > Signed-off-by: Kever Yang Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg

Re: [U-Boot] [PATCH v2] rk3399: Reserve space for ARM Trust Firmware

2016-11-02 Thread Andreas Färber
9/evb-rk3399.c > @@ -35,6 +35,7 @@ int dram_init(void) > > void dram_init_banksize(void) > { > - gd->bd->bi_dram[0].start = 0; > + /* Reserve 0x20 for ATF bl31 */ > + gd->bd->bi_dram[0].start = 0x20; > gd->bd->bi_dram[0].size = 0

[U-Boot] [PATCH] arm: rockchip: Fix typo in ROCKCHIP_RK3288 help

2016-11-02 Thread Andreas Färber
UART,s -> UARTs, to avoid this spreading via copy&paste. Signed-off-by: Andreas Färber --- arch/arm/mach-rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 1aac3c8..ffd281c 100644 ---

[U-Boot] [PATCH] arm: dts: Fix Rockchip sort order

2016-11-02 Thread Andreas Färber
Sort rk3036 before rk3288. Signed-off-by: Andreas Färber --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 756535b..7f6545e 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -28,6

Re: [U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Hi Alex, Am 01.11.2016 um 22:19 schrieb Alexander Graf: > On 01/11/2016 22:11, Andreas Färber wrote: >> diff --git a/include/configs/meson-gxbb-common.h >> b/include/configs/meson-gxbb-common.h >> index 3bba2e6..0c467fe 100644 >> --- a/include/configs/meson-gxbb-common

[U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. Signed-off-by: Andreas Färber --- Kconfig | 2 +- configs/odroid-c2_defconfig | 1 - include/configs/meson-gxbb-common.h | 13 + include/configs/odroid-c2.h

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
Hi Jagan, On 28.10.16 20:07, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 10:19 PM, Andreas Bießmann > wrote: >> Dear Wenyou Yang, >> >> Wenyou Yang writes: >>> Add driver model support while retaining the existing legacy code. >>> This allows the drive

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-10-28 Thread Andreas Bießmann
procedure. Therefore I think this is Ok. Andreas The following changes since commit 5ac5861c4ba851b473e6a24940b412b397627d8d: travis-ci: Add test.py for various qemu platforms (2016-10-24 08:06:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-atmel.git master for you

Re: [U-Boot] [U-Boot, v3, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, >and set it to 'ethaddr' variable. > >Signed-off-by: Wenyou Yang >Signed-off-by: Songjun Wu >Reviewed-by: Andreas Bießmann >--- >

Re: [U-Boot] [U-Boot, v3, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Enable an early debug UART to debug problems when an ICE or other >debug mechanism is not available. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect

Re: [U-Boot] [U-Boot, v3, 2/4] board: sama5d2_xplained: Clean up code

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Since the introduction of pinctrl and clk driver, and the dts file, >remove unneeded the pin configurations and the clock enabling code. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >

Re: [U-Boot] [U-Boot, v3, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Move the config options from the include/configs/sama5d2_xplained.h >to configs/sama5d2_xplained_*_defconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. >

Re: [U-Boot] [U-Boot, v3, 7/7] mmc: atmel_sdhci: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
ssary. > - Add Reviewed-by tag. > >Changes in v2: None > > drivers/mmc/atmel_sdhci.c | 27 ++- > 1 file changed, 2 insertions(+), 25 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann _

Re: [U-Boot] [U-Boot, v3, 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add support to enable an early debug UART for debugging. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: > -

Re: [U-Boot] [U-Boot, v3, 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add ATMEL_USART option to support to enable the Atmel usart driver >from Kconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: No

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
| 8 ++ > drivers/spi/atmel_spi.c | 288 > 2 files changed, 296 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 3/7] gpio: atmel_pio4: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
o/atmel_pio4. > > drivers/gpio/atmel_pio4.c | 12 > 1 file changed, 12 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral clock driver improvement, remove the >unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: None >Changes in v2: None > > drivers/usb/host/ehci

Re: [U-Boot] [U-Boot, v3, 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-10-28 Thread Andreas Bießmann
: Stephen Warren >Acked-by: Simon Glass >--- > >Changes in v3: None >Changes in v2: > - Add Acked-by tag. > > drivers/clk/clk-uclass.c | 3 +++ > 1 file changed, 3 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann __

Re: [U-Boot] [U-Boot, v1] ARM: at91/dt: sama5d2: Fix the warning from dtc

2016-10-28 Thread Andreas Bießmann
by: Stephen Warren >--- > > arch/arm/dts/sama5d2.dtsi | 140 +++--- > 1 file changed, 70 insertions(+), 70 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___

Re: [U-Boot] [U-Boot, v3, 4/7] i2c: at91_i2c: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
.c | 16 > 1 file changed, 16 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 5/7] i2c: at91_i2c: Change error return -ENODEV to -EINVAL

2016-10-28 Thread Andreas Bießmann
t; 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 2/7] clk: at91: Improve the clock implementation

2016-10-28 Thread Andreas Bießmann
1/pmc.h| 5 ++- > 6 files changed, 195 insertions(+), 89 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,3/6] arm, at91: add icache support

2016-10-28 Thread Andreas Bießmann
iewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- >removed the dcache enable in the gurnard board. Comment >says that enabling dcache breaks Ethernet MAC ... why >is it then enabled? > >@Simon: If you need dache enabled for the gurnard board, >arch/arm/mach-at91/arm926ejs

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-28 Thread Andreas Bießmann
Dear "Robert P. J. Day", Robert P. J. Day writes: >Signed-off-by: Robert P. J. Day >Reviewed-by: Andreas Bießmann >--- > > given that this misspelling is being used for partition names, i >won't treat it as a normal typo, so sending a separate patch just fo

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >on at91sam9x5 PRES offset is 4 in the PMC master >clock register. > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Acked-by: Andreas Bießmann >--- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ >

Re: [U-Boot] [U-Boot, v2] clk: at91: Fix at91-pmc and at91-sckc's class ID

2016-10-28 Thread Andreas Bießmann
), 20 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add missing MPDDRC_MD defines > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > > arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ > 1 file changed, 3 insertions(+) app

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
On Tue, Sep 27, 2016 at 11:00:33AM +0800, Wenyou Yang wrote: > Due to the peripheral clock driver improvement, remove the > unnecessary clock calling. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v3: None > Changes in v2: None >

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
On Wed, Aug 17, 2016 at 09:13:24AM +0200, Heiko Schocher wrote: > on at91sam9x5 PRES offset is 4 in the PMC master > clock register. > > Signed-off-by: Heiko Schocher > Acked-by: Wenyou Yang Acked-by: Andreas Bießmann > --- > > arch/arm/mach-at91/arm926ejs/cloc

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-27 Thread Andreas Färber
since the node is defined there? > > Mmh, I find examples for both ways (.dtsi vs. .dts) in the kernel. I > need to learn what's the best practice here. Last I was told by kernel maintainers (in an Amlogic context) aliases should be in the board's .dts[i] so that only the enabled nod

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-27 Thread Andreas Färber
Hi Simon, Am 26.10.2016 um 21:19 schrieb Simon Glass: > On 26 October 2016 at 09:02, Andreas Färber wrote: >> On a Raspberry Pi 2 disagreements on cell endianness can be observed: >> >> U-Boot> fdt print /soc/gpio@7e20 phandle >> phandle = <0x000d&

Re: [U-Boot] [PATCH v2 0/3] LS1046A secure boot target addition

2016-10-26 Thread Andreas Färber
Hi, Am 26.10.2016 um 22:17 schrieb Sumit Garg: > The patch-set does the following: > > 1. Add NOR secure boot target on ls1046aqds platform. > 2. Add QSPI secure boot target on ls1046ardb platform. Please double-check your clock, you are posting in the future. Regards, Andreas --

[U-Boot] [PATCH] MAINTAINERS: Fix syntax and update filename for FDT

2016-10-26 Thread Andreas Färber
Let get_maintainers.pl pick up the new cmd/fdt.c. Cc: Simon Glass Signed-off-by: Andreas Färber --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8e67202..3d18f28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -273,7 +273,7 @@ F

[U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-26 Thread Andreas Färber
s __be32 and converting it in fdt_value_setenv(), like its counterpart fdt_parse_prop() already does. Fixes: bc80295 ("fdt: Add get commands to fdt") Cc: Joe Hershberger Cc: Gerald Van Baren Signed-off-by: Andreas Färber --- cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
Hi Wenyou, On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu > Reviewed-by

Re: [U-Boot] [U-Boot,v1] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Andreas Bießmann
On Tue, Aug 30, 2016 at 04:03:47PM +0800, Wenyou Yang wrote: > Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > drivers/i2c/at91_i2c

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-16 Thread Andreas Bießmann
On Thu, Sep 01, 2016 at 09:49:14AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Reviewed-by: Andreas Bießmann > --- > > given that this misspelling is being used for partition names, i > won't treat it as a normal typo, so sending a separate p

Re: [U-Boot] [U-Boot, v2, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:05AM +0800, Wenyou Yang wrote: > Enable an early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Cha

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu Reviewed-by: Andreas Bießma

Re: [U-Boot] [U-Boot, v2, 2/4] board: sama5d2_xplained: Clean up code

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:03AM +0800, Wenyou Yang wrote: > Since the introduction of pinctrl and clk driver, and the dts file, > remove unneeded the pin configurations and the clock enabling code. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: A

Re: [U-Boot] [U-Boot, v2, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:02AM +0800, Wenyou Yang wrote: > Move the config options from the include/configs/sama5d2_xplained.h > to configs/sama5d2_xplained_*_defconfig. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: N

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