[U-Boot] Please pull fsl-qoriq master

2016-10-09 Thread york sun
Tom, The following changes since commit 53fec162061811a73c7dab3207f8fdb2343ae289: Prepare v2016.11-rc1 (2016-10-03 09:28:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 76379dfb7e7e5092f32c79897bb58c19979e576b:

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Preserve endianness of QSPI MCR

2016-10-09 Thread Jagan Teki
On Sat, Oct 8, 2016 at 10:51 PM, york sun wrote: > On 10/06/2016 02:38 PM, York Sun wrote: >> The endianness can be changed by RCW + PBI sequence. It may have >> other than power on reset value. >> >> Signed-off-by: York Sun >> CC: Yuan Yao

Re: [U-Boot] [PATCH v2 1/8] arm: Fix Kconfig for proper display menu

2016-10-09 Thread york sun
On 10/04/2016 02:32 PM, york sun wrote: > Some config options should not have prompt. They are selected by choosing > target. > > Signed-off-by: York Sun > Reviewed-by: Simon Glass > --- > > Changes in v2: None > This set is applied to fsl-qoriq master,

Re: [U-Boot] [PATCH v4 0/2] ARM: add support for Bananapi BPI-R1

2016-10-09 Thread Jagan Teki
On Fri, Oct 7, 2016 at 10:13 AM, Stephen Arnold wrote: > From: Steve Arnold > > * changes from lamobo-r1 required include: > - unset ahci power pin > - usbvbus gpio pin change > - mmc cd gpio pin change > - enable uart2, set default

Re: [U-Boot] [PATCH v2 1/3] armv8: LS2080A: Add device tree support for nand boot

2016-10-09 Thread york sun
On 10/07/2016 01:37 AM, Sriram Dash wrote: > Add device tree support for LS2080ARDB nand boot. > > Signed-off-by: Sriram Dash > --- > configs/ls2080ardb_nand_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > This set is applied to fsl-qoriq master, awaiting upstream.

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: print SoC revsion number

2016-10-09 Thread york sun
On 09/13/2016 01:25 AM, Wenbin song wrote: > The exact SoC revsion number can be recognized from U-Boot log. > > Signed-off-by: Wenbin Song > Signed-off-by: Mingkai Hu > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH v2] ARMv7: LS102xA: Move two macros from header files to Kconfig

2016-10-09 Thread york sun
On 09/21/2016 03:31 AM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > Following commits 217f92b and 1544698, these two config CPU_V7_HAS_NONSEC > and CPU_V7_HAS_VIRT are moved to Kconfig, for correctly select ARMV7_PSCI. > > Signed-off-by: Hongbo Zhang

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

2016-10-09 Thread Stefan Roese
On 06.10.2016 23:29, Walter Schweizer wrote: 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 All 5 patches applied to u-boot-marvell/master. Thanks,

[U-Boot] Please pull u-boot-marvell/master

2016-10-09 Thread Stefan Roese
Hi Tom, please pull the DS109 board support. Its an updated version - the original patches have been sent to the list quite some time ago. Thanks, Stefan The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: Merge branch 'master' of git://www.denx.de/git/u-boot-imx

Re: [U-Boot] [U-Boot, 3/3] Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:27PM +0900, Masahiro Yamada wrote: > This reverts commit 82f5279b0cd99a9163d34cfe926d0316d9dc0d37. > > The build failure of k2*evm boards was fixed in a different way by > the previous commit. It is nasty to patch generic drivers around > with #ifdef CONFIG_CLK

[U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-09 Thread Peng Fan
Add plugin support for imximage. Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Eric Nelson Cc: Ye Li Reviewed-by: Tom Rini --- V3: Fix

Re: [U-Boot] [U-Boot, 2/2] board: ti: dra7xx: complex definitions should be protected with parentheses

2016-10-09 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:42PM +0530, Mugunthan V N wrote: > As a standard practice complex definitions should be protected > with parentheses, as it might fail when used in a complex if > statements. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 2/5] kbuild: move no_new_adhoc_configs_check to "all" target command

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:04:59PM +0900, Masahiro Yamada wrote: > I am going to move the build rule of u-boot.cfg. Before that, > no_new_adhoc_configs_check must be tweaked to not depend on it. > > The ad-hoc option check can be done at the end of build, along > with other checks. > >

