Re: [U-Boot] [PATCH] imx: mx6ull: update the REFTOP_VBGADJ setting

2016-10-27 Thread Peng Fan
Hi Stefano, Ping.. Thanks, Peng. On Sat, Oct 08, 2016 at 05:03:00PM +0800, Peng Fan wrote: >According to design team, we need to set REFTOP_VBGADJ >in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the >actually table is as below: > > '000" - set REFTOP_VBGADJ[2:0] to 3'b000 > '001" - set

Re: [U-Boot] [PATCH] imx: mx6sx: Disable ENET clock before switching clock parent

2016-10-27 Thread Peng Fan
Hi Stefano, Ping.. Thanks, Peng. On Sat, Oct 08, 2016 at 04:58:29PM +0800, Peng Fan wrote: >From: "Ye.Li" > >Need to gate ENET clock when switching to a new clock parent, because >the mux is not glitchless. > >Signed-off-by: Peng Fan >Signed-off-by: Ye.Li

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

2016-10-27 Thread Stefan Roese
Hi Yehuda, On 27.10.2016 10:42, yehu...@marvell.com wrote: > 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,

Re: [U-Boot] [PATCH V2] mmc: Tinification of the mmc code

2016-10-27 Thread Marek Vasut
On 10/28/2016 03:36 AM, Simon Glass wrote: > H iMarek, Hi, > On 27 October 2016 at 16:40, Marek Vasut wrote: >> On 10/28/2016 01:31 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 9 June 2016 at 19:05, Marek Vasut wrote: Add new configuration option

[U-Boot] Please pull u-boot-mmc master

2016-10-27 Thread Jaehoon Chung
Dear Tom, Could you these patches on u-boot/master? The following changes since commit b03380805b5a184b7017dc428a53c8e1e9c9f99c: i2c: designware: Avoid overwriting the cmd_data register (2016-10-24 18:15:47 +0200) are available in the git repository at: http://git.denx.de/u-boot-mmc.git

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-10-27 Thread Simon Glass
Hi Bin, On 12 October 2016 at 17:56, Bin Meng wrote: > Hi Simon, > > On Thu, Oct 13, 2016 at 8:04 AM, Simon Glass wrote: >> Hi Bin, >> >> On 6 October 2016 at 14:59, Simon Glass wrote: >>> Change x86 boards to use binman to produce the

