[U-Boot] [PATCH 4/5] mmc: tegra: allow disabling external clock loopback

2016-11-30 Thread Marcel Ziswiler
From: Marcel Ziswiler Introduce CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK to disable the external clock loopback and use the internal one on SDMMC3 as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits being set to 0xfffd according to the TRM.

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

2016-11-30 Thread Tom Rini
On Wed, Nov 30, 2016 at 11:39:09AM +0100, Patrick Delaunay wrote: > 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] [PATCH 02/23] MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve

2016-11-30 Thread Daniel Schwierzeck
Am 26.09.2016 um 20:28 schrieb Paul Burton: > When calculating the region to reserve for the stack in > arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to > CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough > memory to reach the end of the address space. >

[U-Boot] [PATCH 3/5] mmc: tegra: move CONFIG_TEGRA_MMC from headers to defconfigs

2016-11-30 Thread Marcel Ziswiler
From: Marcel Ziswiler Basically running the following script: tools/moveconfig.py CONFIG_TEGRA_MMC Note that I left the SPL specific handling in include/configs/tegra-common-post.h unchanged. Signed-off-by: Marcel Ziswiler ---

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

2016-11-30 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 > >CONFIG_PARTITION_UUIDS > >

Re: [U-Boot] [PATCH 03/23] MIPS: Fix map_physmem for cached mappings

2016-11-30 Thread Daniel Schwierzeck
Am 26.09.2016 um 20:28 schrieb Paul Burton: > map_physmem should return a pointer that can be used by the CPU to > access the given memory - on MIPS simply returning the physical address > as it does prior to this patch doesn't achieve that. Instead return a > pointer to the memory within

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

2016-11-30 Thread Breno Lima
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

[U-Boot] [PATCH 5/5] apalis-tk1: disable external clock loopback on SDMMC3

2016-11-30 Thread Marcel Ziswiler
From: Marcel Ziswiler Actually make use of that shiny new CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK. Signed-off-by: Marcel Ziswiler --- configs/apalis-tk1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 01/14] mips: Let cache.h be included from assembly source

2016-11-30 Thread Daniel Schwierzeck
Am 25.11.2016 um 23:32 schrieb Marek Vasut: > Add ifdef __ASSEMBLY__ around the function prototype to let cache.h > be included from assembly code. > > Signed-off-by: Marek Vasut > Cc: Daniel Schwierzeck > Cc: Paul Burton >

[U-Boot] [PATCH 2/5] mmc: tegra: introduce CONFIG_TEGRA_MMC to Kconfig

2016-11-30 Thread Marcel Ziswiler
From: Marcel Ziswiler Signed-off-by: Marcel Ziswiler --- drivers/mmc/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 24f4b28..19e89ab 100644 --- a/drivers/mmc/Kconfig

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

2016-11-30 Thread Fabio Estevam
On Wed, Nov 30, 2016 at 3:12 PM, 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) >

[U-Boot] [PATCH 1/2] arm: imx: initial support for apalis imx6

2016-11-30 Thread Max Krummenacher
This adds board support for the Toradex module family Apalis iMX6. The familiy consists of a module with i.MX6 Dual, i.MX6 Quad with commercial and industrial temperature range. Signed-off-by: Max Krummenacher --- arch/arm/cpu/armv7/mx6/Kconfig |

[U-Boot] [PATCH 2/2] arm: imx: initial support for colibri imx6

2016-11-30 Thread Max Krummenacher
This adds board support for the Toradex module family Colibri iMX6. The familiy consists of a module with i.MX6 DualLite, i.MX6 Solo, both with a version for commercial and industrial temperature range. Signed-off-by: Max Krummenacher ---

Re: [U-Boot] [PATCH 02/14] net: cosmetic: Make the MAC address string less magical

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > In u-boot printf has been extended with the %pM formatter to allow > printing of MAC addresses. However buffers that want to store a MAC > address cannot safely get the size. Add a define for this case so the > string

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

2016-11-30 Thread Joe Hershberger
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 from the hardware (ROM) or may be > set/overriden

Re: [U-Boot] [PATCH] fsl/usb: enable the errata-a005697 for ls1012a