Re: [U-Boot] dra7x: dfu: qspi: increase the qspi spl partition to 256K

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 06:21:13PM +0530, B, Ravi wrote: > The SPL size for dra7x platform increased beyond 64K, > increasing the size to 256K to cater for future enhancement. > > Signed-off-by: Ravi Babu Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 2/3] ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:26PM +0900, Masahiro Yamada wrote: > The KeyStone platform has its own clk_get_rate() but its prototype > is different from that of the common-clk (clk-uclass) framework. > > Prefix the KeyStone specific implementation with ks_ in order to > avoid name-space

Re: [U-Boot] [PATCH V3 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-10-09 Thread Peng Fan
On Sun, Oct 09, 2016 at 07:45:41AM +0200, Eric Nelson wrote: >Hi Peng, > >Note the typo in the subject header. Thanks. > >On 10/08/2016 08:58 AM, Peng Fan wrote: >> Introduce USE_IMXIMG_PLUGIN Kconfig >> >> Signed-off-by: Peng Fan >> Cc: Stefano Babic >>

Re: [U-Boot] arm: Add return value argument to longjmp

2016-10-09 Thread Tom Rini
On Tue, Sep 27, 2016 at 09:30:32AM +0200, Alexander Graf wrote: > The normal longjmp command allows for a caller to pass the return value > of the setjmp() invocation. This patch adds that semantic to the arm > implementation of it and adjusts the efi_loader call respectively. > > Signed-off-by:

[U-Boot] [PATCH] common: env: add kconfig entry for env storage

2016-10-09 Thread Peng Fan
Add Kconfig entry for ENV storage Signed-off-by: Peng Fan Cc: Simon Glass Cc: Heiko Schocher Cc: Tom Rini Cc: Masahiro Yamada Cc: Stefan Roese Cc: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 2/2] armv8: fsl-lsch2: enable snoopable sata read and write

2016-10-09 Thread york sun
On 08/08/2016 12:18 AM, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > By default the SATA IP on the ls1043a/ls1046a SoCs does not generating > coherent/snoopable transactions. This patch enable it in the SCFG_SNPCNFGCR > register along with sata axicc register. >

Re: [U-Boot] [PATCH v2] fsl_sfp : Modify macros as per changes in SFP v3.4

2016-10-09 Thread york sun
On 09/06/2016 11:47 PM, Sumit Garg wrote: > SFP v3.4 supports 8 keys in SRK table which leads to corresponding > changes in OSPR key revocation field. So modify OSPR_KEY_REVOC_XXX > macros accordingly. > > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Corrected commit

Re: [U-Boot] [PATCH 2/2] armv8: ls1043: Add USB node in dts for ls1043

2016-10-09 Thread york sun
On 09/29/2016 10:37 PM, Sriram Dash wrote: > Add the USB node for LS1043 in dts. > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] dra7xx: config: cleanup: moved to kconfig for CONFIG_SPL_ENV_SUPPORT

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 06:20:33PM +0530, B, Ravi wrote: > removing CONFIG_SPL_ENV_SUPPORT defined in header files > due to moved to kconfig option for CONFIG_SPL_ENV_SUPPORT > > Signed-off-by: Ravi Babu Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 1/2] armv8: ls1043: Enable CONFIG_DM_USB in defconfigs

2016-10-09 Thread york sun
On 09/29/2016 10:37 PM, Sriram Dash wrote: > Enables driver model flag CONFIG_DM_USB for LS1043A > platform defconfigs. > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot

Re: [U-Boot] [PATCH] armv8: fsl: Enable USB only when SYSCLK is 100 MHz

2016-10-09 Thread york sun
On 10/03/2016 03:55 AM, Sriram Dash wrote: > SYSCLK is used as a reference clock for USB. When the USB controller > is used, SYSCLK must meet the additional requirement of 100 MHz. > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq master, awaiting upstream. Thanks.

Re: [U-Boot] cmd: Make CMD_USB_MASS_STORAGE visible only with USB_GADGET and default y

2016-10-09 Thread Tom Rini
On Sat, Oct 08, 2016 at 01:06:26PM -0400, Tom Rini wrote: > On Mon, Sep 19, 2016 at 12:40:12PM -0400, Tom Rini wrote: > > > In order for CMD_USB_MASS_STORAGE to be useful we must have USB_GADGET > > enabled, so only show this option when USB_GADGET is set. In addition, > > expand the help text

Re: [U-Boot] cros_ec: Honor the google,remote-bus dt property

