[U-Boot] "CONFIG_*" versus "CONFIG_SYS_*" variables in u-boot?

2016-09-29 Thread Robert P. J. Day
from README file: There are two classes of configuration variables: * Configuration _OPTIONS_: These are selectable by the user and have names beginning with "CONFIG_". * Configuration _SETTINGS_: These depend on the hardware etc. and should not be meddled with if you

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-29 Thread york sun
On 09/28/2016 12:17 PM, Simon Glass wrote: > +Masahiro, who may know Masahiro, Need some advise on this. How do we deal with duplicated config? York > > On 28 September 2016 at 12:57, york sun wrote: >> On 09/27/2016 10:55 AM, Simon Glass wrote: >>> Hi York, >>> >>> On 27

[U-Boot] [PATCH v3 17/29] video: Drop CONFIG_VIDEO_HW_CURSOR

2016-09-29 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/cfb_console.c | 33 +- drivers/video/ct69000.c | 79

[U-Boot] [PATCH v3 20/29] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_EXTRA_INFO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None configs/MIP405T_defconfig| 1 + configs/MIP405_defconfig | 1 +

[U-Boot] [PATCH v3 19/29] video: Drop CONFIG_VIDEO_SW_CURSOR

2016-09-29 Thread Simon Glass
Since all boards enable this, we may as well drop the option. This is a separate patch from the previous one, so it can be skipped if someone identifies a need. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH 2/6] efi_loader: Fix memory map size check to avoid out-of-bounds access

2016-09-29 Thread Stefan Brüns
memory_map_size as IN parameter specifies the size of the provided buffer. If the buffer is to small, memory_map_size is updated to indicate the required size, and an error code is returned. Signed-off-by: Stefan Brüns --- lib/efi_loader/efi_memory.c | 8 +---

[U-Boot] [PATCH 3/6] efi_loader: Track size of pool allocations to allow freeing

2016-09-29 Thread Stefan Brüns
allocate_pool has to return a buffer which is 8-byte aligned. Shift the region returned by allocate_pages by 8 byte and store the size in the headroom. The 8 byte overhead is neglegible, but provides the required size when freeing the allocation later. Signed-off-by: Stefan Brüns

[U-Boot] [PATCH 1/6] efi_loader: Update description of internal efi_mem_carve_out

2016-09-29 Thread Stefan Brüns
In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where changed, but the description was kept. Signed-off-by: Stefan Brüns --- lib/efi_loader/efi_memory.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 0/6] efi_loader: implement BS.FreePages()/BS.FreePool, some cleanup

2016-09-29 Thread Stefan Brüns
Linux 4.8 no longer boots, as it runs out of descriptor space. Readding the mapping allows reuse, and the next AllocatePool will likely not add a new mapping. Also fix some small issues found while debugging. Stefan Brüns (6): efi_loader: Update description of internal efi_mem_carve_out

[U-Boot] [PATCH 5/6] efi_loader: Keep memory mapping sorted when splitting an entry

2016-09-29 Thread Stefan Brüns
The code assumes sorted mappings in descending address order. When splitting a mapping, insert the new part next to the current mapping. Signed-off-by: Stefan Brüns --- lib/efi_loader/efi_memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v6 5/6] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-29 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 27ea472..6c60d9b

[U-Boot] [PATCH v6 6/6] configs: am57xx_evm_defconfig: Enable CMD_REG option

2016-09-29 Thread Keerthy
Enable CMD_REG option. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 6c60d9b..38424e6 100644 --- a/configs/am57xx_evm_defconfig +++

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Simon Glass
Hi Keethy, On 29 September 2016 at 00:11, Keerthy wrote: > > > On Thursday 29 September 2016 11:32 AM, Keerthy wrote: >> >> >> >> On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: >>> >>> Hi Keerthy, >>> >>> On 27 September 2016 at 22:27, Keerthy