[U-Boot] [PATCH v3 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Simon Glass
Coverity complains that this can overflow. If we later increase the size of one of the strings in the table, it could happen. Adjust the code to protect against this. Signed-off-by: Simon Glass Reported-by: Coverity (CID: 150964) --- Changes in v3: - Adjust to deal with what

Re: [U-Boot] [PATCH v2 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Simon Glass
Hi, On 27 October 2016 at 18:22, Siarhei Siamashka wrote: > On Thu, 27 Oct 2016 18:38:40 -0600 > Simon Glass wrote: > >> Coverity complains that this can overflow. If we later increase the size >> of one of the strings in the table, it could

Re: [U-Boot] [PATCH v3 7/7] colibri_vf: usb gadget: toradex pid is now set generically

2016-10-27 Thread Stefan Agner
On 12.10.2016 17:11, Marcel Ziswiler wrote: > From: Max Krummenacher > > remove now unused CONFIG_TRDX_PID_XXX With config block support, we can elaborate the exact module precisely, so removing the old approach makes sense. Acked-by: Stefan Agner

Re: [U-Boot] [PATCH 3/3] power: regulator: Add limits checking while setting current

2016-10-27 Thread Simon Glass
Hi Keethy, On 26 October 2016 at 20:20, Keerthy wrote: > > > On Wednesday 26 October 2016 10:01 PM, Simon Glass wrote: >> >> Hi Keerthy, >> >> On 26 October 2016 at 01:12, Keerthy wrote: >>> >>> Currently the specific set ops functions are directly >>> called

Re: [U-Boot] [PATCH 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Simon Glass
Hi Tom, On 26 October 2016 at 14:49, Tom Rini wrote: > On Wed, Oct 26, 2016 at 01:19:12PM -0600, Simon Glass wrote: >> Coverity complains that this can overflow. If we later increase the size >> of one of the strings in the table, it could happen. >> >> Adjust the code to

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-27 Thread Simon Glass
Hi Andreas, On 27 October 2016 at 05:44, Andreas Färber wrote: > Hi Simon, > > Am 26.10.2016 um 21:19 schrieb Simon Glass: >> On 26 October 2016 at 09:02, Andreas Färber wrote: >>> On a Raspberry Pi 2 disagreements on cell endianness can be observed: >>> >>>

Re: [U-Boot] [PATCH V2] mmc: Tinification of the mmc code

2016-10-27 Thread Simon Glass
H iMarek, On 27 October 2016 at 16:40, Marek Vasut wrote: > On 10/28/2016 01:31 AM, Simon Glass wrote: >> Hi Marek, >> >> On 9 June 2016 at 19:05, Marek Vasut wrote: >>> Add new configuration option CONFIG_MMC_TINY which strips away all >>> memory allocation within

Re: [U-Boot] [PATCH V2] mmc: Tinification of the mmc code

2016-10-27 Thread Marek Vasut
On 10/28/2016 01:31 AM, Simon Glass wrote: > Hi Marek, > > On 9 June 2016 at 19:05, Marek Vasut wrote: >> Add new configuration option CONFIG_MMC_TINY which strips away all >> memory allocation within the MMC code and code for handling multiple >> cards. This allows extremely

Re: [U-Boot] [PATCH v3] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-10-27 Thread Marek Vasut
On 10/27/2016 08:56 AM, Sriram Dash wrote: > For FSL USB node fixup, the dt is walked multiple times for > fixing erratum and phy type. This patch walks the tree and > fixes the node till no more USB nodes are left. > > Signed-off-by: Sriram Dash > --- > Depends on the

Re: [U-Boot] [PATCH v2 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Siarhei Siamashka
On Thu, 27 Oct 2016 18:38:40 -0600 Simon Glass wrote: > Coverity complains that this can overflow. If we later increase the size > of one of the strings in the table, it could happen. > > Adjust the code to protect against this. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Simon Glass
Coverity complains that this can overflow. If we later increase the size of one of the strings in the table, it could happen. Adjust the code to protect against this. Signed-off-by: Simon Glass Reported-by: Coverity (CID: 150964) --- Changes in v2: - Drop unwanted #include

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

2016-10-27 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 2/4] colibri_vf: use device-tree for MTD partitions

2016-10-27 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 4/4] colibri_vf: use same NAND clock as Linux uses

2016-10-27 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

[U-Boot] [PATCH 1/4] toradex: allow custom fdt board setup in board file

2016-10-27 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 0/4] cleanup and enhancements for Colibri VFxx

2016-10-27 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. The patchset relys on Marcel's Toradex Config Block patchset:

[U-Boot] [PATCH v2 1/2] mkimage: Fix missing free() in show_valid_options()

2016-10-27 Thread Simon Glass
The allocated memory should be freed. Fix it. Signed-off-by: Simon Glass Reported-by: Coverity (CID: 150963) Reviewed-by: Tom Rini --- Changes in v2: None tools/mkimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mkimage.c

[U-Boot] [PATCH v2 2/2] image: Protect against overflow in unknown_msg()

2016-10-27 Thread Simon Glass
Coverity complains that this can overflow. If we later increase the size of one of the strings in the table, it could happen. Adjust the code to protect against this. Signed-off-by: Simon Glass Reported-by: Coverity (CID: 150964) --- Changes in v2: - Drop unwanted #include

Re: [U-Boot] [PATCH V2] mmc: Tinification of the mmc code

2016-10-27 Thread Simon Glass
Hi Marek, On 9 June 2016 at 19:05, Marek Vasut wrote: > Add new configuration option CONFIG_MMC_TINY which strips away all > memory allocation within the MMC code and code for handling multiple > cards. This allows extremely space-constrained SPL code use the MMC > framework. > >

Re: [U-Boot] [PATCH 3/3] arm: dra7xx: Unify Android partition table

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 10:12:16PM +0300, Sam Protsenko wrote: > Make Android partition table the same as for AM57x EVM. > > 1. Make "bootloader" partition start from 0x300 sectors offset, so > DRA7 is bootable in Android mode (see > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option). >

Re: [U-Boot] [PATCH 3/3] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 07:25:56PM +0300, Sam Protsenko wrote: > This option isn't used for anything, so get rid of it. > > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 2/3] arm: am57xx: Enable 8-bit eMMC access

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 10:12:01PM +0300, Sam Protsenko wrote: > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH] omap3_beagle: use config_distro_bootcmd

