Re: [U-Boot] [PATCH v3] dm: core: Enable optional use of fdt_translate_address()

2015-10-03 Thread Simon Glass
Hi Stefan, On 1 October 2015 at 07:59, Stefan Roese wrote: > Hi Stephen, > > > On 30.09.2015 18:13, Stephen Warren wrote: >> >> On 09/29/2015 11:00 PM, Stefan Roese wrote: >>> >>> The current "simple" address translation simple_bus_translate() is not >>> working on some platforms

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-03 Thread Chen-Yu Tsai
On Sat, Oct 3, 2015 at 10:26 PM, Hans de Goede wrote: > Stop prefixing the axp functions for setting voltages, etc. with the > model number, there ever is only one pmic driver built into u-boot, > this allows simplifying the callers. Hmm... What's going to happen with the

Re: [U-Boot] [PATCH 1/6] pci: Set PCI_COMMAND_IO bit for VGA device

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:35, Bin Meng wrote: > PCI_COMMAND_IO bit must be set for VGA device as it needs to respond > to legacy VGA IO address. > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_auto.c | 6 ++ > 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH 3/6] dm: pci: Fix pci_last_busno() to return the real last bus no

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:36, Bin Meng wrote: > Currently pci_last_busno() only checks the last bridge device > under the first UCLASS_PCI device. This is not the case when > there are multiple bridge devices. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH v2 2/2] malloc_simple: Add support for switching to DRAM heap

2015-10-03 Thread Simon Glass
On 22 September 2015 at 11:25, Hans de Goede wrote: > malloc_simple uses a part of the stack as heap, initially it uses > SYS_MALLOC_F_LEN bytes which typically is quite small as the initial > stacks sits in SRAM and we do not have that much SRAM to work with. > > When DRAM

Re: [U-Boot] [PATCH 01/10] rockchip: rk3288: Add pinctrl support for the gmac ethernet interface

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Add support for the gmac ethernet interface to pinctrl. This hardcodes > the setup to match that of the firefly and Radxa Rock2 boards, using the > RGMII phy mode for gmac interface and GPIO4B0 as the phy reset

Re: [U-Boot] [PATCH v3 1/2] dm: implement a Timer uclass

2015-10-03 Thread Simon Glass
Hi Thomas, On 3 October 2015 at 10:19, Thomas Chou wrote: > Implement a Timer uclass to work with lib/time.c. > > Signed-off-by: Thomas Chou > --- > v2 > fix coding style. > v3 > add description to Kconfig as Simon suggested. > move timer.c code

Re: [U-Boot] [PATCH 02/10] rockchip: rk3288: Add clock support for the gmac ethernet interface

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Setup the clocks for the gmac ethernet interface. This assumes the mac > clock is fed by an external clock which is common on RK3288 based > devices. > > Signed-off-by: Sjoerd Simons

Re: [U-Boot] [RFC PATCH] x86: Support booting SeaBIOS

2015-10-03 Thread Simon Glass
Hi Bin, On 29 September 2015 at 11:17, Bin Meng wrote: > SeaBIOS is an open source implementation of a 16-bit X86 BIOS. > It can run in an emulator or natively on X86 hardware with the > use of coreboot. With SeaBIOS's help, we can boot some OSes > that require 16-bit BIOS

Re: [U-Boot] [PATCH 5/6] x86: ivybridge: Remove the dead codes that programs pci bridge

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:36, Bin Meng wrote: > Remove bd82x6x_pci_bus_enable_resources() that is not called anywhere. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/bd82x6x.c | 32 > 1 file changed, 32

Re: [U-Boot] [PATCH 6/6] x86: Allow disabling IGD on Intel Queensbay

2015-10-03 Thread Simon Glass
Hi Bin, On 1 October 2015 at 08:36, Bin Meng wrote: > Add a Kconfig option to disable the Integrated Graphics Device (IGD) > so that it does not show in the PCI configuration space as a VGA > disaplay controller. This gives a chance for U-Boot to run PCI/PCIe > based graphics

Re: [U-Boot] [PATCH 2/6] video: vesa_fb: Fix wrong return value check of pci_find_class()

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:36, Bin Meng wrote: > When pci_find_class() fails to find a device, it returns -ENODEV. > But now we check the return value against -1. Fix it. > > Signed-off-by: Bin Meng > --- > > drivers/video/vesa_fb.c | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH V3 1/4] fdtdec: fix parsing 'reg' property with zero value in '#size-cells'

2015-10-03 Thread Simon Glass
On 30 September 2015 at 12:14, Przemyslaw Marczak wrote: > After rework of lib/fdtdec.c by: > > commit: 02464e3 fdt: add new fdt address parsing functions > > the function fdtdec_get_addr() doesn't work as previous, > because the implementation assumes that properties

