[U-Boot] [PATCH v1 2/2] spl: move SYS_OS_BASE to Kconfig

2016-10-05 Thread Heiko Schocher
Move SYS_OS_BASE to Kconfig and cleanup existing uses. Signed-off-by: Heiko Schocher --- common/spl/Kconfig | 10 ++ configs/a3m071_defconfig | 1 + configs/microblaze-generic_defconfig | 1 + include/configs/a3m071.h | 1 -

[U-Boot] [PATCH v1] spl: move FDT_FIXUP_PARTITIONS to Kconfig

2016-10-05 Thread Heiko Schocher
Move FDT_FIXUP_PARTITIONS to Kconfig and cleanup existing uses. Signed-off-by: Heiko Schocher --- checked with tbot, result: Boards : 1213 compile err : 13 not checked : 1 U-Boot good : 1199 bad 0 SPL good: 1199 bad 0 Boards not checked, as they had compile errors:

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Simon Glass
Hi Masahiro, On 5 October 2016 at 20:02, Masahiro Yamada wrote: > Hi Simon, > > > 2016-10-06 1:50 GMT+09:00 Simon Glass : > >> Long term, I am wondering if ATF could be a library instead of a >> separate binary? Or perhaps it could be build so

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Michal Simek
On 5.10.2016 09:50, Simon Glass wrote: > Hi, > > On 5 October 2016 at 08:39, Michal Simek wrote: >> Hi Masahiro, >> >> 2016-10-04 20:19 GMT-07:00 Masahiro Yamada : >> >>> Hi. >>> >>> Recently I implemented ARM Trusted Firmware BL31 for my SoCs.

