Re: [U-Boot] [PATCH v3 1/2] Txxx/RCW: Split unified RCW to RCWs for sd, spi and nand.

2016-09-06 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Zhao Qiang > Sent: Wednesday, September 07, 2016 7:05 AM > To: york sun > Cc: u-boot@lists.denx.de; X.B. Xie > Subject: [U-Boot] [PATCH v3 1/2] Txxx/RCW: Split

Re: [U-Boot] [PATCH v3 2/2] pbl: use "wait" command instead of "flush" command

2016-09-06 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Zhao Qiang > Sent: Wednesday, September 07, 2016 7:05 AM > To: york sun > Cc: u-boot@lists.denx.de; X.B. Xie > Subject: [U-Boot] [PATCH v3 2/2] pbl: use "wait"

Re: [U-Boot] [PATCH v2 21/44] Convert CONFIG_SPL_GPIO_SUPPORT to Kconfig

2016-09-06 Thread Masahiro Yamada
2016-09-07 0:54 GMT+09:00 Tom Rini : > On Mon, Sep 05, 2016 at 07:04:45PM -0600, Simon Glass wrote: >> Hi Masahiro, >> >> On 4 September 2016 at 20:40, Masahiro Yamada >> wrote: >> > 2016-09-02 23:35 GMT+09:00 Tom Rini : >> >

