Re: [U-Boot] [PATCH v2 0/3] Fixes for topic-miami and topic-miamiplus board

2017-01-18 Thread Michal Simek
On 17.1.2017 15:28, Mike Looijmans wrote: > Three patches to fix these issues: > - Network support in u-boot is only useful on the topic-miamiplus board > - DFU boot does not work, missing DFU_RAM config > - QSPI boot did not work because of wrong kernel_size environment > > v2: Rebased on current

Re: [U-Boot] [PATCH v3 62/62] x86: link: Add a config for 64-bit U-Boot

2017-01-18 Thread Bin Meng
Hi Simon, On Mon, Jan 16, 2017 at 10:04 PM, Simon Glass wrote: > Add a new link config which uses 64-bit U-Boot. This is not fully I guess you want to say: a new "board" config instead of "link" config? > functional but is it a start. Missing features: > > - SDRAM sizing > - Booting linux > - E

[U-Boot] [PATCH 08/12] mmc: sdhci: zynqmp: Add support of SD3.0

2017-01-18 Thread Siva Durga Prasad Paladugu
Add SD3.0 support for ZynqMP, this support needs a platform specific tuning and tap delays for UHS modes of SD3.0 and this patch takes care of it. Signed-off-by: Siva Durga Prasad Paladugu --- board/xilinx/zynqmp/Makefile | 1 + board/xilinx/zynqmp/tap_delays.c | 249 ++

[U-Boot] [PATCH 01/12] mmc: sdhci: Update host capabilities about host controller

2017-01-18 Thread Siva Durga Prasad Paladugu
Update host capabilities for driver with host controller information related to UHS modes incase of SD and HS200 mode incase of eMMC. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 28 +++- include/mmc.h | 7 +++ include/sdhci.h | 5 ++

[U-Boot] [PATCH 05/12] mmc: sdhci: Make sdhci_ops of host as modifiable

2017-01-18 Thread Siva Durga Prasad Paladugu
Make sdhci_ops of host modifiable as ops may contain platform specific funtion pointers which may need to be defined for some platforms(example: platform specific tuning and delays) Signed-off-by: Siva Durga Prasad Paladugu --- include/sdhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[U-Boot] [PATCH 09/12] mmc: sdhci: Add quirk for 1.8v switching not supported

2017-01-18 Thread Siva Durga Prasad Paladugu
Add quirk if voltage switching to 1.8v is broken, in this case no UHS modes were supported Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 3 ++- include/sdhci.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c

[U-Boot] [PATCH 10/12] mmc: zynq_sdhci: Update quirk if 1.8v switching not supported

2017-01-18 Thread Siva Durga Prasad Paladugu
Update quirk if 1.8 voltage switching is not supported on boards by reading the property "no-1-8-v" from device tree. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/zynq_sdhci.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdh

[U-Boot] [PATCH 02/12] mmc: sdhci: Add support for SD3.0

2017-01-18 Thread Siva Durga Prasad Paladugu
Add support for all UHS modes of SD3.0. The SD3.0 needs voltage switching to 1.8V based on host and cards capabilities and also needs to switch to one of the uhs modes based on cards capability. This supports frequencies till 200MHz. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/mmc-

[U-Boot] [PATCH 03/12] mmc: sdhci: Add support for platform/board specific tuning

2017-01-18 Thread Siva Durga Prasad Paladugu
Add support to execute platform/board specific tuning needed for SDR104 and SDR50 UHS modes.This patch adds hook routine to support specific tuning requirements. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/sdhci.c | 8 include/sdhci.h | 1 + 2 files changed, 9 insertio

[U-Boot] [PATCH 06/12] zynqmp: Define routines for mmio write and read

2017-01-18 Thread Siva Durga Prasad Paladugu
Define routines of mmio write and read functionalities for zynqmp platform. Signed-off-by: Siva Durga Prasad Paladugu --- arch/arm/cpu/armv8/zynqmp/cpu.c | 51 arch/arm/include/asm/arch-zynqmp/sys_proto.h | 3 ++ 2 files changed, 54 insertions(+) diff

[U-Boot] [PATCH 00/12] Add support for SD3.0 and eMMC HS200

2017-01-18 Thread Siva Durga Prasad Paladugu
This patch series adds support SD3.0 and eMMC HS200 modes for ZynqMP. This series also contains changes in mmc and sdhci framework to support SD3.0 and HS200. Siva Durga Prasad Paladugu (12): mmc: sdhci: Update host capabilities about host controller mmc: sdhci: Add support for SD3.0 mmc: s