Re: [U-Boot] [PATCH 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-05 Thread Simon Glass
Hi Bin, On 5 October 2016 at 03:20, Bin Meng wrote: > Hi Simon, > > On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: >> At present we use the legacy vesa driver for graphics. Add a driver which >> supports driver model. This can be probed only when

[U-Boot] [PATCH v2 12/12] dm: x86: Move link to use driver model for video

2016-10-05 Thread Simon Glass
Update the configuration to use the new driver. Drop the existing plumbing code and unused header files. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/x86/cpu/ivybridge/Makefile | 1 -

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Michal Simek
Hi Masahiro, 2016-10-05 19:34 GMT-07:00 Masahiro Yamada : > Hi Michal, > > > 2016-10-05 23:39 GMT+09:00 Michal Simek : > > Hi Masahiro, > > > > 2016-10-04 20:19 GMT-07:00 Masahiro Yamada < > yamada.masah...@socionext.com>: > > > >> Hi. > >> > >>

[U-Boot] [PATCH v2 09/12] dm: video: Add driver-model support to vesa graphics

2016-10-05 Thread Simon Glass
Provide a function to run the Vesa BIOS for a given PCI device and obtain the resulting configuration (e.g. display size) for use by the video uclass. This makes it easier to write a video driver that uses vesa and supports driver model. Signed-off-by: Simon Glass Reviewed-by:

[U-Boot] [PATCH v2 10/12] x86: Adjust config to support DM_VIDEO

2016-10-05 Thread Simon Glass
Update the common configuration so that it works correctly when CONFIG_DM_VIDEO is enabled. This involves dropping the legacy CONFIG_VIDEO option and changing the stdio device from "vga" to "vidconsole". Signed-off-by: Simon Glass Reviewed-by: Bin Meng ---

[U-Boot] [PATCH v2 08/12] dm: stdio: Allow lazy probing of video devices

2016-10-05 Thread Simon Glass
At present all video devices are probed on start-up. It would be better to probe a device only when it is needed. This can happen if it is referenced in the stdout environment variable, for example. Add support for this by searching for a suitable device when needed, probing it, and finding the

[U-Boot] [PATCH v2 11/12] dm: x86: Move samus to use new driver model support

2016-10-05 Thread Simon Glass
Update the samus driver to avoid the direct call to the video BIOS setup. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/x86/cpu/broadwell/sdram.c | 1 - drivers/video/broadwell_igd.c | 39

[U-Boot] [PATCH v2 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-05 Thread Simon Glass
At present we use the legacy vesa driver for graphics. Add a driver which supports driver model. This can be probed only when needed, removing the need to start up the display if it is not used. Signed-off-by: Simon Glass --- Changes in v2: - Drop invalid '1' at start of file

[U-Boot] [PATCH v2 03/12] Fix return value in trailing_strtoln()

2016-10-05 Thread Simon Glass
This function should return -1 if there is no trailing integer in the string. Instead it returns 0. Fix it by checking for this condition at the start. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None lib/strto.c | 8 +--- 1

[U-Boot] [PATCH v2 06/12] x86: video: Fix typo in broadwell Kconfig

2016-10-05 Thread Simon Glass
'enabled' should be 'enables'. Fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index

[U-Boot] [PATCH v2 05/12] dm: core: Add a function to get a uclass name

2016-10-05 Thread Simon Glass
It is useful in debug() statements to display the name of the uclass for a device. Add a simple function to provide this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Fix typo drive -> driver drivers/core/uclass.c | 9 +

[U-Boot] [PATCH v2 04/12] list: Add list_last_entry() to find the last entry

2016-10-05 Thread Simon Glass
We have list_first_entry() but in some cases it is useful to find the last item added to the list. Add a macro for this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None include/linux/list.h | 11 +++ 1 file changed, 11

[U-Boot] [PATCH v2 01/12] Revert "x86: broadwell: gpio: Remove the codes to set up pin control"

2016-10-05 Thread Simon Glass
This makes the assumption that setting up pinctrl in cpu_init_r() is safe. On samus we need GPIOs before relocation in order to support power control. This commit fixes the following message on boot: initcall sequence ffe5c6f4 failed at call ffe01d3d (err=-1) ### ERROR ### Please RESET the

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

2016-10-05 Thread Simon Glass
Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the display. Signed-off-by: Simon Glass --- Changes in v2: - Move the code into string.c - Fix multi-line comments that should not be arch/x86/include/asm/string.h | 2 +- arch/x86/lib/string.c

[U-Boot] [PATCH v2 00/12] dm: x86: Improve vesa driver-model support

2016-10-05 Thread Simon Glass
At present samus uses driver model but link does not. This series fixes this and adds a few features to make it easier to support driver-model video on other machines that use vesa. It also includes a faster memmove() function which speeds up scrolling dramatically. Changes in v2: - Move the

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Masahiro Yamada
Hi Michal, 2016-10-05 23:39 GMT+09:00 Michal Simek : > Hi Masahiro, > > 2016-10-04 20:19 GMT-07:00 Masahiro Yamada : > >> Hi. >> >> Recently I implemented ARM Trusted Firmware BL31 for my SoCs. >> >> But, I am wondering how the boot-flow should

Re: [U-Boot] [PATCH v2 2/2] tools: buildman: Add compiler wrapper

2016-10-05 Thread Simon Glass
On 4 October 2016 at 15:33, York Sun wrote: > Now we can use compiler wrapper such as ccache or distcc for buildman. > > Signed-off-by: York Sun > CC: Simon Glass > Acked-by: Simon Glass > > --- > > Changes in v2: >

Re: [U-Boot] [PATCH v2 1/2] tools: buildmand: Remove duplicated code

2016-10-05 Thread Simon Glass
On 4 October 2016 at 15:35, york sun wrote: > Oops. Please fix the subject when merging. It should read > > "buildman" instead of "buildmand". Fixed and: Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3 08/10] binman: Automatically include a U-Boot .dtsi file

2016-10-05 Thread Tom Rini
On Wed, Oct 05, 2016 at 10:51:04AM -0600, Simon Glass wrote: > Hi Masahiro, > > On 4 October 2016 at 21:51, Masahiro Yamada > wrote: > > > > 2016-10-05 9:25 GMT+09:00 Simon Glass : > > > For boards that need U-Boot-specific additions to the

Re: [U-Boot] [PATCH v2 10/10] dtoc: Make integer division python 3.x safe

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > If we use the '/' operator then python 3.x will produce a float, and > refuse to multiply the string sequence in Conv_name_to_c by it with: > > TypeError: can't multiply sequence by non-int of type 'float' > > Use the

Re: [U-Boot] [PATCH v2 08/10] dtoc: Use items() to iterate over dictionaries in python 3.x

2016-10-05 Thread Simon Glass
On 27 September 2016 at 11:55, Simon Glass wrote: > On 27 September 2016 at 09:03, Paul Burton wrote: >> In python 3.x the iteritems() method has been removed from dictionaries, >> and the items() method does effectively the same thing. On python 2.x >>

Re: [U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-10-05 Thread Simon Glass
On 27 September 2016 at 11:55, Simon Glass wrote: > On 27 September 2016 at 09:03, Paul Burton wrote: >> In python 3.x the iteritems() method has been removed from dictionaries, >> and the items() method does effectively the same thing. On python 2.x >>

Re: [U-Boot] [PATCH v2 07/10] patman: Fix doctest StringIO import for python 3.x

2016-10-05 Thread Simon Glass
On 27 September 2016 at 11:55, Simon Glass wrote: > On 27 September 2016 at 09:03, Paul Burton wrote: >> In python 3.x StringIO is no longer a module, and the class can instead >> be found in the io module. Adjust the code in the doctest input to >>

Re: [U-Boot] [PATCH v2 09/10] dtoc: Decode strings for struct.unpack on python 3.x

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > On python 3.x struct.unpack will complain if we provide it with a > string since it expects to operate on a bytes object. In order to > satisfy this requirement, encode the string to a bytes object when > running on

Re: [U-Boot] [PATCH v2 04/10] patman: Import 'configparser' lower case to be python 3.x safe

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x module names used in import statements are case sensitive, > and the configparser module is named in all lower-case. Import it as such > in order to avoid errors when running with python 3.x. > >

Re: [U-Boot] [PATCH v2 02/10] patman: Make print statements python 3.x safe

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x, print must be used as a function call. Convert all print > statements to the function call style, importing from __future__ where > we print with no trailing newline or print to a file object. > >

Re: [U-Boot] [PATCH v3 09/10] RFC: Use binman for a sunxi board

2016-10-05 Thread Tom Rini
On Tue, Oct 04, 2016 at 06:25:39PM -0600, Simon Glass wrote: > Add an example usage of binman for a sunxi board. This involves adding the > image definition to the device tree and using it in the Makefile. > > This is for example only. > > Signed-off-by: Simon Glass > --- >

Re: [U-Boot] [PATCH v2 03/10] patman: Make exception handling python 3.x safe

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > Syntax for exception handling is a little more strict in python 3.x. > Convert all uses to a form accepted by both python 2.x & python 3.x. > > Signed-off-by: Paul Burton > Acked-by: Simon Glass

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Masahiro Yamada
Hi Simon, 2016-10-06 1:50 GMT+09:00 Simon Glass : > Long term, I am wondering if ATF could be a library instead of a > separate binary? Or perhaps it could be build so that it can be linked > against. ATF is runtime firmware, so it will stay there while the system is

Re: [U-Boot] [PATCH v2 01/10] patman: Replace tabs with spaces

2016-10-05 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In preparation for running on python 3.x, which will refuse to run > scripts which mix tabs & spaces for indentation, replace 2 tab > characters present in series.py with spaces. > > Signed-off-by: Paul Burton

Re: [U-Boot] [PATCH v2 05/10] patman: Decode stdout/stderr as utf8, be python 3.x safe

2016-10-05 Thread Simon Glass
Hi Paul, On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x reading stdout or stdin will produce a bytestring rather > than a string. Decode it in CommunicateFilter such that the rest of the > code can continue to deal with strings. This works fine with

Re: [U-Boot] ACPI in general

2016-10-05 Thread Tom Rini
On Wed, Oct 05, 2016 at 08:48:55PM -0500, Timur Tabi wrote: > Tom Rini wrote: > >Well, I wouldn't phrase it quite like that. I would ask, do we want to > >go down this path? How far down would we want to go, if so? > > ACPI is pretty complicated, more so than DT. UEFI is also open > source. I

Re: [U-Boot] ACPI in general

2016-10-05 Thread Timur Tabi
Tom Rini wrote: Well, I wouldn't phrase it quite like that. I would ask, do we want to go down this path? How far down would we want to go, if so? ACPI is pretty complicated, more so than DT. UEFI is also open source. I think you need to find a very compelling reason to reinvent the

Re: [U-Boot] ACPI in general

2016-10-05 Thread Timur Tabi
On Wed, Oct 5, 2016 at 9:46 AM, Simon Glass wrote: >> Is there any activity to bring ACPI to other than x86 arch? If not, do >> we have a plan to do so? > > Not that I know of, sorry. Note that ACPI for ARM exists on Linux already, and as far as I know, all ARM ACPI systems

[U-Boot] [PATCH v3 03/10] arm: dts: imx7: add pinctrl defines

2016-10-05 Thread Stefan Agner
From: Stefan Agner Add pinctrl defines for NXP i.MX 7Solo/7Dual SoC. The pinctrl format is compatible to the Linux kernel, hence this file is a simple copy from the Linux kernel (commit 97f5c1817b7e). Signed-off-by: Stefan Agner ---

[U-Boot] [PATCH v3 00/10] mx7: add dt support for Colibri iMX7S/iMX7D

2016-10-05 Thread Stefan Agner
From: Stefan Agner This patchset adds device tree support for Colibri iMX7S/iMX7D. It is the first device tree enabled board for any i.MX 7 SoC hence the patchset adds some common infrastructure: - Add device tree support for serial_mxc. - imx7.dtsi - I descided to

Re: [U-Boot] ACPI in general

2016-10-05 Thread Tom Rini
On Wed, Oct 05, 2016 at 11:33:14PM +, york sun wrote: > On 10/05/2016 04:15 PM, Timur Tabi wrote: > > On Wed, Oct 5, 2016 at 9:46 AM, Simon Glass wrote: > >>> Is there any activity to bring ACPI to other than x86 arch? If not, do > >>> we have a plan to do so? > >> > >> Not

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

2016-10-05 Thread Masahiro Yamada
2016-10-06 1:50 GMT+09:00 Simon Glass : > BTW, what do you think about updating moveconfig.py to remove things > from the whitelist as well? Yeah, I was also thinking of this. -- Best Regards Masahiro Yamada ___ U-Boot mailing

Re: [U-Boot] ACPI in general

2016-10-05 Thread york sun
On 10/05/2016 07:47 AM, Simon Glass wrote: > Hi York, > > On 4 October 2016 at 10:38, york sun wrote: >> Simon and Bin, >> >> Is there any activity to bring ACPI to other than x86 arch? If not, do >> we have a plan to do so? > > Not that I know of, sorry. Simon and Bin, Thanks

Re: [U-Boot] [PATCH v2 3/3] dts: rk3288: remove node in dmc which not need anymore

2016-10-05 Thread Vagrant Cascadian
On 2016-09-19, Kever Yang wrote: > Since we implement the dram capacity auto detect, we don't > need to set the channel number and sdram-channel in dts. > > Signed-off-by: Kever Yang Tested on firefly-rk3288, 2GB and 4GB ram board variants, using u-boot 2016.11-rc1.

Re: [U-Boot] [PATCH v2 2/3] rk3288: sdram: auto-detect the capacity

2016-10-05 Thread Vagrant Cascadian
On 2016-09-19, Kever Yang wrote: > Add support for rk3288 dram capacity auto detect, support DDR3 and > LPDDR3, DDR2 is not supported. > The program will automatically detect: > - channel number > - rank number > - column address number > - row address number > > The dts file do not need to

Re: [U-Boot] [U-Boot, v3] net: Fix cache misalignment message after network load operations

2016-10-05 Thread Tom Rini
On Wed, Sep 14, 2016 at 03:49:22AM +, Peter Chubb wrote: > After any operation that downloads a file (e.g., pxe get, or dhcp), the > buffer containing the downloaded data is flushed. This is unnecessary > and annoying. Unnecessary, because > the network driver should already have fliushed

Re: [U-Boot] net, cmd: fix misaligned cache operation warning

2016-10-05 Thread Peter.Chubb
> "Joe" == Joe Hershberger writes: >> >> Lacking a define for CONFIG_SYS_CACHELINE_SIZE first. Joe> https://patchwork.ozlabs.org/patch/669691/ Joe> ...is the approach I prefer to take instead of this patch. Is there anything more I need to do to push this

Re: [U-Boot] ACPI in general

2016-10-05 Thread york sun
On 10/05/2016 04:15 PM, Timur Tabi wrote: > On Wed, Oct 5, 2016 at 9:46 AM, Simon Glass wrote: >>> Is there any activity to bring ACPI to other than x86 arch? If not, do >>> we have a plan to do so? >> >> Not that I know of, sorry. > > Note that ACPI for ARM exists on Linux

Re: [U-Boot] [PATCH v2 8/8] armv7: ls1021a: Move DDR config options to Kconfig

2016-10-05 Thread york sun
On 10/05/2016 09:51 AM, Simon Glass wrote: > Hi York, > > On 4 October 2016 at 19:04, York Sun wrote: >> Move DDR3, DDR4 and related config options to Kconfig and clean up >> existing uses. >> >> Signed-off-by: York Sun >> >> --- >> >> Changes in v2: >> No

[U-Boot] [PATCH v3 09/10] colibri_imx7: use Ricoh RN5T567 to reboot the board

2016-10-05 Thread Stefan Agner
From: Stefan Agner Use the external PMIC Ricoh RN5T567 to reliably restart the system. Signed-off-by: Stefan Agner --- board/toradex/colibri_imx7/colibri_imx7.c | 42 +++ 1 file changed, 42 insertions(+) diff

[U-Boot] [PATCH v3 10/10] configs: enable device tree for Colibri iMX7

2016-10-05 Thread Stefan Agner
From: Stefan Agner Enable device tree configuration and specify default device tree for Toradex Colibri iMX7. Signed-off-by: Stefan Agner --- configs/colibri_imx7_defconfig | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v3 07/10] power: pmic: add Ricoh RN5T567 PMIC support

2016-10-05 Thread Stefan Agner
From: Stefan Agner Add device model enabled PMIC driver for Ricoh RN5T567 PMIC used on Colibri iMX7. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass --- doc/device-tree-bindings/pmic/rn5t567.txt | 17 +

[U-Boot] [PATCH v3 08/10] arm: dts: imx7: add Ricoh RN5T567 PMIC node

2016-10-05 Thread Stefan Agner
From: Stefan Agner Add device tree node for Ricoh RN5T567. Currently we do not need the individual DC/DC converters or LDO's (and they are also not yet supported by the driver). Signed-off-by: Stefan Agner --- arch/arm/dts/imx7-colibri.dts

[U-Boot] [PATCH v3 01/10] dm: imx: serial: support device tree

2016-10-05 Thread Stefan Agner
From: Stefan Agner Support instatiation through device tree. Also parse the fsl,dte-mode property to determine whether DTE mode shall be used. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 04/10] arm: dts: imx7: add basic i.MX 7/Colibri iMX7 device tree