2016-11-30 Thread york sun
On 11/29/2016 06:39 PM, Jerry Huang wrote: > Any comment for this patch? > > Best Regards > Jerry Huang > > -Original Message- > From: Changming Huang [mailto:jerry.hu...@nxp.com] > Sent: Thursday, November 24, 2016 3:14 PM > To: york sun ; u-boot@lists.denx.de > Cc:

[U-Boot] [PATCH 0/2] arm: imx: add boards apalis imx6, colibri imx6

2016-11-30 Thread Max Krummenacher
This series adds support for the Toradex Apalis iMX6 and Colibri iMX6 computer on modules. Tha Apalis iMX6 requires the following patch currently in the u-boot-imx maintainer tree: http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=15fde0fc11f93f19f40c9cda36e7c8d4848d9c75 The whole series

Re: [U-Boot] [PATCH v2] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-30 Thread york sun
On 11/29/2016 07:33 PM, Yuan Yao wrote: > From: Yuan Yao > > The default configuration for QSPI AHB bus can't support 16MB+. > But some flash on NXP layerscape board are more than 16MB. > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Remove the

Re: [U-Boot] [PATCH v3 3/9] ARM: stm32: cleanup stm32f7 files

2016-11-30 Thread Joe Hershberger
On Thu, Nov 24, 2016 at 1:10 PM, Michael Kurz wrote: > Cleanup stm32f7 files: > - use BIT macro > - use GENMASK macro > - use rcc struct instead of macro additions > > Signed-off-by: Michael Kurz Reviewed-by: Joe Hershberger

Re: [U-Boot] [PATCH v4 2/6] ARMv8: Enable SMC instruction

2016-11-30 Thread york sun
On 11/30/2016 01:47 AM, Hongbo Zhang wrote: > OK. > > And currently this series are against the community tree, and if this > should go to your tree, I should rebase to yours, right? > No. Please use upstream master branch. I trye to keep my repo in sync but mostly it is behind by several

[U-Boot] [PATCH] travis.yml: Split Freescale ARM job up more

2016-11-30 Thread Tom Rini
In order to avoid running into the time limit, split the 32bit and 64bit Freescale boards into separate jobs. We could either pass "freescale & armv8" to buildman or exclude all of the 32bit CPUs. While the former is shorter I fear the amount of possible escaping required would make things less

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