Re: [U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Heiko Schocher
Hello Adam, Am 07.09.2016 um 06:39 schrieb Heiko Schocher: Hello Adam, Am 06.09.2016 um 16:44 schrieb Adam Oleksy: Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the

Re: [U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Heiko Schocher
Hello Adam, Am 06.09.2016 um 16:44 schrieb Adam Oleksy: Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the UBIFS partition. I faced problem, that u-boot does not want to

Re: [U-Boot] [PATCH 1/5] ti: omap5: Add Kconfig options for secure EMIF reservations

2016-09-06 Thread Allred, Daniel
On 9/6/2016 3:23 PM, Andrew F. Davis wrote: > On 09/02/2016 12:40 AM, Daniel Allred wrote: >> Adds start address and size config options for setting aside >> a portion of the EMIF memory space for usage by security software >> (like a secure OS/TEE). There are two sizes, a total size and a >>

Re: [U-Boot] [PATCH v2 01/44] Correct defconfigs using savedefconfig

2016-09-06 Thread Masahiro Yamada
2016-09-07 3:01 GMT+09:00 Tom Rini : > On Mon, Sep 05, 2016 at 11:47:00AM +0900, Masahiro Yamada wrote: >> 2016-08-30 9:21 GMT+09:00 Simon Glass : >> > Update the defconfig files to match their canonical form, as produced by >> > 'make safedefconfig'. >> > >>

Re: [U-Boot] [PATCH 3/5] ARM: DRA7: Add secure emif setup calls

2016-09-06 Thread Allred, Daniel
On 9/6/2016 3:41 PM, Andrew F. Davis wrote: > On 09/02/2016 12:40 AM, Daniel Allred wrote: >> After EMIF DRAM is configured, but before it is used, >> calls are made on secure devices to reserve any configured >> memory region needed by the secure world and then to lock the >> EMIF firewall

Re: [U-Boot] [PATCH 3/5] ARM: DRA7: Add secure emif setup calls

2016-09-06 Thread Allred, Daniel
On 9/2/2016 9:54 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 12:40:22AM -0500, Daniel Allred wrote: >> After EMIF DRAM is configured, but before it is used, >> calls are made on secure devices to reserve any configured >> memory region needed by the secure world and then to lock the >> EMIF

Re: [U-Boot] [PATCH 4/5] ti_omap5_common: mark region of DRAM protected on HS parts

2016-09-06 Thread Allred, Daniel
On 9/6/2016 3:54 PM, Andrew F. Davis wrote: > On 09/02/2016 12:40 AM, Daniel Allred wrote: >> If the ending portion of the DRAM is reserved for secure >> world use, then u-boot cannot use this memory for its relocation >> purposes. To prevent issues, we mark this memory as PRAM and this >>

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-06 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun > Sent: Tuesday, September 06, 2016 9:10 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [PATCH] arch: ifc: update the IFC IP input clock > > On 09/06/2016 04:15 AM, Prabhakar Kushwaha wrote: > > IFC

[U-Boot] [PATCH v3 2/2] pbl: use "wait" command instead of "flush" command

2016-09-06 Thread Zhao Qiang
FLUSH command is restricted to CCSR board. So use WAIT command in case of non-CCSR board. Signed-off-by: Zhao Qiang --- Changes for v2: - split to two patches Changes for v3: - modify commit msg board/freescale/t208xqds/t208x_pbi.cfg | 3 +--

Re: [U-Boot] [PATCH v6 05/10] cpu: Add DMTF id and family fields

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > For SMBIOS tables we need to know the CPU family as well as CPU IDs. This > patches allocates some space for them in the cpu device and populates it > on x86. > > Signed-off-by: Alexander Graf > --- >

Re: [U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Scott Wood
On 09/06/2016 02:31 PM, Ronak Desai wrote: > We don't need to update fsl_ifc_sram_init() as fsl_ifc_sram_init is > called from the fsl_ifc_chip_init which configures the ifc_ctrl->cs_nand > with correct value based on the chip-select under initialization. > > Best Regards, > Ronak Desai We

Re: [U-Boot] [PATCH v6 07/10] smbios: Generate type 4 on non-x86 systems

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > The type 4 table generation code is very x86 centric today. Refactor things > out into the device model cpu class to allow the tables to get generated for > other architectures as well. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [PATCH v6 06/10] cpu: Add get_vendor callback

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > The CPU udevice already has a few callbacks to retreive information > about the currently running CPUs. This patch adds a new get_vendor() > call that returns the vendor of the main CPUs. > > Signed-off-by: Alexander Graf

[U-Boot] [PATCH v3 1/2] Txxx/RCW: Split unified RCW to RCWs for sd, spi and nand.

2016-09-06 Thread Zhao Qiang
T series boards use unified RCW for sd, api and nand boot. Now split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg and txxx_nand_rcw.cfg for SPI/NAND/SD boot. And modify RCW[PBI_SRC] for them, PBI_SRC=5for SPI 24-bit addressing PBI_SRC=6for SD boot

Re: [U-Boot] [PATCH v6 01/10] x86: Move table csum into separate file

2016-09-06 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > We need the checksum function without all the other table functionality > soon, so let's split it out into its own C file. > > Signed-off-by: Alexander Graf > > --- > > v5 -> v6: > > - Move to C file > --- >

Re: [U-Boot] [PATCH v2 3/4] ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig

2016-09-06 Thread Masahiro Yamada
Tom, 2016-08-30 16:22 GMT+09:00 Masahiro Yamada : > Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms > can select. Then, move CONFIG_ARMV7_PSCI, which is automatically > enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled. > >

Re: [U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Scott Wood
On 09/06/2016 08:44 AM, Matt Weber wrote: > Corrected the chip selection in IFC_NAND_CSEL register. Due to this > issue in multi-chip nand use-case, IFC was always pointing to the last > probed chip even though the user select another device through "nand > device" command. > > Signed-off-by:

[U-Boot] [PATCH 3/5] arm: mvebu: fix kirkwood initial setup

2016-09-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- board/Synology/ds109/kwbimage.cfg | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/board/Synology/ds109/kwbimage.cfg b/board/Synology/ds109/kwbimage.cfg index 19d77e3..d544af5

[U-Boot] [PATCH 5/5] arm: mvebu: fix Synology board tag

2016-09-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- board/Synology/ds109/ds109.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c index 8ab1387..b46c09d 100644 --- a/board/Synology/ds109/ds109.c +++

Re: [U-Boot] [PATCH 4/5] ti_omap5_common: mark region of DRAM protected on HS parts

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 03:54:31PM -0500, Andrew F. Davis wrote: > On 09/02/2016 12:40 AM, Daniel Allred wrote: > > If the ending portion of the DRAM is reserved for secure > > world use, then u-boot cannot use this memory for its relocation > > purposes. To prevent issues, we mark this memory as

[U-Boot] [PATCH 2/5] arm: mvebu: ds109 board is maintained

2016-09-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- board/Synology/ds109/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/Synology/ds109/MAINTAINERS diff --git a/board/Synology/ds109/MAINTAINERS b/board/Synology/ds109/MAINTAINERS new file mode

[U-Boot] [PATCH 1/5] arm: mvebu: add support for Synology DS109 board

2016-09-06 Thread Walter Schweizer
Synology DS109 is based on MV88F6281. The code is based on Dreamplug code with modificatons from Synologys open source repository. Signed-off-by: Walter Schweizer --- arch/arm/mach-kirkwood/Kconfig| 4 + board/Synology/ds109/Kconfig | 12 +++

[U-Boot] [PATCH 4/5] arm: mvebu: fix output enable settings

2016-09-06 Thread Walter Schweizer
Signed-off-by: Walter Schweizer --- board/Synology/ds109/ds109.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/Synology/ds109/ds109.h b/board/Synology/ds109/ds109.h index 95d924c..a57cda7 100644 --- a/board/Synology/ds109/ds109.h +++

Re: [U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Ronak Desai
We don't need to update fsl_ifc_sram_init() as fsl_ifc_sram_init is called from the fsl_ifc_chip_init which configures the ifc_ctrl->cs_nand with correct value based on the chip-select under initialization. Best Regards, Ronak Desai On Tue, Sep 6, 2016 at 12:01 PM, Scott Wood

[U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Oleksy, Adam (Nokia - PL/Wroclaw)
Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the UBIFS partition. I faced problem, that u-boot does not want to compile with enabledĀ UBI/UBIFS support, due to lack of

Re: [U-Boot] [PATCH 4/5] ti_omap5_common: mark region of DRAM protected on HS parts

2016-09-06 Thread Andrew F. Davis
On 09/02/2016 12:40 AM, Daniel Allred wrote: > If the ending portion of the DRAM is reserved for secure > world use, then u-boot cannot use this memory for its relocation > purposes. To prevent issues, we mark this memory as PRAM and this > prevents it from being used by u-boot at all. > >

Re: [U-Boot] [PATCH 3/5] ARM: DRA7: Add secure emif setup calls

2016-09-06 Thread Andrew F. Davis
On 09/02/2016 12:40 AM, Daniel Allred wrote: > After EMIF DRAM is configured, but before it is used, > calls are made on secure devices to reserve any configured > memory region needed by the secure world and then to lock the > EMIF firewall configuration. If any other firewall > configuration

Re: [U-Boot] [PATCH 1/5] ti: omap5: Add Kconfig options for secure EMIF reservations

2016-09-06 Thread Andrew F. Davis
On 09/02/2016 12:40 AM, Daniel Allred wrote: > Adds start address and size config options for setting aside > a portion of the EMIF memory space for usage by security software > (like a secure OS/TEE). There are two sizes, a total size and a > protected size. The region is divided into protected

Re: [U-Boot] [PATCH] net: mvneta: fix typo in comment

2016-09-06 Thread Joe Hershberger
On Mon, Aug 29, 2016 at 3:54 AM, Chris Packham wrote: > Signed-off-by: Chris Packham Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net: asix: Fix AX88772B when used with DriverModel

2016-09-06 Thread Joe Hershberger
On Mon, Sep 5, 2016 at 11:03 PM, Joshua Scott wrote: > A previous patch (net: asix: fix operation without eeprom) added a > two-byte shift to the packet buffer when receiving a packet on the > AX88772B. > > This shift was not included when the driver was updated

Re: [U-Boot] [PATCH 8/9] net: nfs: Use the tx buffer to construct rpc msgs

2016-09-06 Thread Joe Hershberger
On Tue, Sep 6, 2016 at 8:09 AM, Guillaume Gardet wrote: > Hi Joe, > > I tested 2016.09-rc2 on a beagleboard xM and NFS does not work anymore! > When I call the nfs command, I get a "data abort" error with a reboot of the > board! Yikes! > A git bisect point to this

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-06 Thread Stephen Warren
On 09/06/2016 12:14 PM, Julian Scheel wrote: On 06.09.16 19:15, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes support for the minimal reference platform called Kein Baseboard, which in fact is sufficient

Re: [U-Boot] [PATCHv5 1/4] Revert "tegra: Add support for setting up a as3722 PMIC"

2016-09-06 Thread Stephen Warren
On 09/06/2016 12:04 PM, Julian Scheel wrote: On 06.09.16 18:50, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: This reverts commit 346451b5888c4663bccef4c5203357319aa41f99. The pmic shall be initialised in board specific code, as it is done for jetson-tk1 and meerkat. It

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-06 Thread Stephen Warren
On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes support for the minimal reference platform called Kein Baseboard, which in fact is sufficient to run most existing Meerkat carriers. diff --git

Re: [U-Boot] [PATCHv5 3/4] ARM: tegra124: Add an option to disable CoreSight

2016-09-06 Thread Stephen Warren
On 09/06/2016 12:06 PM, Julian Scheel wrote: On 06.09.16 18:54, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: From: Alban Bedel When running on a SoC with a secure bootloader CoreSight isn't allowed, so add an option to disable the

Re: [U-Boot] [PATCH 2/2] pbl: use "wait" command instead of "flush" command

2016-09-06 Thread york sun
On 09/04/2016 07:42 PM, Zhao Qiang wrote: > FLUSH command is restricted to CCSR space. So use WAIT > command in case of non-CCSR board. s/board/space York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] Txxx/RCW: Split unified RCW to RCWs for sd, spi and nand.

2016-09-06 Thread york sun
On 09/04/2016 07:42 PM, Zhao Qiang wrote: > T series boards use unified RCW for sd, api and nand boot. > Now split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg > and txxx_nand_rcw.cfg for SPI/NAND/SD boot. > > Signed-off-by: Zhao Qiang > --- > .../t102xqds/{t1024_rcw.cfg

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-06 Thread Julian Scheel
On 06.09.16 19:15, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes support for the minimal reference platform called Kein Baseboard, which in fact is sufficient to run most existing Meerkat carriers. diff

Re: [U-Boot] [PATCH v2 07/44] Use separate options for TPL support

2016-09-06 Thread Simon Glass
Hi Tom, On 6 September 2016 at 12:06, Tom Rini wrote: > On Mon, Aug 29, 2016 at 06:21:15PM -0600, Simon Glass wrote: > >> At present TPL uses the same options as SPL support. In a few cases the board >> config enables or disables the SPL options depending on whether >>

[U-Boot] [PATCH] fsl_ifc_nand: Added random output enable cmd

2016-09-06 Thread Matt Weber
This patch adds random output enable command support in IFC nand controller driver. This command implements change read column (05h-E0h). Signed-off-by: Ronak Desai Signed-off-by: Matthew Weber ---

Re: [U-Boot] [PATCH v2 01/44] Correct defconfigs using savedefconfig

2016-09-06 Thread Simon Glass
Hi Tom, On 6 September 2016 at 12:01, Tom Rini wrote: > On Mon, Sep 05, 2016 at 11:47:00AM +0900, Masahiro Yamada wrote: >> 2016-08-30 9:21 GMT+09:00 Simon Glass : >> > Update the defconfig files to match their canonical form, as produced by >> > 'make

Re: [U-Boot] [PATCH v2 07/44] Use separate options for TPL support

2016-09-06 Thread Tom Rini
On Mon, Aug 29, 2016 at 06:21:15PM -0600, Simon Glass wrote: > At present TPL uses the same options as SPL support. In a few cases the board > config enables or disables the SPL options depending on whether > CONFIG_TPL_BUILD is defined. > > With the move to Kconfig, options are determined for

Re: [U-Boot] [PATCHv5 3/4] ARM: tegra124: Add an option to disable CoreSight

2016-09-06 Thread Julian Scheel
On 06.09.16 18:54, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: From: Alban Bedel When running on a SoC with a secure bootloader CoreSight isn't allowed, so add an option to disable the CoreSight init. diff --git

Re: [U-Boot] [PATCHv5 1/4] Revert "tegra: Add support for setting up a as3722 PMIC"

2016-09-06 Thread Julian Scheel
On 06.09.16 18:50, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: This reverts commit 346451b5888c4663bccef4c5203357319aa41f99. The pmic shall be initialised in board specific code, as it is done for jetson-tk1 and meerkat. It can't be assumed that all boards have the pmic

Re: [U-Boot] [PATCH v2 01/44] Correct defconfigs using savedefconfig

2016-09-06 Thread Tom Rini
On Mon, Sep 05, 2016 at 11:47:00AM +0900, Masahiro Yamada wrote: > 2016-08-30 9:21 GMT+09:00 Simon Glass : > > Update the defconfig files to match their canonical form, as produced by > > 'make safedefconfig'. > > > > This is the result of running 'tools/moveconfig.py -s' on the

Re: [U-Boot] [PATCH v3 3/8] usb: replace ehci_*_remove() with usb_deregister()

2016-09-06 Thread Stephen Warren
On 09/06/2016 07:17 AM, Masahiro Yamada wrote: The remove callbacks of EHCI drivers are often just a wrapper of ehci_deregister. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 2/8] video: squash lines for immediate return

2016-09-06 Thread Stephen Warren
On 09/06/2016 07:17 AM, Masahiro Yamada wrote: For vidconsole_post_probe(), it is common coding style to let a probe method return the value of a register function. The others will become simple wrapper functions. drivers/video/tegra124/display.c: Acked-by: Stephen Warren

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-06 Thread Stephen Warren
On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes support for the minimal reference platform called Kein Baseboard, which in fact is sufficient to run most existing Meerkat carriers. diff --git a/arch/arm/dts/tegra124-meerkat.dtsi

Re: [U-Boot] Please pull u-boot-sunxi master (v2016.09 fixes)

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 02:53:57PM +0200, Hans de Goede wrote: > Hi Tom, > > Here is a sunxi pull-req with some recent fixes > for v2016.09, note this is an updated pull-req > superseding my previous one. > > The main reason for this pull-req is a couple of > fixes for the sun8i ethernet

Re: [U-Boot] ARM: dts: dra72-evm: fix broken ethernet

2016-09-06 Thread Tom Rini
On Wed, Aug 31, 2016 at 05:22:19PM +0530, Mugunthan V N wrote: > With commit ceec08f50b6, phy is connected to slave 0, but > changing the phy node was missed, fix it by populating the > phy node to proper cpsw slave node. > > Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac

Re: [U-Boot] Pull request: nand flash

2016-09-06 Thread Tom Rini
On Fri, Sep 02, 2016 at 11:31:02AM -0500, Scott Wood wrote: > The following changes since commit cb1cbdd96962931de2ac948a184874e2672f3f96: > > x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload > (2016-08-30 09:26:05 +0800) > > are available in the git repository at: > >

[U-Boot] [PULL] Resend: Please pull u-boot-imx

2016-09-06 Thread Stefano Babic
Hi Tom, apart of patches that I should put to -next and not in -master, there was something wrong in my tree. I had to rebase it (sorry for that..) and I moved all new features into -next. Just bug fixes remain, with the exception of: Akshay Bhat (1): arm: imx: Add support for Advantech

Re: [U-Boot] [PATCHv5 3/4] ARM: tegra124: Add an option to disable CoreSight

2016-09-06 Thread Stephen Warren
On 09/05/2016 07:29 AM, Julian Scheel wrote: From: Alban Bedel When running on a SoC with a secure bootloader CoreSight isn't allowed, so add an option to disable the CoreSight init. diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig

Re: [U-Boot] [PATCHv5 2/4] power: as3722: Allow using on any i2c bus with any address

2016-09-06 Thread Stephen Warren
On 09/05/2016 07:29 AM, Julian Scheel wrote: From: Alban Bedel The init simply hardcoded the i2c bus and address to those used on jetson. Extend the init function to take the bus number and device address as parameter. As only jetson is using this code for now

Re: [U-Boot] [PATCHv5 1/4] Revert "tegra: Add support for setting up a as3722 PMIC"

2016-09-06 Thread Stephen Warren
On 09/05/2016 07:29 AM, Julian Scheel wrote: This reverts commit 346451b5888c4663bccef4c5203357319aa41f99. The pmic shall be initialised in board specific code, as it is done for jetson-tk1 and meerkat. It can't be assumed that all boards have the pmic on the same i2c bus. You can't just

Re: [U-Boot] [PATCH v3 7/8] arch, board: squash lines for immediate return

2016-09-06 Thread Minkyu Kang
On 6 September 2016 at 22:17, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v3: > - More fixes > > arch/arm/cpu/arm920t/imx/timer.c | 6

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-06 Thread Stephen Warren
On 09/03/2016 05:38 PM, Masahiro Yamada wrote: 2016-09-03 2:15 GMT+09:00 Stephen Warren : On 09/02/2016 04:36 AM, Masahiro Yamada wrote: -ret = expression; -if (ret) -return ret; -return 0; +return expression; I disagree with this change if applied

Re: [U-Boot] [PATCH v2 21/44] Convert CONFIG_SPL_GPIO_SUPPORT to Kconfig

2016-09-06 Thread Tom Rini
On Mon, Sep 05, 2016 at 07:04:45PM -0600, Simon Glass wrote: > Hi Masahiro, > > On 4 September 2016 at 20:40, Masahiro Yamada > wrote: > > 2016-09-02 23:35 GMT+09:00 Tom Rini : > > > >>> >> diff --git a/arch/arm/mach-exynos/Kconfig > >>> >>

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-06 Thread york sun
On 09/06/2016 04:15 AM, Prabhakar Kushwaha wrote: > IFC IP clock is always a constant divisor of platform clock > pre-defined per SoC. Clock Control register (CCR) used in > current implementation governs IFC IP output clock. > > So update IFC IP clock to be defined as per predefined clock >

Re: [U-Boot] [PULL] Please pull u-boot-imx

2016-09-06 Thread Stefano Babic
Hi Tom, On 06/09/2016 17:27, Tom Rini wrote: > On Tue, Sep 06, 2016 at 10:51:05AM +0200, Stefano Babic wrote: > >> Hi Tom, >> >> please pull from u-boot-imx, thanks ! >> >> The following changes since commit 46fe9eb08812cc27a0d5cd97d97373c14d578fe9: >> >> Merge branch 'master' of

Re: [U-Boot] [PULL] Please pull u-boot-imx

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:51:05AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 46fe9eb08812cc27a0d5cd97d97373c14d578fe9: > > Merge branch 'master' of git://git.denx.de/u-boot-net (2016-08-23 > 07:20:36 -0400) > > are

[U-Boot] UBI and UBIFS on ARM64

2016-09-06 Thread Adam Oleksy
Dear U-Boot community, I'm developing software for Xilinx ZynqMP platform, which is made in 64-bit architecture. I would like to store every artifact needed to boot up on the UBIFS partition. I faced problem, that u-boot does not want to compile with enabled UBI/UBIFS support, due to lack of some

Re: [U-Boot] [PATCH v2 1/3] warp7: Add a secure mode target

2016-09-06 Thread Fabio Estevam
On Tue, Sep 6, 2016 at 8:08 AM, Stefano Babic wrote: > You're right, strange, something went wrong. Now they are on the server. Ok, great. As these three patches didn't make into your pull request to Tom: will you submit another pull request which includes them? Thanks

Re: [U-Boot] [PATCH v2 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add support for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > --- > Changes for v2 >

Re: [U-Boot] [PATCH v2 09/11] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add board folder for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > --- >

Re: [U-Boot] [PATCH v3 2/8] video: squash lines for immediate return

2016-09-06 Thread Simon Glass
On 6 September 2016 at 07:17, Masahiro Yamada wrote: > For vidconsole_post_probe(), it is common coding style to let a > probe method return the value of a register function. > > The others will become simple wrapper functions. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2 01/11] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add base address header file for Stratix10 SoC > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Acked-by: Marek Vasut

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Simon Glass
Hi Michal, On 6 September 2016 at 07:40, Michal Simek wrote: > Hi, > > On 6.9.2016 14:57, Simon Glass wrote: >> Hi Alex, >> >> On 6 September 2016 at 06:55, Alexander Graf wrote: >>> On 09/06/2016 02:52 PM, Simon Glass wrote: Hi Alex,

Re: [U-Boot] [PATCH v3 6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-06 Thread Simon Glass
On 6 September 2016 at 07:17, Masahiro Yamada wrote: > The variable "err" is unneeded. > > [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] > > Signed-off-by: Masahiro Yamada > Signed-off-by: David Gibson

Re: [U-Boot] [PATCH v2 10/11] arm: dts: socfpga: Add dts for Stratix 10 socdk

2016-09-06 Thread Dinh Nguyen
On 09/06/2016 05:03 AM, Chin Liang See wrote: > Add device tree for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Acked-by: Marek

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 04:12:55PM +0200, Petr Kulhavy wrote: > > > On 06/09/16 16:00, Eric Nelson wrote: > >Hi Tom, > > > >On 09/06/2016 06:40 AM, Tom Rini wrote: > >>On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> > >>Another place this doesn't work (which is where it

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: > Hi Tom, > > On 09/06/2016 06:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >>> You don't need u-boot.imx to boot the board

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Petr Kulhavy
On 06/09/16 16:00, Eric Nelson wrote: Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: Another place this doesn't work (which is where it doesn't work for me) is when the console is already open and I can't easily take it away to

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Eric Nelson
Hi Tom, On 09/06/2016 06:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >>> You don't need u-boot.imx to boot the board with imx_usb_loader. >>> Check the README update that Stefano did with this

[U-Boot] [PATCH] fsl-ifc-nand : Corrected the programming of chip select

2016-09-06 Thread Matt Weber
Corrected the chip selection in IFC_NAND_CSEL register. Due to this issue in multi-chip nand use-case, IFC was always pointing to the last probed chip even though the user select another device through "nand device" command. Signed-off-by: Ronak Desai

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:53:30AM -0300, Otavio Salvador wrote: > On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > >> Hi Fabio, > >> > >> On 02/09/16 22:03, Fabio Estevam wrote: > >> >You don't need

Re: [U-Boot] ZynqMP breakage

2016-09-06 Thread Michal Simek
Hi, On 6.9.2016 14:57, Simon Glass wrote: > Hi Alex, > > On 6 September 2016 at 06:55, Alexander Graf wrote: >> On 09/06/2016 02:52 PM, Simon Glass wrote: >>> >>> Hi Alex, >>> >>> On 6 September 2016 at 03:09, Alexander Graf wrote: On 09/06/2016 03:05

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Otavio Salvador
On Tue, Sep 6, 2016 at 10:40 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: >> Hi Fabio, >> >> On 02/09/16 22:03, Fabio Estevam wrote: >> >You don't need u-boot.imx to boot the board with imx_usb_loader. >> >Check the README update that

Re: [U-Boot] [PATCH] eth: asix88179: Reset device during probe with DM_ETH enabled

2016-09-06 Thread Nikolaus Schulz
On Mon, Sep 05, 2016 at 07:04:49PM -0600, Simon Glass wrote: > On 30 August 2016 at 08:01, Nikolaus Schulz > wrote: > > With the ethernet driver model enabled, reset the device before reading > > the MAC address, just like it's done for the non-device-model code

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
Provide version of struct efi_mem_desc in efi_get_memory_map(). EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines memory descriptor version to 1. Linux kernel also expects descriptor version to be 1 and prints following warning during boot if its not: Unexpected

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
Provide version of struct efi_mem_desc in efi_get_memory_map(). EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines memory descriptor version to 1. Linux kernel also expects descriptor version to be 1 and prints following warning during boot if its not: Unexpected

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-06 Thread Stefano Babic
Hi Masahiro, On 02/09/2016 12:36, Masahiro Yamada wrote: > -ret = expression; > -if (ret) > -return ret; > -return 0; > +return expression; > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/cpu/armv7/bcm235xx/clk-bsc.c | 6 +-

Re: [U-Boot] [PATCH v2 1/7] include: image.h: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:36AM -0400, Madan Srinivas wrote: > The function board_fit_image_post_process is defined only when the config > CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure systems that do not > use SPL but use FIT kernel images, only CONFIG_FIT_IMAGE_POST_PROCESS will > be

[U-Boot] [PATCH v3 0/8] Clean-up: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
ret = [expression]; if (ret) return ret; return 0; ... is equivalent to: return [expression]; First, I sent a tree-wide patch: http://patchwork.ozlabs.org/patch/665199/ In the review of v1, Stephen suggested that twee-wide conversion with something like Coccinelle can break code

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-06 Thread Tom Rini
On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > Hi Fabio, > > On 02/09/16 22:03, Fabio Estevam wrote: > >You don't need u-boot.imx to boot the board with imx_usb_loader. > >Check the README update that Stefano did with this commit: > > > >commit

Re: [U-Boot] [PATCH v2 4/7] arm: omap-common: Enable support for K2 HS devices in u-boot

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:39AM -0400, Madan Srinivas wrote: > From: Vitaly Andrianov > > Like the OMAP54xx, AM43xx & AM33xx family SoCs, the keystone family > of SoCs also have high security enabled models. Allow K2E devices to > be built with HS Device Type Support. > >

Re: [U-Boot] [PATCH v2 3/7] arm: omap-common: adds secure image name common to OMAP and keystone

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:38AM -0400, Madan Srinivas wrote: > As K2 can directly boot u-boot, add u-boot_HS_MLO as the > secure image while booting secure K2 devicesr, for all > boot modes other than SPI flash. > > Signed-off-by: Madan Srinivas > Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 6/7] doc: Updates info on using keystone secure devices from TI

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:41AM -0400, Madan Srinivas wrote: > Add a section describing the secure boot image used on > keystone secure devices. > > This patch applies on top of the patch > doc: Update info on using AM33xx secure devices from TI > submitted by Andrew Davis > > Signed-off-by:

Re: [U-Boot] [PATCH v2 2/7] arm: mach-keystone: Implements FIT post-processing call for keystone SoCs

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:37AM -0400, Madan Srinivas wrote: > From: Vitaly Andrianov > > This commit implements the board_fit_image_post_process() function for > the keystone architecture. Unlike OMAP class devices, security > functions in keystone are not handled in the

Re: [U-Boot] [PATCH v2 1/7] include: image.h: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2016-09-06 Thread Tom Rini
On Thu, Sep 01, 2016 at 01:04:36AM -0400, Madan Srinivas wrote: > The function board_fit_image_post_process is defined only when the config > CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure systems that do not > use SPL but use FIT kernel images, only CONFIG_FIT_IMAGE_POST_PROCESS will > be

[U-Boot] [PATCH v3 7/8] arch, board: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- Changes in v3: - More fixes arch/arm/cpu/arm920t/imx/timer.c | 6 +- arch/arm/cpu/armv7/am33xx/sys_info.c | 4 +--- arch/arm/cpu/sa1100/timer.c

[U-Boot] [PATCH v3 3/8] usb: replace ehci_*_remove() with usb_deregister()

2016-09-06 Thread Masahiro Yamada
The remove callbacks of EHCI drivers are often just a wrapper of ehci_deregister. Signed-off-by: Masahiro Yamada --- Changes in v3: - added drivers/usb/host/ehci-atmel.c | 13 + drivers/usb/host/ehci-fsl.c | 13 +

[U-Boot] [PATCH v3 5/8] x86: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
arch_cpu_init() can be simpler by this refactoring. Signed-off-by: Masahiro Yamada Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None arch/x86/cpu/baytrail/valleyview.c | 8 +---

[U-Boot] [PATCH v3 4/8] usb: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
This makes functions much simpler. Signed-off-by: Masahiro Yamada --- Changes in v3: None common/usb.c| 20 +++- common/usb_kbd.c| 5 + common/usb_storage.c| 9 +++-- drivers/usb/host/xhci-fsl.c | 7

[U-Boot] [PATCH v3 2/8] video: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
For vidconsole_post_probe(), it is common coding style to let a probe method return the value of a register function. The others will become simple wrapper functions. Signed-off-by: Masahiro Yamada Acked-by: Anatolij Gustschin --- Changes in v3:

[U-Boot] [PATCH v3 6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-06 Thread Masahiro Yamada
The variable "err" is unneeded. [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] Signed-off-by: Masahiro Yamada Signed-off-by: David Gibson --- Changes in v3: None lib/libfdt/fdt_rw.c | 6 +- 1 file

[U-Boot] [PATCH v3 8/8] drivers: squash lines for immediate return

2016-09-06 Thread Masahiro Yamada
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- Changes in v3: - more changes drivers/block/sym53c8xx.c| 5 ++--- drivers/ddr/fsl/ddr1_dimm_params.c | 12 ++-- drivers/ddr/fsl/ddr2_dimm_params.c | 12

  1   2   >