Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-19 Thread Alexander Graf
On 20.09.16 08:25, Thomas Abraham wrote: > On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: >> >> >> Am 20.09.2016 um 07:51 schrieb Thomas Abraham : >> >> Hi Alison, >> >> >> On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: >> >> >> >> On 09.09.16 10:48, Alison Wang wrote: >> >> Th

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-19 Thread Thomas Abraham
On Tue, Sep 20, 2016 at 11:35 AM, Alexander Graf wrote: > > > Am 20.09.2016 um 07:51 schrieb Thomas Abraham : > > Hi Alison, > > > On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: > > > > On 09.09.16 10:48, Alison Wang wrote: > > This patch is to use the the generic lowlevel_init instead of

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2016-09-19 Thread Michael Brandl
No sry, ports are not configured yet and I don't know which clock to use. I just created the structure looking on other implementations. That's what I neeed your help for! Michael On 19.09.2016 16:14, Armando Visconti wrote: Ciao Michael, Did you test it? It seems that all the platform re

[U-Boot] [PATCH v2] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Chin Liang See
To enable configuration of sdr.ctrlcfg.extratime1 register which enable extra clocks for read to write command timing. This is critical to ensure successful LPDDR2 interface Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen --- Changes for v2 - Removed v1 patches #2 to #9 as no boar

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-19 Thread Alexander Graf
> Am 20.09.2016 um 07:51 schrieb Thomas Abraham : > > Hi Alison, > > >> On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: >> >> >>> On 09.09.16 10:48, Alison Wang wrote: >>> This patch is to use the the generic lowlevel_init instead of the >>> specific one. >>> >>> Signed-off-by: Alis

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-09-19 Thread Thomas Abraham
Hi Alison, On Mon, Sep 19, 2016 at 7:38 PM, Alexander Graf wrote: > > > On 09.09.16 10:48, Alison Wang wrote: >> This patch is to use the the generic lowlevel_init instead of the >> specific one. >> >> Signed-off-by: Alison Wang > > If I had to guess, I'd think they only had their own version b

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 20:54 +0200, Marek Vasut wrote: > On 09/19/2016 12:11 PM, Chin Liang See wrote: > > On Mon, 2016-09-19 at 16:22 +0200, Marek Vasut wrote: > > > On 09/15/2016 09:26 AM, Chin Liang See wrote: > > > > To enable configuration of sdr.ctrlcfg.extratime1 register > > > > which > > >