2016-10-09 Thread Tom Rini
On Tue, Sep 27, 2016 at 03:42:07PM -0700, Moritz Fischer wrote: > Boards where ECs that use a I2C port != 0 specify this in the > devicetree file via the google,remote-bus property. > Previously this was ignored and hardcoded to port 0. > > Signed-off-by: Moritz Fischer

Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-09 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Sergey Kubushyn wrote: On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: > This adds "file exists" commands to generic FS as well as to FAT, EXT4, > and UBIFS. Also adds "file size" command to UBIFS. > > The return

Re: [U-Boot] [U-Boot, v1] spl: saveenv: adding saveenv support in SPL

2016-10-09 Thread Tom Rini
On Wed, Sep 28, 2016 at 02:46:18PM +0530, B, Ravi wrote: > By default saveenv option is not supported for SPL. This patch > enable the support for save environment variable for SPL build. > > Enable save environment support in SPL after setenv. By default > the saveenv option is not provided in

Re: [U-Boot] [U-Boot, 1/5] check-config: fix wrong comment about how to build whitelist

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:04:58PM +0900, Masahiro Yamada wrote: > The command suggested in this comment block is wrong; it would not > rip off CONFIG options that had already been converted to Kconfig. > > Instead, we should use the scripts/build-whitelist.sh tool. > > Signed-off-by: Masahiro

Re: [U-Boot] env: tool: add command line option to input lockfile path

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 06:24:08PM +0530, B, Ravi wrote: > The default lockname is set to /var/lock. This limits the > usage of this application where OS uses different lockfile > location parameter. > For example, In case of android, the default lock > path location is /data. > Hence by

Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-09 Thread Peng Fan
Hi Eric, On Sun, Oct 09, 2016 at 07:42:34AM +0200, Eric Nelson wrote: >Hi Peng, > >On 10/09/2016 04:20 AM, Peng Fan wrote: >> On Sat, Oct 08, 2016 at 05:26:18PM +0200, Eric Nelson wrote: >>> On 10/08/2016 08:58 AM, Peng Fan wrote: > > > >>> >>>From what I can tell, there's no reason that you can't

Re: [U-Boot] [U-Boot, 1/3] ARM: keystone: remove declaration of unused functions

2016-10-09 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:25PM +0900, Masahiro Yamada wrote: > These two functions are neither defined nor referenced. > > Signed-off-by: Masahiro Yamada > Acked-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [RFC PATCH] bootm: fix ramdisk relocation

2016-10-09 Thread Cédric Le Goater
Hello, On 10/08/2016 03:44 PM, Tom Rini wrote: > On Thu, Oct 06, 2016 at 11:08:55PM +0200, Cédric Le Goater wrote: > >> We are working on bringing to mainline a set of changes adding support >> for the Aspeed SoC and we have a couple of work around we are trying >> to elimitate first. This is

Re: [U-Boot] [PATCH 1/2] armv8: fsl-lsch2: adjust sata parameter

2016-10-09 Thread york sun
On 08/08/2016 12:18 AM, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > The default values for Port Phy2Cfg register and > Port Phy3Cfg register are better, no need to overwrite them. > > Signed-off-by: Tang Yuantian > --- Applied to

Re: [U-Boot] [PATCH v3 1/3] dm: mmc: Support erase

2016-10-09 Thread Simon Glass
On 1 October 2016 at 14:43, Simon Glass wrote: > > At present erase is not suported with CONFIG_DM_OPS. Add it so that MMC > devices can be erased. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > > drivers/mmc/mmc-uclass.c | 1 + >

Re: [U-Boot] [PATCH v3 3/3] dm: mmc: Enable DM_MMC_OPS by default with DM_MMC

2016-10-09 Thread Simon Glass
On 1 October 2016 at 14:43, Simon Glass wrote: > These two options go together and it is best to do the conversion in one > step. So enable DM_MMC_OPS by default if DM_MMC is enabled. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Updates to

Re: [U-Boot] [PATCH v3 2/3] dm: blk: Enable CONFIG_BLK if DM_MMC is enabled

2016-10-09 Thread Simon Glass
On 1 October 2016 at 14:43, Simon Glass wrote: > To speed up conversion to CONFIG_BLK, enable it by default when DM_MMC is > enabled. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > > configs/am335x_boneblack_vboot_defconfig | 1 + >

[U-Boot] [PATCH 05/11] x86: doc: Correct qfw command example

2016-10-09 Thread Bin Meng
The kernel load address for zboot should be 0x100. Signed-off-by: Bin Meng --- doc/README.x86 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.x86 b/doc/README.x86 index 437dc29..c34f455 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@