2016-10-05 Thread Stefan Agner
From: Stefan Agner Add base device for NXP i.MX 7Solo/7Dual. The two SoC are very similar and hence can share the same device tree for boot loaders purpose. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 06/10] colibri_imx7: remove legancy UART platform data

2016-10-05 Thread Stefan Agner
From: Stefan Agner We now use device tree to provide SoC data to the UART driver, there is no need for the legancy UART platform data. Signed-off-by: Stefan Agner --- board/toradex/colibri_imx7/colibri_imx7.c | 10 -- 1 file

[U-Boot] [PATCH v3 02/10] pinctrl: imx: do not announce driver initialization

2016-10-05 Thread Stefan Agner
From: Stefan Agner It is not usual that drivers announce when they have been initialized. use dev_dbg to announce device initialization. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 05/10] colibri_imx7: remove legancy I2C support

2016-10-05 Thread Stefan Agner
From: Stefan Agner Remove legancy I2C config and code in favor of upcomming DM/DT enable I2C support. Signed-off-by: Stefan Agner --- board/toradex/colibri_imx7/colibri_imx7.c | 40 ---

Re: [U-Boot] [PATCH v3 08/10] binman: Automatically include a U-Boot .dtsi file

2016-10-05 Thread Stefan Bruens
On Mittwoch, 5. Oktober 2016 10:51:04 CEST Simon Glass wrote: > Hi Masahiro, > > On 4 October 2016 at 21:51, Masahiro Yamada > > > > We are already suffering from U-Boot specific properties like > > "u-boot,dm-pre-reloc", which make it difficult to > > simply copy DT files from the kernel tree.

