[U-Boot] [PATCH v2 2/3] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2016-06-08 Thread Rajesh Bhagat
Add USB EHCI support for ls1012aqds platform Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat --- Changes in v2: - None .../include/asm/arch-fsl-layerscape/immap_lsch2.h |1 + include/configs/ls1012aqds.h |5 + include/usb/ehci-ci.h

[U-Boot] [PATCH v2 3/3] armv8: ls1012a: Added CSU assignment for USB2

2016-06-08 Thread Rajesh Bhagat
Access settings for USB2 IP is added through CSU register. Added CSU ID for USB2, reg: CSL23_REG[8:0] Signed-off-by: Rajesh Bhagat --- Changes in v2: - None .../include/asm/arch-fsl-layerscape/ns_access.h|2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/in

[U-Boot] [PATCH v2 1/3] drivers: usb: fsl: add USB ULPI init code

2016-06-08 Thread Rajesh Bhagat
This adds the required code to set up a ULPI USB port, for new NXP USB PHY used in QorIQ platforms. To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT have to be set in the board configuration file. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Changes return value from -1 to ulp

[U-Boot] [PATCH v2 0/3] Add USB EHCI support for ls1012aqds

2016-06-08 Thread Rajesh Bhagat
Adds USB EHCI support for ls1012qds by adding the support for NXP ULPI PHY and adding the support it configuration files. Also enables, USB2 IP in ns access defines. Rajesh Bhagat (3): drivers: usb: fsl: add USB ULPI init code config: ls1012aqds: Add USB EHCI support for ls1012aqds armv8: ls

[U-Boot] [PATCH v4 2/2] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-08 Thread Rajesh Bhagat
From: Rajesh Bhagat Implements the logic to calculate the optimal usb maximum trasfer blocks instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case of EHCI and other USB protocols respectively. It defines USB_MIN_XFER_BLK/USB_MAX_XFER_BLK trasfer blocks that should be checked f

[U-Boot] [PATCH v4 0/2] common: usb_storage : Implement logic to calculate optimal

2016-06-08 Thread Rajesh Bhagat
Performs code cleanup by making common function for usb_stor_read/write and implements the logic to calculate the optimal usb maximum trasfer blocks instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case of EHCI and other USB protocols respectively. Rajesh Bhagat (2): common:

[U-Boot] [PATCH v4 1/2] common: usb_storage: Make common function for usb_stor_read/usb_stor_write

2016-06-08 Thread Rajesh Bhagat
Performs code cleanup by making common function for usb_stor_read/ usb_stor_write. Currently only difference in these fucntions is call to usb_read_10/usb_write_10 scsi commands. Signed-off-by: Rajesh Bhagat --- Changes in v4: - Adds code to make common function for read/write common/usb_stor

Re: [U-Boot] [PATCH 8/8] x86: broadwell: gpio: Remove the codes to set up pin control

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: Now that we have set up pin control in cpu_init_r(), remove the duplicated codes in the broadwell gpio driver. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH 7/8] x86: Probe pinctrl driver in cpu_init_r()

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: At present pinctrl driver gets probed in ich6_gpio driver's probe routine, which has two issues: - Pin's PADs only gets configured when GPIO driver is probed, which is not done by default. This leaves the board in a partially functional state as we

Re: [U-Boot] [PATCH 6/8] x86: Enable regmap and syscon for coreboot and qemu-x86

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: These are generic and should be turned on on coreboot and qemu-x86. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH 5/8] x86: Update x86-pinctrl driver device-tree-bindings doc

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: This updates the device-tree-bindings doc for x86-pinctrl driver: - clarify "gpio-offset" is required only when "mode-gpio" is set - correct property name "pull-strength" - use tab instead of space at several places Signed-off-by: Bin Meng Reviewed-

Re: [U-Boot] [PATCH 3/8] x86: baytrail: Change fsp, emmc-boot-mode to "auto"

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: At present all BayTrail boards configure fsp,emmc-boot-mode to 2, which means "eMMC 4.1" per FSP documentation. However, eMMC 4.1 only shows up on some early stepping silicon of BayTrail SoC. Newer stepping SoC integrates an eMMC 4.5 controller. Intel FSP prov

Re: [U-Boot] [PATCH 4/8] x86: baytrail: Configure card detect pin of the SD controller

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: As of today, the latest version FSP (gold4) for BayTrail misses the PAD configuration of the SD controller's Card Detect signal. The default PAD value for the CD pin sets the pin to work in GPIO mode, which causes card detect status cannot be reflected by the

[U-Boot] [PATCH v3] sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data

2016-06-08 Thread Bernhard Nortmann
The patch converts one of the "reserved" fields in the sunxi SPL header to a fel_uEnv_length entry. When booting over USB ("FEL mode"), this enables the sunxi-fel utility to pass the string length of uEnv.txt compatible data; at the same time requesting that this data be imported into the U-Boot en