2016-11-30 Thread Joe Hershberger
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 environment variables. Remove the magicness > of the

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-11-30 Thread Stephen Warren
On 11/29/2016 11:47 PM, Mirza Krak wrote: 2016-11-30 5:05 GMT+01:00 Stephen Warren : On 11/27/2016 11:05 PM, Mirza Krak wrote: From: Mirza Krak Recently the default UART clock rate has been changed to 48 MHz on all pi`s in the firmware files,

Re: [U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO

2016-11-30 Thread Sebastien Bourdelin
On 11/30/2016 02:16 PM, Tom Rini wrote: > Without this change we see: > ../arch/arm/cpu/arm926ejs/mxs/mxs.c: In function ‘print_cpuinfo’: > ../arch/arm/cpu/arm926ejs/mxs/mxs.c:181:23: warning: unused variable ‘data’ > [-Wunused-variable] > ../arch/arm/cpu/arm926ejs/mxs/mxs.c:180:6: warning:

Re: [U-Boot] [PATCH 08/14] net: core: Add function to check/set MAC locality

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > Universally administered and locally administered addresses are > distinguished by setting the second-least-significant bit of the first > octet of the address. Having a function to check and set this U/L bit > from a

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2016-11-30 Thread Tom Rini
On Wed, Nov 30, 2016 at 07:13:51PM +0100, Daniel Schwierzeck wrote: > Hi Tom, > > Travis-CI build is green (one job has failed due to job time limit) > > https://travis-ci.org/danielschwierzeck/u-boot/builds/180114376 Note that if you head to

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-30 Thread Simon Glass
Hi Joe, On 30 November 2016 at 12:08, Joe Hershberger wrote: > > On Tue, Nov 15, 2016 at 12:05 AM, Mugunthan V N wrote: > > Joe > > > > On Tuesday 15 November 2016 09:10 AM, Joe Hershberger wrote: > >> This is great, but can you please add this

[U-Boot] [GIT PULL] u-boot-mips/master

2016-11-30 Thread Daniel Schwierzeck
Hi Tom, Travis-CI build is green (one job has failed due to job time limit) https://travis-ci.org/danielschwierzeck/u-boot/builds/180114376 The following changes since commit 6b29a395b62965eef6b5065d3a526a8588a92038: Merge git://git.denx.de/u-boot-mpc85xx (2016-11-29 19:42:48 -0500)

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

2016-11-30 Thread Joe Hershberger
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 things went well however (but even if there is a

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

2016-11-30 Thread Joe Hershberger
On Wed, Nov 30, 2016 at 2:10 AM, Olliver Schinagl wrote: > Hey Michal, > > > > On 29-11-16 19:54, Michal Simek wrote: >> >> On 29.11.2016 17:45, Olliver Schinagl wrote: >>> >>> Hey Michal, >>> >>> >>> On 28-11-16 09:21, Michal Simek wrote: On 25.11.2016 16:30,

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-30 Thread Joe Hershberger
On Tue, Nov 15, 2016 at 12:05 AM, Mugunthan V N wrote: > Joe > > On Tuesday 15 November 2016 09:10 AM, Joe Hershberger wrote: >> This is great, but can you please add this info to a bindings file in >> doc/device-tree-bindings/net/keystone-netcp.txt so that it's less >>

[U-Boot] [PATCH] ts4600: Disable CONFIG_DISPLAY_CPUINFO

2016-11-30 Thread Tom Rini
Without this change we see: ../arch/arm/cpu/arm926ejs/mxs/mxs.c: In function ‘print_cpuinfo’: ../arch/arm/cpu/arm926ejs/mxs/mxs.c:181:23: warning: unused variable ‘data’ [-Wunused-variable] ../arch/arm/cpu/arm926ejs/mxs/mxs.c:180:6: warning: variable ‘cpurev’ set but not used

Re: [U-Boot] [PATCH 03/14] net: cosmetic: Define ethernet name length

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > There are various places where the ethernet device name is defined to > several different sizes. Lets add a define and start using it. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/2] Fix patman alignment issues in Add MSCC PHY:VSC8530/VSC8531/VSC8540/VSC8541

2016-11-30 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 6:11 PM, John Haechten wrote: > From 2dc0ca2639fb806df031dc4bb2a1bca655f97b08 Mon Sep 17 00:00:00 2001 > From: John Haechten > Date: Mon, 14 Nov 2016 08:50:48 -0800 > Subject: [PATCH 2/2] Fix patman alignment

Re: [U-Boot] [PATCH 05/14] net: core: cosmetic: A MAC address is not limited to SROM

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > Currently, we print that the MAC from the SROM does not match. It can be > many forms of ROM, so lets drop the S. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2016-11-30 Thread Daniel Schwierzeck
Am 30.11.2016 um 20:01 schrieb Tom Rini: > On Wed, Nov 30, 2016 at 07:13:51PM +0100, Daniel Schwierzeck wrote: >> Hi Tom, >> >> Travis-CI build is green (one job has failed due to job time limit) >> >> https://travis-ci.org/danielschwierzeck/u-boot/builds/180114376 > > Note that if you

Re: [U-Boot] [PATCH v3 0/9] From Simon:

2016-11-30 Thread Heiko Stübner
Hi Simon, Am Mittwoch, 30. November 2016, 12:52:22 schrieb Heiko Stübner: > Am Dienstag, 29. November 2016, 19:47:10 schrieb Simon Glass: > > On 29 November 2016 at 16:45, Heiko Stübner wrote: > > > Am Sonntag, 27. November 2016, 10:01:40 schrieb Simon Glass: > > >> This v3

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

2016-11-30 Thread Joe Hershberger
On Wed, Nov 30, 2016 at 4:54 AM, Hans de Goede wrote: > Hi, > > > On 30-11-16 11:50, Olliver Schinagl wrote: >> >> Hey maime, >> >> Sorry for constantly getting your e-mail address wrong! Sorry! >> >> On 30-11-16 10:12, maxime.rip...@free-electrons.com wrote: >>> >>> On Wed,

[U-Boot] [PATCH v1 1/5] common: scsi: Remove completely unused functions

2016-11-30 Thread Michal Simek
These functions are not called for any location. This patch removes them scsi_trim_trail(), scsi_get_disk_count() and scsi_setup_read6(). Signed-off-by: Michal Simek --- common/scsi.c | 35 --- include/scsi.h | 3 --- 2 files changed,

[U-Boot] [PATCH v1 2/5] common: scsi: Make private functions static

2016-11-30 Thread Michal Simek
Several functions should be static because they are not exported to any other file. Warnings were reported by sparse C=1. Signed-off-by: Michal Simek --- common/scsi.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/common/scsi.c

[U-Boot] [PATCH v1 3/5] cmd: scsi: Make private functions static

2016-11-30 Thread Michal Simek
Two functions should be static because they are not exported to any other file. Warnings were reported by sparse C=1. Signed-off-by: Michal Simek --- cmd/scsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/scsi.c b/cmd/scsi.c index

[U-Boot] [PATCH v1 5/5] scsi: Separate SCSI private block description initialization

2016-11-30 Thread Michal Simek
When blk_create_device() is called some parameters in blk_desc are automatically filled. Separate SCSI private initialization and SCSI full block device initialization not to rewrite already prepared data. Signed-off-by: Michal Simek --- common/scsi.c | 28

[U-Boot] [PATCH v1 4/5] scsi: Change scsi_scan() to be able to return value

2016-11-30 Thread Michal Simek
With DM_SCSI this function will return more than one return value to cover errors. Suggested-by: Simon Glass Signed-off-by: Michal Simek --- cmd/scsi.c | 14 ++ common/scsi.c | 3 ++- include/scsi.h | 2 +- 3 files changed, 13

[U-Boot] Travis CI

2016-11-30 Thread york sun
Guys, I noticed you have been improving .travis.yml. Can you share some performance data when using it? I am still using Jenkins to verify my branches for every commit. Due to the limitation of computing power, I don't cover all targets. This has caused several "oops". Please share your

Re: [U-Boot] [PATCH 14/14] tools: Add tool to add crc8 to a mac address

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > This patch adds a little tool that takes a generic MAC address and > generates a CRC byte for it. The output is the full MAC address without > any separators, ready written into an EEPROM. > > Signed-off-by: Olliver

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

2016-11-30 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 v3 2/2] block: Move ceva driver to DM

2016-11-30 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 v3: - Extend Kconfig help description - sort dm.h - Remove

Re: [U-Boot] [PATCH 5/6] arm: sunxi: Use board hooks to obtain MAC address

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl wrote: > Add board hooks allowing to get ethernet addresses in a board specific > manner. Currently this is done by generating a MAC address from > the SID and injecting the ethernet device number in the first octet. > > This

[U-Boot] [PATCH v2 2/2] common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO

2016-11-30 Thread Angelo Dureghello
Change all coldfire board files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello --- Changes for v2: - no changes --- configs/M5208EVBE_defconfig | 1 + configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig

[U-Boot] [PATCH v2 1/2] common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO

2016-11-30 Thread Angelo Dureghello
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello --- Changes for v2: - update common/Kconfig to add M68K to the default y list --- arch/m68k/cpu/mcf5227x/cpu.c | 4 +++- arch/m68k/cpu/mcf523x/cpu.c| 4 +++-

[U-Boot] [PATCH v2 2/8] spl: Add a name to the SPL load-image methods

2016-11-30 Thread Simon Glass
It is useful to name each method so that we can print out this name when using the method. Currently this happens using a separate function. In preparation for unifying this, add a name to each method. The name is only available if we have libcommon support (i.e can use printf()). Signed-off-by:

[U-Boot] [PATCH v2 1/8] spl: Use a single underscore in the SPL_LOAD_IMAGE_METHOD() macro

2016-11-30 Thread Simon Glass
A double underscore is normally reserved for compiler predefines. Use a single underscore instead. Signed-off-by: Simon Glass --- Changes in v2: None include/spl.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/spl.h

Re: [U-Boot] [PATCH 11/14] fdt: eth_fixup: improve error catching/reduce identation

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > Currently when checking for an error in ethernet aliases in the fdt, we > only check for the error case -1. It is safer to ignore anything < 0. > > By rearranging logic a bit we can now also reduce identation. > >

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

2016-11-30 Thread Joe Hershberger
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 has an alias set, it is parsed and put into the >

Re: [U-Boot] [PATCH 4/6] net: sunxi-emac: Add read_rom_hwaddr net_op hook

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/sunxi_emac.c | 16

Re: [U-Boot] Travis CI

2016-11-30 Thread Stephen Warren
On 11/30/2016 12:47 PM, york sun wrote: Guys, I noticed you have been improving .travis.yml. Can you share some performance data when using it? I am still using Jenkins to verify my branches for every commit. Due to the limitation of computing power, I don't cover all targets. This has caused

Re: [U-Boot] [PATCH 1/6] net: dw: Add read_rom_hwaddr net_op hook

2016-11-30 Thread Joe Hershberger
On Wed, Nov 30, 2016 at 2:16 AM, Olliver Schinagl wrote: > Hey Simon, > > > > On 29-11-16 22:41, Simon Glass wrote: >> >> Hi Oliver, >> >> On 28 November 2016 at 03:38, Olliver Schinagl wrote: >>> >>> On 27-11-16 18:02, Simon Glass wrote: Hi,

Re: [U-Boot] [PATCH 2/6] net: sunxi-emac: Write HW address via function

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl wrote: > Currently the mac address is programmed directly in _sunxi_emac_eth_init > making it a one time inflexible operation. By moving it into a separate > function, we can now use this more flexibly. > > Signed-off-by:

[U-Boot] [PATCH v2 3/6] colibri_vf: use device-tree for MTD partitions

2016-11-30 Thread Stefan Agner
From: Stefan Agner Use device-tree fixup to communicate the MTD partitions to the kernel. U-Boot's mtdparts environment variable will be used as partition source for the device-tree based partition table too. Signed-off-by: Stefan Agner ---

[U-Boot] [PATCH v2 1/6] toradex: fix USB Download gadget fixup callback

2016-11-30 Thread Stefan Agner
From: Stefan Agner Use the proper config option to guard the USB Download Function fixup callback. Signed-off-by: Stefan Agner --- Changes in v2: None board/toradex/common/tdx-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH v2 6/6] ARM: dts: vf: Fix warning about missing reg property

2016-11-30 Thread Stefan Agner
From: Stefan Agner Add proper reg values for the two AIPS bus nodes. This avoids this two warnings: Node /soc/aips-bus@4000 has a unit name, but no reg property Node /soc/aips-bus@4008 has a unit name, but no reg property Signed-off-by: Stefan Agner

[U-Boot] [PATCH v2 4/6] colibri_vf: cleanup USB clock initialization

2016-11-30 Thread Stefan Agner
From: Stefan Agner Use the same preprocessor define to enable clocks as we use to enable the driver. Make sure that the necessary PLL's are on (they get enabled by boot ROM by default, so this is more for completness). Signed-off-by: Stefan Agner

[U-Boot] [PATCH v2 5/6] colibri_vf: use same NAND clock as Linux uses

2016-11-30 Thread Stefan Agner
From: Stefan Agner Currently a divider of 6 has been used, leading to following NAND Flash Controller (NFC) clocks: VF61: 27.7 MHz (166.7MHz bus clock) VF50: 22 MHz (132MHz bus clock) The NAND Flash Memory used on VF50 allows to use clock speed of up to 33MHz, while

Re: [U-Boot] [PATCH 10/14] fdt: fixup_eth: Remove code duplication with a function

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl wrote: > In fdt_support.c we use a loop to parse the mac address string from the > fdt blob, net.h has a function for this however, so lets use it. > > Also, rename the variable from tmp to something more descriptive. > >

Re: [U-Boot] [PATCH 3/6] net: sunxi-emac: Add write_hwaddr net_op hook

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl wrote: > Expose enetaddr writing via net_ops so that it can be hooked into. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/sunxi_emac.c | 12 > 1 file changed, 12 insertions(+) > >

Re: [U-Boot] [PATCH v2 1/3] net: Kconfig: Add CONFIG_MACB option

2016-11-30 Thread Joe Hershberger
Hi Tom, On Tue, Nov 1, 2016 at 9:06 PM, Wenyou Yang wrote: > Add CONFIG_MACB option in KConfig to be used to select the Cadence > MACB Ethernet driver. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > drivers/net/Kconfig | 10

Re: [U-Boot] [PATCH 2/4 v3] fsl/ddr: Add erratum_a009942_check_cpo and clean related erratum

2016-11-30 Thread york sun
On 11/20/2016 07:49 PM, Shengzhou Liu wrote: > - add additional function erratum_a009942_check_cpo to check if the > board needs tuning CPO calibration for optimal setting. > - move ERRATUM_A009942(with revision to check cpo_sample option) from > fsl_ddr_gen4.c to ctrl_regs.c for reuse on all

Re: [U-Boot] arm, Makefile: set SPL_PAYLOAD according to the SoC architecture

2016-11-30 Thread york sun
On 09/16/2016 12:16 PM, Raghav Dogra wrote: > SPL_PAYLOAD should be .img in case of ARM architecture and .bin in > case of other architectures. This patch takes care of the same by choosing > the SPL_PAYLOAD as u-boot.img for ARM architecture and u-boot.bin for others. > > Signed-off-by: Raghav

Re: [U-Boot] [RFC PATCH v2 4/7] env: Introduce "transient" and "system" access flags

2016-11-30 Thread Joe Hershberger
On Wed, Nov 30, 2016 at 4:08 AM, Bernhard Nortmann wrote: > Hi Joe! > > Thanks for chiming in, especially seeing that you have previously worked > on something very similar. Sure! Sorry I didn't review this sooner. > Am 27.11.2016 um 19:53 schrieb Joe Hershberger: >>

[U-Boot] [PATCH v2 2/6] toradex: allow custom fdt board setup in board file

2016-11-30 Thread Stefan Agner
From: Stefan Agner The config block support currently uses the ft_board_setup function to patch the device tree with config block information. However, this does not allow to patch the device tree with board specific information. Rename the common setup function to

[U-Boot] [PATCH v2 0/6] cleanup and enhancements for Colibri VFxx

2016-11-30 Thread Stefan Agner
From: Stefan Agner This patchset cleans up the board file, speeds up NAND slightly and enhances the board support with device tree MTD partition support. It also fixes a bug in the new Toradex config block code. Not sure through which tree that should go, especially

Re: [U-Boot] Travis CI

2016-11-30 Thread york sun
On 11/30/2016 01:43 PM, york@nxp.com wrote: > On 11/30/2016 01:35 PM, Stephen Warren wrote: >> On 11/30/2016 12:47 PM, york sun wrote: >>> Guys, >>> >>> I noticed you have been improving .travis.yml. Can you share some >>> performance data when using it? I am still using Jenkins to verify my

Re: [U-Boot] Travis CI

2016-11-30 Thread york sun
On 11/30/2016 01:35 PM, Stephen Warren wrote: > On 11/30/2016 12:47 PM, york sun wrote: >> Guys, >> >> I noticed you have been improving .travis.yml. Can you share some >> performance data when using it? I am still using Jenkins to verify my >> branches for every commit. Due to the limitation of

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

2016-11-30 Thread Joe Hershberger
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 read MAC addresses from this EEPROM. > > Besides

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

2016-11-30 Thread Joe Hershberger
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl wrote: > This patch enables the I2C EEPROM to be probed for a MAC address on the > OLinuXino Lime1 and Lime2 boards. Other boards surely qualify as well > but where not tested yet. typo: where -> were > > Signed-off-by:

Re: [U-Boot] [PATCH 2/4 v3] fsl/ddr: Add erratum_a009942_check_cpo and clean related erratum

2016-11-30 Thread york sun
On 11/30/2016 01:28 PM, york@nxp.com wrote: > On 11/20/2016 07:49 PM, Shengzhou Liu wrote: >> - add additional function erratum_a009942_check_cpo to check if the >> board needs tuning CPO calibration for optimal setting. >> - move ERRATUM_A009942(with revision to check cpo_sample option)

[U-Boot] [PATCH v2 5/8] spl: Drop announce_boot_device()

2016-11-30 Thread Simon Glass
This task can be handled by inline code now. Drop this function. Signed-off-by: Simon Glass --- Changes in v2: None common/spl/spl.c | 86 ++-- 1 file changed, 3 insertions(+), 83 deletions(-) diff --git

[U-Boot] [PATCH v2 8/8] spl: sandbox: Drop spl_board_announce_boot_device()

2016-11-30 Thread Simon Glass
This function is not used anymore. Drop it. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/cpu/spl.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index

[U-Boot] [PATCH v2 7/8] spl: uniphier: Drop spl_board_announce_boot_device()

2016-11-30 Thread Simon Glass
This function is not used anymore. Drop it. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-uniphier/boot-mode/spl_board.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-uniphier/boot-mode/spl_board.c

[U-Boot] [PATCH v3 0/1] cmd: pci: add option to parse and display BAR information

2016-11-30 Thread yehuday
From: Yehuda Yitschak Updated v3 following review from Simon. The only issue i wasn't able to address is the warnings on the PCI BAR print format when compiling sandbox. I wasn't able to reproduce them on my machine nor when compiling to ARMv7 (32 bit) or ARMv8 (64 bit).

[U-Boot] [PATCH v3 1/1] cmd: pci: add option to parse and display BAR information

2016-11-30 Thread yehuday
From: Yehuda Yitschak Currently the PCI command only allows to see the BAR register values but not the size and actual base address. This little extension parses the BAR registers and displays the base, size and type of each BAR. Signed-off-by: Yehuda Yitschak

Re: [U-Boot] [PATCH 1/6] net: dw: Add read_rom_hwaddr net_op hook

2016-11-30 Thread Olliver Schinagl
Hey Simon, On 29-11-16 22:41, Simon Glass wrote: Hi Oliver, On 28 November 2016 at 03:38, Olliver Schinagl wrote: On 27-11-16 18:02, Simon Glass wrote: Hi, On 25 November 2016 at 08:38, Olliver Schinagl wrote: Add the read_rom_hwaddr net_op hook

Re: [U-Boot] [PATCH v4 3/6] ARMv8: Add secure sections for PSCI text and data

2016-11-30 Thread Hongbo Zhang
Hmm, my way was still programmer "manually" exclusive. Will add that. Thanks. On Wed, Nov 30, 2016 at 4:51 AM, york sun wrote: > On 11/29/2016 12:49 PM, york@nxp.com wrote: >> On 11/25/2016 02:48 AM, Hongbo Zhang wrote: >>> This patch adds secure_text, secure_data and

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

2016-11-30 Thread Olliver Schinagl
Hey Michal, On 29-11-16 19:54, Michal Simek wrote: On 29.11.2016 17:45, Olliver Schinagl wrote: Hey Michal, On 28-11-16 09:21, Michal Simek wrote: On 25.11.2016 16:30, Olliver Schinagl wrote: This patch allows Kconfig to enable and set parameters to make it possible to read the MAC

Re: [U-Boot] [PATCH v6] mx6sx: Add initial support for Samtec VIN|ING 2000 board

2016-11-30 Thread Stefano Babic
On 29/11/2016 16:13, Christoph Fritz wrote: > This patch adds initial support for Samtec VIN|ING 2000 board. > > Signed-off-by: Christoph Fritz > --- > Changes since v1: > - add more comments (enet phy init) > - fix layout style e.g. multi-line-comments > - use

Re: [U-Boot] [PATCH v4 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-30 Thread Hongbo Zhang
Oops. I did remove this generic PSCI for LS platform since we have our specific PPA, but that change wasn't included at last, I'll update this. On Wed, Nov 30, 2016 at 4:55 AM, york sun wrote: > On 11/25/2016 02:48 AM, Hongbo Zhang wrote: >> A most basic PSCI implementation

Re: [U-Boot] [PATCHv3 09/15] pci: layerscape: add pci driver based on DM

2016-11-30 Thread Z.Q. Hou
Hi Simon, Thanks for your comments! > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年11月30日 5:41 > To: Z.Q. Hou > Cc: U-Boot Mailing List ; Albert ARIBAUD >

[U-Boot] [PATCH] configs: omap5_uevm_defconfig: Enable LPAE mode

2016-11-30 Thread Keerthy
Enable Linear Physical Address Extension mode which is a prerequisite for hypervisor mode. Signed-off-by: Keerthy --- configs/omap5_uevm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig index

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-11-30 Thread Z.Q. Hou
Hi York, > -Original Message- > From: york sun > Sent: 2016年11月30日 5:58 > To: Z.Q. Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; w...@denx.de; Prabhakar Kushwaha > ; Alison Wang ; > Mingkai Hu

Re: [U-Boot] [PATCH 2/2] common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO

2016-11-30 Thread Angelo Dureghello
Hi Tom, On 30/11/2016 03:55, Tom Rini wrote: On Wed, Nov 30, 2016 at 12:35:28AM +0100, Angelo Dureghello wrote: Change all coldfire board files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello [snip] 48 files changed, 48 insertions(+) Please just update

Re: [U-Boot] [PATCH v4 0/6] Add ARMv8 PSCI framework

2016-11-30 Thread Hongbo Zhang
Will add "depends on !ARMV8_PSCI" for FSL_LS_PPA and "depends on !FSL_LS_PPA" for ARMV8_PSCI Thanks. On Wed, Nov 30, 2016 at 5:59 AM, york sun wrote: > On 11/28/2016 06:06 PM, Hongbo Zhang wrote: >> Hi York, >> This generic PSCI is controlled by CONFIG_ARMV8_PSCI, if enabled,

[U-Boot] [PATCH] am57xx: Set tps659038 PMIC GPIO7 pad mux value to POWERHOLD

2016-11-30 Thread Keerthy
The GPIO7 pad mux should be programmed to POWERHOLD value as per board design. In cases where the PMIC is shut off the mux is set to GPIO7 mode. So during initialization to be on the safer side set the mode to POWERHOLD. Signed-off-by: Keerthy --- board/ti/am57xx/board.c | 17

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

2016-11-30 Thread Michal Simek
On 30.11.2016 09:10, Olliver Schinagl wrote: > Hey Michal, > > > On 29-11-16 19:54, Michal Simek wrote: >> On 29.11.2016 17:45, Olliver Schinagl wrote: >>> Hey Michal, >>> >>> >>> On 28-11-16 09:21, Michal Simek wrote: On 25.11.2016 16:30, Olliver Schinagl wrote: > This patch allows

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

2016-11-30 Thread Marcel Ziswiler
Hi Olliver On Fri, 2016-11-25 at 16:30 +0100, 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 has an alias set, it is parsed and put into > the >

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

2016-11-30 Thread maxime.rip...@free-electrons.com
On Wed, Nov 30, 2016 at 09:00:51AM +, Marcel Ziswiler wrote: > Hi Olliver > > On Fri, 2016-11-25 at 16:30 +0100, 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 > >

Re: [U-Boot] [PATCH v4 2/6] ARMv8: Enable SMC instruction

2016-11-30 Thread Hongbo Zhang
OK. And currently this series are against the community tree, and if this should go to your tree, I should rebase to yours, right? On Wed, Nov 30, 2016 at 4:49 AM, york sun wrote: > On 11/25/2016 02:47 AM, Hongbo Zhang wrote: >> PSCI implementation needs the SMC instruction to

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

2016-11-30 Thread Hans de Goede
Hi, On 30-11-16 11:50, Olliver Schinagl wrote: Hey maime, Sorry for constantly getting your e-mail address wrong! Sorry! On 30-11-16 10:12, maxime.rip...@free-electrons.com wrote: On Wed, Nov 30, 2016 at 09:00:51AM +, Marcel Ziswiler wrote: Hi Olliver On Fri, 2016-11-25 at 16:30 +0100,

Re: [U-Boot] [PATCH v2 7/7] block: Move ceva driver to DM

2016-11-30 Thread Michal Simek
On 30.11.2016 01:32, Simon Glass wrote: > Hi Michal, > > On 25 November 2016 at 08:00, Michal Simek wrote: >> This patch also includes ARM64 zynqmp changes: >> - Remove platform non DM initialization >> - Remove hardcoded sata base address >> >> Signed-off-by: Michal

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

2016-11-30 Thread Olliver Schinagl
Hey maime, Sorry for constantly getting your e-mail address wrong! Sorry! On 30-11-16 10:12, maxime.rip...@free-electrons.com wrote: On Wed, Nov 30, 2016 at 09:00:51AM +, Marcel Ziswiler wrote: Hi Olliver On Fri, 2016-11-25 at 16:30 +0100, Olliver Schinagl wrote: This patch adds a

[U-Boot] [RFC PATCH v2 3/8] disk: part: add support of GPT partitioning over MTD

2016-11-30 Thread Patrick Delaunay
From: Patrick Delaunay Signed-off-by: Patrick Delaunay Signed-off-by: Patrick Delaunay --- Changes in v2: None Kconfig| 12 ++ disk/part_efi.c| 445

  1   2   3   >