[U-Boot] [PATCH v6 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-29 Thread Keerthy
The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM and AM57XX-EVM. Changes in v5: removed u8 i2c read/write

[U-Boot] [PATCH v3 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-29 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- Changes in v3: * Used dm_i2c_write and dm_i2c_read in place of dm_i2c_reg_write dm_i2c_reg_read respectively. Changes in v2: * Added

[U-Boot] [PATCH v3 2/2] power: regulator: lp873x: Add regulator support

2016-09-29 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass --- Changes in v2: * Used pmic_reg_read/pmic_reg_write instead of direct i2c read/write calls.

Re: [U-Boot] [PATCH v3 17/29] video: Drop CONFIG_VIDEO_HW_CURSOR

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software

Re: [U-Boot] [PATCH v3 20/29] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_CONSOLE_EXTRA_INFO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None configs/MIP405T_defconfig

Re: [U-Boot] [PATCH 0/6] at91: at91sam9g15 improvements

2016-09-29 Thread Heiko Schocher
Hello Andreas, Am 17.08.2016 um 09:13 schrieb Heiko Schocher: This series add some missing things for an at91sam9g15 board, which gets not mainlined, but there are common fixes, which are posted with this patchserie. 2 important things: - enable icache for AT91 based boards speeds up them a

Re: [U-Boot] [PATCH v3 21/29] video: Move video_get_info_str() prototype to a header file

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This should be defined in a header file so that arguments are checked. Move it to video.h. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v3 22/29] video: Drop CONFIG_CONSOLE_INFO_QUIET

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/edminiv2.h | 1 -

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
On Friday 30 September 2016 05:12 AM, Simon Glass wrote: Hi Keethy, On 29 September 2016 at 00:11, Keerthy wrote: On Thursday 29 September 2016 11:32 AM, Keerthy wrote: On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at

[U-Boot] [PATCH 4/6] efi_loader: Readd freed pages to memory pool

2016-09-29 Thread Stefan Brüns
Currently each allocation creates a new mapping. Readding the mapping as free memory (EFI_CONVENTIONAL_MEMORY) potentially allows to hand out an existing mapping, thus limiting the number of mapping descriptors in the memory map. Mitigates a problem with current (4.8rc7) linux kernels when doing

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-29 Thread york sun
On 09/29/2016 08:59 PM, Masahiro Yamada wrote: > 2016-09-30 0:47 GMT+09:00 york sun : >> On 09/28/2016 12:17 PM, Simon Glass wrote: >>> +Masahiro, who may know >> >> Masahiro, >> >> Need some advise on this. How do we deal with duplicated config? >> >> York >> >>> >>> On 28

[U-Boot] [PATCH v3 0/2] power: pmic: Add support for LP873X family of PMICs

2016-09-29 Thread Keerthy
The series adds support for LP873X family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp873x: Add the base pmic support power: regulator: lp873x: Add regulator support drivers/power/pmic/Kconfig

Re: [U-Boot] [PATCH v3 12/29] video: Drop the smiLynxEM driver

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used in U-Boot anymore. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 6 - drivers/video/Makefile

Re: [U-Boot] [PATCH v3 13/29] video: Drop the imx25lcdc driver

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used anywhere in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/Makefile| 1 - drivers/video/imx25lcdc.c

Re: [U-Boot] [PATCH v3 14/29] video: Drop the s3c-fb driver

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used in U-Boot. Signed-off-by: Simon Glass Acked-by: Minkyu Kang Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/Makefile

[U-Boot] Patch for OLinuXino Lime boards: default DRAM settings

2016-09-29 Thread Josh Marshall
We have a number of OlinuXino Lime2 boards (both NAND and eMMC versions) which were experiencing sporadic hangs. After testing with some heavy benchmarking and help from the Armbian forum, it was pinned down as the DRAM settings for the board. The default is 480MHz, but this is unstable, and even

[U-Boot] Testing U-Boot port for Gumstix verdex pxa270

2016-09-29 Thread raashidmuhammed
Hi all, I am trying to port U-boot for Gumstix verdex pxa270 board. Could anyone having this board help me test the patches? Regards, Raashid ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 26/29] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko

[U-Boot] [PATCH 0/2] Enable DM support for USB in LS1043

2016-09-29 Thread Sriram Dash
Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS1043 Sriram Dash (2): armv8: ls1043: Enable CONFIG_DM_USB in defconfigs armv8: ls1043: Add USB node in dts for ls1043 arch/arm/dts/fsl-ls1043a.dtsi| 21 + configs/ls1043aqds_defconfig

Re: [U-Boot] [PATCH v3 07/29] Convert CONFIG_VIDEO to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_VIDEO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v3 06/29] config: Drop CONFIG_CONSOLE_DEV

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/advantech_dms-ba16.h |

Re: [U-Boot] [PATCH v3 01/29] Remove some merge markers

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: These two files have patch merge markers in them, within comments or strings. Remove then, so that a search for merge markers does not show up matches in these files. Signed-off-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v3 23/29] Convert CONFIG_LCD to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_LCD Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko Schocher

[U-Boot] [PATCH 2/2] armv8: ls1043: Add USB node in dts for ls1043

2016-09-29 Thread Sriram Dash
Add the USB node for LS1043 in dts. Signed-off-by: Sriram Dash --- arch/arm/dts/fsl-ls1043a.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index a8bffba..f038f96 100644 ---

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

2016-09-29 Thread Sriram Dash
Enables driver model flag CONFIG_DM_USB for LS1043A platform defconfigs. Signed-off-by: Sriram Dash --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 +

[U-Boot] [PATCH v3 28/29] Convert CONFIG_USB_KEYBOARD to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_USB_KEYBOARD Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to convert CONFIG_USB_KEYBOARD to Kconfig configs/Cyrus_P5020_defconfig | 1 +

[U-Boot] [PATCH v3 29/29] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_STDIO_DEREGISTER This option should never be enabled in SPL, so use CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Make

Re: [U-Boot] [PATCH v3 09/29] Convert CONFIG_CFB_CONSOLE_ANSI to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v3 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_CFB_CONSOLE Signed-off-by: Simon Glass --- Changes in v3: - Change CONFIG_CFB_CONSOLE to default y if CONFIG_VIDEO Changes in v2: None Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v3 10/29] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_VIDEO_CT69000 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 23

Re: [U-Boot] [PATCH v3 11/29] Convert CONFIG_SYS_CONSOLE_BG_COL et al to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_SYS_CONSOLE_BG_COL CONFIG_SYS_CONSOLE_FG_COL Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC

2016-09-29 Thread Simon Glass
Hi Patrick, On 29 September 2016 at 00:24, Patrick Brünn wrote: >>From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >>Sent: Mittwoch, 28. September 2016 19:52 >>Subject: Re: [PATCH] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC >> >>Hi, > Hi Simon,

[U-Boot] [PATCH v3 26/29] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 3 --- common/Kconfig

Re: [U-Boot] [PATCH] mach-zynq/Kconfig: Make SYS_VENDOR configurable

2016-09-29 Thread Michal Simek
2016-09-27 22:46 GMT-07:00 Mike Looijmans : > Add a string description for SYS_VENDOR to allow configuring boards from > other vendors than just "xilinx". > > Signed-off-by: Mike Looijmans > --- > This patch is needed to support a set of Zynq and

Re: [U-Boot] [PATCH v3 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_SYS_CONSOLE_INFO_QUIET Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Make CONFIG_SYS_CONSOLE_INFO_QUIET the default if !CONFIG_MUX

Re: [U-Boot] [PATCH v3 05/29] config: Drop CONFIG_CONSOLE

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/MPC8349ITX.h | 6 +++---

Re: [U-Boot] [PATCH v3 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: Move these option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Change CONFIG_PRE_CON_BUF_SZ default to 4096 - Change CONFIG_PRE_CON_BUF_SZ to 'int' type -

Re: [U-Boot] [PATCH v3 18/29] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_VIDEO_SW_CURSOR Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v2] tools: mkimage: Add support for initialization table for Zynq and ZynqMP

2016-09-29 Thread Michal Simek
2016-09-27 22:41 GMT-07:00 Mike Looijmans : > The Zynq/ZynqMP boot.bin file contains a region for register initialization > data. Filling in proper values in this table can reduce boot time > (e.g. about 50ms faster on QSPI boot) and also reduce the size of > the SPL

[U-Boot] [PATCH v6 3/6] power: regulator: palmas: Add regulator support

2016-09-29 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Used pmic_reg_read pmic_reg_write functions

Re: [U-Boot] [PATCH v3 02/29] Convert SILENT_CONSOLE options to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: Move these option to Kconfig and tidy up existing uses. The Power PC boards don't have a suitable common element: the common header files don't appear to line up with the Kconfig files as far as I can tell. This results in a lot of

[U-Boot] [PATCH v6 1/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-29 Thread Keerthy
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure. Signed-off-by: Keerthy Reviewed-by: Tom Rini

[U-Boot] [PATCH v6 4/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-29 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index c74dc18..4af1b03

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-29 Thread Masahiro Yamada
2016-09-30 0:47 GMT+09:00 york sun : > On 09/28/2016 12:17 PM, Simon Glass wrote: >> +Masahiro, who may know > > Masahiro, > > Need some advise on this. How do we deal with duplicated config? > > York > >> >> On 28 September 2016 at 12:57, york sun wrote: >>>

[U-Boot] [PATCH 6/6] efi_loader: Do not leak memory when unlinking a mapping

2016-09-29 Thread Stefan Brüns
As soon as a mapping is unlinked from the list, there are no further references to it, so it should be freed. If it not unlinked, update the start address and length. Signed-off-by: Stefan Brüns --- lib/efi_loader/efi_memory.c | 7 +-- 1 file changed, 5

[U-Boot] [PATCH v6 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v6: * Used

Re: [U-Boot] [PATCH v3 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This converts the following to Kconfig: CONFIG_VGA_AS_SINGLE_DEVICE Once we migrate to driver model for video, we should be able to drop this option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in

Re: [U-Boot] [PATCH v3 15/29] video: Drop the sed13806 driver

2016-09-29 Thread Heiko Schocher
Hello Simon, Am 29.09.2016 um 22:23 schrieb Simon Glass: This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 5 - drivers/video/Makefile |

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

2016-09-29 Thread Simon Glass
On 29 September 2016 at 03:34, Stefan Roese wrote: > > Booting Linux kernel v4.7+ does not work since 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 > "init_size"

[U-Boot] [[RFC Patch] 1/2] tools: buildmand: Remove duplicated code

2016-09-29 Thread York Sun
Signed-off-by: York Sun CC: Simon Glass --- The duplicated code seems to exist since the beginning of buildman. tools/buildman/builderthread.py | 4 1 file changed, 4 deletions(-) diff --git a/tools/buildman/builderthread.py

Re: [U-Boot] [PATCH RESEND] phy: atheros: add support for RGMII_ID, RGMII_TXID and RGMII_RXID

2016-09-29 Thread Michal Simek
On 28.9.2016 12:13, Joe Hershberger wrote: > On Wed, Sep 28, 2016 at 2:10 PM, Marek Vasut wrote: >> On 09/28/2016 09:04 PM, Joe Hershberger wrote: >>> On Wed, Sep 28, 2016 at 2:01 PM, Marek Vasut wrote: On 09/28/2016 08:55 PM, Joe Hershberger wrote: > On

[U-Boot] [PATCH v3 23/29] Convert CONFIG_LCD to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_LCD Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None configs/TQM823L_LCD_defconfig | 3 ++- configs/TTTech_defconfig | 3

[U-Boot] [PATCH v3 24/29] Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_SCROLL_LINES Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 6 --

[U-Boot] [PATCH v3 25/29] Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_ENV_OVERWRITE Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 3 --- common/Kconfig

[U-Boot] [PATCH v3 22/29] video: Drop CONFIG_CONSOLE_INFO_QUIET

2016-09-29 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/edminiv2.h | 1 - include/configs/km/km_arm.h| 1 - include/configs/mv-common.h| 1

[U-Boot] [PATCH v3 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_INFO_QUIET Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Make CONFIG_SYS_CONSOLE_INFO_QUIET the default if !CONFIG_MUX README | 3 ---

[U-Boot] [PATCH v3 07/29] Convert CONFIG_VIDEO to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 5 - configs/MIP405T_defconfig

[U-Boot] [PATCH v3 11/29] Convert CONFIG_SYS_CONSOLE_BG_COL et al to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_BG_COL CONFIG_SYS_CONSOLE_FG_COL Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 5 --- configs/pxm2_defconfig

[U-Boot] [PATCH v3 06/29] config: Drop CONFIG_CONSOLE_DEV

2016-09-29 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/advantech_dms-ba16.h | 4 ++-- include/configs/aristainetos-common.h | 2 +-

[U-Boot] [PATCH v3 10/29] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_CT69000 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 23 --- configs/MIP405T_defconfig| 1 +

[U-Boot] [PATCH v3 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE Signed-off-by: Simon Glass --- Changes in v3: - Change CONFIG_CFB_CONSOLE to default y if CONFIG_VIDEO Changes in v2: None README| 39 -

[U-Boot] [PATCH v3 09/29] Convert CONFIG_CFB_CONSOLE_ANSI to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 4 configs/T1042D4RDB_NAND_defconfig

[U-Boot] [PATCH v3 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-09-29 Thread Simon Glass
Move these option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Change CONFIG_PRE_CON_BUF_SZ default to 4096 - Change CONFIG_PRE_CON_BUF_SZ to 'int' type - Drop the depend clause on the CONFIG_PRE_CON_BUF_SZ default

[U-Boot] [PATCH v3 00/29] Kconfig: Move console options to Kconfig

2016-09-29 Thread Simon Glass
This series moves a number of console-related CONFIG options to Kconfig. Those that are not currently used are removed. A few unused video drivers are also removed and there are a few minor adjustments to improve the code. But mostly this follows the output of the moveconfig tool. It is

[U-Boot] [PATCH v3 02/29] Convert SILENT_CONSOLE options to Kconfig

2016-09-29 Thread Simon Glass
Move these option to Kconfig and tidy up existing uses. The Power PC boards don't have a suitable common element: the common header files don't appear to line up with the Kconfig files as far as I can tell. This results in a lot of defconfig changes. Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 05/29] config: Drop CONFIG_CONSOLE

2016-09-29 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None include/configs/MPC8349ITX.h | 6 +++--- scripts/config_whitelist.txt | 1 - 2 files changed, 3

[U-Boot] [PATCH v3 01/29] Remove some merge markers

2016-09-29 Thread Simon Glass
These two files have patch merge markers in them, within comments or strings. Remove then, so that a search for merge markers does not show up matches in these files. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2:

[U-Boot] [PATCH v3 21/29] video: Move video_get_info_str() prototype to a header file

2016-09-29 Thread Simon Glass
This should be defined in a header file so that arguments are checked. Move it to video.h. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None board/liebherr/lwmon5/lwmon5.c | 1 + board/mosaixtech/icon/icon.c

[U-Boot] [PATCH v3 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VGA_AS_SINGLE_DEVICE Once we migrate to driver model for video, we should be able to drop this option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/Chuwi_V7_CW0825_defconfig

[U-Boot] [PATCH v3 18/29] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig

2016-09-29 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_SW_CURSOR Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/Kconfig | 10 ++ drivers/video/cfb_console.c | 6

[U-Boot] [PATCH v3 13/29] video: Drop the imx25lcdc driver

2016-09-29 Thread Simon Glass
This is not used anywhere in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/Makefile| 1 - drivers/video/imx25lcdc.c | 121 -- 2 files

[U-Boot] [PATCH v3 14/29] video: Drop the s3c-fb driver

2016-09-29 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Acked-by: Minkyu Kang Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 2 +-

[U-Boot] [PATCH v3 12/29] video: Drop the smiLynxEM driver

2016-09-29 Thread Simon Glass
This is not used in U-Boot anymore. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 6 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 13 -

[U-Boot] [PATCH v3 15/29] video: Drop the sed13806 driver

2016-09-29 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None README | 5 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 9 --

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at 22:27, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by:

[U-Boot] [PATCH 2/2] armv8: ls2080: Add USB node in dts for ls2080

2016-09-29 Thread Sriram Dash
Add the USB node for LS2080 in dts. Signed-off-by: Sriram Dash --- arch/arm/dts/fsl-ls2080a.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b308c8b..f76e981 100644 ---

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

2016-09-29 Thread Sriram Dash
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 + configs/ls2080aqds_nand_defconfig| 1 +

Re: [U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-29 Thread Keerthy
On Thursday 29 September 2016 11:32 AM, Keerthy wrote: On Wednesday 28 September 2016 11:21 PM, Simon Glass wrote: Hi Keerthy, On 27 September 2016 at 22:27, Keerthy wrote: Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based

[U-Boot] [PATCH 0/2] Enable DM support for USB in LS2080

2016-09-29 Thread Sriram Dash
Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS2080. Sriram Dash (2): armv8: ls2080: Enable CONFIG_DM_USB in defconfigs armv8: ls2080: Add USB node in dts for ls2080 arch/arm/dts/fsl-ls2080a.dtsi| 14 ++

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-29 Thread Alexander Graf
On 09/29/2016 07:37 AM, Bin Meng wrote: Hi Alex, On Thu, Sep 29, 2016 at 1:08 PM, Alexander Graf wrote: Am 29.09.2016 um 05:37 schrieb Bin Meng : Hi Simon, On Wed, Sep 28, 2016 at 10:43 PM, Simon Glass wrote: Hi Bin, On 27 September

[U-Boot] [PATCH] armv8/fsl-lsch2: Implement workaround for PIN MUX erratum A010539

2016-09-29 Thread Zhiqiang Hou
From: Hou Zhiqiang Pin mux logic has 2 options in priority order, one is through RCW_SRC and then through RCW_Fields. In case of QSPI booting, RCW_SRC logic takes the priority for SPI pads and do not allow RCW_BASE and SPI_EXT to control the SPI muxing. But actually those

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-29 Thread Alexander Graf
On 09/29/2016 09:28 AM, Bin Meng wrote: Hi Alex, On Thu, Sep 29, 2016 at 3:13 PM, Alexander Graf wrote: On 09/29/2016 07:37 AM, Bin Meng wrote: Hi Alex, On Thu, Sep 29, 2016 at 1:08 PM, Alexander Graf wrote: Am 29.09.2016 um 05:37 schrieb Bin Meng

Re: [U-Boot] [PATCH] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC

2016-09-29 Thread Patrick Brünn
>From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >Sent: Mittwoch, 28. September 2016 19:52 >Subject: Re: [PATCH] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC > >Hi, Hi Simon, thanks for the fast feedback. > >On 28 September 2016 at 09:46,

Re: [U-Boot] [PATCHv2] scripts: Add script to extract default environment

2016-09-29 Thread Lukasz Majewski
Hi Simon, > Hi, > > On 27 September 2016 at 07:37, Lukasz Majewski > wrote: > > Hi Simon, > > > >> Hi Lukasz, > >> > >> On 16 September 2016 at 22:57, Lukasz Majewski > >> wrote: > >> > This script looks for env_common.o object file and extracts from

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-29 Thread Bin Meng
Hi Alex, On Thu, Sep 29, 2016 at 3:13 PM, Alexander Graf wrote: > On 09/29/2016 07:37 AM, Bin Meng wrote: >> >> Hi Alex, >> >> On Thu, Sep 29, 2016 at 1:08 PM, Alexander Graf wrote: >>> >>> >>> Am 29.09.2016 um 05:37 schrieb Bin Meng : >>> >>>

[U-Boot] Uboot send pull request

2016-09-29 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 06572f0301c18e63b887efc91803bb9467e55dbe: Merge git://www.denx.de/git/u-boot-ppc4xx (2016-09-27 12:48:18 -0400) are available in the git repository at:

[U-Boot] [PATCH] nds32: Support relocation.

2016-09-29 Thread Andes
From: rick Enable pie option for relocation. Signed-off-by: rick Cc: Andes --- arch/nds32/config.mk |2 +- arch/nds32/cpu/n1213/ag101/lowlevel_init.S | 13 +-- arch/nds32/cpu/n1213/start.S

  1   2   >