Re: [U-Boot] [PATCH 2/8] x86: baytrail: Add 'reg' property in the pinctrl node

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: Without a 'reg' property, pinctrl driver probe routine fails in its pre_probe() with a return value of -EINVAL. Add 'reg' property for all BayTrail boards. Note for BayleyBay, the pinctrl node is newly added. Signed-off-by: Bin Meng Reviewed-by: Stefan Ro

Re: [U-Boot] [PATCH 1/8] x86: ich6_gpio: Output return value of syscon_get_by_driver_data()

2016-06-08 Thread Stefan Roese
On 08.06.2016 14:07, Bin Meng wrote: The call to syscon_get_by_driver_data() does not save its return value. Print it out to aid debugging. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH v2] tiny-printf: Correct the snprintf() implementation

2016-06-08 Thread Stefan Roese
On 09.06.2016 04:55, Simon Glass wrote: This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: abeb272 ("tiny-printf: Support snprintf()") Signed-off-by: Simon Glass Reviewed-

Re: [U-Boot] Továbbítás: u-boot

2016-06-08 Thread Heiko Schocher
Hello, Am 08.06.2016 um 21:50 schrieb kri...@nmdps.net: Küldve az én HTC-mről - Továbbított üzenet - Feladó: kri...@nmdps.net Címzett: Tárgy: u-boot Dátum: Sze, jún. 8, 2016 19:12 Dear developer, I own a bananapi m2, on which u-boot does not boot up since commit 90b7fc924adfe7f1745dc

Re: [U-Boot] [PATCH] ti_armv7_common: env: Remove no longer needed mem_reserve

2016-06-08 Thread Lokesh Vutla
On Wednesday 08 June 2016 08:49 PM, Andrew F. Davis wrote: > The kernel can now use DT to reserve memory carveouts and > these areas are now the default for drivers that need reserved > memory, so reserving more here is unneeded and any memory reserved > this way will be wasted. > > Signed-off-b

Re: [U-Boot] [PATCH 1/3] drivers: usb: fsl: add USB ULPI init code

2016-06-08 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, June 08, 2016 7:29 PM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: Sriram Dash ; albert.u.b...@aribaud.net; > prabha...@freescale.com; york sun ; Rajat Srivastava > > Subject: Re: [PATCH 1/3] drivers:

Re: [U-Boot] [PATCH v3] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-08 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, June 08, 2016 7:25 PM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: s...@chromium.org; york sun ; Sriram Dash > > Subject: Re: [PATCH v3] common: usb_storage : Implement logic to calculate > optimal >

[U-Boot] [PATCH v2] tiny-printf: Correct the snprintf() implementation

2016-06-08 Thread Simon Glass
This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: abeb272 ("tiny-printf: Support snprintf()") Signed-off-by: Simon Glass --- Changes in v2: - Correct the 'Fixes' line lib/

[U-Boot] [PATCH] tiny-printf: Correct the snprintf() implementation

2016-06-08 Thread Simon Glass
This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: 5c411d8 tiny-printf: Support snprintf() Signed-off-by: Simon Glass --- lib/tiny-printf.c | 4 +++- 1 file changed, 3 inser

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-08 Thread Scott Wood
On Tue, 2016-06-07 at 07:41 +0200, Boris Brezillon wrote: > On Mon, 06 Jun 2016 18:54:03 -0500 > Scott Wood wrote: > > > Of course the driver model > > is probably the long-term solution. > > Definitely, and talking about things that need to be reworked, do you > know why u-boot is using its own