2016-10-27 Thread Tom Rini
On Tue, Oct 25, 2016 at 06:50:32PM +0200, Guillaume GARDET wrote: > Add support for distro_bootcmd on MMC and fall back to prior > behavior if distro_bootcmd fails. > > Tested on Beagleboad xM to boot GRUB2 (and then Linux kernel) in EFI mode > from MMC. > > Signed-off-by: Guillaume GARDET

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

2016-10-27 Thread Tom Rini
On Mon, Oct 24, 2016 at 06:19:20PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 5ac5861c4ba851b473e6a24940b412b397627d8d: > > travis-ci: Add test.py for various qemu platforms (2016-10-24 08:06:29 > -0400) > >

Re: [U-Boot] [PATCH 1/3] arm: am57xx: Define Android partition table

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 10:11:17PM +0300, Sam Protsenko wrote: > "fastboot oem format" command reuses "gpt write" command, which in turn > requires correct partitions defined in $partitions variable. This patch > adds such definition of Android partitions for DRA7XX EVM board. > > By default

Re: [U-Boot] [PATCH 1/3] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 07:25:54PM +0300, Sam Protsenko wrote: > For now this option doesn't depend on CONFIG_SPL, so that all boards > build the same way as before, and we can test with buildman that nothing > was broken. In next commits we can add such a dependency for this option > to Kconfig.

Re: [U-Boot] [PATCH 2/3] spl: Do not define U-Boot address on MMC if SPL is not defined

2016-10-27 Thread Tom Rini
On Thu, Oct 27, 2016 at 07:25:55PM +0300, Sam Protsenko wrote: > There is no need to define U-Boot address on MMC in raw mode if SPL > build is disabled in board. > > Signed-off-by: Sam Protsenko We should fold this into the first patch and introduce the logic with

Re: [U-Boot] [PATCH V2 1/4] ARM: tegra: ensure nvtboot_boot_x0 alignment

2016-10-27 Thread Tom Warren
I'll take a look today, thanks. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, October 27, 2016 10:41 AM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass ; Stephen Warren > ;

Re: [U-Boot] [PATCH v2] efi_loader: console: Correctly report modes

2016-10-27 Thread Alexander Graf
On 27/10/2016 18:11, Emmanuel Vadot wrote: > Add support for EFI console modes. > Mode 0 is always 80x25 and present by EFI specification. > Mode 1 is always 80x50 and not mandatory. > Mode 2 and above is freely usable. > > If the terminal can handle mode 1, we mark it as supported. > If the

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-27 Thread Calvin Johnson
Hi York, >-Original Message- >From: york sun >Sent: Wednesday, October 26, 2016 10:09 PM >To: Calvin Johnson ; Prabhakar Kushwaha >; Pratiyush >Srivastava ; u-boot@lists.denx.de; Mingkai Hu