[U-Boot] [PATCH 03/11] dm: video: Output verbose information in vbe_setup_video()

2016-10-09 Thread Bin Meng
With DM conversion, information like "Video: 1024x768x16" is not shown anymore. Now add these verbose output back. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/pci/pci_rom.c

[U-Boot] [PATCH 10/11] video: Remove legacy VESA and coreboot framebuffer drivers

2016-10-09 Thread Bin Meng
Now that all x86 boards have been converted to DM video, drop the legacy drivers. Signed-off-by: Bin Meng --- drivers/video/coreboot_fb.c | 108 drivers/video/vesa_fb.c | 63 -- 2 files changed, 171

[U-Boot] [PATCH 09/11] x86: coreboot: Convert to use DM coreboot video driver

2016-10-09 Thread Bin Meng
This converts coreboot to use DM framebuffer driver. Signed-off-by: Bin Meng --- arch/x86/cpu/coreboot/Kconfig | 4 arch/x86/dts/bayleybay.dts | 1 + arch/x86/dts/broadwell_som-6896.dts | 1 + arch/x86/dts/chromebook_link.dts| 1 +

[U-Boot] [PATCH 07/11] dm: video: Add driver for coreboot framebuffer device

2016-10-09 Thread Bin Meng
This adds a DM driver for coreboot framebuffer device. Signed-off-by: Bin Meng --- drivers/video/Kconfig| 9 ++ drivers/video/coreboot.c | 79 2 files changed, 88 insertions(+) create mode 100644

[U-Boot] [PATCH 04/11] x86: Convert to use DM VESA video driver

2016-10-09 Thread Bin Meng
At present only chromebook boards are converted to DM video. Other x86 boards are still using the legacy cfb_console driver. This switches to use DM version drivers. Signed-off-by: Bin Meng --- configs/bayleybay_defconfig | 1 +

[U-Boot] [PATCH 11/11] x86: Clean up unused macros in the configuration headers

2016-10-09 Thread Bin Meng
Legacy video driver macros are not needed. Clean them up. Signed-off-by: Bin Meng --- include/configs/cougarcanyon2.h | 4 include/configs/efi-x86.h| 2 -- include/configs/galileo.h| 4 include/configs/x86-chromebook.h | 12 +++-

[U-Boot] [PATCH 08/11] dm: video: Don't do anything in alloc_fb() when plat->size is zero

2016-10-09 Thread Bin Meng
With DM VESA driver on x86 boards, plat->base/size/align are all zeroes and starting address passed to alloc_fb() happens to be 1MB aligned, so this routine does not trigger any issue. On QEMU with U-Boot as coreboot payload, the starting address is within 1MB range (eg: 0x7fb), thus causes

Re: [U-Boot] [PATCH v5 2/5] net: fec_mxc: Convert into driver model

2016-10-09 Thread Jagan Teki
Hi Simon, On Thu, Oct 6, 2016 at 4:25 PM, Jagan Teki wrote: > From: Jagan Teki > > This patch add driver model support for fec_mxc driver. > > Cc: Simon Glass > Cc: Joe Hershberger > Cc: Peng Fan

Re: [U-Boot] [PATCH] fsl_sec_mon: Update driver for Security Monitor

2016-10-09 Thread york sun
On 08/30/2016 11:34 PM, Sumit Garg wrote: > Update the API's for transition of Security Monitor states. Instead > of providing both initial and final states for transition, just provide > final state for transition as Security Monitor driver will take care > of it internally. > > Signed-off-by:

Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-09 Thread Eric Nelson
Hi Peng, On 10/09/2016 06:48 PM, Eric Nelson wrote: > On 10/09/2016 08:12 AM, Peng Fan wrote: >>> On 10/09/2016 04:20 AM, Peng Fan wrote: On Sat, Oct 08, 2016 at 05:26:18PM +0200, Eric Nelson wrote: > On 10/08/2016 08:58 AM, Peng Fan wrote: >>> If we get SPL-as-plugin working, then

[U-Boot] [PATCH] pinctrl: uniphier: fix unused-const-variable warnings for GCC 6.x

2016-10-09 Thread Masahiro Yamada
Marek reports warnings in UniPhier pinctrl drivers when compiled by GCC 6.x, like: drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c:58:18: warning: 'usb3_muxvals' defined but not used [-Wunused-const-variable=] static const int usb3_muxvals[] = {0, 0}; ^~~~ My

Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-09 Thread Eric Nelson
Hi Peng, On 10/09/2016 08:12 AM, Peng Fan wrote: >> On 10/09/2016 04:20 AM, Peng Fan wrote: >>> On Sat, Oct 08, 2016 at 05:26:18PM +0200, Eric Nelson wrote: On 10/08/2016 08:58 AM, Peng Fan wrote: I also don't understand why the choice to make the union with either a DCD