Re: [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6

2016-06-08 Thread Scott Wood
On 06/07/2016 06:47 AM, Max Krummenacher wrote: > follow parameter name change (nand to mtd) to fix compiler error. > > Signed-off-by: Max Krummenacher > > --- > > Changes in v2: > - Patch v1 1/1 went into master, but Scott's patch series syncing > with kernel v4.6 introduced an additional co

Re: [U-Boot] [PATCH v2] sunxi: Add the ability to recognize and auto-import uEnv-style data

2016-06-08 Thread Siarhei Siamashka
Hi, On Wed, 8 Jun 2016 22:13:50 +0200 Hans de Goede wrote: > Hi, > > On 08-06-16 20:23, Bernhard Nortmann wrote: > > The patch converts one of the "reserved" fields in the sunxi SPL > > header to a fel_uEnv_length entry. When booting over USB ("FEL > > mode"), this enables the sunxi-fel utility

Re: [U-Boot] [PATCH v2 2/2] nand: extend nand torture

2016-06-08 Thread Benoît Thébaudeau
Hi Max, On Tue, Jun 7, 2016 at 1:46 PM, Max Krummenacher wrote: > nand torture currently works on exactly one nand block which is specified > by giving the byteoffset to the beginning of the block. > > Extend this by allowing for a second parameter specifying the byte size > to be tested. > > e.g

Re: [U-Boot] [PATCH 2/2] nand: extend nand torture

2016-06-08 Thread Benoît Thébaudeau
Hi Max, On Tue, Jun 7, 2016 at 12:57 PM, Max Krummenacher wrote: > Hi Benoît, > > Thank you for your review. You're welcome. > I wanted to wait for Scott's patchseries to make it into master to > allow for potential needed > changes. No problem. > 2016-05-31 22:21 GMT+02:00 Benoît Thébaudeau

Re: [U-Boot] [PATCH v2] mx6: Add Phytec PCM058 i.MX6 Quad

2016-06-08 Thread Fabio Estevam
On Wed, Jun 8, 2016 at 5:50 AM, Stefano Babic wrote: > Add Phytec-i.MX6 SOM with NAND > > Support: >- 1GB RAM >- Ethernet >- SPI-NOR Flash >- NAND (1024 MB) >- external SD >- UART > > Signed-off-by: Stefano Babic Reviewed-by: Fabio Estevam _

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

2016-06-08 Thread Masahiro Yamada
Hi Tom, Here are some more UniPhier updates for -rc2. - Add eMMC boot suuport for new ARMv8 SoCs - Misc fixes Please pull! The following changes since commit b104b3dc1dd90cdbf67ccf3c51b06e4f1592fe91: Prepare v2016.07-rc1 (2016-06-06 17:43:54 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v2] ARM: uniphier: insert dsb barrier to ensure visibility of store

2016-06-08 Thread Masahiro Yamada
2016-06-08 18:02 GMT+09:00 Masahiro Yamada : > I noticed secondary CPUs sometimes fail to wake up, and the root > cause is that the sev instruction wakes up slave CPUs before the > preceding the register write is observed by them. > > The read-back of the accessed register does not guarantee the or

Re: [U-Boot] [PATCH 0/5] ARM: uniphier: some more UniPhier updates for v2016.07-rc2

2016-06-08 Thread Masahiro Yamada
2016-06-07 21:03 GMT+09:00 Masahiro Yamada : > > > > Masahiro Yamada (5): > ARM: uniphier: check return code of setenv() > ARM: uniphier: do not overwrite fdt_file environment > ARM: uniphier: do not overwrite bootmode environment > ARM: uniphier: do not erase when updating U-Boot image in

Re: [U-Boot] [PATCH 2/2] ARM: uniphier: fix boot mode for PH1-LD11

2016-06-08 Thread Masahiro Yamada
2016-06-04 22:39 GMT+09:00 Masahiro Yamada : > This function is shared between PH1-LD11 and PH1-LD20. The difference > is the boot-mode latch for the USB boot mode. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada

Re: [U-Boot] [PATCH 1/2] ARM: uniphier: support eMMC boot for PH1-LD11 and PH1-LD20

2016-06-08 Thread Masahiro Yamada
2016-06-04 22:39 GMT+09:00 Masahiro Yamada : > The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images > from an eMMC device. They are useful to reduce the memory footprint > of SPL, rather than compiling the whole MMC framework. > > Signed-off-by: Masahiro Yamada Applied to u-boot-u

Re: [U-Boot] [PATCH v2] sunxi: Add the ability to recognize and auto-import uEnv-style data

2016-06-08 Thread Bernhard Nortmann
Hi Hans! Am 08.06.2016 um 22:13 schrieb Hans de Goede: Hi, [...] This patch looks good to me. Siarhei any comments from your side ? If not then I'll add this to u-boot-sunxi/next. Regards, Hans Thanks for looking into it. One small thing I only noticed after posting the patch: The last "re

Re: [U-Boot] [PATCH] mx6qsabreauto: Avoid hardcoded RAM size

2016-06-08 Thread Fabio Estevam
Hi Vanessa, On Wed, Jun 8, 2016 at 3:17 PM, Vanessa Maegima wrote: > Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, > we should better use imx_ddr_size() function, which automatically > determines the RAM size. > > Signed-off-by: Vanessa Maegima Thanks for the patch: Acked-b

Re: [U-Boot] [PATCH] mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot

2016-06-08 Thread Fabio Estevam
Hi Marco, On Wed, Jun 8, 2016 at 3:05 PM, Marco Franchi wrote: > Currently the LVDS backlight does not work in U-Boot after a “reboot” comand > in the kernel. > > This problem occurs because the kernel uses this pin in PWM mode and U-Boot > does not configure the backlight pin as GPIO functionali

Re: [U-Boot] [PATCH] mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot

2016-06-08 Thread Stefano Babic
Hi Marco, On 08/06/2016 20:05, Marco Franchi wrote: > Currently the LVDS backlight does not work in U-Boot after a “reboot” comand > in the kernel. > > This problem occurs because the kernel uses this pin in PWM mode and U-Boot > does not configure the backlight pin as GPIO functionality. > > So

[U-Boot] Továbbítás: u-boot

2016-06-08 Thread kri...@nmdps.net
Küldve az én HTC-mről - Továbbított üzenet - Feladó: kri...@nmdps.net Címzett: Tárgy: u-boot Dátum: Sze, jún. 8, 2016 19:12 Dear developer, I own a bananapi m2, on which u-boot does not boot up since commit 90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7. The console is repeating: U-Boot 20

Re: [U-Boot] [PATCH v2] sunxi: Add the ability to recognize and auto-import uEnv-style data

2016-06-08 Thread Hans de Goede
Hi, On 08-06-16 20:23, Bernhard Nortmann wrote: The patch converts one of the "reserved" fields in the sunxi SPL header to a fel_uEnv_length entry. When booting over USB ("FEL mode"), this enables the sunxi-fel utility to pass the string length of uEnv.txt compatible data; at the same time reque

[U-Boot] [PATCH] ARM: board: cm-fx6: fix mmc for old revisions of utilite

2016-06-08 Thread Christopher Spinrath
Old revisions of Utilite (based on cmfx6) do not have a dedicated card detect pin. But the card is removable by the user and card detection can be realized with polling (e.g. supported by Linux). Add the broken-cd property to the mmc device tree instead of the non-removable property to make card d

[U-Boot] [PATCH] mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot

2016-06-08 Thread Marco Franchi
Currently the LVDS backlight does not work in U-Boot after a “reboot” comand in the kernel. This problem occurs because the kernel uses this pin in PWM mode and U-Boot does not configure the backlight pin as GPIO functionality. So fix the problem by explicitly configuring the backlight pin as GPI

[U-Boot] [PATCH] mx6qsabreauto: Avoid hardcoded RAM size

2016-06-08 Thread Vanessa Maegima
Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, we should better use imx_ddr_size() function, which automatically determines the RAM size. Signed-off-by: Vanessa Maegima --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 2 +- include/configs/mx6qsabreauto.h | 1

Re: [U-Boot] [PATCH] mx6qsabreauto: Avoid hardcoded RAM size

2016-06-08 Thread Stefano Babic
Hi Vanessa, On 08/06/2016 20:17, Vanessa Maegima wrote: > Instead of passing the total RAM size via PHYS_SDRAM_SIZE option, > we should better use imx_ddr_size() function, which automatically > determines the RAM size. > > Signed-off-by: Vanessa Maegima > --- > board/freescale/mx6qsabreauto/mx6

[U-Boot] [PATCH v2] sunxi: Add the ability to recognize and auto-import uEnv-style data

2016-06-08 Thread Bernhard Nortmann
The patch converts one of the "reserved" fields in the sunxi SPL header to a fel_uEnv_length entry. When booting over USB ("FEL mode"), this enables the sunxi-fel utility to pass the string length of uEnv.txt compatible data; at the same time requesting that this data be imported into the U-Boot en

[U-Boot] [PATCH v2 2/6] mtd: nand: add common DT init code

2016-06-08 Thread Boris Brezillon
From: Brian Norris These are already-documented common bindings for NAND chips. Let's handle them in nand_base. If NAND controller drivers need to act on this data before bringing up the NAND chip (e.g., fill out ECC callback functions, change HW modes, etc.), then they can do so between calling

[U-Boot] [PATCH v2 4/6] sun5i: Add NAND controller to the sun5i DTSI

2016-06-08 Thread Boris Brezillon
From: Maxime Ripard Add the NAND controller definition to sun5i.dtsi. Signed-off-by: Maxime Ripard Signed-off-by: Boris Brezillon --- arch/arm/dts/sun5i.dtsi | 49 + 1 file changed, 49 insertions(+) diff --git a/arch/arm/dts/sun5i.dtsi b/arch/a

[U-Boot] [PATCH v2 0/6] sunxi: Add NAND controller driver

2016-06-08 Thread Boris Brezillon
Hello, This patch series is adding the normal sunxi NAND controller driver to u-boot. It's based on the Linux driver, with a few adaptions to make it work in Linux. It's based on Scott's series syncing the MTD/NAND frameworks with Linux 4.6 [1]. Best Regards, Boris [1]https://patchwork.ozlabs

[U-Boot] [PATCH v2 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-08 Thread Boris Brezillon
We already have an SPL driver for the sunxi NAND controller, now add the normal/standard one. The source has been copied from Linux 4.6 with a few changes to make it work in u-boot. Signed-off-by: Boris Brezillon Acked-by: Hans de Goede --- board/sunxi/board.c|5 +- drivers/mtd

[U-Boot] [PATCH v2 6/6] sunxi: Enable NAND controller on the CHIP

2016-06-08 Thread Boris Brezillon
Enable the NAND controller in the sun5i-r8-chip.dts. Signed-off-by: Boris Brezillon Acked-by: Hans de Goede --- arch/arm/dts/sun5i-a10s.dtsi | 14 ++ arch/arm/dts/sun5i-a13-olinuxino.dts | 15 +++ arch/arm/dts/sun5i-r8-chip.dts | 15 +++ 3 files

[U-Boot] [PATCH v2 1/6] sunxi: Add missing macros to configure the NAND controller clk

2016-06-08 Thread Boris Brezillon
We need some macros to manipulate the NAND controller clock. Signed-off-by: Boris Brezillon Acked-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/ar

[U-Boot] [PATCH v2 5/6] mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND

2016-06-08 Thread Boris Brezillon
Add a full-id entry for the H27QCG8T2E5R‐BCF NAND. Signed-off-by: Boris Brezillon Acked-by: Hans de Goede --- drivers/mtd/nand/nand_ids.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 561d2cd..ce0a14e 100644 --- a/drivers

[U-Boot] [PATCH] common: cli_readline: Improve command line editing

2016-06-08 Thread James Byrne
This improves the cread_line() function so that it will correctly process the 'Home', 'End', 'Delete' and arrow key escape sequences produced by various terminal emulators. This makes command line editing a more pleasant experience. The previous code only supported the cursor keys and the 'Home' k

Re: [U-Boot] u-boot on Minnowboard max

2016-06-08 Thread vinoth eswaran
Hello Mr.Bin, May I know what is the issue , if you could explain I can fix this in my target and could provide the patch. I am stuck up with this issue and couldn't able to proceed further. Thanks a lot:) Mit Freundlichen Grüßen VinothKumar +49 1798909072 On Wed, Jun 8, 2016 at 7:00 AM

[U-Boot] [PATCH] ti_armv7_common: env: Remove no longer needed mem_reserve

2016-06-08 Thread Andrew F. Davis
The kernel can now use DT to reserve memory carveouts and these areas are now the default for drivers that need reserved memory, so reserving more here is unneeded and any memory reserved this way will be wasted. Signed-off-by: Andrew F. Davis --- include/configs/ti_armv7_keystone2.h | 1 - 1 fi

Re: [U-Boot] [PATCH 1/3] drivers: usb: fsl: add USB ULPI init code

2016-06-08 Thread Marek Vasut
On 06/08/2016 10:22 AM, Rajesh Bhagat wrote: > This adds the required code to set up a ULPI USB port, for > new NXP USB PHY used in QorIQ platforms. > > To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT > have to be set in the board configuration file. > > Signed-off-by: Rajesh Bhagat

Re: [U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-08 Thread Marek Vasut
On 06/08/2016 06:12 AM, Sriram Dash wrote: >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Monday, June 06, 2016 6:21 PM >> To: Sriram Dash ; u-boot@lists.denx.de >> Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat >> >> Subject: Re: [PATCH v2 1/5] arm64:

Re: [U-Boot] [PATCH v3] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-08 Thread Marek Vasut
On 06/08/2016 06:09 AM, Rajesh Bhagat wrote: > > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Wednesday, June 08, 2016 8:38 AM >> To: Rajesh Bhagat ; u-boot@lists.denx.de >> Cc: s...@chromium.org; york sun ; Sriram Dash >> >> Subject: Re: [PATCH v3] common:

Re: [U-Boot] [PATCH v2 2/4] usb: dwc3: Add helper functions to enable snooping and burst settings

2016-06-08 Thread Marek Vasut
On 06/08/2016 11:44 AM, Rajesh Bhagat wrote: > > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Monday, June 06, 2016 6:24 PM >> To: Rajat Srivastava ; u-boot@lists.denx.de >> Cc: l.majew...@samsung.com; s...@chromium.org; albert.u.b...@aribaud.net; >> prabha..

Re: [U-Boot] [RFC][PATCH] arm: rk: Drop SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE

2016-06-08 Thread Marek Vasut
On 06/08/2016 06:44 AM, Simon Glass wrote: > Hi Marek, > > On 7 June 2016 at 20:02, Marek Vasut wrote: >> On 06/08/2016 04:43 AM, Simon Glass wrote: >>> Hi Marek, >> >> Hi! >> >>> On 25 May 2016 at 05:26, Marek Vasut wrote: On 05/25/2016 05:29 AM, Simon Glass wrote: > Hi Marek, > >>

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-08 Thread Tom Rini
On Wed, Jun 08, 2016 at 07:47:12AM +0200, Thomas Petazzoni wrote: > Hello, > > On Tue, 7 Jun 2016 21:18:17 -0300 (BRT), Carlos Santos wrote: > > > There is already a configuration that makes FIT optional (CONFIG_FIT) > > but it is partially broken because it does not really remove > > FIT-related

Re: [U-Boot] [PATCH v4 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-06-08 Thread Alexander Graf
On 06/08/2016 07:14 AM, Alison Wang wrote: To support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Signed-off-

[U-Boot] [PATCH 6/8] x86: Enable regmap and syscon for coreboot and qemu-x86

2016-06-08 Thread Bin Meng
These are generic and should be turned on on coreboot and qemu-x86. Signed-off-by: Bin Meng --- configs/coreboot-x86_defconfig | 2 ++ configs/qemu-x86_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/coreboot-x86_defconfig b/configs/coreboot-x86_defconfig index 2fa1

[U-Boot] [PATCH 7/8] x86: Probe pinctrl driver in cpu_init_r()

2016-06-08 Thread Bin Meng
At present pinctrl driver gets probed in ich6_gpio driver's probe routine, which has two issues: - Pin's PADs only gets configured when GPIO driver is probed, which is not done by default. This leaves the board in a partially functional state as we must initialize PADs correctly to get p

[U-Boot] [PATCH 8/8] x86: broadwell: gpio: Remove the codes to set up pin control

2016-06-08 Thread Bin Meng
Now that we have set up pin control in cpu_init_r(), remove the duplicated codes in the broadwell gpio driver. Signed-off-by: Bin Meng --- drivers/gpio/intel_broadwell_gpio.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpio/intel_broadwell_gpio.c b/drivers/gpio/intel_broa

[U-Boot] [PATCH 0/8] x86: baytrail: Various fixes to pinctrl driver to enable SD in Linux

2016-06-08 Thread Bin Meng
This fixes several issues in the pinctrl driver, and add SD controller card detect pin's PADs configuration to the device tree, so that Linux kernel SDHC driver is able to identify an inserted SD card. Testing was done on MinnowMax board, by booting Linux kernel and check dmesg log to see if SD ca

Re: [U-Boot] u-boot on Minnowboard max

2016-06-08 Thread Bin Meng
Hi, On Wed, Jun 8, 2016 at 8:02 PM, vinoth eswaran wrote: > Hello Mr.Bin, > > May I know what is the issue , if you could explain I can fix > this in my target and could provide the patch. I am stuck up with this > issue and couldn't able to proceed further. I've just sent out a series that

[U-Boot] [PATCH 5/8] x86: Update x86-pinctrl driver device-tree-bindings doc

2016-06-08 Thread Bin Meng
This updates the device-tree-bindings doc for x86-pinctrl driver: - clarify "gpio-offset" is required only when "mode-gpio" is set - correct property name "pull-strength" - use tab instead of space at several places Signed-off-by: Bin Meng --- doc/device-tree-bindings/gpio/intel,x86-pinctrl

[U-Boot] [PATCH 2/8] x86: baytrail: Add 'reg' property in the pinctrl node

2016-06-08 Thread Bin Meng
Without a 'reg' property, pinctrl driver probe routine fails in its pre_probe() with a return value of -EINVAL. Add 'reg' property for all BayTrail boards. Note for BayleyBay, the pinctrl node is newly added. Signed-off-by: Bin Meng --- arch/x86/dts/bayleybay.dts | 5 + arch/

[U-Boot] [PATCH 3/8] x86: baytrail: Change fsp, emmc-boot-mode to "auto"

2016-06-08 Thread Bin Meng
At present all BayTrail boards configure fsp,emmc-boot-mode to 2, which means "eMMC 4.1" per FSP documentation. However, eMMC 4.1 only shows up on some early stepping silicon of BayTrail SoC. Newer stepping SoC integrates an eMMC 4.5 controller. Intel FSP provides a config option fsp,emmc-boot-mode

[U-Boot] [PATCH 1/8] x86: ich6_gpio: Output return value of syscon_get_by_driver_data()

2016-06-08 Thread Bin Meng
The call to syscon_get_by_driver_data() does not save its return value. Print it out to aid debugging. Signed-off-by: Bin Meng --- drivers/gpio/intel_ich6_gpio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/intel_ich6_gpio.c b/drivers/gpio/intel_ich6_gpio.

[U-Boot] [PATCH 4/8] x86: baytrail: Configure card detect pin of the SD controller

2016-06-08 Thread Bin Meng
As of today, the latest version FSP (gold4) for BayTrail misses the PAD configuration of the SD controller's Card Detect signal. The default PAD value for the CD pin sets the pin to work in GPIO mode, which causes card detect status cannot be reflected by the Present State register in the SD contro

Re: [U-Boot] [PATCH v2] sunxi: Support booting from SPI flash

2016-06-08 Thread boobwrt
Hello Nice to see new entry to boot. I would like to know if sdcard wired in spi mode can working with this spi boot support. Why put sdcard in spi when i have an sdcard slot? :) Just to solder it for bypass crappy sdcard socket pin contact then boot from usb. microsd was cheap in 512mb size or

[U-Boot] U-BOOT for I960 Board

2016-06-08 Thread Vincent Poret
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2] sunxi: Support booting from SPI flash

2016-06-08 Thread Siarhei Siamashka
Hello, On Wed, 8 Jun 2016 02:56:41 -0700 (PDT) boob...@gmail.com wrote: > Hello > > Nice to see new entry to boot. > I would like to know if sdcard wired in spi mode can working with > this spi boot support. No, it can't. The SPI protocol used by the SD card is different from the SPI protocol u

[U-Boot] [PATCH v6 04/10] armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

2016-06-08 Thread Yuan Yao
From: Yuan Yao When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC due to pin mux. So enable I2C QIXIS access and I2C early init to read the sysclk and ddrclk. Signed-off-by: Yuan Yao --- Changed in v5: Use I2C to read the clocks instead of the hard-coded clocks. --

[U-Boot] [PATCH v6 06/10] dm: dts: ls2080aqds: Add QSPI dts node

2016-06-08 Thread Yuan Yao
From: Yuan Yao Add QSPI controller and slave dts node for LS2080AQDS board. Signed-off-by: Yuan Yao --- arch/arm/dts/fsl-ls2080a-qds.dts | 14 ++ arch/arm/dts/fsl-ls2080a.dtsi| 10 ++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a-qds.dts b/arc

[U-Boot] [PATCH v6 09/10] ls2080aqds_nand_defconfig: Enable QSPI & its dependence

2016-06-08 Thread Yuan Yao
From: Yuan Yao The Freescale QSPI driver has been converted to Driver Model. This patch enable FSL_QSPI and its dependence options, DM, DM_SPI, OF_CONTROL and so on. Signed-off-by: Yuan Yao --- Changed in v6: Add CONFIG_CMD_SF in defconfig. --- configs/ls2080aqds_nand_defconfig | 9 +++

[U-Boot] [PATCH v6 07/10] armv8: ls2080aqds: Config QSPI pin mux via FPGA in NAND boot

2016-06-08 Thread Yuan Yao
From: Yuan Yao In order to access QSPI flash we must asserted ISO allowing the DUT to access the full IFC domain. But deasserted the unused ISO will allowing maximum performance. Signed-off-by: Yuan Yao --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 2 ++ board/freescale/ls2080aq

[U-Boot] [PATCH v6 10/10] armv8: ls2080aqds: Enable QSPI boot support

2016-06-08 Thread Yuan Yao
From: Yuan Yao This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Signed-off-by: Yuan Yao --- Changed in v6: Add CONFIG_CMD_SF in defconfig. Changed in v4:

[U-Boot] [PATCH v6 08/10] configs: ls2080a: Increase load image len in NAND boot

2016-06-08 Thread Yuan Yao
From: Yuan Yao Freescale QSPI and DSPI driver have been converted to Driver Mode. This converting bring dtb file for u-boot and this increase the size of u-boot image. LS2080A nand boot use SPL framework. This patch increase the size of image load from NAND to RAM in SPL. Signed-off-by: Yuan Yao

[U-Boot] [PATCH v6 05/10] configs: ls2080aqds: Enable QSPI flash support

2016-06-08 Thread Yuan Yao
From: Yuan Yao Enable QSPI flash related configure options. Signed-off-by: Yuan Yao --- Changed in v6: remove CONFIG_CMD_SF. --- include/configs/ls2080aqds.h | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/configs/ls2080aqds.h b/include/confi

[U-Boot] [PATCH v6 03/10] configs: ls2080a_common: Remove duplicate NOR configs

2016-06-08 Thread Yuan Yao
From: Yuan Yao The NOR flash related configure options also appear in ls2080aqds.h and ls2080ardb.h, and the two files all have included ls2080a_common.h. This patch remove the duplicated options in ls2080a_common.h. Signed-off-by: Yuan Yao --- include/configs/ls2080a_common.h | 7 --- inc

[U-Boot] [PATCH v6 02/10] armv8: ls2080aqds: Select QSPI CLK div via SCFG

2016-06-08 Thread Yuan Yao
From: Yuan Yao QSPI module output SCLK divisor value is configured through SCFG. Signed-off-by: Yuan Yao --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + board/freescale/ls2080aqds/ls2080aqds.c| 5 + 2 files changed, 6 insertions(+) diff --git a/arch/arm/i

[U-Boot] [PATCH v6 01/10] drivers: i2c: mxc: Add early init

2016-06-08 Thread Yuan Yao
From: Yuan Yao Add early i2c init function with conservative divider when the exact clock rate is not available. Signed-off-by: Yuan Yao --- New add in v3. --- drivers/i2c/i2c_core.c | 5 + drivers/i2c/mxc_i2c.c | 27 +++ include/i2c.h | 3 +++ 3 files c

[U-Boot] [PATCH v6 00/10] armv8: ls2080aqds: Enable QSPI boot support

2016-06-08 Thread Yuan Yao
From: Yuan Yao This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Yuan Yao (10): drivers: i2c: mxc: Add early init armv8: ls2080aqds: Select QSPI CLK div via SCFG

[U-Boot] [PATCH v5 09/10] ls2080aqds_nand_defconfig: Enable QSPI & its dependence

2016-06-08 Thread Yuan Yao
From: Yuan Yao The Freescale QSPI driver has been converted to Driver Model. This patch enable FSL_QSPI and its dependence options, DM, DM_SPI, OF_CONTROL and so on. Signed-off-by: Yuan Yao --- configs/ls2080aqds_nand_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/config

[U-Boot] [PATCH v5 08/10] configs: ls2080a: Increase load image len in NAND boot

2016-06-08 Thread Yuan Yao
From: Yuan Yao Freescale QSPI and DSPI driver have been converted to Driver Mode. This converting bring dtb file for u-boot and this increase the size of u-boot image. LS2080A nand boot use SPL framework. This patch increase the size of image load from NAND to RAM in SPL. Signed-off-by: Yuan Yao

Re: [U-Boot] [PATCH v3 01/12] common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option

2016-06-08 Thread Igor Grinberg
Hi Heiko, On 06/07/2016 09:31 AM, Heiko Schocher wrote: > move CONFIG_BOOTDELAY into a Kconfig option. Used for this > purpose the moveconfig.py tool in tools. That's great! Finally, someone did this long long patch! It has been sitting in my queue for about a year... and I never had the time to

Re: [U-Boot] [PATCH v3 09/12] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx

2016-06-08 Thread Igor Grinberg
Hi Heiko, On 06/07/2016 09:31 AM, Heiko Schocher wrote: > Enable 8bit interface on HSMMC2 for am33xx to support 8bit eMMC chips. > > Signed-off-by: Heiko Schocher > Reviewed-by: Tom Rini > > --- > > Changes in v3: None > Changes in v2: > - add Reviewed-by from Tom Rini > > drivers/mmc/omap_

Re: [U-Boot] [PATCH v2 2/4] usb: dwc3: Add helper functions to enable snooping and burst settings

2016-06-08 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, June 06, 2016 6:24 PM > To: Rajat Srivastava ; u-boot@lists.denx.de > Cc: l.majew...@samsung.com; s...@chromium.org; albert.u.b...@aribaud.net; > prabha...@freescale.com; york sun ; Mingkai Hu > ; Rajesh Bhaga

[U-Boot] [PATCH v5 10/10] armv8: ls2080aqds: Enable QSPI boot support

2016-06-08 Thread Yuan Yao
From: Yuan Yao This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Signed-off-by: Yuan Yao --- Changed in v4: Merged the below patch into one: board: fr

[U-Boot] [PATCH v5 06/10] dm: dts: ls2080aqds: Add QSPI dts node

2016-06-08 Thread Yuan Yao
From: Yuan Yao Add QSPI controller and slave dts node for LS2080AQDS board. Signed-off-by: Yuan Yao --- arch/arm/dts/fsl-ls2080a-qds.dts | 14 ++ arch/arm/dts/fsl-ls2080a.dtsi| 10 ++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a-qds.dts b/arc

[U-Boot] [PATCH v5 07/10] armv8: ls2080aqds: Config QSPI pin mux via FPGA in NAND boot

2016-06-08 Thread Yuan Yao
From: Yuan Yao In order to access QSPI flash we must asserted ISO allowing the DUT to access the full IFC domain. But deasserted the unused ISO will allowing maximum performance. Signed-off-by: Yuan Yao --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 2 ++ board/freescale/ls2080aq

[U-Boot] [PATCH v5 04/10] armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

2016-06-08 Thread Yuan Yao
From: Yuan Yao When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC due to pin mux. So enable I2C QIXIS access and I2C early init to read the sysclk and ddrclk. Signed-off-by: Yuan Yao --- Changed in v5: Use I2C to read the clocks instead of the hard-coded clocks. --

[U-Boot] [PATCH v5 01/10] drivers: i2c: mxc: Add early init

2016-06-08 Thread Yuan Yao
From: Yuan Yao Add early i2c init function with conservative divider when the exact clock rate is not available. Signed-off-by: Yuan Yao --- New add in v3. --- drivers/i2c/i2c_core.c | 5 + drivers/i2c/mxc_i2c.c | 27 +++ include/i2c.h | 3 +++ 3 files c

[U-Boot] [PATCH v5 05/10] configs: ls2080aqds: Enable QSPI flash support

2016-06-08 Thread Yuan Yao
From: Yuan Yao Enable QSPI flash related configure options. Signed-off-by: Yuan Yao --- include/configs/ls2080aqds.h | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 99b0551..f917484 100644 ---

[U-Boot] [PATCH v5 00/10] armv8: ls2080aqds: Enable QSPI boot support

2016-06-08 Thread Yuan Yao
From: Yuan Yao This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Yuan Yao (10): drivers: i2c: mxc: Add early init armv8: ls2080aqds: Select QSPI CLK div via SCFG

[U-Boot] [PATCH v5 02/10] armv8: ls2080aqds: Select QSPI CLK div via SCFG

2016-06-08 Thread Yuan Yao
From: Yuan Yao QSPI module output SCLK divisor value is configured through SCFG. Signed-off-by: Yuan Yao --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + board/freescale/ls2080aqds/ls2080aqds.c| 5 + 2 files changed, 6 insertions(+) diff --git a/arch/arm/i

[U-Boot] [PATCH v5 03/10] configs: ls2080a_common: Remove duplicate NOR configs

2016-06-08 Thread Yuan Yao
From: Yuan Yao The NOR flash related configure options also appear in ls2080aqds.h and ls2080ardb.h, and the two files all have included ls2080a_common.h. This patch remove the duplicated options in ls2080a_common.h. Signed-off-by: Yuan Yao --- include/configs/ls2080a_common.h | 7 --- inc

  1   2   >