[U-Boot] [PATCH v4 6/9] rockchip: Enable networking support on rock2 and firefly

2016-12-02 Thread Simon Glass
From: Sjoerd Simons Enable the various configuration option required to get the ethernet interface up and running on Radxa Rock2 and Firefly. Signed-off-by: Sjoerd Simons Reviewed-by: Simon Glass Acked-by: Joe

[U-Boot] [PATCH v4 5/9] net: gmac_rk3288: Add RK3288 GMAC driver

2016-12-02 Thread Simon Glass
From: Sjoerd Simons 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. Signed-off-by: Sjoerd Simons

[U-Boot] [PATCH v4 4/9] net: designware: Export the operation functions

2016-12-02 Thread Simon Glass
Export all functions so that drivers can use them, or not, as the need arises. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: - Add new patch to export the operation functions Changes in v2: None

[U-Boot] [PATCH v4 3/9] net: designware: Split the link init into a separate function

2016-12-02 Thread Simon Glass
With rockchip we need to make adjustments after the link speed is set but before enabling received/transmit. In preparation for this, split these two pieces into separate functions. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in

[U-Boot] [PATCH v4 0/9] rockchip: Add gmac Ethernet support

2016-12-02 Thread Simon Glass
>From Simon: This v3 patch is an update on Sjoerd's original v2 series from Feburary. I have dealt with the changes requested at the time, and adjusted the way that the speed change is handled. Tested on firefly-rk3288, rock2. Original cover letter: To add support I've taken a slightly different

[U-Boot] [PATCH v4 2/9] net: designware: Adjust dw_adjust_link() to return an error

2016-12-02 Thread Simon Glass
This function can fail, so return the error if there is one. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: - Add new patch to adjust dw_adjust_link() to return an error Changes in v2: None

[U-Boot] [PATCH v4 1/9] net: designware: Export various functions/struct to allow subclassing

2016-12-02 Thread Simon Glass
From: Sjoerd Simons 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 Reviewed-by: Bin Meng Acked-by:

Re: [U-Boot] [PATCH v2 3/4] config: popmetal: enable the USB host controller and function

2016-12-02 Thread Simon Glass
On 24 November 2016 at 00:29, Kever Yang wrote: > RK3288 using the dwc2 USB host controller, enable it and other usb host > funtion like storage and ether. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 2/3] rockchip: configs: make rk3036 env config same as rk3288

2016-12-02 Thread Simon Glass
On 19 November 2016 at 06:48, Simon Glass wrote: > Hi Jacob, > > On 18 November 2016 at 00:52, Jacob Chen wrote: >> To make rockchip soc keep the same partition map >> >> >> Signed-off-by: Jacob Chen >> --- >> >> Changes

Re: [U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Peter Robinson
>> >> I've been working with Soby Mathew to get U-Boot booting on ARM's >> >> AEMv8 FVP model in Aarch32 mode. >> >> >> >> Soby worked out what needed to be changed and I'm refining the changes >> >> into patches that can be built for both Aarch64 and Aarch32 mode. >> >> >> >> There are two

Re: [U-Boot] [PATCH v2 1/3] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-12-02 Thread Simon Glass
On 19 November 2016 at 06:48, Simon Glass wrote: > Hi Jacob, > > On 18 November 2016 at 00:52, Jacob Chen wrote: >> With CONFIG_ROCKCHIP_SPL_BACK_TO_BROM enabled, >> the environment is inside u-boot. >> So solve it by moving environment after

Re: [U-Boot] [PATCH v2 2/4] board: popmetal: de-assert the host rst pin in board init

2016-12-02 Thread Simon Glass
On 29 November 2016 at 17:34, Simon Glass wrote: > On 29 November 2016 at 01:49, Kever Yang wrote: >> Hi Simon, >> >> >> On 11/26/2016 03:39 AM, Simon Glass wrote: >>> >>> Hi Kever, >>> >>> On 24 November 2016 at 00:29, Kever Yang

[U-Boot] [PATCH v4 7/9] rockchip: evb-rk3339: Enable DHCP

2016-12-02 Thread Simon Glass
This is the only RK3399 device without DHCP. Enable it so that we can use a common BOOT_TARGET_DEVICES setting. It is likely useful to be able to use USB networking, at least. Full networking can be enabled when a suitable platform needs it. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH v4 9/9] rockchip: Drop Ethernet from the TODO

2016-12-02 Thread Simon Glass
From: Sjoerd Simons Now that ethernet support works, it can be dropped from the rockchip TODO Signed-off-by: Sjoerd Simons Acked-by: Simon Glass Acked-by: Joe Hershberger Signed-off-by:

