Re: [U-Boot] [PATCH 1/2] x86: ich-spi: Remove useless assignment in ich_spi_xfer()

2017-08-27 Thread Stefan Roese
On 27.08.2017 04:22, Bin Meng wrote: In ich_spi_xfer() when the driver presets control fields, control variable gets assigned twice. Apparently only the last assignment takes effect. Remove the other one. Signed-off-by: Bin Meng --- drivers/spi/ich.c | 2 -- 1 file changed, 2 deletions(-)

Re: [U-Boot] [PATCH 2/2] x86: ich-spi: Clear atomic preop only when SPI settings are not locked

2017-08-27 Thread Stefan Roese
On 27.08.2017 04:22, Bin Meng wrote: The atomic preop register can only be written when SPI settings are not locked, otherwise it's read-only. Signed-off-by: Bin Meng --- drivers/spi/ich.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/ich.c b/drivers/spi/

[U-Boot] [PATCH] moveconfig: fix error message in do_autoconf()

2017-08-27 Thread Chris Packham
Move the % arch outside the double quote so that the missing toolchain message is displayed correctly. Signed-off-by: Chris Packham --- tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 8a038501929c..45742dc2e

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Sébastien Szymanski
Hello, > On 25 Aug 2017, at 13:33, Stefano Babic wrote: > > On 16/08/2017 02:49, Stefan Agner wrote: >> From: Stefan Agner >> >> i.MX 6 serial downloader is not necessarily booting via UART but can >> also boot from USB. In fact only some i.MX chips have serial >> downloader support via UART (

[U-Boot] [PATCH v2 2/4] Kconfig: drop CONFIG_USB_ETHER_RNDIS

2017-08-27 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- Changes in v2: - collect review from Simon include/configs/cl-som-am57x.h | 1 - include/configs/cm_t54.h | 1 - include/configs/omap3_beagle.h | 1 - include/configs/omap3_evm.h| 1 - in

[U-Boot] [PATCH v2 1/4] Kconfig: drop CONFIG_USB_ETHER_DM9601

2017-08-27 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- Changes in v2: - collect review from Simon include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/dragonboard

[U-Boot] [PATCH] bch: don't use __BSD_VISIBLE to test for fls

2017-08-27 Thread Jonathan Gray
Commit 4ecc988301bc8e981e6d7538c57cdb3aa82f7c1d assumes fls is in libc if __BSD_VISIBLE is defined. This appears to only be true on FreeBSD and DragonFlyBSD. OpenBSD defines __BSD_VISIBLE and does not have fls in strings.h/libc. Switch the test for __BSD_VISIBLE to one for __DragonFly__ and __Fr

[U-Boot] [PATCH v2 0/4] usb: net: Migrate USB Ethernet to Kconfig

2017-08-27 Thread Chris Packham
I think the addition of the implies caught more of the -common.h cases so I'm happier with this version. Changes in v2: - collect review from Simon - add imply USB_HOST_ETHER for X86 and TARGET_NITROGEN6X - add imply for TARGET_NITROGEN6X, ARCH_EXYNOS5 and X86 Chris Packham (4): Kconfig: drop

[U-Boot] [PATCH v2 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig

2017-08-27 Thread Chris Packham
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and LAN78XX options under new menu. Finally update the defconfigs that need CONFIG_USB_HOST_ETHER. Signed-off-by: Chris Packham --- I decided not to do any imp

[U-Boot] [PATCH v2 4/4] usb: net: migrate USB Ethernet adapters to Kconfig

2017-08-27 Thread Chris Packham
This migrates ASIX, ASIX88179, MCS7830, RTL8152 and SMSC95XX to Kconfig. Update defconfigs. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- Changes in v2: - add imply for TARGET_NITROGEN6X, ARCH_EXYNOS5 and X86 arch/Kconfig | 2 ++ arch/arm/mac

[U-Boot] [PATCH] fix: fw_env: Prevent writing error message on special files, which don't support fsync

2017-08-27 Thread Lukasz Majewski
According to fsync specification [1] some special files (e.g., a pipe, FIFO, or socket) don't support synchronization and return either EROFS or EINVAL. On the linux side the sys_fsync -> do_fsync() checks if the requested file has f_op->fsync defined. If not it returns EINVAL [2]. This commit pr

[U-Boot] am33xx ddr tests

2017-08-27 Thread Ryan
Hello, I have 2 chips which are 512mb each connected to the AM33xx processor. I want to check if the base address is configured for each chip in u-boot or kernel. If it is configured in u-boot can anyone point me to where it is configured. The problem i am facing is i dont if i need to do a mte

[U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-27 Thread Adam Ford
I was trying to enable MTD Partitions to make loading the Kernel and FS easier from within U-Boot The da850evm spi-flash partitions in Linux show "U-Boot-SPL" @ offset 0, size 64K "U-Boot"; @ offset 0x0001, size 512K "U-Boot-Env"; @ offset 0x0009 However U-Boot shows the following: CONF

[U-Boot] [PATCH v2 0/6] x86: bootstage: Fix bootstage operation on link

2017-08-27 Thread Simon Glass
Recent bootstage changes have provoked problems with chromebook_link. Bootstage uses the timer before driver model is ready, but link uses driver model for the timer. This series: - Updates the TSC timer to make the bootstage work before DM is ready - Provides a way to have a separate setting for

[U-Boot] [PATCH v2 1/6] board_f: Drop the timer after relocation

2017-08-27 Thread Simon Glass
Once U-Boot relocates itself the existing driver-model timer (if any) is no-longer valid until the device is reinitialised. Any use of the device may cause a crash. To handle this, set the timer to NULL after relocation. Signed-off-by: Simon Glass --- Changes in v2: None common/board_f.c | 1 +

[U-Boot] [PATCH v2 5/6] bootstage: Provide a separate record count setting for SPL

2017-08-27 Thread Simon Glass
With SPL we often have limited memory and do not need very many bootstage records. Add a separate Kconfig option for SPL. Signed-off-by: Simon Glass --- Changes in v2: None common/Kconfig | 7 +++ common/bootstage.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --

[U-Boot] [PATCH v2 4/6] bootstage: Drop unused options

2017-08-27 Thread Simon Glass
The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now. Drop these unused options. Signed-off-by: Simon Glass --- Changes in v2: None common/Kconfig | 9 - common/bootsta

[U-Boot] [PATCH v2 3/6] dm: x86: Update timer_get_boot_us to work before DM is ready

2017-08-27 Thread Simon Glass
Use the new separate init function so that we can make use of the timer before driver model is started up. At some point we should consider adding the microsecond timer to the timer uclass interface since it would reduce the amount of plumbing here slightly. Signed-off-by: Simon Glass --- Chang

[U-Boot] [PATCH v2 2/6] dm: x86: Allow TSC timer to be used before DM is ready

2017-08-27 Thread Simon Glass
With bootstage we need access to the timer before driver model is set up. To handle this, put the required state in global_data and provide a new function to set up the device, separate from the driver's probe() method. This will be used by the 'early' timer also. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH v2 6/6] x86: Enable early timer for chromebook_link

2017-08-27 Thread Simon Glass
Enable this option for link so that the timer is available earlier. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to enable early timer for chromebook_link configs/chromebook_link64_defconfig | 1 + configs/chromebook_link_defconfig | 1 + 2 files changed, 2 insertions(+) di

[U-Boot] [PATCH] sh: Fix linking of ms7722se

2017-08-27 Thread Tom Rini
While it is true that we no longer have 'ppcenv' and similar sections, including env/embedded.o at all results in the text/etc sections being available for the rest of the link. This in turn is required for the setup used on ms7722se. This also, likely, needs further fine-tuning. Fixes: f40ad66f

[U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-27 Thread Simon Glass
This was broken by the recent environment refactoring. Specifically: $ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2 Fix this by updating th

Re: [U-Boot] [PATCH v2 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-27 Thread Tom Rini
On Sat, Aug 26, 2017 at 07:28:05PM +0200, Łukasz Majewski wrote: > On 08/26/2017 02:46 PM, Tom Rini wrote: > >On Fri, Aug 25, 2017 at 01:06:55PM +0200, Łukasz Majewski wrote: > >>Hi Philipp, Andy, Tom > >>> > On 25 Aug 2017, at 03:51, Andy Yan wrote: > > Hi Lukasz: > > 2017-0

Re: [U-Boot] [PATCH] fix: fw_env: Prevent writing error message on special files, which don't support fsync

2017-08-27 Thread Michael Heimpold
Hi Lukasz, Am Sonntag, 27. August 2017, 13:46:22 CEST schrieb Lukasz Majewski: > According to fsync specification [1] some special files (e.g., a pipe, FIFO, > or socket) don't support synchronization and return either EROFS or EINVAL. > > On the linux side the sys_fsync -> do_fsync() checks if t

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Stefan Agner
On 2017-08-27 01:45, Sébastien Szymanski wrote: > Hello, > >> On 25 Aug 2017, at 13:33, Stefano Babic wrote: >> >> On 16/08/2017 02:49, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> i.MX 6 serial downloader is not necessarily booting via UART but can >>> also boot from USB. In fact only som

Re: [U-Boot] [PATCH] fix: fw_env: Prevent writing error message on special files, which don't support fsync

2017-08-27 Thread Łukasz Majewski
Hi Michael, Hi Lukasz, Am Sonntag, 27. August 2017, 13:46:22 CEST schrieb Lukasz Majewski: According to fsync specification [1] some special files (e.g., a pipe, FIFO, or socket) don't support synchronization and return either EROFS or EINVAL. On the linux side the sys_fsync -> do_fsync() che

Re: [U-Boot] [PATCH] fix: fw_env: Prevent writing error message on special files, which don't support fsync

2017-08-27 Thread Tom Rini
On Sun, Aug 27, 2017 at 09:20:19PM +0200, Łukasz Majewski wrote: > Hi Michael, > > >Hi Lukasz, > > > >Am Sonntag, 27. August 2017, 13:46:22 CEST schrieb Lukasz Majewski: > >>According to fsync specification [1] some special files (e.g., a pipe, FIFO, > >>or socket) don't support synchronization an

Re: [U-Boot] [PATCH v5 01/30] Makefile: Rename 'env' target to 'environ'

2017-08-27 Thread Simon Glass
Hi Mans, On 18 August 2017 at 08:31, Måns Rullgård wrote: > Simon Glass writes: > >> This target stops us using 'env' as a subdirectory. It is not mentioned in >> the help so seems to be an internal target. Rename it. >> >> Signed-off-by: Simon Glass >> Reviewed-by: Tom Rini >> --- >> >> Chang

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-08-27 Thread Simon Glass
Hi, On 25 August 2017 at 02:16, Ziyuan wrote: > hi Jaehoon, > > On 07/28/2017 09:05 PM, Jaehoon Chung wrote: >> >> Hi Kever, >> >> On 07/26/2017 08:33 PM, Kever Yang wrote: >>> >>> Hi Jaehoon, >>> >>> >>> What's the status of this patch set now? >>> >>> Can we land this patch set or the

Re: [U-Boot] [PATCH] rk3288: Add Vyasa initial board support

2017-08-27 Thread Simon Glass
On 26 August 2017 at 01:23, Jagan Teki wrote: > From: Jagan Teki > > This patch adds support for Vyasa RK3288 initial board > support from Amarula. This sentence says 'support' twice. > > Boot from SDMMC: > --- > U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) >

Re: [U-Boot] [PATCH] fdt: fix 'prop (...) not found!' error in 'fdt set' command

2017-08-27 Thread Simon Glass
On 18 August 2017 at 06:41, Hannes Schmelzer wrote: > This commit brings things back to the well known working state of the > command. > - > With commit 9620d87259572ef21f0df60988d9a932ca673779 > (cmd/fdt: support single value replacement within an array) > > there was an error introduced modifyin

Re: [U-Boot] [PATCH 1/2] ofnode: add {ofnode, dev}_read_resource_byname()

2017-08-27 Thread Simon Glass
On 25 August 2017 at 10:12, Masahiro Yamada wrote: > Linux supports platform_get_resource_byname() to look up a resource > by name. > > We want a similar helper. It is useful when a device node has two > or more named register regions. > > Signed-off-by: Masahiro Yamada > --- > > drivers/core/o

Re: [U-Boot] [PATCH] blk: Remove various places that do flush cache after read

2017-08-27 Thread Simon Glass
On 21 August 2017 at 21:46, Bin Meng wrote: > All these places seem to inherit the codes from the MMC driver where > a FIXME was put in the comment. However the correct operation after > read should be cache invalidate, not flush. > > The underlying drivers should be responsible for the cache oper

Re: [U-Boot] [PATCH v4 8/9] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-08-27 Thread Simon Glass
Hi Jean-Jacques, On 24 August 2017 at 04:52, Jean-Jacques Hiblot wrote: > Hi Simon, > > On 13/08/2017 23:35, Simon Glass wrote: >> >> Hi Jean-Jacques, >> >> On 7 August 2017 at 04:07, Jean-Jacques Hiblot wrote: >>> >>> u-boot can be embedded within a FIT image with multiple DTBs. It then >>> sel

Re: [U-Boot] [PATCH] rockchip: clk: rk3368: always run rkclk_init when driver probe

2017-08-27 Thread Simon Glass
Hi Andy On 23 August 2017 at 01:26, Andy Yan wrote: > commit 4bebf94e8544("rockchip: clk: rk3368: do not change > CPLL/GPLL before returning to BROM") limits the pll can only > be setup in SPL stage, but there are still some rk3368 based > boards have not use SPL yet, so they need run rkclk_init

Re: [U-Boot] Patman avoiding bounces

2017-08-27 Thread Simon Glass
Hi Chris, On 26 August 2017 at 18:17, Bin Meng wrote: > +Simon, Tom, Wolfgang, > > On Sun, Aug 27, 2017 at 7:59 AM, Chris Packham > wrote: >> Hi, >> >> I recently sent a few patches using patman and ran into two problems. >> >> The first is a set of undeliverable addresses. This isn't a big pro

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-08-27 Thread Tom Rini
On Sun, Aug 27, 2017 at 02:10:08PM -0600, Simon Glass wrote: > Hi, > > On 25 August 2017 at 02:16, Ziyuan wrote: > > hi Jaehoon, > > > > On 07/28/2017 09:05 PM, Jaehoon Chung wrote: > >> > >> Hi Kever, > >> > >> On 07/26/2017 08:33 PM, Kever Yang wrote: > >>> > >>> Hi Jaehoon, > >>> > >>> > >>>

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-27 Thread Simon Glass
Hi Heinrich, On 26 August 2017 at 16:51, Heinrich Schuchardt wrote: > This patch sequence contains all patches needed to load > iPXE and use it for downloading and executing images > via https or http or to mount iSCSI volumes. > > Network speed on an Odroid C2 reached 30 MB/s which should be > e

Re: [U-Boot] [PATCH] moveconfig: fix error message in do_autoconf()

2017-08-27 Thread Simon Glass
+Tom On 27 August 2017 at 02:00, Chris Packham wrote: > Move the % arch outside the double quote so that the missing toolchain > message is displayed correctly. > > Signed-off-by: Chris Packham > --- > > tools/moveconfig.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: S

Re: [U-Boot] [PATCH] rockchip: clk: rk3368: always run rkclk_init when driver probe

2017-08-27 Thread Dr. Philipp Tomsich
> On 23 Aug 2017, at 09:26, Andy Yan wrote: > > commit 4bebf94e8544("rockchip: clk: rk3368: do not change > CPLL/GPLL before returning to BROM") limits the pll can only > be setup in SPL stage, but there are still some rk3368 based > boards have not use SPL yet, so they need run rkclk_init to >

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Sébastien Szymanski
Hello, > On 27 Aug 2017, at 21:17, Stefan Agner wrote: > > On 2017-08-27 01:45, Sébastien Szymanski wrote: >> Hello, >> >>> On 25 Aug 2017, at 13:33, Stefano Babic wrote: >>> >>> On 16/08/2017 02:49, Stefan Agner wrote: From: Stefan Agner i.MX 6 serial downloader is not neces

[U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-27 Thread Eric Nelson
This adds support for USB boot mode on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. i.e., it enables you to enter the ROM boot loader's serial download protocol using the command: => bmode usb Signed-off-by: Eric Nelson --- arch/arm/mach-imx/mx7/soc.c | 2 ++

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Stefan Agner
On 2017-08-27 13:21, Sébastien Szymanski wrote: > Hello, > >> On 27 Aug 2017, at 21:17, Stefan Agner wrote: >> >> On 2017-08-27 01:45, Sébastien Szymanski wrote: >>> Hello, >>> On 25 Aug 2017, at 13:33, Stefano Babic wrote: On 16/08/2017 02:49, Stefan Agner wrote: > From: Stef

[U-Boot] [RFC] ARM: davinci: da850: Enable Caches for DA850-EVM

2017-08-27 Thread Adam Ford
What starting up the DA850-EVM, U-Boot generates a warning: WARNING: Caches not enabled Looking at other arm926 processors, this is an attempt to enable the caches and remove the warning. I am notsure who the proper TI or ARM people are to review this. Signed-off-by: Adam Ford --- board/dav

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-27 Thread Chaiken, Alison
On 2017-05-31 01:12, Lukasz Majewski wrote: [ . . . ] And another request -> Could you consider adding tests for those new gpt commands to the 'sandbox' (sandbox_defconfig) ? Then you can 'mount' some gpt test image ('host' command) and use it with: gpt host X . The GPT functionality re

[U-Boot] [PATCH] armv8: fsl: Use correct conditional compile for ls1012a

2017-08-27 Thread Ran Wang
According current code base, CONFIG_LS1012A should be CONFIG_ARCH_LS1012A, or function fsl_fdt_disable(blob) will be wrongly called to disable all dwc3 USB nodes on LS1012A, which cause Linux USB function stop working at all. Signed-off-by: Ran Wang --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c |

Re: [U-Boot] [PATCH v2 1/6] board_f: Drop the timer after relocation

2017-08-27 Thread Bin Meng
Hi Simon, On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > Once U-Boot relocates itself the existing driver-model timer (if any) is > no-longer valid until the device is reinitialised. Any use of the device > may cause a crash. To handle this, set the timer to NULL after relocation. > > Sig

Re: [U-Boot] [PATCH v2 2/6] dm: x86: Allow TSC timer to be used before DM is ready

2017-08-27 Thread Bin Meng
n Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > With bootstage we need access to the timer before driver model is set up. > To handle this, put the required state in global_data and provide a new > function to set up the device, separate from the driver's probe() method. > > This will be use

Re: [U-Boot] [PATCH v2 5/6] bootstage: Provide a separate record count setting for SPL

2017-08-27 Thread Bin Meng
On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > With SPL we often have limited memory and do not need very many bootstage > records. Add a separate Kconfig option for SPL. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > common/Kconfig | 7 +++ > common/bootstage.c

Re: [U-Boot] [PATCH v2 3/6] dm: x86: Update timer_get_boot_us to work before DM is ready

2017-08-27 Thread Bin Meng
Hi Simon, On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > Use the new separate init function so that we can make use of the timer > before driver model is started up. > > At some point we should consider adding the microsecond timer to the timer > uclass interface since it would reduce the

Re: [U-Boot] [PATCH v2 6/6] x86: Enable early timer for chromebook_link

2017-08-27 Thread Bin Meng
On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > Enable this option for link so that the timer is available earlier. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to enable early timer for chromebook_link > > configs/chromebook_link64_defconfig | 1 + > configs/

Re: [U-Boot] [PATCH v2 4/6] bootstage: Drop unused options

2017-08-27 Thread Bin Meng
On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: > The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now > support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now. > > Drop these unused options. > > Signed-off-by: Simon Glass > --- > > Changes in v2: No

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-08-27 Thread Ziyuan
hi simon, On 08/28/2017 04:10 AM, Simon Glass wrote: Hi, On 25 August 2017 at 02:16, Ziyuan wrote: hi Jaehoon, On 07/28/2017 09:05 PM, Jaehoon Chung wrote: Hi Kever, On 07/26/2017 08:33 PM, Kever Yang wrote: Hi Jaehoon, What's the status of this patch set now? Can we land t

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-08-27 Thread Jaehoon Chung
On 08/28/2017 05:17 AM, Tom Rini wrote: > On Sun, Aug 27, 2017 at 02:10:08PM -0600, Simon Glass wrote: >> Hi, >> >> On 25 August 2017 at 02:16, Ziyuan wrote: >>> hi Jaehoon, >>> >>> On 07/28/2017 09:05 PM, Jaehoon Chung wrote: Hi Kever, On 07/26/2017 08:33 PM, Kever Yang wrote:

Re: [U-Boot] [PATCH] ARM: DRA72x: Add support for detection of DRA71x SR 2.1

2017-08-27 Thread Lokesh Vutla
+ Tom On 8/27/2017 3:21 AM, Vishal Mahaveer wrote: > DRA71x processors are reduced pin and software compatible > derivative of DRA72 processors. Add support for detection > of SR2.1 version of DRA71x family of processors. > > Signed-off-by: Vishal Mahaveer Reviewed-by: Lokesh Vutla Thanks and

[U-Boot] [PATCH V2 01/12] scripts: spl: fix typo

2017-08-27 Thread Peng Fan
Typo fix: CONIFG->CONFIG Signed-off-by: Peng Fan Cc: Tom Rini --- V2: none scripts/Makefile.uncmd_spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl index 15d0836..b399411 100644 --- a/scripts/Makefile.uncmd_spl +++

[U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-27 Thread Peng Fan
Import dts from commit aae4e7a8bc("Linux 4.13-rc4") for imx6sabresd board. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: none arch/arm/dts/Makefile | 3 + arch/arm/dts/imx6dl-sabresd.dts | 22 ++ arch/arm/dts/imx6dl.dtsi | 242 + arch/arm/dts/imx6q-sa

[U-Boot] [PATCH V2 03/12] power: pmic/regulator allow dm be omited by SPL

2017-08-27 Thread Peng Fan
Allow the dm driver be omited by SPL. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Jaehoon Chung Cc: Keerthy Cc: Minkyu Kang Cc: Stefan Agner Cc: Hou Zhiqiang Cc: Jacob Chen Cc: Kever Yang Cc: Stefano Babic --- V2: add r-b tag drivers/power/pmic/Makefile | 4 ++-- drivers

[U-Boot] [PATCH V2 04/12] Makefile: build FIT image if CONFIG_SPL_FIT_GENERATOR defined

2017-08-27 Thread Peng Fan
Build FIT image if CONFIG_SPL_FIT_GENERATOR defined. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Masahiro Yamada Cc: Bin Meng Cc: Andre Przywara Cc: "Cooper Jr., Franklin" Cc: "Álvaro Fernández Rojas" Cc: Stefano Babic --- V2: none Makefile | 4 1 file changed, 4 insertions(+) dif

[U-Boot] [PATCH V2 08/12] mmc: fsl_esdhc: switch to use CONFIG_IS_ENABLED

2017-08-27 Thread Peng Fan
Switch to use CONFIG_IS_ENABLED. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Stefano Babic --- V2: none drivers/mmc/fsl_esdhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index cc188c4..aa02bd6 100644 --- a/

[U-Boot] [PATCH V2 06/12] imx: mx6sabresd: implement board_fit_config_name_match

2017-08-27 Thread Peng Fan
Implement board_fit_config_name_match. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2: none board/freescale/mx6sabresd/mx6sabresd.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6

[U-Boot] [PATCH V2 07/12] imx: mx6sabresd: enable SPL FIT

2017-08-27 Thread Peng Fan
Enable SPL FIT. Now DM drivers are not enabled, so boards boot as before with only the difference that loading dtb. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2: none configs/mx6sabresd_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/

[U-Boot] [PATCH V2 10/12] board: freescale: common: add pfuze dm code

2017-08-27 Thread Peng Fan
Add pfuze dm code, this code does the same thing as pfuze.c, but only effects when CONFIG_$(SPL_)DM_PMIC_PFUZE100 enabled. Signed-off-by: Peng Fan Cc: York Sun Cc: Jaehoon Chung Cc: Stefano Babic --- V2: none board/freescale/common/Makefile | 1 + board/freescale/common/pfuze.h| 5 +

[U-Boot] [PATCH V2 05/12] imx: introduce mkimage_fit.sh

2017-08-27 Thread Peng Fan
Introduce mkimage_fit.sh which is modifed from board/sunxi/mksunxi_fit_atf.sh. ATF is dropped and modified for arm32 arch. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2: none arch/arm/mach-imx/mkimage_fit.sh | 63 1 file changed,

[U-Boot] [PATCH V2 12/12] imx: mx6sabresd: update README

2017-08-27 Thread Peng Fan
Update README since we use FIT now. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2: none board/freescale/mx6sabresd/README | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabres

Re: [U-Boot] [PATCH 2/3] spi: davinci_spi: Add da830-spi support for DM

2017-08-27 Thread Jagan Teki
On Sun, Aug 27, 2017 at 1:46 AM, Adam Ford wrote: > The DM support is already in the driver, so add > da830-spi to the compatible list. > > Signed-off-by: Adam Ford Reviewed-by: Jagan Teki thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyde

[U-Boot] [PATCH V2 09/12] power: pmic.h: include dm/ofnode.h

2017-08-27 Thread Peng Fan
Include dm/ofnode.h. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Stefano Babic --- V2: add r-b tag include/power/pmic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/power/pmic.h b/include/power/pmic.h index 4b34316..e2517f2 100644 --- a/include/power/pmic.h +++ b/incl

[U-Boot] [PATCH V2 11/12] imx: mx6sabresd: enable dm drivers

2017-08-27 Thread Peng Fan
Enable DM MMC/I2C/PMIC/GPIO/REGULATOR. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2: none board/freescale/mx6sabresd/mx6sabresd.c | 326 +--- configs/mx6sabresd_defconfig| 15 ++ include/configs/mx6sabresd.h| 15 +-

Re: [U-Boot] Resync NAND framework with Linux?

2017-08-27 Thread Heiko Schocher
Hello Masahiro, Am 25.08.2017 um 13:19 schrieb Masahiro Yamada: Hi all. It is more than one year since the last re-sync. https://lists.denx.de/pipermail/u-boot/2016-May/256464.html Any plan for re-sync? My main motivation is to update denali.c Recently, I reworked the denali driver in Lin

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-27 Thread Jagan Teki
On Mon, Aug 28, 2017 at 11:58 AM, Peng Fan wrote: > Import dts from commit aae4e7a8bc("Linux 4.13-rc4") for imx6sabresd board. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- Similar series[1] with DTB support for sabresd [1] https://lists.denx.de/pipermail/u-boot/2017-May/293206.html

Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd

2017-08-27 Thread Peng Fan
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Monday, August 28, 2017 2:41 PM > To: Peng Fan > Cc: Stefano Babic ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2 02/12] arm: dts: include dts for imx6sabresd > > On Mon, Aug 28, 2017 at 11:58 AM