[U-Boot] [PATCH 1/1] arm: socfpga: cyclone5-socdk: Enable ports A & C

2017-03-27 Thread Georges Savoundararadj
With the port C enabled, we can read the GPI input state of: * the DIP switches (USER_DIPSW_HPS[3:0]/HPS_GPI[7:4]) * the push buttons (USER_PB_HPS[3:0]/HPS_GPI[11:8]) Signed-off-by: Georges Savoundararadj Signed-off by: Sid-Ali Teir Cc: Dinh Nguyen

[U-Boot] 答复: [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB

2017-03-27 Thread Yingxi Yu
Hi York: Currenly LS1012A is the only case. If there is other platform apply it in the future, we can add other platform later. Best Regards Yingxi Yu 发件人: york sun 发送时间: 2017年3月27日 8:29:02 收件人: Yingxi Yu; u-boot@lists.denx.de 主题: Re: [PATCH]

Re: [U-Boot] [PATCH v2 00/13] sunxi: Add support for R40 SoC

2017-03-27 Thread Chen-Yu Tsai
Hi, On Mon, Mar 6, 2017 at 4:05 PM, Chen-Yu Tsai wrote: > Hi everyone, > > This is v2 of my Allwinner R40 SoC support series. > > Changes since v1: > > - Add Maxime's ack for all but the first patch. > > - Add a patch to split up very long Kconfig lines. > > This series adds

[U-Boot] [PATCH v2 07/18] armv8: SPL: only compile GIC code if needed

2017-03-27 Thread Andre Przywara
Not every SoC needs to set up the GIC interrupt controller, so link think code only when the respective config option is set. This shaves off some bytes from the SPL code size. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v2 11/18] sunxi: SPL: add FIT config selector for Pine64 boards

2017-03-27 Thread Andre Przywara
For a board or platform to support FIT loading in the SPL, it has to provide a board_fit_config_name_match() routine, which helps to select one of possibly multiple DTBs contained in a FIT image. Provide a simple function which chooses the DT name U-Boot was configured with. If the DT name is one

[U-Boot] [PATCH v2 10/18] sunxi: SPL: store RAM size in gd

2017-03-27 Thread Andre Przywara
The sunxi SPL was holding the detected RAM size in some local variable only, so it wasn't accessible for other functions. Store the value in gd->ram_size instead, so it can be used later on. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v2 12/18] Makefile: add rules to generate SPL FIT images

2017-03-27 Thread Andre Przywara
Some platforms require more complex U-Boot images than we can easily generate via the mkimage command line, for instance to load additional image files. Introduce a CONFIG_SPL_FIT_SOURCE and CONFIG_SPL_FIT_GENERATOR symbol, which can either hold an .its source file describing the image layout, or,

[U-Boot] [PATCH v2 13/18] sunxi: A64: Pine64: introduce FIT generator script

2017-03-27 Thread Andre Przywara
Now that the Makefile can call a generator script to build a more advanced FIT image, let's use this feature to address the needs of Allwinner A64 boards. The (DTB stripped) U-Boot binary and the ATF are static, but we allow an arbitrary number of supported device trees to be passed. The script

[U-Boot] [PATCH v2 09/18] sunxi: A64: move SPL stack to end of SRAM A2

2017-03-27 Thread Andre Przywara
The SPL stack is usually located at the end of SRAM A1, where it grows towards the end of the SPL. For the really big AArch64 binaries the stack overwrites code pretty soon, so move the SPL stack to the end of SRAM A2, which is unused at this time. Signed-off-by: Andre Przywara

[U-Boot] [PATCH v2 17/18] sunxi: use SPL header DT name for FIT board matching

2017-03-27 Thread Andre Przywara
Now that we can store a DT name in the SPL header, use this string (if available) when finding the right DT blob to load for U-Boot proper. This allows a generic U-Boot (proper) image to be combined with a bunch of supported DTs, with just the SPL (possibly only that string) to be different.

[U-Boot] [PATCH v2 15/18] sunxi: OrangePi-PC2: defconfig: enable SPL FIT support

2017-03-27 Thread Andre Przywara
Enable the SPL FIT support and the FIT generator script for the OrangePi PC2 board, as it also need to load an ATF binary. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass --- configs/orangepi_pc2_defconfig | 6 ++ 1 file changed, 6

[U-Boot] [PATCH v2 06/18] tools: mksunxiboot: allow larger SPL binaries

2017-03-27 Thread Andre Przywara
mksunxiboot limits the size of the resulting SPL binaries to pretty conservative values to cover all SoCs and all boot media (NAND). It turns out that we have limit checks in place in the build process, so mksunxiboot can be relaxed and allow packaging binaries up to the actual 32KB the mask boot