[U-Boot] [PATCH v4 8/9] rockchip: Add PXE and DHCP to the default boot targets

2016-12-02 Thread Simon Glass
From: Sjoerd Simons 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 Acked-by: Simon Glass Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2] disk: convert to Kconfig

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 09:24:54AM +0100, Patrick Delaunay wrote: > This converts the following to Kconfig: >CONFIG_PARTITIONS >CONFIG_MAC_PARTITION >CONFIG_DOS_PARTITION >CONFIG_ISO_PARTITION >CONFIG_AMIGA_PARTITION >

[U-Boot] [GIT PULL] Xilinx and SCSI changes

2016-12-02 Thread Michal Simek
Hi Tom, here are some patches I have collected for Xilinx devices, one miiphy patch and SCSI changes I have made. Simon: I have sent v4 of DM_SCSI + ceva sata driver moved to DM which should go through your tree because you have applied "dm: blk: Fix get_desc to return block device descriptor"

Re: [U-Boot] [PATCH v3 09/11] spi: cadence_qspi: Move DT prop code to match layout

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Move the code to read the "sram-size" property into the other code > that reads properties from the node, rather than the SF subnode. > > Signed-off-by: Phil Edworthy Reviewed-by: Jagan

Re: [U-Boot] [PATCH v3 03/11] spi: cadence_qspi: Better debug information on the SPI clock rate

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Show what the output clock rate actually is. > > Signed-off-by: Phil Edworthy > Acked-by: Marek Vasut Reviewed-by: Jagan Teki thanks! --

Re: [U-Boot] [RFC PATCH] mmc: spear: remove the entire spear_sdhci.c file

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 05:46:10PM +0900, Jaehoon Chung wrote: > Remove the entire spear_sdhci.c file. > There is no use case. This is dead codes. > Also there is no place to call "spear_sdhci_init()" anywhere. > > If some people use this file, let me know, plz. > > Signed-off-by: Jaehoon Chung

Re: [U-Boot] [PATCH v3 02/11] spi: cadence_qspi: Fix baud rate calculation

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > With the existing code, when the requested SPI clock rate is near > to the lowest that can be achieved by the hardware (max divider > of the ref clock is 32), the generated clock rate is wrong. > For example, with

Re: [U-Boot] [PATCH v3 04/11] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-12-02 Thread Jagan Teki
On Wed, Nov 30, 2016 at 1:02 PM, Phil Edworthy wrote: > Hi Jagan, > > On 30 November 2016 04:59, Jagan Teki wrote: >> On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy >> wrote: >> > Most of the code already uses #defines for the bit value,

[U-Boot] [RFC PATCH 1/2] Add Aarch32 option for ARMv8 CPUs

2016-12-02 Thread Ryan Harkin
This patch hacks some generic code used to allow the ARMv8 platform to specify if it is booting in Aarch32 mode. Some ARMv8 CPUs can be run in Aarch32 mode as well as Aarch64. A good example of this is ARM's AEMv8 FVP model which models the ARMv8 architecture rather than a specific CPU core.

[U-Boot] [RFC PATCH 2/2] Add vexpress_aemv8a_aarch32 variant

2016-12-02 Thread Ryan Harkin
The ARM AEMv8 FVP model can be run in Aarch64 or Aarch32 mode. Aarch32 support is enable per-CPU when launching the model, eg: -C cluster0.cpu0.CONFIG64=0 This patch adds a new defconfig and some variant specific selections in vexpress_armv8a.h. This patch is co-authored with Soby Mathew