[U-Boot] [PATCH 3/3] arm: dra7xx: Unify Android partition table

2016-10-27 Thread Sam Protsenko
Make Android partition table the same as for AM57x EVM. 1. Make "bootloader" partition start from 0x300 sectors offset, so DRA7 is bootable in Android mode (see CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option). 2. Increase "bootloader" partition size, because size of u-boot.img is

[U-Boot] [PATCH 2/3] arm: am57xx: Enable 8-bit eMMC access

2016-10-27 Thread Sam Protsenko
Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index 72d8099..432eec5 100644 --- a/include/configs/am57xx_evm.h +++

[U-Boot] [PATCH 1/3] arm: am57xx: Define Android partition table

2016-10-27 Thread Sam Protsenko
"fastboot oem format" command reuses "gpt write" command, which in turn requires correct partitions defined in $partitions variable. This patch adds such definition of Android partitions for DRA7XX EVM board. By default $partitions variable contains Linux partition table. In order to prepare

Re: [U-Boot] [PATCH V2 1/4] ARM: tegra: ensure nvtboot_boot_x0 alignment

2016-10-27 Thread Stephen Warren
On 10/19/2016 03:18 PM, Stephen Warren wrote: From: Stephen Warren nvtboot_boot_x0 is a 64-bit variable and hence must be 64-bit aligned. So far this has happened by accident! Fix the code so this is guaranteed. This fixes the following build error: ... relocation

[U-Boot] [PATCH 3/3] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

2016-10-27 Thread Sam Protsenko
This option isn't used for anything, so get rid of it. Signed-off-by: Sam Protsenko --- README | 4 include/configs/am3517_crane.h | 1 - include/configs/am3517_evm.h | 1 - include/configs/at91sam9m10g45ek.h | 1 -

[U-Boot] [PATCH 2/3] spl: Do not define U-Boot address on MMC if SPL is not defined

2016-10-27 Thread Sam Protsenko
There is no need to define U-Boot address on MMC in raw mode if SPL build is disabled in board. Signed-off-by: Sam Protsenko --- common/spl/Kconfig | 3 ++- configs/Merrii_A80_Optimus_defconfig | 2 --

[U-Boot] [PATCH 0/3] spl: Convert MMC raw mode sector options to Kconfig

2016-10-27 Thread Sam Protsenko
This series accomplishes next: 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that don't build SPL 3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which can be tested with #ifdef

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-27 Thread Andreas Färber
Hi André, Am 26.10.2016 um 22:50 schrieb André Przywara: > On 26/10/16 19:51, Jagan Teki wrote: >> On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara >> wrote: >>> The sun8i-emac driver works fine with the A64 Ethernet IP, but we are >>> missing an alias entry to trigger

[U-Boot] [PATCH v2] efi_loader: console: Correctly report modes

2016-10-27 Thread Emmanuel Vadot
Add support for EFI console modes. Mode 0 is always 80x25 and present by EFI specification. Mode 1 is always 80x50 and not mandatory. Mode 2 and above is freely usable. If the terminal can handle mode 1, we mark it as supported. If the terminal size is greater than mode 0 and different than mode

Re: [U-Boot] [PATCH v1 1/1] ARM:SUNXI: Update DRAM clock for Olimex A20 boards

2016-10-27 Thread Stefan Mavrodiev
Hi, I've notice that you've reduced DRAM clock for Lime2 and Lime, but not for A20-SOM. Is there any specific reason for this? Regards, Stefan Mavrodiev Olimex LDT On 10/11/2016 12:38 PM, Hans de Goede wrote: Hi, On 10/11/2016 10:44 AM, Stefan Mavrodiev wrote: Originally dram clock

Re: [U-Boot] Unable to decompress files greater than 500 MB