[U-Boot] [PATCH v2 16/18] sunxi: Store the device tree name in the SPL header

2017-03-27 Thread Andre Przywara
From: Siarhei Siamashka This patch updates the mksunxiboot tool to optionally add the default device tree name string to the SPL header. This information can be used by the firmware upgrade tools to protect users from harming themselves by trying to upgrade to an

[U-Boot] [PATCH v2 18/18] sunxi: update Pine64 README

2017-03-27 Thread Andre Przywara
With the DRAM init code and the SPL's ability to load the ATF binary as well, we can now officially get rid of the boot0 boot method, which involed a closed-source proprietary blob to be used. Rework the Pine64 README file to document how to build the firmware. Signed-off-by: Andre Przywara

[U-Boot] [PATCH v2 05/18] SPL: FIT: allow loading multiple images

2017-03-27 Thread Andre Przywara
So far we were not using the FIT image format to its full potential: The SPL FIT loader was just loading the first image from the /images node plus one of the listed DTBs. Now with the refactored loader code it's easy to load an arbitrary number of images in addition to the two mentioned above. As

[U-Boot] [PATCH v2 08/18] armv8: fsl: move ccn504 code into FSL Makefile

2017-03-27 Thread Andre Przywara
The generic ARMv8 assembly code contains routines for setting up a CCN interconnect, though the Freescale SoCs are the only user. Link this code only for Freescale targets, this saves some precious bytes in the chronically tight SPL. Signed-off-by: Andre Przywara ---

[U-Boot] [PATCH v2 14/18] sunxi: Pine64: defconfig: enable SPL FIT support

2017-03-27 Thread Andre Przywara
The Pine64 (and all other 64-bit Allwinner boards) need to load an ARM Trusted Firmware image beside the actual U-Boot proper. This can now be easily achieved by using the just extended SPL FIT loading support, so enable it in the Pine64 defconfig. Also add the FIT image as a build target to

[U-Boot] [PATCH v2 04/18] SPL: FIT: factor out spl_load_fit_image()

2017-03-27 Thread Andre Przywara
At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new function, which we just call twice. Signed-off-by:

[U-Boot] [PATCH v2 03/18] SPL: FIT: improve error handling

2017-03-27 Thread Andre Przywara
At the moment we ignore any errors due to missing FIT properties, instead go ahead and calculate our addresses with the -1 return value. Fix this and bail out if any of the mandatory properties are missing. Signed-off-by: Andre Przywara --- common/spl/spl_fit.c | 15

[U-Boot] [PATCH v2 01/18] SPL: FIT: refactor FDT loading

2017-03-27 Thread Andre Przywara
Currently the SPL FIT loader uses the spl_fit_select_fdt() function to find the offset to the right DTB within the FIT image. For this it iterates over all subnodes of the /configuration node in the FIT tree and compares all "description" strings therein using a board specific matching function.

[U-Boot] [PATCH v2 02/18] SPL: FIT: rework U-Boot image loading

2017-03-27 Thread Andre Przywara
Currently the SPL FIT loader always looks only for the first image in the /images node a FIT tree, which it loads and later executes. Generalize this by looking for a "firmware" property in the matched configuration subnode, or, if that does not exist, for the first string in the "loadables"

[U-Boot] [PATCH v2 00/18] SPL: extend FIT loading support

2017-03-27 Thread Andre Przywara
A fixed version of the SPL FIT loading series. The error handling has been improved, also quite some comments and documentation has been added. The README.pine64 file has been totally reworked to reflect the new way of building the firmware for the Pine64 (and other 64-bit Allwinner SoCs, really).