[U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Ryan Harkin
I've been working with Soby Mathew to get U-Boot booting on ARM's AEMv8 FVP model in Aarch32 mode. Soby worked out what needed to be changed and I'm refining the changes into patches that can be built for both Aarch64 and Aarch32 mode. There are two patches for discussion: [RFC PATCH 1/2] Add

Re: [U-Boot] [PATCH v2 1/7] video: Kconfig: Add VIDEO_IPV3 entry

2016-12-02 Thread Jagan Teki
Hi Stefano, On Tue, Nov 29, 2016 at 11:22 PM, Stefano Babic wrote: > Hi Jagan, > > On 28/10/2016 15:57, Jagan Teki wrote: >> From: Jagan Teki >> >> Added kconfig entry for CONFIG_VIDEO_IPV3 driver. >> >> Cc: Anatolij Gustschin >> Cc:

Re: [U-Boot] [PATCH v3 06/11] spi: cadence_qspi: Use spi mode at the point it is needed

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Instead of extracting mode settings and passing them as separate > args to another function, just pass the SPI mode as an arg. > > Signed-off-by: Phil Edworthy Reviewed-by: Jagan Teki

Re: [U-Boot] [PATCH] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 09:54:39AM +0200, Jyri Sarha wrote: > Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2, > and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With > the default values LCDC suffers from DMA FIFO underflows and frame > synchronization lost

[U-Boot] [PATCH v3 1/4] mmc: sdhci: Distinguish between base clock and maximum peripheral frequency

2016-12-02 Thread stefan.herbrechtsmeier
From: Stefan Herbrechtsmeier The sdhci controller assumes that the base clock frequency is fully supported by the peripheral and doesn't support hardware limitations. The Linux kernel distinguishes between base clock (max_clk) of the host controller and

[U-Boot] [PATCH v3 2/4] serial: zynq: Remove unused index from get uart clock function

2016-12-02 Thread stefan.herbrechtsmeier
From: Stefan Herbrechtsmeier The index of the zynq serial driver is always zero and could be removed. Signed-off-by: Stefan Herbrechtsmeier Acked-by: Michal Simek --- Changes in v3: None

[U-Boot] [PATCH v3 0/4] mmc: sdhci: Add support for frequency constrained peripheral interfaces

2016-12-02 Thread stefan.herbrechtsmeier
From: Stefan Herbrechtsmeier The sdhci controller assumes that the base clock frequency is fully supported by the peripheral and doesn't support hardware limitations. Distinguish between base clock of the host controller and maximal supported peripheral

Re: [U-Boot] [PATCH v3 05/11] spi: cadence_qspi: Clean up the #define names

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > A lot of the #defines are for single bits in a register, where the > name has _MASK on the end. Since this can be used for both a mask > and the value, remove _MASK from them. > > Whilst doing so, also remove the

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

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 02:55:00PM +0100, Michal Simek wrote: > Hi Tom, > > here are some patches I have collected for Xilinx devices, one miiphy > patch and SCSI changes I have made. > > Simon: I have sent v4 of DM_SCSI + ceva sata driver moved to DM which > should go through your tree because

Re: [U-Boot] [PATCH] net: zynq_gem: Return 0 on success, not -ENOSYS

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 01-12-16 00:38, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:41 AM, Olliver Schinagl wrote: The .read_rom_hwaddr net_ops hook does not check the return value, which is why it was never caught that we are currently returning 0 if the read_rom_hwaddr

[U-Boot] [PATCH v3 4/4] mmc: zynq: Add fdt max-frequency support

2016-12-02 Thread stefan.herbrechtsmeier
From: Stefan Herbrechtsmeier The maximum supported peripheral clock frequency of the zynq depends on the IO routing. The MIO and EMIO support a maximum frequency of 50 MHz respectively 25 MHz. Use the max-frequency value of the device tree to determine the

[U-Boot] [PATCH v3 3/4] mmc: zynq: Determine base clock frequency via clock framework

2016-12-02 Thread stefan.herbrechtsmeier
From: Stefan Herbrechtsmeier The zynq_sdhci controller driver use CONFIG_ZYNQ_SDHCI_MAX_FREQ as base clock frequency but this clock is not fixed and depends on the hardware configuration. Additionally the value of CONFIG_ZYNQ_SDHCI_MAX_FREQ doesn't match

[U-Boot] [PATCH v4 1/2] dm: Add support for scsi/sata based devices

2016-12-02 Thread Michal Simek
All sata based drivers are bind and corresponding block device is created. Based on this find_scsi_device() is able to get back block device based on scsi_curr_dev pointer. intr_scsi() is commented now but it can be replaced by calling find_scsi_device() and scsi_scan(). scsi_dev_desc[] is

[U-Boot] [PATCH v4 2/2] block: Move ceva driver to DM

2016-12-02 Thread Michal Simek
This patch also includes ARM64 zynqmp changes: - Remove platform non DM initialization - Remove hardcoded sata base address Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: - Extend Kconfig help description

Re: [U-Boot] [PATCH v3 01/11] spi: cadence_qspi: Fix clearing of pol/pha bits

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Or'ing together bit positions is clearly wrong. > > Signed-off-by: Phil Edworthy > Acked-by: Marek Vasut Reviewed-by: Jagan Teki thanks!

Re: [U-Boot] [PATCH v3 07/11] spi: cadence_qspi: Remove returns from end of void functions

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Signed-off-by: Phil Edworthy > Acked-by: Marek Vasut Reviewed-by: Jagan Teki thanks! -- Jagan Teki Free Software Engineer |

Re: [U-Boot] [PATCH v3 10/11] spi: cadence_qspi: Change readdata_capture() arg to bool

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > This is in preparation for adding another arg. ?? proper reason for changing arg to bool. thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.

Re: [U-Boot] [U-Boot, 1/9] ARM: dts: am57xx: sync DT with latest Linux

2016-12-02 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:18AM +0530, Lokesh Vutla wrote: > Sync all am57xx based dts files with latest Linux > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini This breaks building of am57xx_evm for me:

Re: [U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 09:40:28PM +, Ryan Harkin wrote: > On 2 Dec 2016 19:20, "Tom Rini" wrote: > > > > On Fri, Dec 02, 2016 at 04:25:37PM +, Ryan Harkin wrote: > > > On 2 December 2016 at 15:41, Tom Rini wrote: > > > > On Fri, Dec 02, 2016 at

Re: [U-Boot] [PATCH 16/17] arm: mvebu: Add gdsys ControlCenter-Compact board

2016-12-02 Thread Mario Six
Hi Stefan, On Thu, Dec 1, 2016 at 10:57 AM, Stefan Roese wrote: > On 23.11.2016 16:12, Mario Six wrote: >> From: Dirk Eibach >> >> The gdsys ControlCenter Digital board is based on a Marvell Armada 38x >> SOC. >> >> It boots from SPI-Flash but can be

[U-Boot] eeprom - spi collides with i2c

2016-12-02 Thread Ran Shalit
Hello, I'm trying to use eeprom with u-boot. I've added CONFIG_CMD_EEPROM, But then I see that the file uses spi epprom (bacause config use CONFIG_SPI for other devices - not eeprom). Does it mean I just need to #undef CONFIG_SPI at the start of cmd_eeprom.c file ? Thank you! Ran

Re: [U-Boot] [PATCH 06/14] net: core: Using an ethernet address from ROM is not bad

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 30-11-16 20:23, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: Currently we print a warning if the MAC address is read from ROM/Hardware. This should not be concidered a bad or erronous thing. A MAC address should come either

Re: [U-Boot] [PATCH 09/14] net: Add ability to set MAC address via EEPROM

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 30-11-16 21:00, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. The net core layer then uses this information to

[U-Boot] Uboot send pull request

2016-12-02 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 9ae0e14350758e6447c90615ff4df530549a45e2: Merge git://www.denx.de/git/u-boot-marvell (2016-12-01 09:24:02 -0500) are available in the git repository at:

[U-Boot] [PATCH v2] powerpc: Retain compatible property for L2 cache

2016-12-02 Thread Chris Packham
When setting the compatible property for the L2 cache ensure that we follow the documented binding by setting both "-l2-cache-controller" and "cache" as values. Signed-off-by: Chris Packham --- Changes in v2: - extract a helper function to set the compatible property

Re: [U-Boot] Uboot send pull request

2016-12-02 Thread Jaehoon Chung
On 12/02/2016 04:44 PM, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit 9ae0e14350758e6447c90615ff4df530549a45e2: > > Merge git://www.denx.de/git/u-boot-marvell (2016-12-01 09:24:02

[U-Boot] [PATCH] configs: colibri_vf: Add fdt_fixup environment variable

2016-12-02 Thread Sanchayan Maity
u-boot allows modifying a device tree after it is loaded into memory. Add fdt_fixup hook in u-boot environment which can facilitate such modifications. Signed-off-by: Sanchayan Maity --- include/configs/colibri_vf.h | 7 --- 1 file changed, 4 insertions(+), 3

Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 30-11-16 21:40, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: This patch adds a method for the board to set the MAC address if the environment is not yet set. The environment based MAC addresses are not touched, but if the fdt

Re: [U-Boot] flash the images to NAND automatically with SD Boot in uboot?

2016-12-02 Thread Jaehoon Chung
On 12/02/2016 12:24 AM, grbesd1 wrote: > Actually i need to know how to add the functionality. has anyone done before > because i tried to look more information on these i didn't find much help. > > I have to add a function in uboot source code, which perform all the listed > operation step by

Re: [U-Boot] [PATCH 07/14] net: core: Inform the user of the device MAC address

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 30-11-16 20:29, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: In certain conditions we currently print the MAC address. For example a warning when a random mac address is in use or a missmatch between HW and ENV. If all

[U-Boot] [RFC PATCH] mmc: spear: remove the entire spear_sdhci.c file

2016-12-02 Thread Jaehoon Chung
Remove the entire spear_sdhci.c file. There is no use case. This is dead codes. Also there is no place to call "spear_sdhci_init()" anywhere. If some people use this file, let me know, plz. Signed-off-by: Jaehoon Chung --- drivers/mmc/Makefile | 1 -

[U-Boot] [PATCH] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-02 Thread Jyri Sarha
Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2, and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With the default values LCDC suffers from DMA FIFO underflows and frame synchronization lost errors. The initialization values are the highest that work flawlessly

Re: [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply

2016-12-02 Thread Simon Glass
Hi Marek, On 29 November 2016 at 19:00, Marek Vasut wrote: > On 11/29/2016 09:46 AM, Kever Yang wrote: >> Hi Marek, >> >> On 11/26/2016 12:46 AM, Marek Vasut wrote: >>> On 11/24/2016 08:29 AM, Kever Yang wrote: Some board do not use the dwc2 internal VBUS_DRV signal, but

Re: [U-Boot] [PATCH resend v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-12-02 Thread Simon Glass
On 29 November 2016 at 16:20, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:19 PM, Mugunthan V N wrote: >> network_started of struct eth_dev can be accessed using local >> variable dev and no reason to access it with the global struct. >> >>

Re: [U-Boot] [PATCH resend v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-12-02 Thread Simon Glass
On 29 November 2016 at 16:55, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:19 PM, Mugunthan V N wrote: >> Convert usb ether gadget to adopt usb driver model >> >> Signed-off-by: Mugunthan V N > > Acked-by: Joe

Re: [U-Boot] [PATCH 12/15 v2] pci: mvebu: Add PCIe driver for Armada-8K

2016-12-02 Thread Simon Glass
On 28 November 2016 at 05:38, Stefan Roese wrote: > From: Shadi Ammouri > > This patch adds a driver for the PCIe controller integrated in the > Marvell Armada-8K SoC. This controller is based on the DesignWare > IP core. > > The original version was written by

Re: [U-Boot] [PATCH resend v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-12-02 Thread Simon Glass
On 29 November 2016 at 16:55, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:36 PM, Mugunthan V N wrote: >> Consolidate the net device, usb eth device and gadget device >> struct to single struct and a single global variable so that the >>

Re: [U-Boot] [PATCH 01/13] serial: 16550: Add getfcr accessor

2016-12-02 Thread Simon Glass
On 30 November 2016 at 18:06, Marek Vasut wrote: > Add function which allows fetching the default FCR register setting > from platform data for DM , while retaining old behavior for non-DM > by returning UART_FCRVAL. > > Signed-off-by: Marek Vasut > Cc: Tom Rini

Re: [U-Boot] [PATCH 03/13] serial: 16550: Add Ingenic JZ4780 support

2016-12-02 Thread Simon Glass
On 30 November 2016 at 18:06, Marek Vasut wrote: > Add compatibility string for the Ingenic JZ4780 SoC, the necessary > UART enable bit into FCR and register shift. Neither are encoded > in the DTS coming from Linux, so we need to support it this way. > > Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH resend v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-12-02 Thread Simon Glass
On 29 November 2016 at 16:55, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:37 PM, Mugunthan V N wrote: >> Use net device priv to pass usb ether priv and use it in >> net device ops callback. >> >> Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH resend v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-12-02 Thread Simon Glass
On 29 November 2016 at 16:55, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:38 PM, Mugunthan V N wrote: >> prepare driver for driver model migration >> >> Signed-off-by: Mugunthan V N > > Acked-by: Joe Hershberger

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

2016-12-02 Thread Simon Glass
Hi Tom, Here are some buildman enhancements, a new TPM driver, the beginnings of the USB gadget DM conversion along with a few fixes. The following changes since commit 9ae0e14350758e6447c90615ff4df530549a45e2: Merge git://www.denx.de/git/u-boot-marvell (2016-12-01 09:24:02 -0500) are

[U-Boot] [PATCH v3] usb: dwc2: add support for external vbus supply

2016-12-02 Thread Simon Glass
From: Kever Yang Some board do not use the dwc2 internal VBUS_DRV signal, but use a gpio pin to enable the 5.0V VBUS power, add interface to enable the power in dwc2 driver. Signed-off-by: Kever Yang Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 02/24] sun6i: Restrict some register initialization to Allwinner A31 SoC

2016-12-02 Thread André Przywara
On 24/11/16 10:18, Andre Przywara wrote: > Hi, > > On 24/11/16 03:01, Siarhei Siamashka wrote: >> On Sun, 20 Nov 2016 14:56:56 + >> Andre Przywara wrote: >> >>> These days many Allwinner SoCs use clock_sun6i.c, although out of them >>> only the (original sun6i) A31

[U-Boot] [PATCH 08/11] powerpc: mpc85xx: Move CONFIG_FSL_LAW to Kconfig

2016-12-02 Thread York Sun
Some header files have this macro defined conditionally and redefined unconditionally. Remove all existing definitions. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85xx/Kconfig| 42 + include/configs/B4860QDS.h | 3 ---

[U-Boot] [PATCH 00/11] Convert several macros to Kconfig

2016-12-02 Thread York Sun
Convert the following macros for mpc85xx/mpc86xx to Kconfig options CONFIG_SYS_CCSRBAR_DEFAULT CONFIG_SECURE_BOOT CONFIG_FSL_LAW CONFIG_SYS_FSL_NUM_LAWS For consistency, CONFIG_SECURE_BOOT for ls1021a/ls2080a/ls1043a is also converted. Related macros are dropped from white list. York Sun (11):

[U-Boot] build uboot error

2016-12-02 Thread Wenming Feng
Hi fellows, When I build uboot for my imx6 wandboard. I got toolchain error, please see detailed below. Previously I can build the uboot month ago. arch/arm/imx-common/built-in.o: In function `print_cpuinfo': /home/lucid/imx6dl/uboot-imx/arch/arm/imx-common/cpu.c:199: undefined reference to

Re: [U-Boot] Please assign custodian for: u-boot-pmic / maintainers for: Samsung boards

2016-12-02 Thread Simon Glass
Hi, On 1 December 2016 at 01:43, Lukasz Majewski wrote: > Hi Jaehoon, Simon, > >> On 12/01/2016 11:19 AM, Simon Glass wrote: >> > Hi Przemyslaw, >> > >> > On 30 November 2016 at 06:27, Przemyslaw Marczak >> > wrote: >> >> >> >> Hello, >> >> >> >>

Re: [U-Boot] [PATCH v3] rtc: Add RTC chip pcf2127 support

2016-12-02 Thread Simon Glass
On 30 November 2016 at 20:57, Meng Yi wrote: > This driver just implemented rtc_get and rtc_set function for > the compatibility of pcf2127 and pcf2129, and didn't make use > of pcf2127's 512 bytes of general-purpose static RAM since > pcf2129 don't have any static RAM. > >

Re: [U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Ryan Harkin
On 2 December 2016 at 15:41, Tom Rini wrote: > On Fri, Dec 02, 2016 at 11:51:07AM +, Ryan Harkin wrote: > >> I've been working with Soby Mathew to get U-Boot booting on ARM's >> AEMv8 FVP model in Aarch32 mode. >> >> Soby worked out what needed to be changed and I'm

Re: [U-Boot] [PATCH] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-02 Thread Jyri Sarha
On 12/02/16 15:06, Jyri Sarha wrote: >>> diff --git a/arch/arm/include/asm/arch-am33xx/ddr_defs.h >>> b/arch/arm/include/asm/arch-am33xx/ddr_defs.h >>> >> index 43e122e..c71cfd0 100644 >>> >> --- a/arch/arm/include/asm/arch-am33xx/ddr_defs.h >>> >> +++

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

2016-12-02 Thread Michal Simek
Hi, On 2.12.2016 15:12, Tom Rini wrote: > On Fri, Dec 02, 2016 at 02:55:00PM +0100, Michal Simek wrote: > >> Hi Tom, >> >> here are some patches I have collected for Xilinx devices, one miiphy >> patch and SCSI changes I have made. >> >> Simon: I have sent v4 of DM_SCSI + ceva sata driver moved

Re: [U-Boot] [PATCH] imx_common: spl: Fix SPL boot from SD card

2016-12-02 Thread Fabio Estevam
Hi Marcin, On Fri, Dec 2, 2016 at 12:11 PM, Marcin Niestroj wrote: > Why is BOOT_DEVICE_MMC1 expected here? As I see in Udoo neo schematics > the SD card is connected to uSDHC2 port, because uSDHC1 is used for > something else. Yes, Udoo Neo boots from the SDHC2

Re: [U-Boot] [PATCH v3 11/11] spi: cadence_qspi: Support specifying the sample edge used

2016-12-02 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Introduce a new DT property to specify whether the QSPI Controller > samples the data on a rising edge. The default is falling edge. > Some versions of the QSPI Controller do not implement this bit, in > which case

Re: [U-Boot] [PATCH] imx_common: spl: Fix SPL boot from SD card

2016-12-02 Thread Marcin Niestroj
Hi, On 30.11.2016 18:12, Breno Lima wrote: Since commit 54e4fcfa3c749a78 ("ARM: mx6: add MMC2 boot device detection support in SPL") we can no longer boot from SD card on a mx6sx Udoo neo board: U-Boot SPL 2016.11-32108-g9cd37b0 (Nov 30 2016 - 11:05:54) Trying to boot from MMC2 MMC Device 1

Re: [U-Boot] Uboot send pull request

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 06:08:53PM +0900, Jaehoon Chung wrote: > On 12/02/2016 04:44 PM, ub...@andestech.com wrote: > > Hi Tom, > > > > Please pull the following patch from u-boot-nds32 into your tree. > > Thanks! > > > > The following changes since commit

Re: [U-Boot] [PATCH v2] disk: convert to Kconfig

2016-12-02 Thread Patrick DELAUNAY
Hi Tom > > > This converts the following to Kconfig: > >CONFIG_PARTITIONS > >CONFIG_MAC_PARTITION > >CONFIG_DOS_PARTITION > >CONFIG_ISO_PARTITION > >CONFIG_AMIGA_PARTITION > >CONFIG_EFI_PARTITION > >

Re: [U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Stephen Warren
On 12/02/2016 07:40 AM, Tom Rini wrote: Hey, I'm trying to debug adding sh4 and r2dplus support to test.py. Until my current round of testing is applied you'll need http://patchwork.ozlabs.org/bundle/trini/fix-sh4-support-v2/ in order for us to get a functional U-Boot. After that, I have a

Re: [U-Boot] [PATCH] imx_common: spl: Fix SPL boot from SD card

2016-12-02 Thread Marcin Niestroj
On 02.12.2016 16:03, Fabio Estevam wrote: Hi Marcin, On Fri, Dec 2, 2016 at 12:11 PM, Marcin Niestroj wrote: Why is BOOT_DEVICE_MMC1 expected here? As I see in Udoo neo schematics the SD card is connected to uSDHC2 port, because uSDHC1 is used for something else.

Re: [U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Stephen Warren
On 12/02/2016 01:01 PM, Tom Rini wrote: On Fri, Dec 02, 2016 at 12:21:43PM -0700, Stephen Warren wrote: On 12/02/2016 12:18 PM, Tom Rini wrote: On Fri, Dec 02, 2016 at 11:03:00AM -0700, Stephen Warren wrote: On 12/02/2016 07:40 AM, Tom Rini wrote: Hey, I'm trying to debug adding sh4 and

Re: [U-Boot] [PATCH v2] disk: convert to Kconfig

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 05:23:16PM +, Patrick DELAUNAY wrote: > Hi Tom > > > > > > This converts the following to Kconfig: > > >CONFIG_PARTITIONS > > >CONFIG_MAC_PARTITION > > >CONFIG_DOS_PARTITION > > >CONFIG_ISO_PARTITION > > >

Re: [U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 12:21:43PM -0700, Stephen Warren wrote: > On 12/02/2016 12:18 PM, Tom Rini wrote: > >On Fri, Dec 02, 2016 at 11:03:00AM -0700, Stephen Warren wrote: > >>On 12/02/2016 07:40 AM, Tom Rini wrote: > >>>Hey, > >>> > >>>I'm trying to debug adding sh4 and r2dplus support to

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

2016-12-02 Thread Tom Rini
On Mon, Nov 28, 2016 at 11:01:14AM +0100, Andreas Fenkart wrote: > copy code found in single/double buffered code path > > Signed-off-by: Andreas Fenkart > Reviewed-by: Simon Glass Please test build this series on all platforms (perhaps via

Re: [U-Boot] [PATCH] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 06:24:49PM +0200, Jyri Sarha wrote: > On 12/02/16 15:06, Jyri Sarha wrote: > >>> diff --git a/arch/arm/include/asm/arch-am33xx/ddr_defs.h > >>> b/arch/arm/include/asm/arch-am33xx/ddr_defs.h > >>> >> index 43e122e..c71cfd0 100644 > >>> >> ---

Re: [U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 04:25:37PM +, Ryan Harkin wrote: > On 2 December 2016 at 15:41, Tom Rini wrote: > > On Fri, Dec 02, 2016 at 11:51:07AM +, Ryan Harkin wrote: > > > >> I've been working with Soby Mathew to get U-Boot booting on ARM's > >> AEMv8 FVP model in

[U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Tom Rini
Hey, I'm trying to debug adding sh4 and r2dplus support to test.py. Until my current round of testing is applied you'll need http://patchwork.ozlabs.org/bundle/trini/fix-sh4-support-v2/ in order for us to get a functional U-Boot. After that, I have a "normal" conf file for the board for QEMU

Re: [U-Boot] [RFC PATCH 0/2] ARMv8 Aarch32 support

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 11:51:07AM +, Ryan Harkin wrote: > I've been working with Soby Mathew to get U-Boot booting on ARM's > AEMv8 FVP model in Aarch32 mode. > > Soby worked out what needed to be changed and I'm refining the changes > into patches that can be built for both Aarch64 and

Re: [U-Boot] [PATCH 04/14] net: core: Sanitize get/set operations for enetaddr

2016-12-02 Thread Olliver Schinagl
Hey Joe, On 30-11-16 20:20, Joe Hershberger wrote: On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: In the current net stack, we have a few functions to get and set the "ethaddr" and "ethNaddr" environment variables, which use magic values to get and set these

Re: [U-Boot] [PATCH] imx_common: spl: Fix SPL boot from SD card

2016-12-02 Thread Fabio Estevam
On Fri, Dec 2, 2016 at 3:16 PM, Marcin Niestroj wrote: >> If you took the assumption that in "BOOT_DEVICE_MMC1 = Boot from SDHC1 >> port" in 54e4fcfa3c749a78 ("ARM: mx6: add MMC2 boot device detection >> support in SPL") I suggest we need to revert it. >> > > Indeed

Re: [U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Tom Rini
On Fri, Dec 02, 2016 at 11:03:00AM -0700, Stephen Warren wrote: > On 12/02/2016 07:40 AM, Tom Rini wrote: > >Hey, > > > >I'm trying to debug adding sh4 and r2dplus support to test.py. Until my > >current round of testing is applied you'll need >

Re: [U-Boot] qemu and u-boot-console and other ports?

2016-12-02 Thread Stephen Warren
On 12/02/2016 12:18 PM, Tom Rini wrote: On Fri, Dec 02, 2016 at 11:03:00AM -0700, Stephen Warren wrote: On 12/02/2016 07:40 AM, Tom Rini wrote: Hey, I'm trying to debug adding sh4 and r2dplus support to test.py. Until my current round of testing is applied you'll need

Re: [U-Boot] [PATCH v5 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-12-02 Thread Stephen Warren
On 11/30/2016 07:19 PM, Simon Glass wrote: Hi Stephen, On 29 November 2016 at 21:09, Stephen Warren wrote: On 11/28/2016 03:09 PM, Simon Glass wrote: Hi Stephen, On 17 November 2016 at 12:45, Stephen Warren wrote: On 11/16/2016 06:13 PM,

[U-Boot] [PATCH] ARM: tegra: allow passing cboot DTB to the kernel

2016-12-02 Thread Stephen Warren
From: Stephen Warren Some users may wish to pass the cboot-supplied DTB to the booted kernel rather than having U-Boot load the DTB itself. To allow this, expose the address of the cboot-supplied DTB in environment variable $fdt_addr. At least when using extlinux.conf, if the

Re: [U-Boot] [PATCH] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-02 Thread Jyri Sarha
On 12/02/16 15:01, Tom Rini wrote: > On Fri, Dec 02, 2016 at 09:54:39AM +0200, Jyri Sarha wrote: > >> Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2, >> and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With >> the default values LCDC suffers from DMA FIFO

[U-Boot] [PATCH 02/11] powerpc: mpc85xx: Convert CONFIG_SYS_CCSRBAR_DEFAULT to Kconfig option

2016-12-02 Thread York Sun
Move default value definitions to to Kconfig SYS_CCSRBAR_DEFAULT. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85xx/Kconfig | 50 +++ arch/powerpc/include/asm/config_mpc85xx.h | 41 - doc/README.ramboot-ppc85xx

[U-Boot] [PATCH 07/11] powerpc: mpc85xx: Move SECURE_BOOT to Kconfig

2016-12-02 Thread York Sun
Move from CONFIG_SYS_EXTRA_OPTIONS to Kconfig option. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85xx/Kconfig | 6 ++ configs/B4860QDS_SECURE_BOOT_defconfig | 2 +- configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig | 3 ++-

  1   2   >