2016-10-27 Thread Zakir Ahmed
Hello Schocher, Thanks for your response. This is custom board which uses ARM Cortex- A15 processor. RAM is 2GB. I run loading uboot at 1536 MB (0x6000) to avoid overwriting uboot code. Compressed Image at 0x4740 -> 1140 MB (Compressed Image < 200 MB) Uncompressed Image at 0x0C00

Re: [U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G and MT25QU02G

2016-10-27 Thread Bacrau, Dumitru
Hi Teki, Sure, I can do that, but here is more information, maybe we can come up with a better solution: For this device, the "U" in the part name means "1.8V". The equivalent 3.3V part has "L" in the part name. So I would prefer having the names: - MT25QL02G - for 3.3V device - MT25QU02G -

[U-Boot] [PATCH 05/11] ARM: uniphier: fix DRAM init poll address for LD4, Pro4, sLD8

2016-10-27 Thread Masahiro Yamada
The status register should be polled. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/umc-ld4.c | 2 +- arch/arm/mach-uniphier/dram/umc-pro4.c | 2 +- arch/arm/mach-uniphier/dram/umc-sld8.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 07/11] ARM: uniphier: do not run harmful code for USB boot mode of LD11 ES3

2016-10-27 Thread Masahiro Yamada
The USB boot without the stand-by MPU is available on ES3 or later of LD11 SoC, but the code in this if-conditional block must not be run when booting from USB. Check if the boot device is USB, and skip the code in the case. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 08/11] ARM: uniphier: rework existing DDR PHY code to reuse for LD11 SoC

2016-10-27 Thread Masahiro Yamada
The DDR PHY register view of LD11 is slightly different from that of LD4/Pro4/sLD8, but it will be possible to share the register macros (and I want to re-use as much code as possible). Change the code in the more flexible form. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 09/11] ARM: uniphier: refactor DDR PHY parameter dump command

2016-10-27 Thread Masahiro Yamada
Do not hard-code the number of DX blocks because it is a different value for LD11 SoC. Move the macro NR_DATX8_PER_DDRPHY to ddrphy-training.c since it is the last user. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/cmd_ddrphy.c | 88

[U-Boot] [PATCH 01/11] ARM: uniphier: enable SSC for more PLLs for LD20 SoC

2016-10-27 Thread Masahiro Yamada
For Electro-Magnetic Compatibility. Set CPLL, SPLL2, MPLL, VPPLL, GPPLL, DPLL* to SSC rate 1 percent. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/dpll-ld20.c | 9 +++-- arch/arm/mach-uniphier/clk/pll-ld20.c | 15 --- 2 files

Re: [U-Boot] [PATCH 2/2] armv8: ls1046aqds: add lpuart support

2016-10-27 Thread S.H. Xie
Hi York, Thanks for reviewing! Please see inline. > -Original Message- > From: york sun > Sent: Thursday, October 27, 2016 1:19 AM > To: shh@gmail.com; u-boot@lists.denx.de > Cc: S.H. Xie > Subject: Re: [PATCH 2/2] armv8: ls1046aqds: add lpuart support > > On

[U-Boot] [PATCH 11/11] ARM: uniphier: update DRAM init code for LD11 SoC

2016-10-27 Thread Masahiro Yamada
Introduce run-time DDR PHY training. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/ddrphy-regs.h | 2 + arch/arm/mach-uniphier/dram/umc-ld11.c| 415 -- 2 files changed, 394 insertions(+), 23 deletions(-) diff

[U-Boot] [PATCH 10/11] ARM: uniphier: support DDR PHY parameter dump command for LD11

2016-10-27 Thread Masahiro Yamada
Add the LD11 SoC data and adjuts the printf() format because this is a 64-bit SoC. Otherwise, 16-digits pointer addresses would break the log format. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig | 3 ++-

[U-Boot] [PATCH 00/11] ARM: uniphier: UniPhier SoC code updates