[U-Boot] [PATCH 06/11] vbe: Make vbe_setup_video_priv() public

2016-10-09 Thread Bin Meng
vbe_setup_video_priv() might be useful to other drivers. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 6 +++--- include/vbe.h | 4 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index

[U-Boot] [PATCH 00/11] x86: dm: video: Convert to use DM video drivers on all x86 boards

2016-10-09 Thread Bin Meng
This adds two new DM video drivers, one for VESA compatible device, the other one for coreboot framebuffer device. All x86 boards have been converted to use the new drivers. Tested on Intel Crown Bay using an external graphics card, on QEMU using the on-board VGA with DM VESA driver. Tested on

[U-Boot] [PATCH 01/11] x86: doc: Document coreboot framebuffer driver issue on QEMU

2016-10-09 Thread Bin Meng
For some unknown reason, coreboot framebuffer driver never works on QEMU since day 1. It seems the driver only works on real hardware. Document this issue. Signed-off-by: Bin Meng --- doc/README.x86 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/README.x86

[U-Boot] [PATCH 02/11] dm: video: Add driver for VESA compatible device

2016-10-09 Thread Bin Meng
This adds a DM driver for VESA compatible device. Signed-off-by: Bin Meng --- drivers/video/vesa.c | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 drivers/video/vesa.c diff --git a/drivers/video/vesa.c b/drivers/video/vesa.c

Re: [U-Boot] [PATCH v7 00/21] imx6: Add Engicam i.CoreM6 QDL support

2016-10-09 Thread Jagan Teki
Hi Stefano, On Sat, Oct 8, 2016 at 6:00 PM, Jagan Teki wrote: > From: Jagan Teki > > This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master > and test on the respective starter kits as well. > > Tested both MMC and NAND

Re: [U-Boot] [PATCH] mmc: rockchip_sdhci: add clock init for mmc

2016-10-09 Thread Jaehoon Chung
On 10/07/2016 06:23 PM, Kever Yang wrote: > Init the clock rate to CONFIG_ROCKCHIP_SDHCI_MAX_FREQ with clock driver > api. > > Signed-off-by: Kever Yang > --- > > drivers/mmc/rockchip_sdhci.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v2] Add support for eMMC environment in boot partition