Re: [U-Boot] [PATCH 01/10] dm: imx: serial: support device tree

2016-10-05 Thread Stefan Agner
On 2016-10-04 06:02, Stefano Babic wrote: > Hi Stefan, > > On 29/08/2016 02:00, Stefan Agner wrote: >>> >>> I have applied it, I just noted a slight drawback because this breaks >>> boards that do not have CONFIG_FIT set. >> >> Hm, maybe due to missing CONFIG_OF_LIBFDT? Do you want me to fix it,

[U-Boot] [PATCH] udoo: Add a README file

2016-10-05 Thread Fabio Estevam
Add a README file to explain how to build and flash the SD card for Udoo boards. Signed-off-by: Fabio Estevam --- board/udoo/README | 21 + 1 file changed, 21 insertions(+) create mode 100644 board/udoo/README diff --git a/board/udoo/README

[U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-05 Thread Sergey Kubushyn
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 SPL) is written to one (or both) such partitions. When such boot

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-05 Thread Alexander Graf
> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : > > Hi, > > Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: >> On 09/26/2016 06:26 AM, Fabian Vogt wrote: >>> This patch series modifies the used drivers to work with OF_CONTROL >>> and switches the board code

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

2016-10-05 Thread York Sun
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 CC: Peng Fan CC: Alison Wang --- drivers/spi/fsl_qspi.c | 10 -- 1 file