Re: [U-Boot] [PATCH 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 20:52 +0200, Marek Vasut wrote: > On 09/19/2016 12:12 PM, Chin Liang See wrote: > > On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: > > > On 09/15/2016 09:27 AM, Chin Liang See wrote: > > > > Adding new handoff for SDRAM ctrcfg.extratime1 which is > > > > required for st

[U-Boot] [PATCH v2] ARM: uniphier: move CONFIG_SPL_* to defconfig or select

2016-09-19 Thread Masahiro Yamada
As I repeated in the ML, I am unhappy with config entries with bare defaults. Kick them out of arch/arm/mach-uniphier/Kconfig. Currently, CONFIG_SPL_SERIAL_SUPPORT is not user-configurable (build fails without it), but it should be fixed later anyway, so I am moving CONFIG_SPL_SERIAL_SUPPORT to d

Re: [U-Boot] [PATCH v3 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-19 Thread Heiko Schocher
Hello, Am 19.09.2016 um 08:17 schrieb Keerthy: Add u8 i2c read/write hooks. Signed-off-by: Keerthy --- drivers/i2c/i2c-uclass.c | 10 ++ include/i2c.h| 24 2 files changed, 34 insertions(+) Reviewed-by: Heiko Schocher bye, Heiko diff --git

[U-Boot] [PATCH] ARMv7: LS102xA: Move two macros from header files to Kconfig

2016-09-19 Thread macro . wave . z
From: Hongbo Zhang ARMV7_PSCI depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI, and ARMV7_NONSEC depends on CPU_V7_HAS_NONSEC, LS102XA didn't enable CPU_V7_HAS_NONSEC, but defined ARMV7_NONSEC in a internal header file, this cannot be recognized by Kconfig, so ARMV7_PSCI isn't defined at last. This p

[U-Boot] Fw: FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-19 Thread dh
I modified the current u-boot code to store r2 in rpi.c board_init, but only get a zero value from the register. It could be one of three issues: 1. My use of the c asm statement  to store r2 is wrong (I've never done this before), assembler yes, c assembler no. 2. The compiler has consumed the

Re: [U-Boot] [PATCH 0/2] Add sdram capacity auto detect for rk3288

2016-09-19 Thread Kever Yang
Hi Sandy, On 09/19/2016 09:33 PM, Sandy Patterson wrote: Hi Kever and Vagrant, I tested this patch on my rock2 board against 2016.09. (I didn't have my board with me over the weekend) Thanks for your test and for your log, my source code do have one bug and I have fix and upload the V2 patc

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

2016-09-19 Thread Kever Yang
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 --- Changes in v2: None arch/arm/dts/rk3288-evb.dts | 3 --- arch/arm/dts/rk3288-fennec.dts | 3 --- arch/arm/dts/rk3288-firefly.dts

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

2016-09-19 Thread Kever Yang
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 describe those info after apply this patch. Signed-off-b

[U-Boot] [PATCH v2 0/3] Add sdram capacity auto detect for rk3288

2016-09-19 Thread Kever Yang
The rk3288 spl size is very close to 32KB while the rk3288 bootrom has the limitation of maximum size of SPL is 32KB. After apply this patch, the SPL size will exceed 32KB if we do not enable macro CONFIG_ROCKCHIP_SPL_BACK_TO_BROM. I think this patch is usful and should be go upstream other than

[U-Boot] [PATCH v2 1/3] rk3288: config change for enable dram capacity auto-detect.

2016-09-19 Thread Kever Yang
Enable ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT to save memory in order to enable add source code for dram capacity auto-detect. Signed-off-by: Kever Yang --- Changes in v2: None include/configs/evb_rk3288.h | 3 +-- include/configs/fennec_rk3288.h | 3 +-- include/c

[U-Boot] [PATCH v2] dm/mmc: gen_atmel_mci: Add driver model support for mci

2016-09-19 Thread Wenyou Yang
Add the driver model support for Atmel mci while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang --- Changes in v2: - Change the return type of atmel_mci_setup_cfg() from

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_INFO_QUIET Signed-off-by: Simon Glass --- README | 3 --- common/Kconfig | 8 configs/10m50_defconfig

Re: [U-Boot] [PATCH] mmc: cat u8 to u64 to avoid unexpected error

2016-09-19 Thread Tom Rini
On Tue, Sep 20, 2016 at 11:04:40AM +0900, Jaehoon Chung wrote: > On 09/19/2016 08:30 PM, Tom Rini wrote: > > On Mon, Sep 19, 2016 at 03:31:54PM +0900, Jaehoon Chung wrote: > >> On 09/19/2016 02:53 AM, Tom Rini wrote: > >>> On Tue, Sep 13, 2016 at 04:27:57PM +0800, Haibo Chen wrote: > >>> > Sus

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE Signed-off-by: Simon Glass --- README | 39 - configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A10s-OLinuXino-M_defconfig | 1 + confi

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

2016-09-19 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 --- configs/A10-OLinuXino-Lime_defconfig| 1 + configs/A10s-OLinuXino-M_defconfig

Re: [U-Boot] [PATCH v3 4/6] power: regulator: palmas: Add regulator support

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:36AM +0530, Keerthy wrote: > 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 -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v3 6/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:38AM +0530, Keerthy wrote: > Enable palmas PMIC config options. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http:/

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

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:37AM +0530, Keerthy wrote: > Enable palmas PMIC config options. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http:/

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

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:35AM +0530, Keerthy wrote: > Add support to bind the regulators/child nodes with the pmic. > > Signed-off-by: Keerthy > Reviewed-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v3 2/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:34AM +0530, Keerthy wrote: > 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.

Re: [U-Boot] [PATCH v3 1/6] dm: i2c: Add u8 read/write i2c functions

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:47:33AM +0530, Keerthy wrote: > Add u8 i2c read/write hooks. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

[U-Boot] [PATCH 2/2] PowerPC: Update last users of CONFIG_ISO_STRING to Kconfig

2016-09-19 Thread Tom Rini
There are a few boards that use CONFIG_ISO_STRING as part of a sanity check during firmware update at run time. Move this string to Kconfig. Signed-off-by: Tom Rini --- board/mpl/pati/Kconfig | 3 +++ board/mpl/pati/pati.h| 1 - board/mpl/pip405/Kconfig | 3 +++ include/config

[U-Boot] [PATCH 1/2] PowerPC: Update MIP405/MIP405T to use Kconfig better

2016-09-19 Thread Tom Rini
Convert CONFIG_MIP405T from SYS_EXTRA_OPTIONS to a real config There are two boards, MIP405 and MIP405T that have a few differences. Start by checking for CONFIG_TARGET_MIP405. Then introduce CONFIG_TARGET_MIP405T and use that not CONFIG_MIP405T. Next, convert also convert the usage of CONFIG_IS

Re: [U-Boot] [PATCH] mmc: cat u8 to u64 to avoid unexpected error

2016-09-19 Thread Jaehoon Chung
On 09/19/2016 08:30 PM, Tom Rini wrote: > On Mon, Sep 19, 2016 at 03:31:54PM +0900, Jaehoon Chung wrote: >> On 09/19/2016 02:53 AM, Tom Rini wrote: >>> On Tue, Sep 13, 2016 at 04:27:57PM +0800, Haibo Chen wrote: >>> Suspicious implicit sign extension exist. ext_csd[] is defined as "u8", c

Re: [U-Boot] [PATCH v1] dm/mmc: gen_atmel_mci: Add driver model support for mci

2016-09-19 Thread Jaehoon Chung
On 09/19/2016 07:02 PM, Wenyou Yang wrote: > Add the driver model support for Atmel mci while retaining the > existing legacy code. This allows the driver to support boards > that have converted to driver model as well as those that have not. > > Signed-off-by: Wenyou Yang > --- > > drivers/mmc

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Chen-Yu Tsai
On Mon, Sep 19, 2016 at 11:44 PM, Hans de Goede wrote: > Hi, > > > On 19-09-16 17:00, Tom Rini wrote: >> >> On Mon, Sep 19, 2016 at 04:53:04PM +0200, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 19-09-16 16:03, Tom Rini wrote: Based on A13-OLinuXino, enable DFU and UMS support.

[U-Boot] [PATCH v2 6/7] ext4: Respect group descriptor size when adjusting free counts

2016-09-19 Thread Stefan Brüns
Also adjust high 16/32 bits when free inode/block counts are modified. Signed-off-by: Stefan Brüns --- v2: rebase on last version of ext4 endian fixes fs/ext4/ext4_common.c | 53 +++ fs/ext4/ext4_write.c | 40 ++---

[U-Boot] [PATCH v2 3/7] ext4: Add helper functions for block group descriptor field access

2016-09-19 Thread Stefan Brüns
The helper functions encapsulate access of the block group descriptors, independent of group descriptor size. The helpers also deal with the endianess of the fields, and with split fields like free_blocks/ free_blocks_high. Signed-off-by: Stefan Brüns --- v2: include ext4fs_bg_get_inode_table_id(

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-09-19 Thread Jaehoon Chung
Hi, On 09/19/2016 10:17 PM, Maxime Ripard wrote: > On Wed, Sep 14, 2016 at 12:05:19PM +0200, Hans de Goede wrote: >> Hi, >> >> On 13-09-16 13:50, Maxime Ripard wrote: >>> Hi, >>> >>> On Mon, Sep 12, 2016 at 04:47:49PM +0200, Hans de Goede wrote: On 12-09-16 15:56, Maxime Ripard wrote: > H

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

2016-09-19 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- drivers/video/cfb_console.c | 33 +- drivers/video/ct69000.c | 79 include/video_fb.h | 4 --- scripts/config_whitelist.txt | 1 - 4 files changed, 1 inserti

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO Signed-off-by: Simon Glass --- README | 5 - configs/MIP405T_defconfig | 1 + configs/MIP405_defconfig| 1 + configs/MPC8536

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

2016-09-19 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 --- README

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_SCROLL_LINES Signed-off-by: Simon Glass --- README | 6 -- configs/bayleybay_defconfig | 1 + configs/chromebook_jerry_defconfig | 1

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_BG_COL CONFIG_SYS_CONSOLE_FG_COL Signed-off-by: Simon Glass --- README | 5 --- configs/pxm2_defconfig | 2 + configs/rut_defconfig| 2 + drivers/video/Kconfig| 22 ++ drivers

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

2016-09-19 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- README | 5 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 9 -- drivers/video/sed13806.c | 286 --- include/sed13806.h | 81 --

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE Signed-off-by: Simon Glass --- README | 3 --- common/Kconfig | 9 + configs/MIP405T_defconfig | 1 + configs/MIP405_defconfig

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

2016-09-19 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass --- include/configs/MPC8349ITX.h | 6 +++--- scripts/config_whitelist.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h index

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_CT69000 Signed-off-by: Simon Glass --- README | 23 --- configs/MIP405T_defconfig| 1 + configs/MIP405_defconfig | 1 + configs/PIP405_defconfig | 1 + drivers/video/Kconfig|

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_EXTRA_INFO Signed-off-by: Simon Glass --- configs/MIP405T_defconfig| 1 + configs/MIP405_defconfig | 1 + configs/MiniFAP_defconfig| 1 + configs/PIP405_defconfig | 1 + configs/TQM5200

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Simon Glass --- README | 4 configs/T1042D4RDB_NAND_defconfig | 1 + configs/T1042D4RDB_SDCARD_defconfig| 1 + configs/T1042D4RDB_SECURE_BOOT_d

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

2016-09-19 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 --- board/liebherr/lwmon5/lwmon5.c | 1 + board/mosaixtech/icon/icon.c | 1 + board/mpl/common/common_util.c | 1 + board/tqc/tqm5200/tqm5200.c| 1 + drivers/video/cfb

[U-Boot] [PATCH 28/28] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-09-19 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 --- arch/arm/mach-tegra/Kconfig | 3 +++ arch/x86/Kconfig

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_SW_CURSOR Signed-off-by: Simon Glass --- drivers/video/Kconfig | 10 ++ drivers/video/cfb_console.c | 6 -- include/configs/MIP405.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_ENV_OVERWRITE Signed-off-by: Simon Glass --- README | 3 --- common/Kconfig | 9 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig |

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

2016-09-19 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/edminiv2.h | 1 - include/configs/km/km_arm.h | 1 - include/configs/mv-common.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 4 deletions(-) diff --git a/include/configs/edminiv2.h b/include/

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

2016-09-19 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 --- README | 1 - drivers/video/Kconfig | 10 -- drivers/video/cfb_con

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

2016-09-19 Thread Simon Glass
This converts the following to Kconfig: CONFIG_LCD Signed-off-by: Simon Glass --- configs/TQM823L_LCD_defconfig | 3 ++- configs/TTTech_defconfig | 3 ++- configs/at91sam9261ek_dataflash_cs0_defconfig | 1 + configs/at91sam9261ek_dataflash_cs3_defconfig |

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

2016-09-19 Thread Simon Glass
This is not used anywhere in U-Boot. Signed-off-by: Simon Glass --- drivers/video/Makefile| 1 - drivers/video/imx25lcdc.c | 121 -- 2 files changed, 122 deletions(-) delete mode 100644 drivers/video/imx25lcdc.c diff --git a/drivers/video/Make

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

2016-09-19 Thread Simon Glass
This is not used in U-Boot anymore. Signed-off-by: Simon Glass --- README | 6 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 13 - drivers/video/smiLynxEM.c| 835 --- scripts/config_whitelist.txt | 1

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

2016-09-19 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 2 +- drivers/video/s3c-fb.c | 172 3 files changed, 1 insertion(+), 174 deletions(-) delete mode 100644 drivers/vid

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

2016-09-19 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 --- drivers/net/ax88180.c | 6 +- drivers/usb/host/isp116x-hcd.c | 6 +++--- 2 files cha

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

2016-09-19 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass --- include/configs/advantech_dms-ba16.h | 4 ++-- include/configs/aristainetos-common.h | 2 +- include/configs/aristainetos.h| 2 +- include/configs/aristainetos2.h | 2 +- include/configs/ari

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

2016-09-19 Thread Simon Glass
Move these option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- README| 17 - board/sunxi/Kconfig | 11 +++ common/Kconfig| 40 +++ common/console.c

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

2016-09-19 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 tested wi

Re: [U-Boot] [PATCH] test/py/tests/test_vboot.py: Add check that we boot the image

2016-09-19 Thread Stephen Warren
On 09/18/2016 07:46 AM, Tom Rini wrote: Make sure that when we're telling bootm to boot an image, and we expect the image to boot we get the output from sandbox that we attempted to run Linux and that U-Boot completed its job. Acked-by: Stephen Warren __

Re: [U-Boot] [PATCH 00/27] spl: Use linker list and parameters for SPL image loading

2016-09-19 Thread Tom Rini
On Sun, Sep 18, 2016 at 06:57:01PM -0600, Simon Glass wrote: > Hi Tom, > > On 18 September 2016 at 16:14, Tom Rini wrote: > > On Sun, Sep 18, 2016 at 01:44:49PM -0600, Simon Glass wrote: > > > >> At present the SPL code uses a global spl_image variable which is shared > >> amongst lots of files,

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-09-19 Thread Hans de Goede
HI, On 19-09-16 15:17, Maxime Ripard wrote: On Wed, Sep 14, 2016 at 12:05:19PM +0200, Hans de Goede wrote: Hi, On 13-09-16 13:50, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 04:47:49PM +0200, Hans de Goede wrote: On 12-09-16 15:56, Maxime Ripard wrote: Hi, On Mon, Sep 12, 2016 at 01:

Re: [U-Boot] [PATCH] Repair image-fit: switch ENOLINK to ENOENT

2016-09-19 Thread Marek Vasut
On 09/19/2016 10:29 AM, Paul Burton wrote: > Hi Marek, Hi, > On 18/09/16 14:27, Marek Vasut wrote: >> This patch broke booting of any fitImage-wrapped kernel images due >> to replacement of ENOLINK with ENOENT without checking where the >> ENOLINK return value is being tested for. Adjust the test

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Marek Vasut
On 09/19/2016 08:54 PM, Marek Vasut wrote: > On 09/19/2016 12:11 PM, Chin Liang See wrote: >> On Mon, 2016-09-19 at 16:22 +0200, Marek Vasut wrote: >>> On 09/15/2016 09:26 AM, Chin Liang See wrote: To enable configuration of sdr.ctrlcfg.extratime1 register which enable extra clocks f

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Marek Vasut
On 09/19/2016 12:11 PM, Chin Liang See wrote: > On Mon, 2016-09-19 at 16:22 +0200, Marek Vasut wrote: >> On 09/15/2016 09:26 AM, Chin Liang See wrote: >>> To enable configuration of sdr.ctrlcfg.extratime1 register which >>> enable >>> extra clocks for read to write command timing. This is critical

Re: [U-Boot] [PATCH 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-19 Thread Marek Vasut
On 09/19/2016 12:12 PM, Chin Liang See wrote: > On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: >> On 09/15/2016 09:27 AM, Chin Liang See wrote: >>> Adding new handoff for SDRAM ctrcfg.extratime1 which is >>> required for stabil LPDDR2 operation >> >> ... stable ... >> >> Isn't SoCDK using DD

Re: [U-Boot] [PATCH v2] Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL"

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 09:40:26PM +0900, Masahiro Yamada wrote: > This reverts commit 90c08d9e08c7a108ab904f3bbdeb558081757892. > > I took a closer look at this after the commit was applied, and found > CONFIG_SYS_MALLOC_F_LEN=0x2000 was too much. 8KB memory for SPL is > actually too big for so

Re: [U-Boot] [PATCH] ARM: uniphier: move CONFIG_SPL_* to defconfig or select

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 09:26:38PM +0900, Masahiro Yamada wrote: > As I repeated in the ML, I am unhappy with config entries with bare > defaults. Kick them out of arch/arm/mach-uniphier/Kconfig. > > Currently, CONFIG_SPL_SERIAL_SUPPORT is not user-configurable > (build fails without it), but it

Re: [U-Boot] [PATCH 10/13] buildman: Allow builds to terminate cleanly

2016-09-19 Thread Tom Rini
On Sun, Sep 18, 2016 at 04:48:35PM -0600, Simon Glass wrote: > It is annoying that buildman does not respond cleanly to Ctrl-C or SIGINT, > particularly on machines with lots of CPUS. Unfortunately queue.join() > blocks the main thread and does not allow it to see the signal. Use a > separate thre

Re: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

2016-09-19 Thread Tom Rini
On Sun, Sep 18, 2016 at 04:48:31PM -0600, Simon Glass wrote: > On a machine with a lot of CPUs this prints a lot of useless lines of the > form: > >Cloning repo for thread > > Adjust the output so that these all appear on one line, and disappear when > the cloning is complete. > > Note: Th

[U-Boot] [PATCH 2/2] Makefile: rm u-boot.cfg dependencies are missing

2016-09-19 Thread Stephen Warren
From: Stephen Warren Prior to the previous patch, a freshly created .u-boot.cfg.cmd may not correctly represent all dependencies for u-boot.cfg. The previous change only solved this issue for fresh builds; when performing an incremental build, the deficient .u-boot.cfg.cmd is already present, so

[U-Boot] [PATCH 1/2] Makefile: use if_change_dep for u-boot.cfg

2016-09-19 Thread Stephen Warren
From: Stephen Warren cmd_cpp_cfg generates a dependency output, but because it's invoked using if_changed rather than if_changed_dep, that dependency file is ignored. This results in Kbuild not knowing about which files u-boot.cfg depends on, so it may not be rebuilt when required. A practical r

Re: [U-Boot] [PATCH] dfu: Migrate to Kconfig

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:31:30PM -0400, Tom Rini wrote: > Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for > CMD_DFU (as we must have the DFU command enabled to do anything DFU). > Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add > options for all of t

Re: [U-Boot] ad-hoc CONFIG build error

2016-09-19 Thread Stephen Warren
On 09/19/2016 09:22 AM, Tom Rini wrote: On Mon, Sep 19, 2016 at 09:14:30AM -0600, Stephen Warren wrote: Tom, Simon, I'm seeing the following error when building sandbox in either u-boot.git master branch or u-boot-dm.git master branch: Error: You must add new CONFIG options using Kconfig The

[U-Boot] [PATCH] dfu: Migrate to Kconfig

2016-09-19 Thread Tom Rini
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for CMD_DFU (as we must have the DFU command enabled to do anything DFU). Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add options for all of the back end choices that DFU can make use of. Cc: Lukasz Majewski

[U-Boot] [PATCH] ti_armv7_common.h: Adjust malloc pool size in all cases.

2016-09-19 Thread Tom Rini
Previously we had been adjusting CONFIG_SYS_MALLOC_LEN based on if CONFIG_DFU_MMC has been set or not. However, for quite some time this has not been the case as we often include prior to setting CONFIG_DFU_MMC so we would always use 16MiB and then not have enough room for to DFU files. Given th

Re: [U-Boot] [ANN] U-Boot v2016.09.01 is released

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:43:11PM -0300, Fabio Estevam wrote: > On Mon, Sep 19, 2016 at 1:07 PM, Tom Rini wrote: > > On Mon, Sep 12, 2016 at 12:21:28PM -0400, Tom Rini wrote: > > > >> Hey all, > >> > >> I've released v2016.09 and it's now live on git and FTP and ACD (along > >> with PGP sig file)

Re: [U-Boot] [PATCH] efi: console: Correctly report modes

2016-09-19 Thread Emmanuel Vadot
On Mon, 19 Sep 2016 15:55:49 +0200 Alexander Graf wrote: > > > On 19.08.16 18:12, Emmanuel Vadot wrote: > > Hello Alexander, > > > > The UEFI spec say that mode 0 will always be 80x25, mode 1 80x50 and other > > size will be mode >=2. > > This patch : > > - set the default size to 80x25. > > -

Re: [U-Boot] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 10:03:32AM -0400, Tom Rini wrote: > Based on A13-OLinuXino, enable DFU and UMS support. > > Signed-off-by: Tom Rini > Reviewed-by: Hans de Goede Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [ANN] U-Boot v2016.09.01 is released

2016-09-19 Thread Fabio Estevam
On Mon, Sep 19, 2016 at 1:07 PM, Tom Rini wrote: > On Mon, Sep 12, 2016 at 12:21:28PM -0400, Tom Rini wrote: > >> Hey all, >> >> I've released v2016.09 and it's now live on git and FTP and ACD (along >> with PGP sig file). > > Mistakes happen, and I'm announcing the release of v2016.09.01. This >

[U-Boot] [PATCH] cmd: Make CMD_USB_MASS_STORAGE visible only with USB_GADGET and default y

2016-09-19 Thread Tom Rini
In order for CMD_USB_MASS_STORAGE to be useful we must have USB_GADGET enabled, so only show this option when USB_GADGET is set. In addition, expand the help text so it's clearer what this does and given the overall utility of this command, make it enabled by default. Signed-off-by: Tom Rini ---

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 05:44:09PM +0200, Hans de Goede wrote: > Hi, > > On 19-09-16 17:00, Tom Rini wrote: > >On Mon, Sep 19, 2016 at 04:53:04PM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 19-09-16 16:03, Tom Rini wrote: > >>>Based on A13-OLinuXino, enable DFU and UMS support. > >>> > >>>Sign

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-19 Thread Andrew F. Davis
BTW, the following addresses that bounce should be removed from wherever you found them or added to .get_maintainer.ignore if they are part of old commits: Bo Shen Albert ARIBAUD Gerald Kerma Karl Beldan Vaibhav Hiremath Sudhakar Rajashekhara ___ U

[U-Boot] [ANN] U-Boot v2016.09.01 is released

2016-09-19 Thread Tom Rini
On Mon, Sep 12, 2016 at 12:21:28PM -0400, Tom Rini wrote: > Hey all, > > I've released v2016.09 and it's now live on git and FTP and ACD (along > with PGP sig file). Mistakes happen, and I'm announcing the release of v2016.09.01. This consists of two changes: - Revert "image-fit: switch ENOLINK

Re: [U-Boot] [RFC PATCH] kconfig: introduce kconfig for UBI

2016-09-19 Thread Andrew F. Davis
On 09/14/2016 12:03 AM, Heiko Schocher wrote: > move the UBI config options into Kconfig. > > Signed-off-by: Heiko Schocher > --- > Tested with tbot: > http://lists.denx.de/pipermail/u-boot/2016-June/258119.html > > result: > Boards : 1196 > compile err : 36 > not checked : 0 > U-Boot good

Re: [U-Boot] [PATCH v2] watchdog: Fix Watchdog Reset while in U-Boot Prompt

2016-09-19 Thread Andreas Reichel
Hi Tom, is my patch going to be applied or is the problem resolved otherwhise? Kind regards Andreas On Mo, Sep 05, 2016 at 07:04:53 -0600, Simon Glass wrote: > +Tom, in case this should go into the release. > > On 1 August 2016 at 05:49, Andreas J. Reichel > wrote: > > This patch fixes unw

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Hans de Goede
Hi, On 19-09-16 17:00, Tom Rini wrote: On Mon, Sep 19, 2016 at 04:53:04PM +0200, Hans de Goede wrote: Hi, On 19-09-16 16:03, Tom Rini wrote: Based on A13-OLinuXino, enable DFU and UMS support. Signed-off-by: Tom Rini --- With this change I've added DFU to my tests on this board, and assumin

Re: [U-Boot] ad-hoc CONFIG build error

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 09:14:30AM -0600, Stephen Warren wrote: > Tom, Simon, > > I'm seeing the following error when building sandbox in either > u-boot.git master branch or u-boot-dm.git master branch: > > Error: You must add new CONFIG options using Kconfig > The following new ad-hoc CONFIG o

[U-Boot] ad-hoc CONFIG build error

2016-09-19 Thread Stephen Warren
Tom, Simon, I'm seeing the following error when building sandbox in either u-boot.git master branch or u-boot-dm.git master branch: Error: You must add new CONFIG options using Kconfig The following new ad-hoc CONFIG options were detected: CONFIG_DISK CONFIG_HAVE_GENERIC_BOARD CONFIG_ROCKCHIP_

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Hans de Goede
Hi, On 19-09-16 16:03, Tom Rini wrote: Based on A13-OLinuXino, enable DFU and UMS support. Signed-off-by: Tom Rini --- With this change I've added DFU to my tests on this board, and assuming a follow up test with the SD image that kicks the board into FEL works, I'll then enable the UMS tests

Re: [U-Boot] [PATCH] A20-OLinuXino-Lime2: Enable USB gadget support

2016-09-19 Thread Tom Rini
On Mon, Sep 19, 2016 at 04:53:04PM +0200, Hans de Goede wrote: > Hi, > > On 19-09-16 16:03, Tom Rini wrote: > >Based on A13-OLinuXino, enable DFU and UMS support. > > > >Signed-off-by: Tom Rini > >--- > >With this change I've added DFU to my tests on this board, and assuming a > >follow up test w

Re: [U-Boot] [PATCH 4/9] arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: > On 09/15/2016 09:27 AM, Chin Liang See wrote: > > Adding new handoff for SDRAM ctrcfg.extratime1 which is > > required for stabil LPDDR2 operation > > Same comment as 2/9 applies to the rest Yup, we just need 1/9. Thanks Chin Liang > >

Re: [U-Boot] [PATCH 3/9] arm: socfpga: mcvevk: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: > On 09/15/2016 09:27 AM, Chin Liang See wrote: > > Adding new handoff for SDRAM ctrcfg.extratime1 which is > > required for stabil LPDDR2 operation > > Same comment as 2/9 Yup, this patch is not required. Thanks Chin Liang > > > Signed-off

Re: [U-Boot] [PATCH 2/9] arm: socfpga: Adding handoff for SDRAM ctrlcfg.extratime1

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 16:24 +0200, Marek Vasut wrote: > On 09/15/2016 09:27 AM, Chin Liang See wrote: > > Adding new handoff for SDRAM ctrcfg.extratime1 which is > > required for stabil LPDDR2 operation > > ... stable ... > > Isn't SoCDK using DDR3 DRAM ? Yah, you are right where we won't need t

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Chin Liang See
On Mon, 2016-09-19 at 16:22 +0200, Marek Vasut wrote: > On 09/15/2016 09:26 AM, Chin Liang See wrote: > > To enable configuration of sdr.ctrlcfg.extratime1 register which > > enable > > extra clocks for read to write command timing. This is critical to > > ensure successful LPDDR2 interface > > >

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2016-09-19 Thread Armando Visconti
Ciao Michael, Did you test it? It seems that all the platform related changes (pinmux, board file, ...) are there. Pls let us know, Armando On 09/19/2016 01:59 PM, Michael Brandl wrote: Ciao Armando, Hi Jagan, On Friday I found another driver implementation already on my desktop, by grepping

[U-Boot] [FASTBOOT] increase envstr[] length from 32 to 64

2016-09-19 Thread Nicolas le bayon
Hi, The following commit has been pushed in order to retrieve envrionment variables for fastboot: fastboot: allow retrieving fastboot variables from env (74322201dde4593dc3194c702e95e5760e6b497a) The file is drivers/usb/gadget/f_fastboot.c, function is cb_getvar It uses à 32-char array (char env

Re: [U-Boot] [PATCH 1/9] ddr: altera: Configuring SDRAM extra cycles timing parameters

2016-09-19 Thread Marek Vasut
On 09/15/2016 09:26 AM, Chin Liang See wrote: > To enable configuration of sdr.ctrlcfg.extratime1 register which enable > extra clocks for read to write command timing. This is critical to > ensure successful LPDDR2 interface > > Signed-off-by: Chin Liang See > --- > arch/arm/mach-socfpga/includ

  1   2   >