2016-10-27 Thread Masahiro Yamada
- DDR PHY init code updates - Some bug fixes Masahiro Yamada (11): ARM: uniphier: enable SSC for more PLLs for LD20 SoC ARM: uniphier: remove unused board attribute macros ARM: uniphier: update DRAM init code for LD20 SoC (3rd) ARM: uniphier: rename ddrphy-ld20-regs.h to

[U-Boot] [PATCH 03/11] ARM: uniphier: update DRAM init code for LD20 SoC (3rd)

2016-10-27 Thread Masahiro Yamada
- Constify UMC setting data arrays - Merge data arrays *_d0 and *_d1. - Add PHY parameters for LD20 C1 board Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/ddrphy-ld20-regs.h | 1 + arch/arm/mach-uniphier/dram/umc-ld20.c | 111

[U-Boot] [PATCH 02/11] ARM: uniphier: remove unused board attribute macros

2016-10-27 Thread Masahiro Yamada
After SoC evaluation, they turned out unnecessary. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/init.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-uniphier/init.h b/arch/arm/mach-uniphier/init.h index 4e3bee1..361e024 100644

[U-Boot] [PATCH 06/11] ARM: uniphier: enable clocks to MIO/STDMAC on LD11 if USB is enabled

2016-10-27 Thread Masahiro Yamada
At the moment, the clk driver is not clever enough to automatically enable parent clocks like Linux. Enable the STDMAC clock explicitly if USB is enabled. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/clk-ld11.c | 11 +++

[U-Boot] [PATCH 04/11] ARM: uniphier: rename ddrphy-ld20-regs.h to ddruqphy-regs.h

2016-10-27 Thread Masahiro Yamada
This PHY might be used for other SoCs in the future. Avoid including the SoC name in the header name. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/{ddrphy-ld20-regs.h => ddruqphy-regs.h} | 6 +++--- arch/arm/mach-uniphier/dram/umc-ld20.c

Re: [U-Boot] [PATCH v9 21/23] imx6: icorem6: Add NAND support

2016-10-27 Thread Stefano Babic
On 26/10/2016 18:35, Jagan Teki wrote: > On Wed, Oct 26, 2016 at 8:38 PM, Stefano Babic wrote: >> Hi Jagan, >> >> >> On 25/10/2016 08:23, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> Add NAND support for Engicam i.CoreM6 qdl board. >>> >>> Boot Log:

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Chen-Yu Tsai
On Thu, Oct 27, 2016 at 9:41 PM, Antoine Tenart wrote: > Hi, > > On Thu, Oct 27, 2016 at 09:21:10PM +0800, Chen-Yu Tsai wrote: >> On Thu, Oct 27, 2016 at 9:10 PM, Antoine Tenart >> wrote: >> > On Wed, Oct 26, 2016 at

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
Hi, On Thu, Oct 27, 2016 at 09:21:10PM +0800, Chen-Yu Tsai wrote: > On Thu, Oct 27, 2016 at 9:10 PM, Antoine Tenart > wrote: > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > >> On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote:

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
On Thu, Oct 27, 2016 at 03:20:02PM +0200, Maxime Ripard wrote: > On Thu, Oct 27, 2016 at 03:10:58PM +0200, Antoine Tenart wrote: > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > > > On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > > > > + > > > > +#ifndef

Re: [U-Boot] [PATCH v3 01/10] arm: add atomic functions with return support