[U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-05 Thread Sergey Kubushyn
This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot mx image to where they belong so system would be able to boot off of raw NAND. As of now the only way to do it is by using user-space

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

2016-10-05 Thread Sergey Kubushyn
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 value for "file exists" commands is REVERSED i.e. they return 1 if file exists and 0 otherwise. This is a deliberate decision because those commands are supposed

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

2016-10-05 Thread york sun
On 09/28/2016 11:18 PM, Sriram Dash wrote: > Enables driver model flag CONFIG_DM_USB for LS2080A > platform defconfigs. > > Signed-off-by: Sriram Dash > --- > configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + > configs/ls2080aqds_defconfig | 1 + >

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

2016-10-05 Thread york sun
On 09/09/2016 01:56 AM, Alison Wang wrote: > This series is 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 >

[U-Boot] [PATCH RFC v8 15/16] mtd: spi-nor: zynq_qspi: Kconfig: Add MTD_ZYNQ

2016-10-05 Thread Jagan Teki
Add CONFIG_MTD_ZYNQ_QSPI kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 64d5553..4b2a5e8 100644 ---

[U-Boot] [PATCH RFC v8 16/16] mtd: spi-nor: Add 4-byte address width support

2016-10-05 Thread Jagan Teki
Add 4-byte address supports, so-that SPI-NOR chips has > 16MiB should accessible. Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/m25p80.c | 1 + drivers/mtd/spi-nor/spi-nor.c | 36 include/linux/mtd/spi-nor.h | 6 +- 3 files

[U-Boot] [PATCH RFC v8 14/16] mtd: spi-nor: Add zynq qspi driver

2016-10-05 Thread Jagan Teki
Zynq qspi controller is works similar way as generic spi controller with additional features that make this controller work more specific to flash chips as salve devices. Why, zynq qspi written as spi-nor controller driver. (1) BAR: It operates the flash chips which are > 16MiB actual

[U-Boot] [PATCH RFC v8 13/16] mtd: spi-nor: Kconfig: Add MTD_M25P80 entry

2016-10-05 Thread Jagan Teki
Add CONFIG_MTD_M25P80 kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 3ad2b16..64d5553 100644 ---

[U-Boot] [PATCH RFC v8 12/16] mtd: spi-nor: Add m25p80 driver

2016-10-05 Thread Jagan Teki
This is MTD SPI-NOR driver for ST M25Pxx (and similar) serial flash chips which is written as MTD_UCLASS. Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Makefile | 3 + drivers/mtd/spi-nor/m25p80.c | 217 +++ 2 files changed, 220

[U-Boot] [PATCH RFC v8 11/16] spi: Add spi_write_then_read

2016-10-05 Thread Jagan Teki
Add support for SPI synchronous write followed by read, this is common interface call from spi-nor to spi drivers. Signed-off-by: Jagan Teki --- drivers/spi/spi-uclass.c | 24 include/spi.h| 20 2 files changed, 44

[U-Boot] [PATCH RFC v8 09/16] mtd: spi-nor: Kconfig: Add SPI_NOR_SST entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_SST kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 8ed4891..edcc47e 100644 --- a/drivers/mtd/spi-nor/Kconfig

[U-Boot] [PATCH RFC v8 07/16] mtd: spi-nor: Kconfig: Add SPI_NOR_SPANSION entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_SPANSION kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index c0ca14b..d4303db 100644 ---

[U-Boot] [PATCH RFC v8 10/16] mtd: spi-nor: Kconfig: Add SPI_NOR_WINBOND entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_WINBOND kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index edcc47e..3ad2b16 100644 ---

[U-Boot] [PATCH RFC v8 08/16] mtd: spi-nor: Kconfig: Add SPI_NOR_STMICRO entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_STMICRO kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index d4303db..8ed4891 100644 ---

[U-Boot] [PATCH RFC v8 06/16] mtd: spi-nor: Kconfig: Add SPI_NOR_MACRONIX entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_MACRONIX kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 348709b..c0ca14b 100644 ---

[U-Boot] [PATCH RFC v8 04/16] mtd: spi-nor: Kconfig: Add MTD_SPI_NOR_USE_4K_SECTORS

2016-10-05 Thread Jagan Teki
Added CONFIG_MTD_SPI_NOR_USE_4K_SECTORS kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 130b0a4..40cd5ba 100644 ---

[U-Boot] [PATCH RFC v8 03/16] mtd: spi-nor: Kconfig: Add MTD_SPI_NOR entry

2016-10-05 Thread Jagan Teki
Added CONFIG_MTD_SPI_NOR kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/Kconfig | 2 ++ drivers/mtd/spi-nor/Kconfig | 14 ++ 2 files changed, 16 insertions(+) create mode 100644 drivers/mtd/spi-nor/Kconfig diff --git a/drivers/mtd/Kconfig

[U-Boot] [PATCH RFC v8 05/16] mtd: spi-nor: Kconfig: Add SPI_NOR_MISC entry

2016-10-05 Thread Jagan Teki
Added CONFIG_SPI_NOR_MISC kconfig entry Signed-off-by: Jagan Teki --- drivers/mtd/spi-nor/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 40cd5ba..348709b 100644 ---

[U-Boot] [PATCH RFC v8 02/16] mtd: Add SPI-NOR core support

2016-10-05 Thread Jagan Teki
Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c The problem with these were resides at drivers/spi is

[U-Boot] [PATCH RFC v8 01/16] dm: mtd: Add dm mtd core ops

2016-10-05 Thread Jagan Teki
- Add generic dm_mtd operations - Add mtd_read|erase|write_dm - Add add_mtd_device_dm The respetive MTD_UCLASS drivers must install the hooks to these dm_mtd_ops and other core ops are act as a interface b/w drivers vs command code. Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH RFC v8 00/16] SPI-NOR/MTD addition

2016-10-05 Thread Jagan Teki
On-top-of u-boot-spi/next, The previous series [1] [2] are added SPI-NOR on top of mtd/spi where it bypassing DM_SPI_FLASH and use the existing mtd core (which is non-dm), I feel this is moving in a reverse direction where adding new feature with the help of non-dm mtd core support and also few

Re: [U-Boot] [PATCH v4 00/17] sf:Updates on flash detection

2016-10-05 Thread Jagan Teki
Hi Bin, On Tue, Sep 27, 2016 at 12:52 PM, Bin Meng wrote: > Hi Jagan, > > On Mon, Sep 26, 2016 at 3:52 AM, Jagan Teki wrote: >> From: Jagan Teki >> >> Updated spi_flash_info table in sync with Linux, and removed >> legacy and

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

2016-10-05 Thread Simon Glass
On 26 September 2016 at 19:13, Masahiro Yamada wrote: > Hi Simon, > > 2016-09-27 9:34 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 25 September 2016 at 22:04, Masahiro Yamada >> wrote: >>> The command suggested

Re: [U-Boot] [PATCH v2 11/12] RFC: Use binman for a sunxi board

2016-10-05 Thread Simon Glass
Hi Tom, On 2 October 2016 at 21:26, Simon Glass wrote: > Hi Tom, > > On 1 October 2016 at 18:46, Tom Rini wrote: >> On Sat, Oct 01, 2016 at 06:29:42PM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On 1 October 2016 at 18:15, Tom Rini