Re: [U-Boot] [PATCH 4/6] dm: pci: Enable VGA address forwarding on bridges

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:36, Bin Meng wrote: > To support graphics card behind a PCI bridge, the bridge control > register (offset 0x3e) in the configuration space must turn on > VGA address forwarding. > > Signed-off-by: Bin Meng > --- > >

[U-Boot] [PATCH v3] rockchip: Reconfigure the malloc based to point to system memory

2015-10-03 Thread Sjoerd Simons
When malloc_base initially gets setup in the SPL it is based on the current (early) stack pointer, which for rockchip is pointing into SRAM. This means simple memory allocations happen in SRAM space, which is somewhat unfortunate. Specifically a bounce buffer for the mmc allocated in SRAM space

Re: [U-Boot] [PATCH v3] rockchip: Reconfigure the malloc based to point to system memory

2015-10-03 Thread Simon Glass
On 3 October 2015 at 12:25, Sjoerd Simons wrote: > > When malloc_base initially gets setup in the SPL it is based on the > current (early) stack pointer, which for rockchip is pointing into SRAM. > This means simple memory allocations happen in SRAM space, which is

Re: [U-Boot] [PATCH] serial: rockchip: make ROCKCHIP_SERIAL depend on ARCH_ROCKCHIP

2015-10-03 Thread Simon Glass
On 29 September 2015 at 05:57, Simon Glass wrote: > On 28 September 2015 at 21:32, Masahiro Yamada > wrote: >> It looks like this line was copy-pasted, but not modified. >> >> Signed-off-by: Masahiro Yamada >> ---

Re: [U-Boot] [PATCH v2] nios2: add clear and set bits macros

2015-10-03 Thread Thomas Chou
On 09/30/2015 09:32 PM, Thomas Chou wrote: These macros can be used to clear and set multiple bits in a register using a single call. Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut --- v2 remove unsupported 64 btis macros as Chin Liang suggested.

[U-Boot] [PATCH 2/7] sunxi: power: Make all voltages configurable through Kconfig

2015-10-03 Thread Hans de Goede
On boards with axp221/223 pmic-s we already allow configuring most voltages. Make the Kconfig options for these also apply to boards with axp152 / axp209 pmic-s and extend them to configure all voltages. The Kconfig defaults are chosen so that this commit does not introduce any functional

[U-Boot] [PATCH v2] dm: tpm: Drop CONFIG_DM_TPM

2015-10-03 Thread Simon Glass
Now that all TPM drivers use driver model, we can drop the special driver model CONFIG option. Signed-off-by: Simon Glass --- Changes in v2: - Fix missing 'depends on DM' left out of the v1 patch drivers/tpm/Kconfig | 15 +++ drivers/tpm/Makefile | 2 +-

Re: [U-Boot] [PATCH 03/10] net: designware: support phy reset device-tree bindings

2015-10-03 Thread Simon Glass
Hi Sjoerd, On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Add support for the snps,reset-gpio, snps,reset-active-low (optional) and > snps,reset-delays-us device-tree bindings. The combination of these > three define how the PHY should be reset to ensure it's

Re: [U-Boot] [PATCH v3 1/2] dm: implement a Miscellaneous uclass

2015-10-03 Thread Simon Glass
Hi Thomas, On 29 September 2015 at 12:59, Thomas Chou wrote: > Implement a Miscellaneous uclass with generic read or > write operations. This class is used only for those > do not fit other more general classes. > > Signed-off-by: Thomas Chou > --- >

Re: [U-Boot] [PATCH V2 00/11] Add board detection for Odroid XU3 / XU3Lite / XU4

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 1 October 2015 at 12:07, Przemyslaw Marczak wrote: > Hello, > > > On 09/21/2015 02:26 PM, Przemyslaw Marczak wrote: >> >> This patchset adds: >> - CPU model in dts for Chromebook Peach Pi as Exynos5800 >> - set the cpu id of Exynos5422 to 0x5422 >> -

Re: [U-Boot] [PATCH 07/10] rockchip: rk3288-firefly: Add gmac definition

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Add a definition for the gmac interface to the firefly device-tree. > Copied verbatim from the linux kernel. > > Signed-off-by: Sjoerd Simons > --- > >

Re: [U-Boot] [PATCH 08/10] rockchip: firefly: Enable networking support

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Enable the various configuration option required to get the ethernet > interface up and running. > > Signed-off-by: Sjoerd Simons > --- > > configs/firefly-rk3288_defconfig | 5 +

Re: [U-Boot] [PATCH 10/10] rockchip: Drop Ethernet from the TODO

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Now that ethernet support works, it can be dropped from the rockchip > TODO > > Signed-off-by: Sjoerd Simons > > --- > > doc/README.rockchip | 1 - > 1 file changed, 1 deletion(-)