Re: [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support

2017-03-27 Thread Vikas Manocha
Hi Marek, On 03/27/2017 02:27 PM, Marek Vasut wrote: > On 03/27/2017 10:41 PM, Vikas Manocha wrote: >> Hi Marek, >> >> On 03/27/2017 01:34 PM, Marek Vasut wrote: >>> On 03/27/2017 10:02 PM, Vikas Manocha wrote: This patch adds armv7m instruction & data cache support. Signed-off-by:

[U-Boot] __FILE__ usage and and SPL limits for SRAM

2017-03-27 Thread Nishanth Menon
Hi, we've kind of run into an interesting situation recently, but might be of interest for various folks trying to reduce the image sizes. our AM335x device has a limited amount of sram.. and the SPL tries to fit into it (a bit tricky given the restricted space we have on it on certain

Re: [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support

2017-03-27 Thread Marek Vasut
On 03/27/2017 10:41 PM, Vikas Manocha wrote: > Hi Marek, > > On 03/27/2017 01:34 PM, Marek Vasut wrote: >> On 03/27/2017 10:02 PM, Vikas Manocha wrote: >>> This patch adds armv7m instruction & data cache support. >>> >>> Signed-off-by: Vikas Manocha >>> cc: Christophe

Re: [U-Boot] [PATCH 2/3] string: Provide a slimmed-down memset()

2017-03-27 Thread Alexander Graf
On 27/03/2017 17:17, Heiko Stuebner wrote: Am Montag, 27. März 2017, 09:14:47 CEST schrieb Alexander Graf: On 27/03/2017 01:38, Simon Glass wrote: Most of the time the optimised memset() is what we want. For extreme situations such as TPL it may be too large. For example on the 'rock'

Re: [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support

2017-03-27 Thread Vikas Manocha
Hi Marek, On 03/27/2017 01:34 PM, Marek Vasut wrote: > On 03/27/2017 10:02 PM, Vikas Manocha wrote: >> This patch adds armv7m instruction & data cache support. >> >> Signed-off-by: Vikas Manocha >> cc: Christophe KERELLO >> --- >> >> Changed in

Re: [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support

2017-03-27 Thread Marek Vasut
On 03/27/2017 10:02 PM, Vikas Manocha wrote: > This patch adds armv7m instruction & data cache support. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO > --- > > Changed in v4: > - invalidate_dcache_range() & flush_dcache_range()

[U-Boot] [PATCH v4 2/2] stm32f7: enable instruction & data cache

2017-03-27 Thread Vikas Manocha
It also enables commands for cache enable/disable/status. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/mach-stm32/stm32f7/soc.c | 2 ++

[U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support

2017-03-27 Thread Vikas Manocha
This patch adds armv7m instruction & data cache support. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: - invalidate_dcache_range() & flush_dcache_range() function added. - blank lines added. - comments added for

[U-Boot] [PATCH v4 0/2] add armv7m cache support

2017-03-27 Thread Vikas Manocha
This patchset adds armv7m instruction/data caches support & enable it for stm32f7. Changed in v4: - invalidate_dcache_range() & flush_dcache_range() function added. - blank lines added. - comments added for registers, functions & barriers. - register names changed for better clarity. -

Re: [U-Boot] [PATCH 0/8] rockchip: rk3188: fixups and armclk speedup

2017-03-27 Thread Heiko Stuebner
Am Montag, 27. März 2017, 12:36:00 CEST schrieb Simon Glass: > Hi Heiko, > > On 24 March 2017 at 10:04, Heiko Stuebner wrote: > > Am Donnerstag, 23. März 2017, 21:28:01 CET schrieb Simon Glass: > >> Hi Heiko, > >> > >> On 20 March 2017 at 05:40, Heiko Stuebner

Re: [U-Boot] [PATCH 2/3] string: Provide a slimmed-down memset()

2017-03-27 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 17:38:16 CEST schrieb Simon Glass: > Most of the time the optimised memset() is what we want. For extreme > situations such as TPL it may be too large. For example on the 'rock' > board, using a simple loop saves a useful 48 bytes. With gcc 4.9 and > the rodata bug, this

[U-Boot] [PATCH] serial: ns16550: Link in the DM driver when when using platdata

2017-03-27 Thread Alexandru Gagniuc
Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA. This is inconsistent with the majority of other drivers. This also blocks OF_PLATDATA boards with an 16550-compatible serial from using serial in SPL. Signed-off-by: Alexandru Gagniuc ---

Re: [U-Boot] [PATCH 1/3] Makefile: Correct dependency race condition with TPL

2017-03-27 Thread Heiko Stuebner
Am Sonntag, 26. März 2017, 17:38:15 CEST schrieb Simon Glass: > At present we sometimes see the following build error when building on a > machine with multiple cores. > > +make[2]: *** No rule to make target 'dts/dt.dtb', needed by > 'tpl/u-boot-tpl.dtb'. Stop. > > Add a dependency to correct

Re: [U-Boot] spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC

2017-03-27 Thread Alexandru Gagniuc
On 03/20/2017 05:04 PM, Tom Rini wrote: On Fri, Mar 17, 2017 at 10:05:40PM -0700, Alexandru Gagniuc wrote: spl_mmc.c calls mmc_initialize(). This symbol is provided in drivers/mmc/mmc.c when CONFIG_GENERIC_MMC is enabled. Signed-off-by: Alexandru Gagniuc ---

Re: [U-Boot] [PATCH 0/8] rockchip: rk3188: fixups and armclk speedup

2017-03-27 Thread Simon Glass
Hi Heiko, On 24 March 2017 at 10:04, Heiko Stuebner wrote: > Am Donnerstag, 23. März 2017, 21:28:01 CET schrieb Simon Glass: >> Hi Heiko, >> >> On 20 March 2017 at 05:40, Heiko Stuebner wrote: >> > The ARMCLK starts at 24MHz on the rk3188 which makes u-boot

[U-Boot] [PATCH 4/5] i.MX6UL: geam6ul: Add mmc_late_init

2017-03-27 Thread Jagan Teki
From: Jagan Teki Let the runtime code can set the mmcdev and mmcroot based on the devno using mmc_get_env_dev instead of defining separately in build-time configs using mmc_late_init func. Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH 2/5] i.MX6Q: icorem6: Add mmc_late_init

2017-03-27 Thread Jagan Teki
From: Jagan Teki Let the runtime code can set the mmcdev and mmcroot based on the devno using mmc_get_env_dev instead of defining separately in build-time configs using mmc_late_init func. Cc: Stefano Babic Cc: Matteo Lisi

[U-Boot] [PATCH 5/5] MAINTAINERS: Fix ARM FREESCALE IMX files

2017-03-27 Thread Jagan Teki
From: Jagan Teki - Remove arch/arm/cpu/arm926ejs/imx/ which is not available - arch/arm/cpu/imx-common/ => arch/arm/imx-common/ Cc: Stefano Babic Signed-off-by: Jagan Teki --- MAINTAINERS | 3 +-- 1 file changed, 1

[U-Boot] [PATCH 3/5] i.MX6UL: geam6ul: Add modeboot env via board_late_init

2017-03-27 Thread Jagan Teki
From: Jagan Teki Add runtime, modeboot env which is setting mmcboot, or nandboot based on the bootdevice so-that conditional macros b/w MMC and NAND for CONFIG_BOOTCOMMAND should be avoided in config files. Cc: Matteo Lisi Cc: Michael

[U-Boot] [PATCH 1/5] i.MX6Q: icorem6: Add modeboot env via board_late_init

2017-03-27 Thread Jagan Teki
From: Jagan Teki Add runtime, modeboot env which is setting mmcboot, or nandboot based on the bootdevice so-that conditional macros b/w MMC and NAND for CONFIG_BOOTCOMMAND should be avoided in config files. Cc: Matteo Lisi Cc: Michael

Re: [U-Boot] [PATCH v2] net: designware: Add phy supply support

2017-03-27 Thread Joe Hershberger
On Mon, Mar 27, 2017 at 3:54 AM, Jacob Chen wrote: > Some board need a regulator for gmac phy, so add this code to handle it. > Signed-off-by: Jacob Chen Acked-by: Joe Hershberger

Re: [U-Boot] sf: Remove spansion_s25fss_disable_4KB_erase

2017-03-27 Thread Jagan Teki
On Mon, Mar 27, 2017 at 11:05 PM, york sun wrote: > On 03/15/2017 06:44 PM, york@nxp.com wrote: >> On 01/27/2017 10:04 AM, Jagan Teki wrote: >>> On Mon, Jan 23, 2017 at 8:05 PM, york sun wrote: On 12/12/2016 09:32 PM, Yao Yuan wrote: > Hi Jagan,

Re: [U-Boot] sf: Remove spansion_s25fss_disable_4KB_erase

2017-03-27 Thread york sun
On 03/15/2017 06:44 PM, york@nxp.com wrote: > On 01/27/2017 10:04 AM, Jagan Teki wrote: >> On Mon, Jan 23, 2017 at 8:05 PM, york sun wrote: >>> On 12/12/2016 09:32 PM, Yao Yuan wrote: Hi Jagan, Do you have any comments? Thanks for

Re: [U-Boot] [PATCH v3 39/45] net: mvpp2: Add GoP and NetC support for port 0 (SFI)

2017-03-27 Thread Joe Hershberger
On Mon, Mar 27, 2017 at 7:00 AM, Stefan Roese wrote: > This patch adds the GoP (Group of Ports) and NetC (Net Complex) setup to > the Marvell mvpp2 ethernet driver for the missing port 0. This code is > mostly copied from the Marvell U-Boot version and was written by Stefan >

Re: [U-Boot] [PATCH v3 38/45] net: mvpp2: Add GoP and NetC support for ports 2 & 3 (RGMII & SGMII)

2017-03-27 Thread Joe Hershberger
Hi Stefan, On Mon, Mar 27, 2017 at 7:00 AM, Stefan Roese wrote: > This patch adds the GoP (Group of Ports) and NetC (Net Complex) setup to > the Marvell mvpp2 ethernet driver. This code is mostly copied from the > Marvell U-Boot version and was written by Stefan Chulski. Please >

Re: [U-Boot] [PATCH v3] net: Kconfig:make PHY_GIGE and individual Micrel PHYs selectable

2017-03-27 Thread Joe Hershberger
On Sun, Mar 26, 2017 at 11:50 AM, Philipp Tomsich wrote: > This change migrate the following configuration options for Kconfig: > * PHY_GIGE, indicates that a controller (with an appropriate PHY) is >Gigabit capable and enables extra support in the

[U-Boot] [PATCH v3 6/6] [DO NOT MERGE] sunxi: add AXP803 support

2017-03-27 Thread Jernej Skrabec
From: Icenowy Zheng The A64 uses the AXP803 as its PMIC. Signed-off-by: Icenowy Zheng Signed-off-by: Jernej Skrabec --- arch/arm/mach-sunxi/Makefile | 3 + arch/arm/mach-sunxi/pmic_bus.c | 6 +- arch/arm/mach-sunxi/rsb.c

[U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-03-27 Thread Jernej Skrabec
This series implements support for HDMI output. This is done using DM video framework and sharing the HDMI controller code with RK3288. Patch 1 splits out TCON code which is completely reusable on all Allwinner SoCs. Patch 2 converts common TCON code to use DM video compatible timing structure.

[U-Boot] [PATCH v3 5/6] sunxi: Disable DE2 video driver where not needed

2017-03-27 Thread Jernej Skrabec
Because DE2 driver is enabled by default, it is nice to disable it on all boards which don't have any video output. List of such boards is also much shorter. Signed-off-by: Jernej Skrabec Acked-by: Maxime Ripard --- Changes in v3: - add

[U-Boot] [PATCH v3 4/6] sunxi: video: Add A64/H3/H5 HDMI driver

2017-03-27 Thread Jernej Skrabec
This commit adds support for HDMI output. Signed-off-by: Jernej Skrabec Reviewed-by: Simon Glass Acked-by: Maxime Ripard --- Changes in v3: - changed to 32 bpp - add acked by tag - VIDEO_DE2 option now depends on

[U-Boot] [PATCH v3 3/6] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-27 Thread Jernej Skrabec
This is needed for HDMI, which will be added later. Signed-off-by: Jernej Skrabec Reviewed-by: Simon Glass --- Changes in v3: - convert define to Kconfig option Changes in v2: - add reviewed by tag - constant style fix

[U-Boot] [PATCH v3 2/6] sunxi: video: Convert lcdc to use struct display_timing

2017-03-27 Thread Jernej Skrabec
Video driver for older Allwinner SoCs uses cfb console framework which in turn uses struct ctfb_res_modes to hold timing informations. However, DM video framework uses different structure - struct display_timing. It makes more sense to convert lcdc to use new timing structure because all new

[U-Boot] [PATCH v3 1/6] sunxi: video: Split out TCON code

2017-03-27 Thread Jernej Skrabec
TCON unit has similar layout and functionality also on newer SoCs. This commit splits out TCON code for easier reuse later. Signed-off-by: Jernej Skrabec Acked-by: Maxime Ripard --- Changes in v3: - add acked by tag Changes in v2: -

Re: [U-Boot] [PATCH v2] spi: atmel: check GPIO validity before using cs_gpios

2017-03-27 Thread Jagan Teki
On Thu, Mar 23, 2017 at 10:19 AM, Wenyou Yang wrote: > Before using the cs_gpio, check if the GPIO is valid or not. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Rebase on v2017.03. > > drivers/spi/atmel_spi.c | 13 + > 1

Re: [U-Boot] [PATCH v2 1/2] spi: fsl_qspi: Add support for one chip select

2017-03-27 Thread Jagan Teki
On Tue, Feb 21, 2017 at 2:26 PM, Suresh Gupta wrote: > SOC’s like LS1012A has only one chip select signal > out to connect with flash. So at one time only one > flash is active and it is not possible to scan other > flash at run time. > > Signed-off-by: Suresh Gupta

Re: [U-Boot] board: ge: bx50v3: fix AR8033 reset timing issue

2017-03-27 Thread Joe Hershberger
Hi Yung-Ching, https://patchwork.ozlabs.org/patch/730331/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] drivers/net/phy: add fixed-phy / fixed-link support

2017-03-27 Thread Joe Hershberger
Hi Hannes, https://patchwork.ozlabs.org/patch/742677/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: link_local: Fix netmask endianness bug

2017-03-27 Thread Joe Hershberger
Hi slemieux.t...@gmail.com, https://patchwork.ozlabs.org/patch/738893/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: fix cache misaligned issue in Broadcom SF2 driver

2017-03-27 Thread Joe Hershberger
Hi Steve, https://patchwork.ozlabs.org/patch/735256/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] fdt_support: Fixup 'ethernet' aliases not ending in digits

2017-03-27 Thread Joe Hershberger
Hi Tuomas, https://patchwork.ozlabs.org/patch/740833/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue

2017-03-27 Thread Joe Hershberger
Hi Yung-Ching, https://patchwork.ozlabs.org/patch/730332/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sunxi: Enable eeprom on OLinuXino Lime boards

2017-03-27 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699297/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sunxi-emac: Write HW address via function

2017-03-27 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699295/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2017-03-27 Thread Joe Hershberger
Hi Tom, The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16: Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v2] ls1043ardb: SPL size reduction in case of non-xip boot

2017-03-27 Thread york sun
On 03/27/2017 09:39 AM, Sumit Garg wrote: >> -Original Message- >> From: york sun >> Sent: Monday, March 27, 2017 9:41 PM >> To: Sumit Garg ; u-boot@lists.denx.de >> Cc: Ruchika Gupta ; Prabhakar Kushwaha >> ; Mingkai

Re: [U-Boot] sf: Remove spansion_s25fss_disable_4KB_erase

2017-03-27 Thread Jagan Teki
Ping? On Mon, Mar 20, 2017 at 9:42 PM, Jagan Teki wrote: > Hi, > > Let's start the discussion, if possible we may add linux-mtd ML. > > Here is the details: from attached pdf Page no:2 > > In spansion S25FS-S family the physical sectors are grouped as > normal and

Re: [U-Boot] [PATCH v2] ls1043ardb: SPL size reduction in case of non-xip boot

2017-03-27 Thread Sumit Garg
> -Original Message- > From: york sun > Sent: Monday, March 27, 2017 9:41 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Mingkai Hu ; Vini > Pillai

Re: [U-Boot] [PATCH v2] ls1043ardb: SPL size reduction in case of non-xip boot

2017-03-27 Thread york sun
On 03/27/2017 08:59 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 10k > size of u-boot-spl.bin image. Following is breif description of > changes to reduce SPL size: > 1. Changes in board/freescale/ls1043ardb/Makefile to remove >compilation of eth.c and

[U-Boot] [PATCH v2] ls1046ardb: SPL size reduction in case of non-xip boot

2017-03-27 Thread Sumit Garg
Using changes in this patch we were able to reduce approx 4k size of u-boot-spl.bin image. Following is breif description of changes to reduce SPL size: 1. Changes in board/freescale/ls1046ardb/Makefile to remove compilation of eth.c and cpld.c in case of SPL build. 2. Changes in

[U-Boot] [PATCH v2] ls1043ardb: SPL size reduction in case of non-xip boot

2017-03-27 Thread Sumit Garg
Using changes in this patch we were able to reduce approx 10k size of u-boot-spl.bin image. Following is breif description of changes to reduce SPL size: 1. Changes in board/freescale/ls1043ardb/Makefile to remove compilation of eth.c and cpld.c in case of SPL build. 2. Changes in

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB

2017-03-27 Thread york sun
On 03/16/2017 12:32 AM, Yingxi Yu wrote: > USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB. > Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz > is failed on ls1012, sysclk is not for USB. Don't check sysclk for > USB on ls1012. Does this only apply to

Re: [U-Boot] [PATCHv3 1/5] mtd: nand: add initialization flag

2017-03-27 Thread york sun
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Add initialization flag to avoid initializing NAND Flash multiple > times, otherwise it will calculate a wrong total size. > > Signed-off-by: Hou Zhiqiang > --- > V3: > - no change >

Re: [U-Boot] [PATCH 2/3] string: Provide a slimmed-down memset()

2017-03-27 Thread Heiko Stuebner
Am Montag, 27. März 2017, 09:14:47 CEST schrieb Alexander Graf: > > On 27/03/2017 01:38, Simon Glass wrote: > > Most of the time the optimised memset() is what we want. For extreme > > situations such as TPL it may be too large. For example on the 'rock' > > board, using a simple loop saves a

[U-Boot] [PATCH v2 4/7] i2c: lpc32xx: Add DM for lpc32xx I2C

2017-03-27 Thread Sylvain Lemieux
From: Liam Beguin Adding DM specific wrapper functions and definitions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Fixed checkpatch issue. drivers/i2c/lpc32xx_i2c.c | 91

[U-Boot] [PATCH v2 3/7] i2c: lpc32xx: Factor out i2c_adapter parameter

2017-03-27 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux

[U-Boot] [PATCH] MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update

2017-03-27 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- include/configs/mccmon6.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h index 8c72455..46ca32e 100644 --- a/include/configs/mccmon6.h +++ b/include/configs/mccmon6.h @@ -270,6

Re: [U-Boot] [PATCH v2] Add support for Microchip LAN78xx

2017-03-27 Thread Marek Vasut
On 03/27/2017 01:59 PM, yuiko.osh...@microchip.com wrote: > From: Yuiko Oshino >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Friday, March 24, 2017 2:29 PM >> To: Yuiko Oshino - C18177; u-boot@lists.denx.de >> Subject: Re: [PATCH

Re: [U-Boot] [PATCH] powerpc: e6500: Lock/unlock 1 cache instead of L1 as init_ram

2017-03-27 Thread Ruchika Gupta
> -Original Message- > From: york sun > Sent: Saturday, March 25, 2017 10:16 PM > To: Ruchika Gupta ; u-boot@lists.denx.de; > prabhakar.khushw...@nxp.com > Subject: Re: [U-Boot] [PATCH] powerpc: e6500: Lock/unlock 1 cache instead > of L1 as init_ram > > On

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2017-03-27 Thread Marek Vasut
On 03/27/2017 01:23 PM, Lukasz Majewski wrote: > Dear Marek, > > Please find pull request for dfu repository: > > The following changes since commit > 8fb397da91eefe472f25c0a3c7d910fb8f9be129: > > drivers/usb/ehci: Use platform-specific accessors (2017-03-24 > 13:55:45 +0100) > > are

Re: [U-Boot] [PATCH v2 00/45] Add PPv2.2 support to the mvpp2 ethernet driver and enable it for A7k/8k

2017-03-27 Thread Stefan Roese
Hi Joe, On 25.03.2017 22:42, Joe Hershberger wrote: On Thu, Mar 23, 2017 at 12:01 PM, Stefan Roese wrote: This patchset does the following things: - It brings the latest Linux changes from the mvpp2 ethernet driver done by Thomas Petazzoni to the U-Boot version of this

[U-Boot] [PATCH v3 39/45] net: mvpp2: Add GoP and NetC support for port 0 (SFI)

2017-03-27 Thread Stefan Roese
This patch adds the GoP (Group of Ports) and NetC (Net Complex) setup to the Marvell mvpp2 ethernet driver for the missing port 0. This code is mostly copied from the Marvell U-Boot version and was written by Stefan Chulski. Please note that only SFI support have been added, as this is the only

[U-Boot] [PATCH v3 38/45] net: mvpp2: Add GoP and NetC support for ports 2 & 3 (RGMII & SGMII)

2017-03-27 Thread Stefan Roese
This patch adds the GoP (Group of Ports) and NetC (Net Complex) setup to the Marvell mvpp2 ethernet driver. This code is mostly copied from the Marvell U-Boot version and was written by Stefan Chulski. Please note that only RGMII and SGMII support have been added, as these are the only interfaces

Re: [U-Boot] [PATCH v2] Add support for Microchip LAN78xx

2017-03-27 Thread Yuiko.Oshino
From: Yuiko Oshino >-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Friday, March 24, 2017 2:29 PM >To: Yuiko Oshino - C18177; u-boot@lists.denx.de >Subject: Re: [PATCH v2] Add support for Microchip LAN78xx > >On 03/24/2017 07:25 PM,

[U-Boot] [GIT] Pull request: u-boot-dfu

2017-03-27 Thread Lukasz Majewski
Dear Marek, Please find pull request for dfu repository: The following changes since commit 8fb397da91eefe472f25c0a3c7d910fb8f9be129: drivers/usb/ehci: Use platform-specific accessors (2017-03-24 13:55:45 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH v2 38/45] net: mvpp2: Add GoP and NetC support for ports 2 & 3 (RGMII & SGMII)

2017-03-27 Thread Stefan Roese
Hi Joe, On 25.03.2017 21:05, Joe Hershberger wrote: On Thu, Mar 23, 2017 at 12:02 PM, Stefan Roese wrote: This patch adds the GoP (Group of Ports) and NetC (Net Complex) setup to the Marvell mvpp2 ethernet driver. This code is mostly copied from the Marvell U-Boot version and

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-03-27 Thread Thomas Schaefer
> From: york sun [mailto:york@nxp.com] > Sent: Samstag, 25. März 2017 16:35 > To: Thomas Schaefer; Tom Rini > Cc: u-boot@lists.denx.de > Re: Re: AW: [U-Boot] unused-const-variable warnings in FSL DDR driver > > Thomas, > > Can you put your patch together with proper commit message and

[U-Boot] [PATCH 4/4 v4] dm: test: Add test for device removal

2017-03-27 Thread Stefan Roese
Add a test for the correct device removal. Currently two different ways for device removal are supported: - Normal device removal via the device_remove() API - Removal via selective device driver flags (DM_FLAG_ACTIVE_DMA) This new test "remove_active_dma" adds tests cases for those both ways of

[U-Boot] [PATCH 2/4 v4] dm: core: Add dm_remove_devices_flags() and hook it into device_remove()

2017-03-27 Thread Stefan Roese
The new function dm_remove_devices_flags() is intented for driver specific last-stage cleanup operations before the OS is started. This patch adds this functionality and hooks it into the common device_remove() function. Drivers wanting to use this feature for some last-stage removal calls, need

[U-Boot] [PATCH v2] net: designware: Add phy supply support

2017-03-27 Thread Jacob Chen
Some board need a regulator for gmac phy, so add this code to handle it. Signed-off-by: Jacob Chen --- drivers/net/designware.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index

Re: [U-Boot] fatls returncode

2017-03-27 Thread Wolfgang Denk
Dear Mirza, In message

Re: [U-Boot] [PATCH v2 4/7] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-27 Thread Maxime Ripard
On Fri, Mar 24, 2017 at 05:02:16PM +0100, Jernej Škrabec wrote: > Dne petek, 24. marec 2017 ob 16:53:07 CET je Maxime Ripard napisal(a): > > On Wed, Mar 22, 2017 at 06:19:12PM +0100, Jernej Škrabec wrote: > > > Hi, > > > > > > Dne sreda, 22. marec 2017 ob 08:45:48 CET je Maxime Ripard napisal(a):

Re: [U-Boot] [PATCH 2/2] i2c: ti: Update method to calculate psc, sscl and ssch I2C parameters

2017-03-27 Thread Heiko Schocher
Hello Lukasz, Am 27.03.2017 um 10:04 schrieb Lukasz Majewski: Dear All, This patch updates the way in which psc, sscl and ssch I2C parameters are calculated to be in sync with v4.9 Linux kernel SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826 in the ./drivers/i2c/busses/i2c-omap.c Any

Re: [U-Boot] [PATCH v3] net: Kconfig:make PHY_GIGE and individual Micrel PHYs selectable

2017-03-27 Thread Maxime Ripard
On Sun, Mar 26, 2017 at 06:50:23PM +0200, Philipp Tomsich wrote: > This change migrate the following configuration options for Kconfig: > * PHY_GIGE, indicates that a controller (with an appropriate PHY) is >Gigabit capable and enables extra support in the miiutil for >parsing the status

Re: [U-Boot] [PATCH 1/2] i2c: ti: Update SCLH and SCLL to be in sync with v4.9 Linux kernel

2017-03-27 Thread Heiko Schocher
Hello Lukasz, Am 27.03.2017 um 10:04 schrieb Lukasz Majewski: Dear All, v4.9 Linux release: SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826 in the ./drivers/i2c/busses/i2c-omap.c recommends to use SCLH=5 and SCLL=7 values. This patch sets them to default. Any comments on this? I am fine

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-03-27 Thread Ken Ma
Hi Stefan I think it's a good way, but I wonder why the codes calls ffs() but not fls()? If the linkmap is 0x, it seems that ffs() returns 1 while fls() returns 16, I think max_id should be 16 then. Yours, Ken -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent:

Re: [U-Boot] [PATCH 2/4 v3] dm: core: Add dm_remove_devices_flags() and hook it into device_remove()

2017-03-27 Thread Stefan Roese
Hi Simon, On 26.03.2017 05:52, Simon Glass wrote: On 25 March 2017 at 19:17, Simon Glass wrote: Hi Stefan, On 22 March 2017 at 00:28, Stefan Roese wrote: The new function dm_remove_devices_flags() is intented for driver specific last-stage cleanup

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-03-27 Thread Ken Ma
Hi Stefan Thanks a lot for your kind reply. But I still do not think it's very good to change sata's uclass id from "UCLASS_AHCI" to "UCLASS_SCSI". If we do such change, UCLASS_AHCI is lost since from the sata.c codes, it does the AHCI initialization work but not SCSI initialization work.

Re: [U-Boot] [U-Boot 0/3] introduce Rockchip rockusb

2017-03-27 Thread Lukasz Majewski
HI Eddie, > rockusb is a protocol run between host pc and device. it help people > get device info, flash image to device. this patch implement rockusb > on device side. I'm a bit confused, since I don't know if you work on v2 of those patches (as Kever Yang pointed out that UMS approach could

  1   2   >