Re: [U-Boot] [PATCHv2 2/2] armv8/fsl-lsch3: consolidate the clock system initialization

2016-10-05 Thread york sun
On 09/26/2016 01:13 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > This patch map the sys_info->freq_systembus to Platform PLL, and > implement the IPs' clock function individually. > > Signed-off-by: Hou Zhiqiang > --- > V2: > - Generate the patch

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-05 Thread Simon Glass
+Tom too On 5 October 2016 at 10:48, Fabian Vogt wrote: > Hi, > > Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: >> On 09/26/2016 06:26 AM, Fabian Vogt wrote: >> > This patch series modifies the used drivers to work with OF_CONTROL >> > and switches the board

Re: [U-Boot] [PATCH v3 08/10] binman: Automatically include a U-Boot .dtsi file

2016-10-05 Thread Simon Glass
Hi Masahiro, On 4 October 2016 at 21:51, Masahiro Yamada wrote: > > 2016-10-05 9:25 GMT+09:00 Simon Glass : > > For boards that need U-Boot-specific additions to the device tree, it is > > a minor annoyance to have to add these each time the tree

Re: [U-Boot] [PATCH v3 1/3] net: fec_mxc: Convert into driver model

2016-10-05 Thread Simon Glass
Hi, On 2 October 2016 at 06:34, 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] SPL load ARM Trusted Firmware BL31?