Re: [U-Boot] [PATCH 09/10] rockchip: Add PXE and DHCP to the default boot targets

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Now that at least on the firefly board we have network support, enable > PXE and DHCP boot targets by default. > > Signed-off-by: Sjoerd Simons > --- > >

[U-Boot] Please pull u-boot-fdt

2015-10-03 Thread Simon Glass
Hi Tom, Here are a few last-minute bug fixes mostly stemming from the fdtdec_get_addr() change earlier. The following changes since commit fbb0c7bd92255bfcb13826a8ac81be6e2f94ba48: Merge branch 'master' of git://git.denx.de/u-boot-tegra (2015-10-02 20:35:49 -0400) are available in the git

Re: [U-Boot] [PATCH] ls102xa: Fix reset hang

2015-10-03 Thread Tom Rini
On Fri, Oct 02, 2015 at 04:42:14PM +0200, Wolfgang Denk wrote: > Dear Fabio, > > In message <1443792315-18997-1-git-send-email-feste...@gmail.com> you wrote: > > > ... > > Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian. > ... > > +struct watchdog_regs { > > + u16

[U-Boot] Please pull u-boot-sunxi master

2015-10-03 Thread Hans de Goede
Hi Tom, Here is what is hopefully really the final sunxi pull-req for v2015.10. This introduces just 1 new defconfig, we want this new defconfig in v2015.10 since it is a generic defconfig for so called q8 formfactor sunxi tablets, and we want to replace all the PCB revision specific defconfigs

Re: [U-Boot] [PATCH] net: Increase the size of the net_boot_file_name buffer

2015-10-03 Thread Stefan Bruens
On Thursday 01 October 2015 16:27:11 Wolfgang Denk wrote: > Dear Jacob, > > In message <1443622325-30792-1-git-send-email-j-stiff...@ti.com> you wrote: > > The net_boot_file_name buffer is used as storage for the bootfilename > > command line argument to network boot commands such as tftp and

[U-Boot] [PATCH 1/7] sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER

2015-10-03 Thread Hans de Goede
Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER settings, removing them from CONFIG_SYS_EXTRA_OPTIONS. Note that sun5i boards can have either an AXP209 or an AXP152 pmic, so there is no default for these in Kconfig, and the board-defconfig must always select one (except on the rare pmic-less

[U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-03 Thread Hans de Goede
Stop prefixing the axp functions for setting voltages, etc. with the model number, there ever is only one pmic driver built into u-boot, this allows simplifying the callers. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 4 +--

[U-Boot] [PATCH 5/7] sunxi: power: Change A23/A33 aldo1 default voltage to 3.0V

2015-10-03 Thread Hans de Goede
On A23 / A33 boards aldo1 is used for VCC-IO and should be 3.0V, make this the default. Note that this does not cause any functional changes since all sun8i board defconfig-s already contained: CONFIG_AXP_ALDO1_VOLT=3000 . Signed-off-by: Hans de Goede ---

[U-Boot] [PATCH 4/7] sunxi: power: Change A23/A33 VDD-SYS default from 1.2V to 1.1V

2015-10-03 Thread Hans de Goede
Change the axp223 dcdc2 / VDD-SYS default from 1.2V to 1.1V, 1.1V is the value recommended by Allwinner and is what most fex files specify. This has been tested on a number of A23/A33 tablets including on an A23 Ippo-q8h-v1.2 PCB tablet which has a fex file which specifies 1.2V (which is where

[U-Boot] [PATCH 7/7] sunxi: power: Drop protection against multiple calls from axp221 axp_init()

2015-10-03 Thread Hans de Goede
The only thing axp221.c's axp_init() does which needs protection against multiple calls is calling pmic_bus_init, and pmic_bus_init() itself is already protected against being called multiple times. Signed-off-by: Hans de Goede --- drivers/power/axp221.c | 6 -- 1 file

[U-Boot] [PATCH 6/7] sunxi: power: Use pmic_bus functions for axp152 / axp209 driver

2015-10-03 Thread Hans de Goede
Use the generic pmic_bus helpers for the axp152 / axp209 drivers, rather then having them define their own register read / write functions. Signed-off-by: Hans de Goede --- drivers/power/axp152.c | 28 +++- drivers/power/axp209.c | 36

Re: [U-Boot] [PATCH 1/2] rockchip: Also load the initrd below 512M

2015-10-03 Thread Simon Glass
On 18 September 2015 at 22:49, Sjoerd Simons wrote: > Similar to load an fdt, when loading an initrd about the 512Mb mark > things seem to break. For now force loading below 512Mb until the reason > why this fails has been determined/solved. > > Signed-off-by:

Re: [U-Boot] [PATCH v3 1/4] dm: tpm: Move tpm_tis_i2c to tpm_i2c_infineon

2015-10-03 Thread Simon Glass
On 20 September 2015 at 21:00, Christophe Ricard wrote: > As there is no TCG specification or recommendation for i2c TPM 1.2, > move tpm_tis_i2c driver to tpm_i2c_infineon. Other tpm vendors like Atmel > or STMicroelectronics may have a different transport protocol

Re: [U-Boot] [PATCH V3 0/4] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-10-03 Thread Simon Glass
Hi, On 30 September 2015 at 19:30, Simon Glass wrote: > Hi Przemyslaw, > > On 30 September 2015 at 06:25, Przemyslaw Marczak > wrote: >> Hello Tom, Simon, >> >> >> On 09/30/2015 03:13 PM, Tom Rini wrote: >>> >>> On Wed, Sep 30, 2015 at 01:14:49PM

Re: [U-Boot] [PATCH v3 3/4] dm: tpm: Remove every compilation switch for TPM driver model

2015-10-03 Thread Simon Glass
On 20 September 2015 at 21:00, Christophe Ricard wrote: > As every TPM drivers support UCLASS_TPM, we can only rely on DM_TPM > functions. > > This simplify a bit the code. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 2/2] rockchip: firefly: Save the environment on SD card

2015-10-03 Thread Simon Glass
On 18 September 2015 at 22:49, Sjoerd Simons wrote: > Save the environment on the SD card for Firefly in the empty space > between the SPL and the u-boot image. > > Signed-off-by: Sjoerd Simons > > --- > >

Re: [U-Boot] [PATCH v3 4/4] dm: tpm: Every TPM drivers should depends on DM_TPM

2015-10-03 Thread Simon Glass
On 20 September 2015 at 21:00, Christophe Ricard wrote: > Every TPM drivers should now depends on DM_TPM and not only TPM. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini > --- > > Changes in v3: None > >

Re: [U-Boot] [PATCH v3 2/4] dm: tpm: Add Driver Model support for tpm_atmel_twi driver

2015-10-03 Thread Simon Glass
On 20 September 2015 at 21:00, Christophe Ricard wrote: > tpm_atmel_twi can fit perfectly to the new UCLASS_TPM class. > > Signed-off-by: Christophe Ricard > Reviewed-by: Tom Rini > --- > > Changes in v3: None > >

Re: [U-Boot] [PATCH V2 02/11] s5p: cpu_info: print "cpu-model" if exists in dts

2015-10-03 Thread Simon Glass
On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > The CPU name for Exynos was concatenated with cpu id, > but for new Exynos platforms, like Chromebook Peach Pi > based on Exynos5800, the name of SoC variant does not > include the real SoC cpu id (0x5422). > > For

Re: [U-Boot] [PATCH V2 01/11] samsung: board/misc: check returned pointer for get_board_type() calls

2015-10-03 Thread Simon Glass
On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > The function get_board_type() is called in two places by common code, > but the returned pointer was never check. > > This commit adds checking the returned pointer, before use it. > > Signed-off-by: Przemyslaw

Re: [U-Boot] [PATCH V2 10/11] Odroid-XU3: dts: enable ADC, with request for pre-reloc bind

2015-10-03 Thread Simon Glass
On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This ADC is required for Odroid's board revision detection. > The pre-reloc request is enabled, since board detection will > be done in one of early function call. > > Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [PATCH] net: Increase the size of the net_boot_file_name buffer

2015-10-03 Thread Otavio Salvador
On Sat, Oct 3, 2015 at 11:13 AM, Stefan Bruens wrote: > On Thursday 01 October 2015 16:27:11 Wolfgang Denk wrote: >> Dear Jacob, >> >> In message <1443622325-30792-1-git-send-email-j-stiff...@ti.com> you wrote: >> > The net_boot_file_name buffer is used as storage

[U-Boot] [PATCH v3 2/2] nios2: convert altera timer to driver model

2015-10-03 Thread Thomas Chou
Convert altera timer to driver model. Signed-off-by: Thomas Chou --- v2 fix coding style. v3 doc dts binding. arch/nios2/cpu/Makefile | 2 +- arch/nios2/cpu/timer.c | 65 -- common/board_f.c

[U-Boot] [PATCH v3 1/2] dm: implement a Timer uclass

2015-10-03 Thread Thomas Chou
Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou --- v2 fix coding style. v3 add description to Kconfig as Simon suggested. move timer.c code to lib/time.c. add dm_timer dev to global data. remove timer_init(). change API name

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-03 Thread Richard Weinberger
Hi! Am 03.10.2015 um 06:27 schrieb Heiko Schocher: >>> According to Richard Weinberger, UBI fastmap is broken in U-Boot. >>> There are plenty >>> of fixes in Linux that we should pull in U-Boot to fix it. > > Thanks for pointing! > >> BTW: it is not broken in terms of you broke it. > > Puuh

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

2015-10-03 Thread Tom Rini
On Sat, Oct 03, 2015 at 02:01:53PM +0200, Hans de Goede wrote: > Hi Tom, > > Here is what is hopefully really the final sunxi pull-req for v2015.10. > > This introduces just 1 new defconfig, we want this new defconfig in v2015.10 > since it is a generic defconfig for so called q8 formfactor

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

2015-10-03 Thread Luc Verhaegen
On Sat, Oct 03, 2015 at 02:01:53PM +0200, Hans de Goede wrote: > > This introduces just 1 new defconfig, we want this new defconfig in v2015.10 > since it is a generic defconfig for so called q8 formfactor sunxi tablets, > and we want to replace all the PCB revision specific defconfigs with > a

Re: [U-Boot] [PATCH V2 03/11] Peach-Pi: dts: add cpu-model string

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This platform is based on Exynos5800 but the cpu id is 0x5422. > This doesn't fit the common Exynos SoC name convention, so now, > the CPU name is defined by device tree string, to be printed >

Re: [U-Boot] [PATCH V2 06/11] dm: adc: add simple ADC uclass implementation

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This commit adds: > - new uclass id: UCLASS_ADC > - new uclass driver: drivers/adc/adc-uclass.c > > The uclass's implementation is as simple as needed and provides functions: > - adc_init() - init

Re: [U-Boot] [PATCH V2 05/11] dm: pmic: add s2mps11 PMIC I/O driver

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This driver allows I/O operations on the Samsung S2MPS11 PMIC, > which provides lots of LDO/BUCK outputs. > > To enable it, update defconfig with: > - CONFIG_PMIC_S2MPS11 > and additional, if were

Re: [U-Boot] [PATCH] spi: ignore set speed and mode if not available

2015-10-03 Thread Simon Glass
Hi Thomas, On 22 September 2015 at 08:41, Thomas Chou wrote: > Some cores, such as Altera SPI and QuadSPI, can not change > speed and mode at runtime. Ignore the operation which is > not available. > > Signed-off-by: Thomas Chou > --- >

Re: [U-Boot] [PATCH V2 08/11] Odroid-XU3: enable s2mps11 PMIC support

2015-10-03 Thread Simon Glass
On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > --- > Changes V2: > - none > --- > arch/arm/dts/exynos5422-odroidxu3.dts | 7 +++ > configs/odroid-xu3_defconfig | 3 +++ > 2 files changed,

Re: [U-Boot] [PATCH V2 09/11] Exynos54xx: dts: add ADC node

2015-10-03 Thread Simon Glass
On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This commit adds common ADC node, which is disabled as default. > > Signed-off-by: Przemyslaw Marczak > --- > Changes V2: > - new commit > --- > arch/arm/dts/exynos54xx.dtsi | 7 +++ > 1

Re: [U-Boot] [PATCH V2 07/11] dm: adc: add Exynos54xx compatible ADC driver

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This commit adds driver for Exynos54xx ADC subsystem. > > The driver is implemented using driver model, > amd provides ADC uclass's operations: > - adc_init() > - adc_data() > > This driver uses

Re: [U-Boot] [PATCH V2 11/11] exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4.

2015-10-03 Thread Simon Glass
Hi Przemyslaw, On 21 September 2015 at 13:26, Przemyslaw Marczak wrote: > This commit adds additional file with implementation of board > detection code for Odroid-XU3/XU4. > > The detection depends on compatible found in fdt: > - "samsung,exynos5" - uses Exynos5 generic

Re: [U-Boot] [PATCH v2 1/2] malloc_simple: Add Kconfig option for using only malloc_simple in the SPL

2015-10-03 Thread Simon Glass
On 22 September 2015 at 11:25, Hans de Goede wrote: > common/dlmalloc.c is quite big, both in .text and .data usage, therefor > on some boards the SPL is build to use only malloc_simple.c and not the > dlmalloc.c code. This is done in various include/configs/foo.h with the >

Re: [U-Boot] [PATCH 2/2] sunxi: Remove board defconfig-s for specific Q8 tablet PCB-s

2015-10-03 Thread Ian Campbell
On Sat, 2015-10-03 at 10:27 +0200, Hans de Goede wrote: > > Sounds reasonable. both patches in this series: > > Acked-by: Ian Campbell > > Thanks, I've taken the liberty of using your hellion email address for this > instead. Right, finger macros, sorry ;-)

[U-Boot] [PATCH] dm: tpm: Drop CONFIG_DM_TPM

2015-10-03 Thread Simon Glass
Now that all TPM drivers use driver model, we can drop the special driver model CONFIG option. Signed-off-by: Simon Glass --- drivers/tpm/Kconfig | 15 +++ drivers/tpm/Makefile | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git

Re: [U-Boot] [PATCH v4] nios2 : convert altera_pio to driver model

2015-10-03 Thread Thomas Chou
On 09/30/2015 09:37 PM, Thomas Chou wrote: Convert altera_pio to driver model. Signed-off-by: Thomas Chou Acked-by: Chin Liang See --- v2 fix ranges of pio in dts fix coding style as Marek suggested. v3 change gpio_count device tree binding.

Re: [U-Boot] [PATCH 04/10] net: designware: Export various functions/struct to allow subclassing

2015-10-03 Thread Simon Glass
On 1 October 2015 at 10:48, Sjoerd Simons wrote: > To allow other DM drivers to subclass the designware driver various > functions and structures need to be exported. Export these. > > Signed-off-by: Sjoerd Simons > --- > >

Re: [U-Boot] [PATCH 05/10] net: designware: Add a post-started hook

2015-10-03 Thread Simon Glass
Hi Sjoerd, On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Add the ability for e.g. drivers subclassing to register a function to > be called after ethernet initialisation. This is useful if e.g. the > driver needs to change configuration based on the negotiated

Re: [U-Boot] [PATCH 06/10] net: gmac_rk3288: Add RK3288 GMAC driver

2015-10-03 Thread Simon Glass
Hi Sjoerd, On 1 October 2015 at 10:48, Sjoerd Simons wrote: > Add a new driver for the GMAC ethernet interface present in Rockchip > RK3288 SOCs. This driver subclasses the generic design-ware driver to > add the glue needed specifically for Rockchip. > >

Re: [U-Boot] How do I tell buildman to use a /specific/ toolchain?

2015-10-03 Thread Simon Glass
Hi Stephen, On 2 October 2015 at 00:27, Stephen Warren wrote: > On 10/01/2015 04:59 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On Wednesday, 23 September 2015, Stephen Warren >> wrote: >>> >>> >>> Simon, >>> >>> I have 3 different ARM toolchains

Re: [U-Boot] [PATCH 2/2] test: fat: add test of non-contiguous file reads

2015-10-03 Thread Simon Glass
Hi Stephen, On 2 October 2015 at 06:56, Stephen Warren wrote: > In my patch series to replace fs/fat with "ff.c", I enhanced ff.c to > optimize file reading, so that reads of contiguous clusters are submitted > to the IO device as a single read. This test attempts to

Re: [U-Boot] [PATCH] fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT

2015-10-03 Thread Simon Glass
On 3 October 2015 at 00:44, Stephen Warren wrote: > From: Stephen Warren > > PCI addresses are always represented as 3 cells in DT. (one cell for bus > and device, and two cells for a 64-bit addres). This does not vary based > on either the physical

Re: [U-Boot] [PATCH v2] zynq-common: Define spi args offset and size

2015-10-03 Thread Simon Glass
Hi, On 14 September 2015 at 09:49, Jagan Teki wrote: > Hi Simon, > > On 14 September 2015 at 14:06, Siva Durga Prasad Paladugu > wrote: >> Hi Jagan, >> >>> -Original Message- >>> From: Jagan Teki [mailto:jt...@openedev.com] >>> Sent:

Re: [U-Boot] [PATCH 1/2] itest: make memory access work under sandbox

2015-10-03 Thread Simon Glass
On 2 October 2015 at 06:56, Stephen Warren wrote: > itest accesses memory, and hence must map/unmap it. Without doing so, it > accesses invalid addresses and crashes. > > Signed-off-by: Stephen Warren > --- > common/cmd_itest.c | 21

Re: [U-Boot] [PATCH V3 4/4] trats: fdt: disable unused DW MMC

2015-10-03 Thread Simon Glass
On 1 October 2015 at 08:22, Jaehoon Chung wrote: > Hi, > > On 10/01/2015 04:11 PM, Przemyslaw Marczak wrote: >> Hello Jaehoon, >> >> On 10/01/2015 05:37 AM, Jaehoon Chung wrote: >>> Hi, Przemyslaw. >>> >>> On 09/30/2015 08:14 PM, Przemyslaw Marczak wrote: This device

Re: [U-Boot] [PATCH] fdt: fix fdtdec_get_addr_size not to require any size cells

2015-10-03 Thread Simon Glass
On 29 September 2015 at 05:33, Simon Glass wrote: > On 28 September 2015 at 04:41, Przemyslaw Marczak > wrote: >> Hello Stephen, >> >> >> On 09/25/2015 06:11 PM, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>>

Re: [U-Boot] [PATCH V3 2/4] gpio: s5p: call: dev_get_addr() instead of fdtdec_get_addr()

2015-10-03 Thread Simon Glass
On 30 September 2015 at 12:14, Przemyslaw Marczak wrote: > After rework in lib/fdtdec.c, the function fdtdec_get_addr() > doesn't work for nodes with #size-cells property set to 0. > > To get GPIO's 'reg' property, the code should use one of: >

Re: [U-Boot] [PATCH V3 3/4] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-10-03 Thread Simon Glass
On 30 September 2015 at 12:14, Przemyslaw Marczak wrote: > After rework of code by: > > commit: d952796 Exynos5: Use clock_get_periph_rate generic API > > function get_mmc_clk() always returns -1 for Exynos 4. > > This was caused by omitting, that SDHCI driver for Exynos 4,

Re: [U-Boot] [PATCH] dm: core: Enable optional use of fdt_translate_address()

2015-10-03 Thread Simon Glass
Hi Stephen, On 21 September 2015 at 19:06, Stephen Warren wrote: > On 09/13/2015 11:25 PM, Stefan Roese wrote: >> >> Hi Stephen, >> >> On 11.09.2015 19:07, Stephen Warren wrote: >>> >>> On 09/09/2015 11:07 AM, Simon Glass wrote: +Stephen Hi Stefan,

Re: [U-Boot] [PATCH 2/2] gpio: tegra: use named constants

2015-10-03 Thread Simon Glass
Hi Stephen, On 2 October 2015 at 00:29, Stephen Warren wrote: > On 10/01/2015 05:00 PM, Simon Glass wrote: >> >> On Friday, 25 September 2015, Stephen Warren >> wrote: >>> >>> From: Stephen Warren >>> >>> In order to make it

Re: [U-Boot] Please pull u-boot-fdt

2015-10-03 Thread Tom Rini
On Sat, Oct 03, 2015 at 03:45:21PM +0100, Simon Glass wrote: > Hi Tom, > > Here are a few last-minute bug fixes mostly stemming from the > fdtdec_get_addr() change earlier. > > > The following changes since commit fbb0c7bd92255bfcb13826a8ac81be6e2f94ba48: > > Merge branch 'master' of

[U-Boot] [PATCH v3 1/2] imx_watchdog: Add a header file for watchdog registers

2015-10-03 Thread Fabio Estevam
From: Fabio Estevam Create fsl_wdog.h to store the watchdog registers and bit fields. This can be useful when accesses to the watchdog block are made from other parts, such as arch/arm/ cpu code. Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH v3 2/2] ls102xa: Fix reset hang

2015-10-03 Thread Fabio Estevam
From: Fabio Estevam Since commit 623d96e89aca6("imx: wdog: correct wcr register settings") issuing a 'reset' command causes the system to hang. Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian. This means that the watchdog on LS1021 has been

Re: [U-Boot] [PATCH 08/18] sandbox: Use the reset driver to handle reset

2015-10-03 Thread Simon Glass
Hi Stephen, On 25 September 2015 at 06:32, Stephen Warren wrote: > On 09/24/2015 11:13 PM, Stephen Warren wrote: >> On 08/10/2015 09:44 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On 10 August 2015 at 21:35, Stephen Warren wrote: On

[U-Boot] [PATCH] sandbox: Correct operaion of 'reset' command

2015-10-03 Thread Simon Glass
Currently 'reset' only works with the test device tree. When run without a device tree, or with the normal device tree, the following error is displayed: Reset not supported on this platform Fix the driver and the standard device tree to avoid this. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH] Don't wrap to negative after 2G sectors

2015-10-03 Thread Stefan Monnier
I haven't received any answer from anyone about my patch. What am I doing wrong? Stefan > "Stefan" == Stefan Monnier writes: > Signed-off-by: Stefan Monnier > --- > disk/part_dos.c | 29 + >

Re: [U-Boot] [PATCH] dm: core: Enable optional use of fdt_translate_address()

2015-10-03 Thread Stephen Warren
On 10/03/2015 06:50 AM, Simon Glass wrote: > Hi Stephen, > > On 21 September 2015 at 19:06, Stephen Warren wrote: >> On 09/13/2015 11:25 PM, Stefan Roese wrote: >>> >>> Hi Stephen, >>> >>> On 11.09.2015 19:07, Stephen Warren wrote: On 09/09/2015 11:07 AM, Simon

Re: [U-Boot] [PATCH 2/2] gpio: tegra: use named constants

2015-10-03 Thread Stephen Warren
On 10/03/2015 08:14 AM, Simon Glass wrote: > Hi Stephen, > > On 2 October 2015 at 00:29, Stephen Warren wrote: >> On 10/01/2015 05:00 PM, Simon Glass wrote: >>> >>> On Friday, 25 September 2015, Stephen Warren >>> wrote: From: Stephen

[U-Boot] [PATCH V2 2/3] test: fat: add test of non-contiguous file reads

2015-10-03 Thread Stephen Warren
In my patch series to replace fs/fat with "ff.c", I enhanced ff.c to optimize file reading, so that reads of contiguous clusters are submitted to the IO device as a single read. This test attempts to torture-test edge-cases of that enhancement. BTW, the only way I found to validate that this

[U-Boot] [PATCH V2 3/3] fs-test.sh: fix pre-requisite detection

2015-10-03 Thread Stephen Warren
In the following snippet: if [ ! -x `which $prereq` ]; then When $prereq does not exist, `which $prereq` evaluates to the empty string, which results in *no* argument being passed to the -x operator, which then evaluates to true, which is the equivalent of the prereq having been found. In order

[U-Boot] [PATCH V2 1/3] itest: make memory access work under sandbox

2015-10-03 Thread Stephen Warren
itest accesses memory, and hence must map/unmap it. Without doing so, it accesses invalid addresses and crashes. Signed-off-by: Stephen Warren Reviewed-by: Simon Glass --- v2: No change. --- common/cmd_itest.c | 21 - 1 file

Re: [U-Boot] [PATCHv2] Add support for LZ4 decompression algorithm

2015-10-03 Thread Simon Glass
Hi Julius, On 3 October 2015 at 06:32, Julius Werner wrote: > This patch adds support for LZ4-compressed FIT image contents. This > algorithm has a slightly worse compression ration than LZO while being > nearly twice as fast to decompress. When loading images from a fast >

[U-Boot] Please pull u-boot-rockchip.git

2015-10-03 Thread Simon Glass
Hi Tom, A few final bug fixes. The following changes since commit 996ec1dcc58a34b53891acde0ec5df9141b5fcc2: Merge branch 'master' of git://git.denx.de/u-boot-fdt (2015-10-03 10:48:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git for you to fetch

Re: [U-Boot] [PATCH] sandbox: Correct operaion of 'reset' command

2015-10-03 Thread Stephen Warren
On 10/03/2015 11:21 AM, Simon Glass wrote: > Currently 'reset' only works with the test device tree. When run without a > device tree, or with the normal device tree, the following error is > displayed: > >Reset not supported on this platform > > Fix the driver and the standard device tree

Re: [U-Boot] [PATCH V3 1/4] drivers: Introduce a simplified remoteproc framework

2015-10-03 Thread Simon Glass
On 1 October 2015 at 23:49, Simon Glass wrote: > Acked-by: Simon Glass Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V3 2/4] remoteproc: Introduce a sandbox dummy driver