2016-10-09 Thread Jaehoon Chung
Hi Sergey, On 10/09/2016 01:49 PM, Sergey Kubushyn wrote: > This allows to place U-Boot environment into eMMC boot partition thus > saving space on user partition for the OS (or whatever.) When booting > off of eMMC many (all?) MCUs can use dedicated boot0/boot1 partitions > to boot so U-Boot (or

Re: [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2

2016-10-09 Thread Masahiro Yamada
2016-10-08 13:25 GMT+09:00 Masahiro Yamada : > > - Various SoC specpfic updates (DRAM, PLL, errata) > - Minor cleanups > - Add UniPhier reset controller driver > > > > Masahiro Yamada (9): > ARM: uniphier: enable SSC for DPLL (DRAM PLL) on LD11 SoC > ARM:

[U-Boot] pull request: u-boot-uniphier/master

2016-10-09 Thread Masahiro Yamada
Hi Tom. Please pull some more UniPhier updates: - Various SoC specpfic updates (DRAM, PLL, errata) - Minor cleanups - Add UniPhier reset controller driver Note: I am touching include/reset-uclass.h by "reset: declare fdtdec_phandle_args as struct to fix warning". I included it in this

Re: [U-Boot] [PATCH] mmc: introduce mmc_power_init

2016-10-09 Thread Jaehoon Chung
Hi Peng, On 10/08/2016 07:07 PM, Peng Fan wrote: > In device tree, there is vmmc-supply property for SD/MMC. > Introduce mmc_power_init function to handle vmmc-supply. As i know, vqmmc-supply should be optional. Do you have a plan to add this? > > mmc_power_init will first invoke

Re: [U-Boot] [PATCH v2 02/12] x86: Add an accelerated memmove() function

2016-10-09 Thread Bin Meng
On Sat, Oct 8, 2016 at 1:53 PM, Bin Meng wrote: > Hi Simon, > > On Sat, Oct 8, 2016 at 10:25 AM, Bin Meng wrote: >> Hi Simon, >> >> On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: >>> Bring in a faster memmove() from Linux 4.7. This

[U-Boot] [PATCH v5] ARM: sun71: dts: add support for Bananapi BPI-R1

2016-10-09 Thread Stephen Arnold
From: Steve Arnold * changes from lamobo-r1 required include: - unset ahci power pin - usbvbus gpio pin change - mmc cd gpio pin change - enable uart2, set default LED trigger - CONFIG_GMAC_TX_DELAY change Changes for v2: - incorprated feedback for config

[U-Boot] [PATCH v4 0/2] ARM: add support for Bananapi BPI-R1

2016-10-09 Thread Stephen Arnold
From: Steve Arnold * changes from lamobo-r1 required include: - unset ahci power pin - usbvbus gpio pin change - mmc cd gpio pin change - enable uart2, set default LED trigger - CONFIG_GMAC_TX_DELAY change Changes for v2: - incorprated feedback for

[U-Boot] [PATCH 1/3] ext4: cleanup unlink_filename function

2016-10-09 Thread Stefan Brüns
Use the same variable names as in search_dir, to make purpose of variables more obvious. Signed-off-by: Stefan Brüns --- fs/ext4/ext4_common.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/fs/ext4/ext4_common.c

[U-Boot] [PATCH 2/3] ext4: Fix handling of direntlen in unlink_filename

2016-10-09 Thread Stefan Brüns
The direntlen checks were quite bogus, i.e. the loop termination used "len + offset == blocksize" (exact match only), and checked for a direntlen less than 0. The latter can never happen as the len is unsigned, this has been reported by Coverity, CID 153384. Use the same code as in search_dir for

[U-Boot] [PATCH 0/3] ext4: cleanup/fix unlink_filename function

2016-10-09 Thread Stefan Brüns
This patch series addresses Coverity defects CID 153383/153384. The first patch is a preparation patch, the second addresses the actual issue. The last patch corrects the journal handling in the same function. Stefan Brüns (3): ext4: cleanup unlink_filename function ext4: Fix handling of

[U-Boot] [PATCH 3/3] ext4: Only write journal entries for modified blocks in unlink_filename

2016-10-09 Thread Stefan Brüns
Instead of creating a journal entry for each directory block, even if the block is unmodified, only log the modified block. Signed-off-by: Stefan Brüns --- fs/ext4/ext4_common.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff

[U-Boot] [PATCH v4 2/7] efi_loader: Fix memory map size check to avoid out-of-bounds access

2016-10-09 Thread Stefan Brüns
The current efi_get_memory_map() function overwrites the map_size property before reading its value. That way the sanity check whether our memory map fits into the given array always succeeds, potentially overwriting arbitrary payload memory. This patch moves the property update write after its

[U-Boot] [PATCH v4 4/7] efi_loader: Track size of pool allocations to allow freeing

2016-10-09 Thread Stefan Brüns
We need a functional free_pool implementation, as otherwise each allocate_pool causes growth of the memory descriptor table. Different to free_pages, free_pool does not provide the size for the to be freed allocation, thus we have to track the size ourselves. As the only EFI requirement for pool

[U-Boot] [PATCH v4 3/7] efi_loader: Move efi_allocate_pool implementation to efi_memory.c

2016-10-09 Thread Stefan Brüns
We currently handle efi_allocate_pool() in our boot time service file. In the following patch, pool allocation will receive additional internal semantics that we should preserve inside efi_memory.c instead. As foundation for those changes, split the function into an externally facing

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Preserve endianness of QSPI MCR

2016-10-09 Thread york sun
On 10/09/2016 12:53 AM, Jagan Teki wrote: > On Sat, Oct 8, 2016 at 10:51 PM, york sun wrote: >> On 10/06/2016 02:38 PM, York Sun wrote: >>> The endianness can be changed by RCW + PBI sequence. It may have >>> other than power on reset value. >>> >>> Signed-off-by: York Sun

Re: [U-Boot] [PATCH v4 0/2] ARM: add support for Bananapi BPI-R1

2016-10-09 Thread Stephen Arnold
Please ignore the crufty v4 cover; the following v5 is correct (a single patch) as requested by Jagan. Thanks, Steve On Sun, Oct 9, 2016 at 2:04 PM, Stephen Arnold wrote: > From: Steve Arnold > > * changes from lamobo-r1 required include: