Re: [U-Boot] [PATCH 1/2] sunxi: add proper device tree for Lichee Pi One

2016-12-23 Thread Maxime Ripard
On Thu, Dec 22, 2016 at 04:07:57AM +0800, Icenowy Zheng wrote: > Signed-off-by: Icenowy Zheng A commit log would be welcome. Once done, Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Desc

Re: [U-Boot] [PATCH] sunxi: add an environment variable for boot media

2016-12-23 Thread Maxime Ripard
On Thu, Dec 22, 2016 at 05:53:26AM +0800, Icenowy Zheng wrote: > Some board features different medias available for boot, for example, a > MicroSD slot and an eMMC or two MicroSD slots. > > Add an environment variable which indicates the boot media during boot, > so that the boot script can choose

Re: [U-Boot] [PATCH 2/2] sunxi: add support for Lichee Pi One device

2016-12-23 Thread Maxime Ripard
On Thu, Dec 22, 2016 at 04:07:58AM +0800, Icenowy Zheng wrote: > Lichee Pi One is a low-cost Allwinner A13 based development board, with > two SD slots, a USB2.0 OTG port, a USB2.0 host port (or onboard Wi-Fi > card), optional headers for LCD and CSI and two GPIO headers. > > Add support for this

Re: [U-Boot] [PATCH v6 02/13] binman: Add basic entry types for U-Boot

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> Add entries to support some standard U-Boot binaries, such as u-boot.bin, >> u-boot.dtb, etc. Also add some tests for these. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v6: None >

Re: [U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> This adds the basic code for binman, including command parsing, processing >> of entries and generation of images. >> >> So far no entry types are supported. These will be added in future commi

Re: [U-Boot] [PATCH v6 05/13] binman: Add support for building x86 ROMs with SPL

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> When building for 64-bit x86 we need an SPL binary in the ROM. Add support >> for this. Also increase entry test code coverage to 100%. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in

Re: [U-Boot] [PATCH v6 04/13] binman: Add support for u-boot.img as an input binary

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v6: None >> Changes in v5: None >> Changes in v4: None >> C

Re: [U-Boot] [PATCH v6 03/13] binman: Add support for building x86 ROMs

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> The structure of x86 ROMs is pretty complex. There are various binary blobs >> to place in the image. Microcode requires special handling so that it is >> available to very early code and can b

Re: [U-Boot] [PATCH v6 06/13] binman: Add support for building x86 images with FSP/CMC

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> Add support for two more from the inexhaustible supply of x86 binary blob >> types. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v6: None >> Changes in v5: None >> Changes in v4: >

Re: [U-Boot] [PATCH v6 07/13] binman: Add a build rule for binman

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> Add a standard command definition for binman so that it can be used in >> makefiles. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v6: None >> Changes in v5: None >> Changes in v4:

Re: [U-Boot] [PATCH v6 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-12-23 Thread Simon Glass
On 25 November 2016 at 20:16, Simon Glass wrote: > With the new device-tree rules it is possible to put device-tree changes > needed by U-Boot into their own file. As an example of this approach, move > Tegra over to use it. > > Signed-off-by: Simon Glass > --- > > Changes in v6: > - Drop unwante

Re: [U-Boot] [PATCH v6 08/13] binman: Allow configuration options to be used in .dts files

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> It is sometimes useful to be able to reference configuration options in a >> device tree source file. Add the necessary includes so that this works. >> >> Signed-off-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH v6 09/13] binman: Automatically include a U-Boot .dtsi file

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> 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 is synced with >> upstream. >> >> Add a means to include a

Re: [U-Boot] [U-Boot,v6,11/13] sunxi: Use binman for sunxi boards

2016-12-23 Thread Simon Glass
On 18 December 2016 at 19:48, Tom Rini wrote: > On Fri, Nov 25, 2016 at 08:16:01PM -0700, Simon Glass wrote: > >> Move sunxi boards to use binman. This involves adding the image definition >> to the device tree and using it in the Makefile. >> >> Signed-off-by: Simon Glass > > Reviewed-by: Tom Ri

Re: [U-Boot] [PATCH v6 12/13] x86: Use binman all x86 boards

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:16 AM, Simon Glass wrote: >> Change x86 boards to use binman to produce the ROM. This involves adding the >> image definition to the device tree and using it in the Makefile. The >> existing ifdtool features are no-longer

Re: [U-Boot] [PATCH v6 13/13] binman: Drop microcode features from ifdtool

2016-12-23 Thread Simon Glass
On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:16 AM, Simon Glass wrote: >> Now that binman supports creating images with microcode, drop the code from >> ifdtool. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v6: None >> Changes in v5: >> - Add a new patch

[U-Boot] [PATCH 1/2] sunxi: power: add AXP803 support

2016-12-23 Thread Icenowy Zheng
The A64 uses the AXP803 as its PMIC. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/Makefile | 3 + arch/arm/mach-sunxi/pmic_bus.c | 6 +- arch/arm/mach-sunxi/rsb.c | 2 +- board/sunxi/board.c| 31 ++--- drivers/power/Kconfig | 87 -- drivers

[U-Boot] please pull u-boot-samsung master

2016-12-23 Thread Minkyu Kang
Dear Tom, The following changes since commit 0d92f2141ac5ef5c80d13e9501890f914525d43c: arm64: mvebu: Fix A8K memory mapping and add documentation (2016-12-21 09:52:35 +0100) are available in the git repository at: git://git.denx.de/u-boot-samsung.git master for you to fetch changes up

Re: [U-Boot] please pull u-boot-samsung master

2016-12-23 Thread Tom Rini
On Sat, Dec 24, 2016 at 12:07:01AM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 0d92f2141ac5ef5c80d13e9501890f914525d43c: > > > arm64: mvebu: Fix A8K memory mapping and add documentation (2016-12-21 > 09:52:35 +0100) > > > are available in the git repository

[U-Boot] Pull request: u-boot-sunxi/master

2016-12-23 Thread Jagan Teki
Hi Tom, Please pull this fix. thanks! Jagan. The following changes since commit 4cf5c5f1e60e6541630ae829b5fa2db704c268f0: Prepare v2017.01-rc2 (2016-12-19 16:08:57 -0500) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to c23

Re: [U-Boot] [PATCH] spi: Zap armada100_spi.c and env

2016-12-23 Thread Jagan Teki
On Wed, Dec 21, 2016 at 12:18 PM, Jagan Teki wrote: > On Fri, Nov 25, 2016 at 6:06 AM, Ajay Bhargav > wrote: >> I will update driver and submit. Thanks for notification. > > Any further update? I'm going with this and submit the dm driver > whenever possible. Applied to u-boot-spi/master thanks

Re: [U-Boot] [PATCH] spi: Zap mpc52xx_spi.c, config and related code

2016-12-23 Thread Jagan Teki
On Thu, Dec 15, 2016 at 5:36 PM, Jagan Teki wrote: > armada100_spi.c, related config options and related codes > are zapping becuase of "no DM conversion". > > Cc: Werner Pfister > Signed-off-by: Jagan Teki > Reviewed-by: Tom Rini Applied to u-boot-spi/master thanks! -- Jagan Teki Free Softw

[U-Boot] Pull request: u-boot-spi/master

2016-12-23 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 4cf5c5f1e60e6541630ae829b5fa2db704c268f0: Prepare v2017.01-rc2 (2016-12-19 16:08:57 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch changes up to b98fa0

Re: [U-Boot] Pull request: u-boot-spi/master

2016-12-23 Thread Tom Rini
On Sat, Dec 24, 2016 at 12:39:22AM +0100, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit 4cf5c5f1e60e6541630ae829b5fa2db704c268f0: > > Prepare v2017.01-rc2 (2016-12-19 16:08:57 -0500) > > are available in the git repository a

Re: [U-Boot] [linux-sunxi] [PATCH] sunxi: fix SID read on H3

2016-12-23 Thread Siarhei Siamashka
On Tue, 20 Dec 2016 02:03:36 +0800 Icenowy Zheng wrote: > H3 SID controller has some bug, which makes the initial SID value at > SUNXI_SID_BASE wrong when boot. > > Change the SID retrieve code to call the SID Controller directly on H3, > which can get the correct value, and also fix the SID val

Re: [U-Boot] [PATCH] relocate-rela: use compiler.h endian macros

2016-12-23 Thread Jonathan Gray
Any objections to this? On Sun, Dec 11, 2016 at 02:51:13PM +1100, Jonathan Gray wrote: > Use the endian macros from u-boot's compiler.h instead of duplicating > the definitions. > > This also avoids a build error on OpenBSD by removing swap64 which > collides with a system definition in endian.h