2015-10-03 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V3 3/4] sandbox: Introduce dummy remoteproc nodes

2015-10-03 Thread Simon Glass
Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/5] sbc8641d: enable and test CONFIG_SYS_GENERIC_BOARD

2015-10-03 Thread Masahiro Yamada
Hi. 2015-09-02 23:05 GMT+09:00 Simon Glass : > Hi Paul, > > On 2 September 2015 at 07:37, Paul Gortmaker > wrote: >> On 2015-09-01 10:08 PM, York Sun wrote: >>> >>> >>> On 08/24/2015 12:26 PM, Paul Gortmaker wrote: Tested on commit

Re: [U-Boot] How do I tell buildman to use a /specific/ toolchain?

2015-10-03 Thread Stephen Warren
On 10/03/2015 08:30 AM, Simon Glass wrote: > Hi Stephen, > > On 2 October 2015 at 00:27, Stephen Warren wrote: >> On 10/01/2015 04:59 PM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On Wednesday, 23 September 2015, Stephen Warren >>> wrote:

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-03 Thread Hans de Goede
Hi, On 03-10-15 16:32, Chen-Yu Tsai wrote: On Sat, Oct 3, 2015 at 10:26 PM, Hans de Goede wrote: Stop prefixing the axp functions for setting voltages, etc. with the model number, there ever is only one pmic driver built into u-boot, this allows simplifying the callers.

Re: [U-Boot] [PATCH] Don't wrap to negative after 2G sectors

2015-10-03 Thread Fabio Estevam
On Sat, Oct 3, 2015 at 5:58 PM, Stefan Monnier wrote: > I haven't received any answer from anyone about my patch. > What am I doing wrong? I would suggest you to resend it and put Tom Rini on Cc. Also, a commit log is always useful. Regards, Fabio Estevam

  1   2   >