2016-10-27 Thread Antoine Tenart
HI Mark, On Wed, Oct 26, 2016 at 04:14:31PM +0100, Mark Rutland wrote: > On Wed, Oct 26, 2016 at 02:10:24PM +0200, Antoine Tenart wrote: > > Implement three atomic functions to allow making an atomic operation > > that returns the value. Adds: atomic_add_return(), atomic_sub_return(), > >

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Chen-Yu Tsai
On Thu, Oct 27, 2016 at 9:10 PM, Antoine Tenart wrote: > Hi, > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: >> On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: >> > + >> > +#ifndef CONFIG_MACH_SUN7I >> > + /* switch cpuclk to

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Maxime Ripard
Hi, On Thu, Oct 27, 2016 at 03:10:58PM +0200, Antoine Tenart wrote: > Hi, > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > > On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > > > + > > > +#ifndef CONFIG_MACH_SUN7I > > > + /* switch cpuclk to losc */ > > > +

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-27 Thread Antoine Tenart
On Wed, Oct 26, 2016 at 09:01:59AM -0600, Stephen Warren wrote: > On 10/26/2016 08:59 AM, Antoine Tenart wrote: > > On Wed, Oct 26, 2016 at 08:55:27AM -0600, Stephen Warren wrote: > > > On 10/26/2016 06:10 AM, Antoine Tenart wrote: > > > > Select the newly introduced ARM_GIC option to the relevant

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
Hi, On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > > + > > +#ifndef CONFIG_MACH_SUN7I > > + /* switch cpuclk to losc */ > > + clrbits_le32(>cpu_ahb_apb0_cfg, 0x3 << CPU_CLK_SRC_SHIFT); > > +#endif > > Some

