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 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 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] [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] [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 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. > >

[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

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 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 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 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 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] 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] 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] [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

[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 ---

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 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 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

[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] [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

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,

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 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 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 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 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 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 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] 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 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] [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] 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] 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.

[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 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 ---

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] 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] x86: SPI-NOR (MTD): ACPI missing?

2016-10-05 Thread Stefan Roese
Hi Bin, On 05.10.2016 11:31, Bin Meng wrote: +ML since others may be interested in it Hi Stefan, On Wed, Oct 5, 2016 at 3:30 PM, Stefan Roese wrote: Hi Bin, I do have a quick questions for you: I'm currently trying to integrate the MTD SPI NOR support for BayTrail. For this

Re: [U-Boot] x86: SPI-NOR (MTD): ACPI missing?

2016-10-05 Thread Bin Meng
+ML since others may be interested in it Hi Stefan, On Wed, Oct 5, 2016 at 3:30 PM, Stefan Roese wrote: > Hi Bin, > > I do have a quick questions for you: > > I'm currently trying to integrate the MTD SPI NOR support for > BayTrail. For this I've integrated this patch series on

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

2016-10-05 Thread Keerthy
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 regulators with one gpio. Supports setting voltage values to gpio regulators and retrieving the

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] [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] 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

[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] [PATCH 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-05 Thread Bin Meng
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 needed, removing the > need to start up the display if it is not used. > >

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

2016-10-05 Thread Bin Meng
Hi Simon, On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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

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

2016-10-05 Thread Bin Meng
Hi Simon, On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 'enabled' should be 'enables'. Fixit. space missing: "Fix it" > > Signed-off-by: Simon Glass > --- > > drivers/video/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin

Re: [U-Boot] [PATCH 10/16] README: i2c: Drop unused i2c CONFIG options

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used > in U-Boot, so drop them. > > Signed-off-by: Simon Glass > --- > > README | 7 ++- > 1 file changed, 2 insertions(+), 5

Re: [U-Boot] [PATCH 12/16] README: Drop CONFIG_SYS_USE_OSCCLK

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This is not used in U-Boot so drop it. > > Signed-off-by: Simon Glass > --- > > README | 5 - > 1 file changed, 5 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 16/16] README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it. > > Signed-off-by: Simon Glass > --- > > doc/README.nand | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 14/16] README: Drop README.imx31

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > The only content of this file is CONFIG options which are no-longer present > in U-Boot. Drop it. > > Signed-off-by: Simon Glass > --- > > doc/README.imx31 | 29 - > 1 file

Re: [U-Boot] [PATCH 15/16] README: Drop CONFIG_MPC8349ADS

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This option is not used now. > > Signed-off-by: Simon Glass > --- > > doc/README.mpc83xxads | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 09/16] README: sh: Drop CONFIG_SYS_I2C_SH_BASE5

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This is not used in U-Boot. Drop both the BASE and the SIZE config. > > Signed-off-by: Simon Glass > --- > > README | 2 -- > 1 file changed, 2 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 13/16] atmel: Drop README.at91-soc

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This issue covered by this doc appears to be fixed, so let's remove the > README. > > Signed-off-by: Simon Glass > --- > > doc/README.at91-soc | 48 > 1

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > Update the samus driver to avoid the direct call to the video BIOS setup. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/broadwell/sdram.c | 1 - > drivers/video/broadwell_igd.c | 39

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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". > >

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > Update the configuration to use the new driver. Drop the existing plumbing > code and unused header files. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/Makefile | 1 - >

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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 > --- > > drivers/core/uclass.c | 9 + >

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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 > --- > >

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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 > --- > > include/linux/list.h | 11 +++ >

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

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > 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

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

2016-10-05 Thread Bin Meng
Hi Simon, On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the > display. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/string.h | 2 +- > arch/x86/lib/Makefile

Re: [U-Boot] [PATCH 05/16] README: Drop unused CONFIG_SYS_LS_MC_FW_... options

2016-10-05 Thread Bin Meng
Hi Simon, On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > Drop a few that are not used in U-Boot. > > Signed-off-by: Simon Glass > --- > > README | 20 > include/configs/ls2080a_simu.h | 3 --- > 2 files

Re: [U-Boot] [PATCH 08/16] README: Drop CONFIG_SYS_USB_BRG_CLK

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > --- > > README | 4 > 1 file changed, 4 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 11/16] README: Drop CONFIG_SYS_INIT_DATA_SIZE

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This appears to be calculated automatically now. Drop the old reference. > > Signed-off-by: Simon Glass > --- > > README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 04/16] README: Drop unused JFFS2 options

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass wrote: > There appear to be neither implemented nor used. Drop them. > > Signed-off-by: Simon Glass > --- > > README| 12 +--- > doc/README.JFFS2 | 43

Re: [U-Boot] [PATCH 07/16] README: Drop CONFIG_LAN91C96_BASE

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > --- > > README | 4 > 1 file changed, 4 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 06/16] README: Drop CONFIG_OF_BOOT_CPU

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass > --- > > README | 5 - > 1 file changed, 5 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 02/16] README: Drop CONFIG_COGENT and related options

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass wrote: > These are no-longer present in U-Boot. Drop them. > > Signed-off-by: Simon Glass > --- > > README | 25 - > 1 file changed, 25 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 01/16] README: Drop old Intel Monahans comment

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass wrote: > This is no longer in the U-Boot source code, so drop this note from the > README. > > Signed-off-by: Simon Glass > --- > > README | 14 -- > 1 file changed, 14 deletions(-) > Reviewed-by: Bin

Re: [U-Boot] [PATCH 03/16] README: Correct CONFIG_ENV_OFFSET_RENDUND typo

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass wrote: > Change this to CONFIG_ENV_OFFSET_REDUND. > > Signed-off-by: Simon Glass > --- > > README | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v2] x86: Fix Linux v4.7+ zimage booting (update bootparam.h)

2016-10-05 Thread Bin Meng
On Fri, Sep 30, 2016 at 3:15 PM, Stefan Roese wrote: > Booting Linux kernel v4.7+ does not work since commit Linux commit 974f221c > "x86/boot: Move compressed kernel to the end of the decompression buffer". > > This patch adds the latest version of the setup_header struct, adding >

Re: [U-Boot] imx53 performance issue after updating to version 2016.9 (tftp download, hash calculation)

2016-10-05 Thread Fabio Estevam
Hi Martin, On Tue, Oct 4, 2016 at 1:44 PM, Martin Reichherzer wrote: > After updating a mx53 based custom design to u-boot version 2016.9 from > 2013.10 I’m facing performance problems. Change in performance can be > observed e.g. during following situations: > -

[U-Boot] [PATCH] fastboot: add support for writing raw MMC

2016-10-05 Thread Petr Kulhavy
The current fastboot implementation is only able to flash partition images. However sometimes it is needed to write the raw MMC, e.g. when storing the U-boot environment image or SPL. This patch adds the possibility to write MMC as a block device using a special target name composed of "lba:"

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

2016-10-05 Thread 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 linux kernel tree and can thus be used for booting the (upstream) kernel. Is there a

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 >>>

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 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] 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] [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

  1   2   >