[U-Boot] [PATCH 07/12] mmc: sdhci: zynq: Define private structure arasan_sdhci_priv

2017-01-18 Thread Siva Durga Prasad Paladugu
Deine private structure arasan_sdhci_priv instead of sdhci_host as private. This allows us in adding more private data as required for usage in driver. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc/zynq_sdhci.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(

Re: [U-Boot] [RFC PATCH 2/3] arm64: rk3399: add ddr controller driver

2017-01-18 Thread Kever Yang
Hi Simon, Thanks for your review, I would like to take all the comments but one below, because I think the change only get a lot of work to do but have no any help on understand the source code, because each of shift/mask operation has comment for it. I have spend a lot of time on ma

Re: [U-Boot] [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware CONFIG_* to Kconfig

2017-01-18 Thread Z.Q. Hou
Hi York, Thanks for your comments! > -Original Message- > From: york sun > Sent: 2017年1月18日 10:57 > To: Z.Q. Hou ; u-boot@lists.denx.de; Prabhakar > Kushwaha > Subject: Re: [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware > CONFIG_* to Kconfig > > Reduced CC list. > > On 01/17/201

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-18 Thread Emmanuel Vadot
On Tue, 17 Jan 2017 21:58:31 +0100 Alexander Graf wrote: > > > On 17/01/2017 21:45, Emmanuel Vadot wrote: > > On Tue, 17 Jan 2017 21:13:51 +0100 > > Alexander Graf wrote: > > > >> > >> > >> On 17/01/2017 16:50, Emmanuel Vadot wrote: > >>> From: Warner Losh > >>> > >>> FreeBSD loader(8) just l

[U-Boot] [PATCH 02/14] x86: Wrap print_ch() with config option

2017-01-18 Thread Bin Meng
print_ch() should not be used if DEBUG_UART is off. Signed-off-by: Bin Meng --- arch/x86/cpu/x86_64/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c index 77cbb56..82ea456 100644 --- a/arch/x86/cpu/x86_64/cpu.c +++ b/arch/x86/cpu/

[U-Boot] [PATCH 00/14] x86: qemu: Add 64-bit U-Boot support

2017-01-18 Thread Bin Meng
This brings U-Boot x86 64-bit support on QEMU target. This series is available at u-boot-x86/qemu64-working for testing. Bin Meng (14): x86: qemu: Add missing DECLARE_GLOBAL_DATA_PTR in e820.c x86: Wrap print_ch() with config option x86: spl: Add weak arch_cpu_init_dm() x86: Compile irq.

[U-Boot] [PATCH 01/14] x86: qemu: Add missing DECLARE_GLOBAL_DATA_PTR in e820.c

2017-01-18 Thread Bin Meng
DECLARE_GLOBAL_DATA_PTR is missing which causes 64-bit build error. Signed-off-by: Bin Meng --- arch/x86/cpu/qemu/e820.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c index 63853e4..c1c9b89 100644 --- a/arch/x86/cpu/qemu/e820.c +++ b/a

[U-Boot] [PATCH 03/14] x86: spl: Add weak arch_cpu_init_dm()

2017-01-18 Thread Bin Meng
arch_cpu_init_dm() might not be implemented by every platform. Implement a weak version for SPL. Signed-off-by: Bin Meng --- arch/x86/lib/spl.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index 7403d15..8c5b90f 100644 --- a/arch/x86/lib/spl.c

[U-Boot] [PATCH 05/14] x86: qemu: Hide arch_cpu_init() and print_cpuinfo() for U-Boot proper

2017-01-18 Thread Bin Meng
arch_cpu_init() and print_cpuinfo() should be only available in SPL build. Signed-off-by: Bin Meng --- arch/x86/cpu/qemu/qemu.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/cpu/qemu/qemu.c b/arch/x86/cpu/qemu/qemu.c index c3092f2..85e2481 100644 --- a/arch/x8

[U-Boot] [PATCH 09/14] tools: binman: Call correct init for Entry_u_boot_spl_with_ucode_ptr

2017-01-18 Thread Bin Meng
u_boot_spl_with_ucode_ptr is derived from u_boot_with_ucode_ptr, hence it should call its parent's init. Signed-off-by: Bin Meng --- tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/etype/u_boot_spl_with_ucode_ptr.p

[U-Boot] [PATCH 11/14] spl: Add a LF to the loading message

2017-01-18 Thread Bin Meng
SPL prints "Trying to boot from %s" without a LF. Add one to improve reading on the serial console. Signed-off-by: Bin Meng --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 8fb8da4..1210da3 100644 --- a/common/spl

[U-Boot] [PATCH 08/14] x86: qemu: Mark ucode as optional for SPL in u-boot.dtsi

2017-01-18 Thread Bin Meng
QEMU does not need ucode and this is indicated in u-boot.dtsi for U-Boot proper. Now add the same for SPL. Signed-off-by: Bin Meng --- arch/x86/dts/emulation-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/dts/emulation-u-boot.dtsi b/arch/x86/dts/emulation-u-boot

[U-Boot] [PATCH 13/14] x86: qemu: Add build options for SPL

2017-01-18 Thread Bin Meng
If SPL is used we want to use the generic SPL framework and boot from SPI via a board-specific means. Add these options to the board config file. Signed-off-by: Bin Meng --- include/configs/qemu-x86.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/qemu-x86.h b/incl

[U-Boot] [PATCH 14/14] x86: qemu: Add a config for 64-bit U-Boot

2017-01-18 Thread Bin Meng
Add a new board config which uses 64-bit U-Boot. Supported features are the same as the other 64-bit board (Google Chromebook Link). It is a start for us to test 64-bit U-Boot easily without the need to access a real hardware. Note CONFIG_SPL_ENV_SUPPORT is required for QEMU 64-bit as without this

[U-Boot] [PATCH 10/14] tools: binman: Handle optional microcode case in SPL image

2017-01-18 Thread Bin Meng
On platforms which do not require microcode in SPL, handle such case like U-Boot proper. Signed-off-by: Bin Meng --- tools/binman/etype/u_boot_ucode.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/binman/etype/u_boot_ucode.py b/tools/binman/etype/u_boot_ucode.py index 8fe27a

[U-Boot] [PATCH 12/14] x86: qemu: Add a text base for 64-bit U-Boot

2017-01-18 Thread Bin Meng
Set up the 64-bit U-Boot text base if building for that target. Signed-off-by: Bin Meng --- board/emulation/qemu-x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/emulation/qemu-x86/Kconfig b/board/emulation/qemu-x86/Kconfig index c9181fc..a773e8f 100644

[U-Boot] [PATCH 1/6] arm64: rk3399: add ddr controller driver

2017-01-18 Thread Kever Yang
RK3399 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from coreboot, support 4GB lpddr3 in this version. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi| 1536 + arch/arm/include/asm/arch-rockchip/sdram_rk3399.h | 120 ++ arch/arm/m

[U-Boot] [PATCH 3/6] clk: rk3399: update driver for spl

2017-01-18 Thread Kever Yang
Add ddr clock setting, add rockchip_get_pmucru API, and enable of-platdata support. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/clock.h | 7 ++ arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 5 ++ arch/arm/mach-rockchip/rk3399/clk_rk3399.c | 21 ++ driver

[U-Boot] [PATCH 5/6] pinctrl: rk3399: add the of-platdata support

2017-01-18 Thread Kever Yang
Do not use the API which of-platdata not support. Signed-off-by: Kever Yang --- drivers/pinctrl/rockchip/pinctrl_rk3399.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/rockchip/pinctrl_rk3399.c b/drivers/pinctrl/rockchip/pinctrl_rk3399.c index 2f8aa64.

[U-Boot] [PATCH 4/6] sdhci: rk3399: update driver to support of-platdata

2017-01-18 Thread Kever Yang
Change some API in order to enable of-platdata. Signed-off-by: Kever Yang --- drivers/mmc/rockchip_sdhci.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c index e33e35e..1ea5db4 100644 --- a/driver

Re: [U-Boot] [RFC PATCH 3/3] spl: add support to booting with ATF

2017-01-18 Thread Kever Yang
Hi Who is suppose to maintain source in "common/spl"? I hope to get more comments before my first version patch without 'RFC' and with suggestion from Michal. Thanks, - Kever On 12/29/2016 06:25 PM, Kever Yang wrote: ATF(ARM Trust Firmware) is used by ARM arch64 SoCs, find more infomation a

[U-Boot] [PATCH] simple-bus: enable suport for of-platdata

2017-01-18 Thread Kever Yang
Just do nothing in post_bind if of-platdata enabled, for there is no dm_scan_fdt_dev(). Signed-off-by: Kever Yang --- drivers/core/simple-bus.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 5c955da..9b79825 100644 --- a/drive

[U-Boot] [PATCH 00/22] dm: Add support for a 'live' device tree

2017-01-18 Thread Simon Glass
So far U-Boot uses a 'flat' device tree, which means that it is decoded on the fly as needed. This uses the libfdt library and avoids needing extra memory for additional tables. For some time there has been discussion about moving U-Boot to use a 'live' tree, where the device tree is decoded at st

Re: [U-Boot] U-Boot IPv6 state

2017-01-18 Thread Teddy Reed
On 01/17/2017 09:49 PM, Luka Kovačič wrote: That's great. I could help you to test it. Link-local and maybe auto-configuration on the home router. V tor., 17. jan. 2017 23:19 je oseba Chris Packham mailto:judge.pack...@gmail.com>> napisala: On 18/01/2017 5:56 AM, "Luka Kovačič" mailto:l

Re: [U-Boot] [PATCH v2 01/18] pci: mvebu: Fix Armada 38x support

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: From: Dirk Eibach Armada 38x has four PCI ports, not three. The optimization in pci_init_board() seems to assume that every port has three lanes. This is obviously wrong, and breaks support for Armada 38x. Signed-off-by: Dirk Eibach Signed-off-by: Mario

Re: [U-Boot] [PATCH v2 04/18] arm: mvebu: spl.c: Remove useless gd declaration

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: From: Reinhard Pfau ddaa905 ("arm: mvebu: Add DM (driver model) support") removed the assignment of the gd pointer, but kept the (now superfluous) declaration of the gd pointer. Remove this declaration. Signed-off-by: Reinhard Pfau --- Changes in v2: No

Re: [U-Boot] [PATCH v2 05/18] dm: Add callback to modify the device tree

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: Certain boards come in different variations by way of utilizing daughter boards, for example. These boards might contain additional chips, which are added to the main board's busses, e.g. I2C. The device tree support for such boards would either, quite natur

Re: [U-Boot] [PATCH v2 06/18] lib: tpm: Add command to flush resources

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: This patch adds a function to the TPM library, which allows U-Boot to flush resources, e.g. keys, from the TPM. Signed-off-by: Mario Six --- Changes in v2: * Added U-Boot command for resource flushing ("tpm flush"), and made the command and the library f

Re: [U-Boot] [PATCH v2 07/18] core: device: Add dev_get_by_ofname function

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: On boards that use DM, it is sometimes convenient and quicker to get a device via its device tree path, since the devices used in the board initialization routines are usually known beforehand. This patch adds such a convenience function. Signed-off-by: Mar

Re: [U-Boot] [PATCH v2 08/18] gpio: Add gpio_request_simple function

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: For board initialization, usage of GPIOs is sometimes needed, e.g. to initialize certain devices such as FPGAs. But since there currently is no device associated to the board itself, initialization routines have to cumbersomely get GPIOs via gpio_request_by_n

Re: [U-Boot] [PATCH v2 14/18] tools: kwbimage: Factor out add_binary_header_v1

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: In preparation of adding the creation of secure headers, we factor the add_binary_header_v1 function out of the image_create_v1 function. Signed-off-by: Mario Six --- Changes in v2: None Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH v2 12/18] tools: kwbimage: Reduce scope of variables

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: This patch reduces the scope of some variables. Signed-off-by: Mario Six --- Changes in v2: None Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mail

Re: [U-Boot] [PATCH v2 13/18] tools: kwbimage: Remove unused parameter

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: The parameter 'params' of the image_headersz_v1 function is never used by the function. Hence, remove it. Signed-off-by: Mario Six --- Changes in v2: None Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot

Re: [U-Boot] [PATCH v2 15/18] tools: kwbimage: Refactor line parsing and fix error

2017-01-18 Thread Stefan Roese
On 11.01.2017 16:00, Mario Six wrote: The function image_create_config_parse_oneline is pretty complex, and since more parameters will be added to support secure booting, we refactor the function to make it more readable. Also, when a line contained just a keyword without any parameters, strtok_

[U-Boot] Start watchdog from uboot

2017-01-18 Thread Haris Papadopoulos
Hi, I am using nxp im6ul and I am facing an issue with the watchdog described here: https://community.nxp.com/message/868361 If I enable the watchdog using the WCR_WDE flag, then the watchdog cannot be stopped later by kicking it with writing anything to /dev/watchdog from rootfs. Therefore, I

Re: [U-Boot] [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware CONFIG_* to Kconfig

2017-01-18 Thread york sun
On 01/17/2017 10:57 PM, Z.Q. Hou wrote: > Hi York, > > Thanks for your comments! > >> -Original Message- >> From: york sun >> Sent: 2017年1月18日 10:57 >> To: Z.Q. Hou ; u-boot@lists.denx.de; Prabhakar >> Kushwaha >> Subject: Re: [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware >> CONFIG

Re: [U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL

2017-01-18 Thread Tim Harvey
On Wed, Jan 18, 2017 at 9:05 AM, Eric Nelson wrote: > Hi Tim, > > On 01/17/2017 06:27 PM, Tim Harvey wrote: >> On Tue, Nov 1, 2016 at 7:06 PM, Eric Nelson wrote: >>> I forgot to mention in the cover letter for the previous patch set >>> that because the mx6memcal board has no implementation of st

Re: [U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL

2017-01-18 Thread Fabio Estevam
Hi Tim, On Wed, Jan 18, 2017 at 4:49 PM, Tim Harvey wrote: > Did you document the 'IMX6 SPL to U-Boot over serial' setup anywhere, > or can you talk me through what you did? It is available at doc/README.imx6 (2. Using imx_usb_loader for first install with SPL).

Re: [U-Boot] [PATCH v3 1/9] ARM: DTS: stm32: add stm32f746 device tree pin control files

2017-01-18 Thread Vikas MANOCHA
Hi Michael, > -Original Message- > From: Michael Kurz [mailto:michi.k...@gmail.com] > Sent: Wednesday, January 18, 2017 11:43 AM > To: Vikas MANOCHA > Cc: Michael Kurz ; u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [PATCH v3 1/9] ARM: DTS: stm32: add stm32f746 device tree pin

Re: [U-Boot] [PATCH v2] serial, ns16550: bugfix: ns16550 fifo not enabled

2017-01-18 Thread Adam Ford
On Wed, Jan 18, 2017 at 1:05 AM, Heiko Schocher wrote: > commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor" > breaks u-boot commandline working with long commands > sending to the board. > > Since the above patch, you have to setup the fcr register. > > For board/archs which enable OF_PLAT

Re: [U-Boot] [PATCH v3 1/9] ARM: DTS: stm32: add stm32f746 device tree pin control files

2017-01-18 Thread Vikas MANOCHA
Hi Michael, > -Original Message- > From: Vikas MANOCHA > Sent: Tuesday, January 10, 2017 1:25 PM > To: 'Michael Kurz' > Cc: u-boot@lists.denx.de; Albert Aribaud > Subject: RE: [PATCH v3 1/9] ARM: DTS: stm32: add stm32f746 device tree pin > control files > > Hi Michael, > > > -Orig

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

2017-01-18 Thread Vagrant Cascadian
On 2017-01-15, Andreas Färber wrote: > Use the generic "distro" boot framework to enable automatic DHCP boot. Thanks for this! > diff --git a/include/configs/meson-gxbb-common.h > b/include/configs/meson-gxbb-common.h > index 3bba2e6..75f6dc5 100644 > --- a/include/configs/meson-gxbb-common.h >

[U-Boot] [PATCH][RFT] sunxi: power: axp809.c: Fix aldo1-2 being disabled for mvolt != 0

2017-01-18 Thread Rask Ingemann Lambertsen
The execution flow is currently like this for aldo_num == 1 or 2: int axp_set_aldo(int aldo_num, unsigned int mvolt) { ... if (mvolt == 0) return pmic_bus_clrbits(AXP809_OUTPUT_CTRL1, AXP809_OUTPUT_CTRL1_ALDO1_EN << (aldo_num - 1)); ...

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-18 Thread Simon Glass
Hi Michal, On 4 January 2017 at 02:40, Michal Simek wrote: > > Hi, > > On 3.1.2017 17:15, Moritz Fischer wrote: > > Hi Michal, > > > > On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek > > wrote: > >> On 2.1.2017 20:20, Moritz Fischer wrote: > >>> Hi Michal, > >>> > >>> On Mon, Jan 2, 2017 at 6:24 A

Re: [U-Boot] U-Boot IPv6 state

2017-01-18 Thread Joe Hershberger
Hi Chris, On Tue, Jan 17, 2017 at 4:19 PM, Chris Packham wrote: > On 18/01/2017 5:56 AM, "Luka Kovačič" wrote: > > Hi, > My name is Luka Kovačič and I am just getting interest to U-Boot. I was > really confused, because IPv6 is all over U-Boot on the mailing lists, but > it actually isn't availa

Re: [U-Boot] [PATCH v2 01/10] net: zynq: Don't overwrite gem_rclk_ctrl with default value

2017-01-18 Thread Joe Hershberger
On Tue, Jan 17, 2017 at 9:27 AM, wrote: > From: Stefan Herbrechtsmeier > > The gem[0-1]_rclk_ctrl registers control the source of the rx clock, > control and data signals and configure via ps7_init function. Don't > overwrite the register with the default value. > > Signed-off-by: Stefan Herbrech

Re: [U-Boot] [PATCH v2 02/10] net: zynq: Add clk framework support to zynq ethernet driver

2017-01-18 Thread Joe Hershberger
On Tue, Jan 17, 2017 at 9:27 AM, wrote: > From: Stefan Herbrechtsmeier > > If available use the clock framework to set the tx clock rate of the > zynq ethernet controller. > > Signed-off-by: Stefan Herbrechtsmeier Reviewed-by: Joe Hershberger ___ U-B

Re: [U-Boot] [PATCH v2 02/18] net: phy: Support Marvell 88E1680

2017-01-18 Thread Joe Hershberger
On Wed, Jan 18, 2017 at 9:57 AM, Stefan Roese wrote: > On 11.01.2017 16:00, Mario Six wrote: >> >> From: Dirk Eibach >> >> Add support for Marvell 88E1680 Integrated Octal >> 10/100/1000 Mbps Energy Efficient Ethernet Transceiver. >> >> Signed-off-by: Dirk Eibach >> Signed-off-by: Mario Six >>

Re: [U-Boot] [PATCH v2 02/18] net: phy: Support Marvell 88E1680

2017-01-18 Thread Joe Hershberger
On Wed, Jan 11, 2017 at 9:00 AM, Mario Six wrote: > From: Dirk Eibach > > Add support for Marvell 88E1680 Integrated Octal > 10/100/1000 Mbps Energy Efficient Ethernet Transceiver. > > Signed-off-by: Dirk Eibach > Signed-off-by: Mario Six Acked-by: Joe Hershberger

Re: [U-Boot] please pull u-boot-samsung master

2017-01-18 Thread Tom Rini
On Wed, Jan 18, 2017 at 05:07:22PM +0900, Jaehoon Chung wrote: > From: Minkyu Kang > > Dear Tom, > > The following changes since commit 87f5f5417fc897df0b05826b408f0f4b7d2ee388: > > Prepare v2017.01-rc3 (2017-01-02 20:00:55 -0500) > > are available in the git repository at: > > git://git

Re: [U-Boot] Please pull from u-boot-i2c

2017-01-18 Thread Tom Rini
On Wed, Jan 18, 2017 at 09:29:31AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > checked this branch on travis, no new errors found. > > I got one error for pxa: > "The command "git clone --depth=1 > git://github.com/swarren/uboot-test-hooks.git /tmp/u

[U-Boot] How to test watchdog timer values and ensuring it is working as intended

2017-01-18 Thread brendan
Hello, I am using an Freescale/nxp mx6solo and I want to test that the watchdog timer is working as intended. I have enabled it on my board and have confirmed it during boot > U-Boot SPL 2015.04-g0f11429-dirty (Jan 18 2017 - 05:42:24) > > Part number: VSM-SOLO-102 > Assembly: AS151004858 > Date

Re: [U-Boot] [RESEND] video: bcm2835: add support for reading from the video-mode environment variable

2017-01-18 Thread Brian Masney
On Fri, Jan 13, 2017 at 10:21:15AM -0700, Stephen Warren wrote: > On 01/13/2017 04:48 AM, Brian Masney wrote: > > On Thu, Jan 12, 2017 at 11:47:48AM -0700, Stephen Warren wrote: > > > On 01/12/2017 11:32 AM, Brian Masney wrote: > > > > On Thu, Jan 12, 2017 at 11:02:14AM -0700, Stephen Warren wrote:

Re: [U-Boot] [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware CONFIG_* to Kconfig

2017-01-18 Thread Z.Q. Hou
> -Original Message- > From: york sun > Sent: 2017年1月19日 1:43 > To: Z.Q. Hou ; u-boot@lists.denx.de; Prabhakar > Kushwaha > Subject: Re: [PATCHv2 1/4] kconfig: armv8: move armv8 sec_firmware > CONFIG_* to Kconfig > > On 01/17/2017 10:57 PM, Z.Q. Hou wrote: > > Hi York, > > > > Thanks fo

Re: [U-Boot] [PATCH] spl: don't use %#l with CONFIG_USE_TINY_PRINTF

2017-01-18 Thread Tom Rini
On Tue, Jan 17, 2017 at 04:30:23PM +0900, Masahiro Yamada wrote: > 2016-12-28 17:12 GMT+09:00 Oded Gabbay : > > In the tiny-printf implementation, there is no support for %# and/or %l. > > This > > patch checks if CONFIG_USE_TINY_PRINTF is defined and if so, prints a > > different debug statement

Re: [U-Boot] [PATCH] spl: don't use %.*s with CONFIG_USE_TINY_PRINTF

2017-01-18 Thread Tom Rini
On Tue, Jan 17, 2017 at 10:06:26AM +0200, Oded Gabbay wrote: > On Tue, Jan 17, 2017 at 9:30 AM, Masahiro Yamada > wrote: > > 2016-12-28 16:36 GMT+09:00 Oded Gabbay : > >> In the tiny-printf implementation, there is no support for %.*s. This patch > >> checks if CONFIG_USE_TINY_PRINTF is defined an

Re: [U-Boot] [PATCH v2] serial, ns16550: bugfix: ns16550 fifo not enabled

2017-01-18 Thread Tom Rini
On Wed, Jan 18, 2017 at 08:05:49AM +0100, Heiko Schocher wrote: > commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor" > breaks u-boot commandline working with long commands > sending to the board. > > Since the above patch, you have to setup the fcr register. > > For board/archs which ena

Re: [U-Boot] [GIT PULL] Xilinx changes

2017-01-18 Thread Tom Rini
On Thu, Jan 12, 2017 at 08:17:14AM +0100, Michal Simek wrote: > On 12.1.2017 08:13, Masahiro Yamada wrote: > > 2017-01-12 15:42 GMT+09:00 Michal Simek : > >> On 11.1.2017 17:28, Tom Rini wrote: > >>> On Wed, Jan 11, 2017 at 09:59:29AM +0100, Michal Simek wrote: > >>> > Hi Tom, > > he

Re: [U-Boot] [PATCH 00/12] Add support for SD3.0 and eMMC HS200

2017-01-18 Thread Jaehoon Chung
Hi, On 01/18/2017 06:04 PM, Siva Durga Prasad Paladugu wrote: > This patch series adds support SD3.0 and eMMC HS200 > modes for ZynqMP. This series also contains changes > in mmc and sdhci framework to support SD3.0 and HS200. Split the patches as mmc side and sdhci side..after that, i will revie

Re: [U-Boot] [PATCH 00/12] Add support for SD3.0 and eMMC HS200

2017-01-18 Thread Siva Durga Prasad Paladugu
Hi Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Thursday, January 19, 2017 10:30 AM > To: Siva Durga Prasad Paladugu ; u-boot@lists.denx.de > Cc: aflem...@gmail.com; Michal Simek ; Siva Durga > Prasad Paladugu > Subject: Re: [U-Boot] [PATCH 0

[U-Boot] [PATCH 3/3] armv8: fsl-layerscape: Add vid support for LS2080AQDS

2017-01-18 Thread Priyanka Jain
Signed-off-by: Priyanka Jain Signed-off-by: Arpit Goel --- board/freescale/ls2080aqds/ls2080aqds.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index 73a61fd..dbe4cf7 100644 ---

[U-Boot] [PATCH 0/3] armv8: fsl-layerscape: Update vid support

2017-01-18 Thread Priyanka Jain
Priyanka Jain (3): armv8: fsl-layerscape: Updates DCFG register map. armv8: fsl-lsch3: Update VID support armv8: fsl-layerscape: Add vid support for LS2080AQDS. .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 69 ++--- board/freescale/common/vid.c | 174 +++

[U-Boot] [PATCH 2/3] armv8: fsl-lsch3: Update VID support

2017-01-18 Thread Priyanka Jain
VID support in NXP layerscape Chassis-3 (lsch3) compilant SoCs like LS2088A, LS2080A differs from existing logic. -VDD voltage array is different -Registers are different -VDD calculation logic is different Add new function adjust_vdd() for LSCH3 compliant SoCs Signed-off-by: Priyanka Jain Signe

[U-Boot] [PATCH 1/2] power: pmic: add the max8997 controller for DM

2017-01-18 Thread Jaehoon Chung
Add the max8997 controller for Driver model. Exynos4210 is using max8997 pmic controller. (pmic_max8997.c should be deprecated.) Signed-off-by: Jaehoon Chung --- drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/max8997.c | 61 ++

[U-Boot] [PATCH 2/2] arm: dts: trats: add the pmic node for using DM

2017-01-18 Thread Jaehoon Chung
To use driver-model adds the pmic node for max8997. This is used as kernel device-tree in Linux. Signed-off-by: Jaehoon Chung --- arch/arm/dts/exynos4210-trats.dts | 150 -- 1 file changed, 142 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/exynos421

Re: [U-Boot] [PATCH 00/12] Add support for SD3.0 and eMMC HS200

2017-01-18 Thread Jaehoon Chung
Hi Siva, On 01/19/2017 02:47 PM, Siva Durga Prasad Paladugu wrote: > Hi Jaehoon, > >> -Original Message- >> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] >> Sent: Thursday, January 19, 2017 10:30 AM >> To: Siva Durga Prasad Paladugu ; u-boot@lists.denx.de >> Cc: aflem...@gmail.com;

[U-Boot] [PATCH 7/9] arm64: mvebu: Armada 7k/8k: Add SDHCI device tree nodes

2017-01-18 Thread Stefan Roese
This patch adds the SDHCI device tree nodes to the Armada AP806 dtsi file which is used by the Armada 7k/8K SoCs. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- arch/arm/dts/arm

[U-Boot] [PATCH 6/9] arm64: mvebu: Enable SDHCI/MMC support for the db-88f3720

2017-01-18 Thread Stefan Roese
This patch enables the MMC support for the SDHCI controller on the Armada 3700 db-88f3720 board. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- configs/mvebu_db-88f3720_defconfi

[U-Boot] [PATCH 8/9] arm64: mvebu: Armada 7040-db: Add SDHCI device tree nodes

2017-01-18 Thread Stefan Roese
This patch adds the SDHCI device tree nodes to the Armada 7040-db dts file. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- arch/arm/dts/armada-7040-db.dts | 14 ++ 1

[U-Boot] [PATCH 3/9] mmc: Add Marvell Xenon SDHCI controller driver

2017-01-18 Thread Stefan Roese
This driver implementes platform specific code for the Xenon SDHCI controller which is integrated in the Marvell MVEBU Armada 37xx and Armada 7k / 8K SoCs. History: This driver is ported from the Marvell U-Boot version 2015.01 which is written by Victor Gu with minor changes ported from the Linux

[U-Boot] [PATCH 4/9] arm64: mvebu: Armada 3700: Add SDHCI device tree nodes

2017-01-18 Thread Stefan Roese
This patch adds the SDHCI device tree nodes to the Armada 3700 dtsi file. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- arch/arm/dts/armada-37xx.dtsi | 16 1 f

[U-Boot] [PATCH 5/9] arm64: mvebu: Armada 3720-db: Add SDHCI device tree nodes

2017-01-18 Thread Stefan Roese
This patch adds the SDHCI device tree nodes to the Armada 3700-db dts file. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- arch/arm/dts/armada-3720-db.dts | 21 +

[U-Boot] [PATCH 2/9] mmc: sdhci: Add support for optional controller specific set_ios_post()

2017-01-18 Thread Stefan Roese
Some SDHCI drivers might need to do some special controller configuration after the common clock set_ios() function has been called (speed / width configuration). This patch adds a call to the newly created function set_ios_port() when its configured in the host driver. This will be used by the Xe

[U-Boot] [PATCH 9/9] arm64: mvebu: Enable SDHCI/MMC support for the db-88f7040/8040

2017-01-18 Thread Stefan Roese
This patch enables the MMC support for the SDHCI controller on the Armada 7k db-88f7040 and the Armada 8k db-88f8040 board. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- config

[U-Boot] [PATCH 1/9] mmc: sdhci: Clear SDHCI_CLOCK_CONTROL before configuring the new value

2017-01-18 Thread Stefan Roese
This patch completely clears the SDHCI_CLOCK_CONTROL register before the new value is configured instead of just clearing the 2 bits SDHCI_CLOCK_CARD_EN and SDHCI_CLOCK_INT_EN. Without this change, some clock configurations will lead to the "Internal clock never stabilised." error message on the Xe