2016-10-05 Thread Simon Glass
Hi, On 5 October 2016 at 08:39, Michal Simek wrote: > Hi Masahiro, > > 2016-10-04 20:19 GMT-07:00 Masahiro Yamada : > >> Hi. >> >> Recently I implemented ARM Trusted Firmware BL31 for my SoCs. >> >> But, I am wondering how the boot-flow should be.

Re: [U-Boot] [PATCH v2] power: regulator: Add support for gpio regulators

2016-10-05 Thread Simon Glass
Hi Keerthy, On 5 October 2016 at 05:58, Keerthy wrote: > > > On Monday 19 September 2016 06:29 AM, Simon Glass wrote: >> >> On 15 September 2016 at 05:34, Keerthy wrote: >>> >>> Add support for gpio regulators. As of now this driver caters >>> to gpio

Re: [U-Boot] [PATCH v2 8/8] armv7: ls1021a: Move DDR config options to Kconfig

2016-10-05 Thread Simon Glass
Hi York, On 4 October 2016 at 19:04, York Sun wrote: > Move DDR3, DDR4 and related config options to Kconfig and clean up > existing uses. > > Signed-off-by: York Sun > > --- > > Changes in v2: > No patch > > arch/arm/cpu/armv7/ls102xa/Kconfig |

Re: [U-Boot] [PATCH v2 7/8] armv8: fsl-layerscape: Move DDR config options to Kconfig

2016-10-05 Thread Simon Glass
On 4 October 2016 at 19:03, York Sun wrote: > > Move DDR3, DDR4 and realted options to Kconfig and clean up existing > uses. > > Signed-off-by: York Sun > > --- > > Changes in v2: > No patch > > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 54 >

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-05 Thread Fabian Vogt
Hi, Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: > On 09/26/2016 06:26 AM, Fabian Vogt wrote: > > This patch series modifies the used drivers to work with OF_CONTROL > > and switches the board code and configs to use it. > > The added device trees are directly from the

Re: [U-Boot] [PATCH] arm: ls102xa: Remove reduplicate definition for Generic Timer frequency

2016-10-05 Thread york sun
On 09/23/2016 01:15 AM, Alison Wang wrote: > GENERIC_TIMER_CLK and CONFIG_TIMER_CLK_FREQ are both used to define > Generic Timer frequency. It is reduplicate. This patch will remove > GENERIC_TIMER_CLK macro. > > Signed-off-by: Alison Wang > --- >

Re: [U-Boot] [PATCH v2 2/6] apalis/colibri_t20/t30: deactivate displaying board info

2016-10-05 Thread Stefan Agner
On 2016-10-05 08:53, Stephen Warren wrote: > On 10/03/2016 02:27 PM, Stefan Agner wrote: >> On 03.10.2016 10:28, Stephen Warren wrote: >>> On 09/30/2016 04:00 AM, Marcel Ziswiler wrote: On Wed, 2016-09-28 at 12:00 -0600, Stephen Warren wrote: > On 09/28/2016 03:35 AM, Marcel Ziswiler

Re: [U-Boot] [PATCH] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-10-05 Thread Simon Glass
Hi Masahiro, On 4 October 2016 at 21:27, Masahiro Yamada wrote: > Hi Simon, > > 2016-10-05 0:37 GMT+09:00 Simon Glass : > >>> diff --git a/common/image-fdt.c b/common/image-fdt.c >>> index 3d23608..91970d4 100644 >>> --- a/common/image-fdt.c >>>

  1   2   >