Re: [U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

2016-10-27 Thread Antoine Tenart
Hi, On Wed, Oct 26, 2016 at 02:34:30PM +0200, Maxime Ripard wrote: > On Wed, Oct 26, 2016 at 02:10:32PM +0200, Antoine Tenart wrote: > > The sun5i SoCs can take advantage of the newly introduce PSCI suspend > > function. Add defines used by the PSCI code. > > > > Signed-off-by: Antoine Tenart

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-27 Thread Andreas Färber
Hi Simon, Am 26.10.2016 um 21:19 schrieb Simon Glass: > On 26 October 2016 at 09:02, Andreas Färber wrote: >> On a Raspberry Pi 2 disagreements on cell endianness can be observed: >> >> U-Boot> fdt print /soc/gpio@7e20 phandle >> phandle = <0x000d> >> U-Boot> fdt

[U-Boot] u-boot on qemu vexpress-a9

2016-10-27 Thread Nicolae Rosia
Hello, I'm trying to run u-boot on qemu machine vexpress-a9 and I get the following weird output and crash: $ qemu-system-arm -M vexpress-a9 -m 1024 -smp 4 -nographic -kernel u-boot U-Boot 2016.11-rc2-00090-g5ac5861-dirty (Oct 27 2016 - 14:46:54 +0300) DRAM: 1 GiB WARNING: Caches not enabled

[U-Boot] [PATCH] axs10x: Introduce UART clk device

2016-10-27 Thread Vlad Zakharov
This commit introduces UART clock device for AXS10x boards. It provides a fixed clock rate of 33,33 MHz. It is used as an input clock by uart0 driver, so we add corresponding reference to uart0 node in device tree. Also we removing legacy clock specifications via CONFIG_SYS_NS16550_CLK which

Re: [U-Boot] [PATCH v2] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-27 Thread Jagan Teki
On Thu, Oct 27, 2016 at 3:21 PM, Stefan Roese wrote: > On 27.10.2016 11:49, Chris Packham wrote: >> >> On 27/10/2016 10:41 PM, "Jagan Teki" > > wrote: >>> >>> >>> On Thu, Oct 27, 2016 at 1:46 PM, Chris Packham >> >>

[U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-27 Thread Prabhakar Kushwaha
Hi Masahiro, I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. I tried u-boot master with top commit as " 5ac5861c4ba851b473e6a24940b412b397627d8d ". I tried git-bisect and figured out below patch causing this problem. If I revert this patch, Linux boots properly.

Re: [U-Boot] [PATCH v2] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-27 Thread Stefan Roese
On 27.10.2016 11:49, Chris Packham wrote: On 27/10/2016 10:41 PM, "Jagan Teki" > wrote: On Thu, Oct 27, 2016 at 1:46 PM, Chris Packham > wrote: > Set the appropriate bits in the interface

Re: [U-Boot] [PATCH v2] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-27 Thread Chris Packham
On 27/10/2016 10:41 PM, "Jagan Teki" wrote: > > On Thu, Oct 27, 2016 at 1:46 PM, Chris Packham wrote: > > Set the appropriate bits in the interface config register based > > on the SPI_ mode flags. > > > > Signed-off-by: Chris Packham

Re: [U-Boot] [PATCH v2] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-27 Thread Jagan Teki
On Thu, Oct 27, 2016 at 1:46 PM, Chris Packham wrote: > Set the appropriate bits in the interface config register based > on the SPI_ mode flags. > > Signed-off-by: Chris Packham Missed updating Stefan Reviewed-by tag? please check for next

[U-Boot] [PATCH v5 2/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-27 Thread Wenbin song
There are two types of msi node in kernel device tree, one is for LS1043A rev1.1 silicon, the other is for rev1.0. According to revision number, fixup the msi node. Signed-off-by: Wenbin Song Signed-off-by: Mingkai Hu --- Change in v5: Fixup the

[U-Boot] [PATCH v5 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-10-27 Thread Wenbin song
The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment and 64K alignment. The bit SCFG_GIC400_ALIGN[GIC_ADDR_BIT] is used to choose which offset will be used. If GIC_ADDR_BIT bit is set, 4K alignment is used, or else 64K alignment is used. The rev1.0 silicon only supports the

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

2016-10-27 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

[U-Boot] [PATCH v2] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-27 Thread Chris Packham
Set the appropriate bits in the interface config register based on the SPI_ mode flags. Signed-off-by: Chris Packham --- Changes in v2: - Clear bits before updating arch/arm/include/asm/arch-mvebu/spi.h | 4 drivers/spi/kirkwood_spi.c| 15

Re: [U-Boot] [PATCH V1] Add support of ls1021a-iot

2016-10-27 Thread Alison Wang
Hi, Feng, > From: Feng Li > > The patch add support ls1021a-iot. > It supports I2C, MMC, PCIe, eTSEC, SATA, EEPROM, CPLD, HDMI, Serial > port, HXCI, DSPI, SD boot, QSPI boot, Broadcom wifi card, QCA wifi card. > > Signed-off-by: Feng Li > --- > diff

[U-Boot] [PATCH v3] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-10-27 Thread Sriram Dash
For FSL USB node fixup, the dt is walked multiple times for fixing erratum and phy type. This patch walks the tree and fixes the node till no more USB nodes are left. Signed-off-by: Sriram Dash --- Depends on the following patch: https://patchwork.ozlabs.org/patch/682139/

Re: [U-Boot] [PATCH] travis-ci: build Tegra boards

2016-10-27 Thread Heiko Schocher
Hello Stephen, Am 26.10.2016 um 21:05 schrieb Stephen Warren: From: Stephen Warren ARMv7 Tegra boards aren't currently covered by any other travis-ci jobs. Add a new job to build them. Signed-off-by: Stephen Warren --- .travis.yml | 2 ++ 1 file

Re: [U-Boot] [PATCH 6/6] travis-ci: compile with buildman when running test/py

2016-10-27 Thread Heiko Schocher
Hello Stephen, Am 26.10.2016 um 19:05 schrieb Stephen Warren: From: Stephen Warren Use buildman to compile any U-Boot binary tested by test/py. This re-uses all the work done elsewhere to make buildman work within Travis-CI, in particular related to toolchain downloading

Re: [U-Boot] [PATCH 5/6] travis-ci: don't invoke exit on success

2016-10-27 Thread Heiko Schocher
Hello Stephen, Am 26.10.2016 um 19:05 schrieb Stephen Warren: From: Stephen Warren Invoking exit prevents any subsequent build commands from running, and future patches will add extra commands. Signed-off-by: Stephen Warren --- .travis.yml | 4 +---