Re: [U-Boot] Rockchip patches for testing

2016-09-22 Thread Kever Yang
Hi Simon, On 09/23/2016 11:17 AM, Simon Glass wrote: Hi, I have pushed a branch to u-boot-rockchip/testing. Please take a look and let me know if any of these patches need rework. Are there more patches coming for this merge window? Re rk3399, one of the patches causes a build error on rk3399

Re: [U-Boot] [RFC PATCH 1/2] dm: Add support for scsi/sata based devices

2016-09-22 Thread Michal Simek
Hi Simon, 2016-09-08 15:57 GMT+02:00 Michal Simek : > All sata based drivers are bind and corresponding block > device is created. Based on this find_scsi_device() is able > to get back block device based on scsi_curr_dev pointer. > > intr_scsi() is commented now but it can be replaced by calling

Re: [U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts

2016-09-22 Thread Wenyou.Yang
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年9月23日 12:17 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Stephen Warren > ; Andreas Bießmann ; Wenyou > Yang - A41535 > Subject: Re: [PATCH v1] ARM: dts: Makefile: Use b

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

2016-09-22 Thread Simon Glass
Hi, On 20 September 2016 at 06:42, Keerthy wrote: > > > On Tuesday 20 September 2016 05:23 PM, Simon Glass wrote: >> >> Hi, >> >> On 19 September 2016 at 00:17, Keerthy wrote: >>> >>> Add u8 i2c read/write hooks. >>> >>> Signed-off-by: Keerthy >>> --- >>> drivers/i2c/i2c-uclass.c | 10

Re: [U-Boot] [PATCH v2] mmc: mmc-uclass: Add mmc_init() in mmc preinit phrase

2016-09-22 Thread Simon Glass
Hi, On 12 September 2016 at 20:31, Wenyou Yang wrote: > Add mmc_init() in the mmc preinit phrase to get the device's > information. Otherwise, if the environment variables are from > the mmc device, it will fail with "** Bad device size - mmc 1 **". > > Signed-off-by: Wenyou Yang > --- > > Chang

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

2016-09-22 Thread Simon Glass
On 19 September 2016 at 12:20, Stephen Warren wrote: > 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 increment

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

2016-09-22 Thread Simon Glass
On 19 September 2016 at 12:20, Stephen Warren wrote: > 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 dep

Re: [U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts

2016-09-22 Thread Simon Glass
Hi, On 18 September 2016 at 01:40, Wenyou Yang wrote: > To avoid to compile all AT91 SoCs' board dts files, use the board > to decide to build its corresponding dts, instead of > CONFIG_AT91FAMILY. > > Signed-off-by: Wenyou Yang > --- > > arch/arm/dts/Makefile | 8 > 1 file changed, 4

Re: [U-Boot] [PATCH v2 1/2] serial: Kconfig: Add ATMEL_USART option

2016-09-22 Thread Simon Glass
On 12 September 2016 at 20:37, Wenyou Yang wrote: > Add ATMEL_USART option to support to enable the Atmel usart driver > from Kconfig. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > drivers/serial/Kconfig | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 2/2] input: specify the default of I8042_KEYB in more correct manner

2016-09-22 Thread Simon Glass
On 19 September 2016 at 06:46, Masahiro Yamada wrote: > 2016-09-19 9:57 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 8 September 2016 at 03:47, Masahiro Yamada >> wrote: >>> Creating multiple entries of "config FOO" often gives us bad >>> experiences. In this case, we should specify "default

Re: [U-Boot] [PATCH] fpga: Add Kconfig to fpga subsystem

2016-09-22 Thread Simon Glass
On 19 September 2016 at 02:47, Michal Simek wrote: > Add missing Kconfig to fpga subsystem to be able > to add new options. > > Signed-off-by: Michal Simek > --- > > drivers/Kconfig | 2 ++ > drivers/fpga/Kconfig | 3 +++ > 2 files changed, 5 insertions(+) > create mode 100644 drivers/fpga

Re: [U-Boot] [RESEND PATCH 02/10] Add as a wrapper of

2016-09-22 Thread Simon Glass
On 20 September 2016 at 20:28, Masahiro Yamada wrote: > This will be used to consolidate errno.h variants. > > Signed-off-by: Masahiro Yamada > --- > > include/linux/errno.h | 6 ++ > 1 file changed, 6 insertions(+) > create mode 100644 include/linux/errno.h Reviewed-by: Simon Glass _

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

2016-09-22 Thread Simon Glass
Hi, On 19 September 2016 at 00:17, Keerthy wrote: > Add support to bind the regulators/child nodes with the pmic. > > Signed-off-by: Keerthy > Reviewed-by: Simon Glass > --- > drivers/power/pmic/Kconfig | 7 + > drivers/power/pmic/Makefile | 1 + > drivers/power/pmic/palmas.c | 77 > ++

Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver

2016-09-22 Thread Simon Glass
Hi, On 8 September 2016 at 00:47, Paul Burton wrote: > Provide a trivial syscon driver matching the generic "syscon" compatible > string, allowing for simple system controllers to be used without a > custom driver just as in Linux. > > Signed-off-by: Paul Burton > > --- > > Changes in v7: None >

Re: [U-Boot] [PATCH v7 09/12] dm: core: Match compatible strings in order of priority

2016-09-22 Thread Simon Glass
Hi, On 8 September 2016 at 00:47, Paul Burton wrote: > Device model drivers have previously been matched to FDT nodes by virtue > of being the first driver in the driver list to be compatible with the > node. This ignores the fact that compatible strings in the device tree > are listed in order o

Re: [U-Boot] [RESEND PATCH 01/10] treewide: use #include <...> to include public headers

2016-09-22 Thread Simon Glass
On 20 September 2016 at 20:28, Masahiro Yamada wrote: > We are supposed to use #include <...> to include headers in the > public include paths. We should use #include "..." only for headers > in local directories. > > Signed-off-by: Masahiro Yamada > --- > > arch/powerpc/cpu/mpc83xx/qe_io.c |

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

2016-09-22 Thread Simon Glass
On 19 September 2016 at 00:17, 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. > > Signed

Re: [U-Boot] [PATCH v2] cros_ec: Fix issue with cros_ec_flash_write command

2016-09-22 Thread Simon Glass
On 12 September 2016 at 13:57, Moritz Fischer wrote: > This commit fixes an issue where data is written to an > invalid memory location. > The issue has been introduced in commit > (88364387 cros: add cros_ec_driver) > > Cc: Simon Glass > Cc: u-boot@lists.denx.de > Signed-off-by: Moritz Fischer

Re: [U-Boot] [PATCH] cmd: usb: run 'usb start' when USB is stopped

2016-09-22 Thread Simon Glass
+Marek On 9 September 2016 at 04:20, Jaehoon Chung wrote: > If USB is stopped, just run 'usb start' instead of printing message. > Then user didn't consider whether usb is started or stopped. > > Signed-off-by: Jaehoon Chung > --- > cmd/usb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

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

2016-09-22 Thread Simon Glass
Hi Tom, On 19 September 2016 at 13:14, Tom Rini wrote: > 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 l

[U-Boot] [RFC PATCH v1] common/console.c: ensure GD_FLG_SILENT is set or cleared

2016-09-22 Thread Chris Packham
When CONFIG_SILENT_CONSOLE is defined and the default environment has silent=1 it is not possible for a user to make the console un-silent if the environment is not available when console_init_f() is called (for example because the environment is in SPI). Add a new helper function console_update_s

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

2016-09-22 Thread Simon Glass
Hi, On 19 September 2016 at 21:50, wrote: > > 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), assemb

[U-Boot] Rockchip patches for testing

2016-09-22 Thread Simon Glass
Hi, I have pushed a branch to u-boot-rockchip/testing. Please take a look and let me know if any of these patches need rework. Are there more patches coming for this merge window? Re rk3399, one of the patches causes a build error on rk3399. Can someone please take a look? buildman -b rk-push r

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

2016-09-22 Thread Simon Glass
On 19 September 2016 at 21:28, 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 > --- > > Changes in v2: None > > arch/arm/dts/rk3288-evb.dts | 3 --- > arch/arm/dts/rk

Re: [U-Boot] [PATCH 4/4] rockchip: add boot-mode support for rk3288, rk3036

2016-09-22 Thread Simon Glass
On 19 September 2016 at 04:46, Jacob Chen wrote: > rockchip platform have a protocol to pass the the kernel reboot mode to > bootloader > by some special registers when system reboot. In bootloader we should read it > and take action. > > We can only setup boot_mode in board_late_init becasue "s

Re: [U-Boot] [PATCH 3/4] rockchip: move common function from board-file to rk3036-board.c

2016-09-22 Thread Simon Glass
On 19 September 2016 at 04:46, Jacob Chen wrote: > To keep it same with 3288 > > Signed-off-by: Jacob Chen > --- > > arch/arm/mach-rockchip/Makefile| 1 + > arch/arm/mach-rockchip/rk3036-board.c | 83 > ++ > board/rockchip/evb_rk3036/evb_rk3036.c

Re: [U-Boot] [PATCH 2/4] rockchip: rename board.c to rk3288-board.c

2016-09-22 Thread Simon Glass
On 19 September 2016 at 04:46, Jacob Chen wrote: > Signed-off-by: Jacob Chen > --- > > arch/arm/mach-rockchip/Makefile| 2 +- > arch/arm/mach-rockchip/{board.c => rk3288-board.c} | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) > rename arch/arm/mach-rockchip/{board.c =

Re: [U-Boot] [PATCH 1/4] rockchip: move partitons define from 3036-kylin to 3036-common

2016-09-22 Thread Simon Glass
On 19 September 2016 at 04:46, Jacob Chen wrote: > To keep it same with 3288. > > Signed-off-by: Jacob Chen > --- > > include/configs/kylin_rk3036.h | 24 > include/configs/rk3036_common.h | 10 ++ > 2 files changed, 10 insertions(+), 24 deletions(-) Acked-by:

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-09-22 Thread Simon Glass
Hi Sandy, On 12 August 2016 at 11:35, Sandy Patterson wrote: > > > On Fri, Aug 12, 2016 at 1:20 PM, Simon Glass wrote: >> >> Hi Ziyuan, >> >> On 11 August 2016 at 05:35, Ziyuan Xu wrote: >> > >> > >> > On 2016年08月11日 19:31, Sandy Patterson wrote: >> >> >> >> Simon, >> >> >> >> I am trying to fo

Re: [U-Boot] [PATCH] rockchip: rk3288: sdram: fix DDR address range

2016-09-22 Thread Ziyuan Xu
Hi Simon, On 2016年09月23日 10:39, Simon Glass wrote: Hi, On 4 September 2016 at 19:39, Ziyuan Xu wrote: The all current Rockchip SoCs supporting 4GB of ram have problems accessing the memory region 0xfe00~0xff00. Actually, some IP controller can't address to, so let's limit the availab

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

2016-09-22 Thread Simon Glass
Hi Kever, On 19 September 2016 at 21:28, 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

Re: [U-Boot] [PATCH 1/3] mmc: dw_mmc: change the read/write order under fifo mode

2016-09-22 Thread Ziyuan Xu
hi Simon, On 2016年09月23日 10:39, Simon Glass wrote: Hi, On 7 September 2016 at 21:54, Jaehoon Chung wrote: On 09/08/2016 12:43 PM, Ziyuan Xu wrote: On 2016年09月07日 14:50, Jaehoon Chung wrote: On 09/07/2016 03:14 PM, Ziyuan Xu wrote: hi Jaehoon, On 2016年08月30日 17:54, Jaehoon Chung wrote:

Re: [U-Boot] [PATCH 1/3] mmc: dw_mmc: change the read/write order under fifo mode

2016-09-22 Thread Simon Glass
Hi, On 7 September 2016 at 21:54, Jaehoon Chung wrote: > On 09/08/2016 12:43 PM, Ziyuan Xu wrote: >> >> >> On 2016年09月07日 14:50, Jaehoon Chung wrote: >>> On 09/07/2016 03:14 PM, Ziyuan Xu wrote: hi Jaehoon, On 2016年08月30日 17:54, Jaehoon Chung wrote: > Hi Jacob, > >

Re: [U-Boot] [PATCH v2 6/7] dts: evb-rk3399: add init voltage node for vdd-center

2016-09-22 Thread Simon Glass
On 8 September 2016 at 19:19, Kever Yang wrote: > Add a regulator-init-microvolt for vdd_center regulator > so that we can get a init value for driver probe. > Not like pmic regulator, the PWM regulator do not have a > known default output value, so we would like to init the > regulator when drive

Re: [U-Boot] [PATCH v2 3/7] power: regulator: add pwm regulator

2016-09-22 Thread Simon Glass
On 8 September 2016 at 19:19, Kever Yang wrote: > add driver support for pwm regulator. > > Signed-off-by: Elaine Zhang > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add comments for pwm_regulator_info struct member > - do not init pwm_id if there is none > - other fix for comments fr

Re: [U-Boot] [PATCH] rockchip: rk3288: sdram: fix DDR address range

2016-09-22 Thread Simon Glass
Hi, On 4 September 2016 at 19:39, Ziyuan Xu wrote: > The all current Rockchip SoCs supporting 4GB of ram have problems > accessing the memory region 0xfe00~0xff00. Actually, some IP > controller can't address to, so let's limit the available range. > > This patch fixes a bug which found i

Re: [U-Boot] [PATCH v2 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-22 Thread Simon Glass
On 8 September 2016 at 19:19, Kever Yang wrote: > Update PPLL to 676MHz and PMU_PCLK to 48MHz, because: > 1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz > can not, > 2. We think 48MHz is fast enough for pmu pclk and it is lower power cost > than 99MHz, > 3. PPLL 676 MHz and

Re: [U-Boot] [PATCH] rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled

2016-09-22 Thread Simon Glass
Acked-by: Simon Glass On 13 August 2016 at 05:08, Ziyuan Xu wrote: > Acked-by: Ziyuan Xu > > > On 2016年08月11日 19:08, Sandy Patterson wrote: >> >> >> On Wed, Aug 10, 2016 at 11:01 PM, Ziyuan Xu > > wrote: >> >> >> >> On 2016年08月10日 22:21, Sandy Patterson wrote:

Re: [U-Boot] [PATCH] ns16650: Make sure we have CONFIG_CLK set before using infrastructure

2016-09-22 Thread Masahiro Yamada
Hi Tom, 2016-09-23 10:11 GMT+09:00 Tom Rini : > We cannot call on the CONFIG_CLK based clk_get_rate function unless > CONFIG_CLK is set. > > Signed-off-by: Tom Rini > --- > drivers/serial/ns16550.c | 7 +-- > include/clk.h| 25 - > 2 files changed, 17 in

Re: [U-Boot] Please pull u-boot-rockchip (take 2)

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 02:08:30PM -0600, Simon Glass wrote: > Hi Tom, > > I've moved the offending CONFIG to Kconfig. Sorry I missed this. > > > The following changes since commit a2ed3f452dd1cf4982fe46d5111d200909786686: > > Merge git://git.denx.de/u-boot-dm (2016-09-20 09:34:53 -0400) >

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-09-22 Thread Tom Rini
On Fri, Sep 23, 2016 at 01:03:40AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull some more updates for UniPhier SoCs: > > - Move config options > - Add PLL init code for LD11 SoC > - Improve/cleanup clk driver > - Sync Device Trees with Linux > > The following changes since co

Re: [U-Boot] [GIT PULL] Xilinx changes v2

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 09:52:26AM +0200, Michal Simek wrote: > Hi, > > I have rebased my tree on the top of current master branch > with IDENT_STRING in Kconfig. > Also that PL driver for ZynqMP was fixed. > Buildman output look good too. > That's why please apply. > > Thanks, > Michal > > >

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

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 08:32:48PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit 9b1b6d42256a4c2e59c803afdbf90d39371e61ba: > > Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL" > (2016-09-19 15:2

Re: [U-Boot] [PATCH] ns16650: Make sure we have CONFIG_CLK set before using infrastructure

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 09:11:22PM -0400, Tom Rini wrote: > We cannot call on the CONFIG_CLK based clk_get_rate function unless > CONFIG_CLK is set. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH] ns16650: Make sure we have CONFIG_CLK set before using infrastructure

2016-09-22 Thread Tom Rini
We cannot call on the CONFIG_CLK based clk_get_rate function unless CONFIG_CLK is set. Signed-off-by: Tom Rini --- drivers/serial/ns16550.c | 7 +-- include/clk.h| 25 - 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/drivers/serial/ns165

Re: [U-Boot] [PATCH] doc: socfpga: Update README.socfpga for Preloader development flow

2016-09-22 Thread Chin Liang See
On Wed, 2016-09-21 at 11:59 +0200, Marek Vasut wrote: > On 09/21/2016 04:35 AM, Chin Liang See wrote: > > Update documentation to include the Cyclone V SoC Preloader > > development flow. This include the update of Preloader handoff > > through qts-filter.sh script. At same time, removed the SDMMC

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-22 Thread Scott Wood
On 09/22/2016 03:55 AM, Prabhakar Kushwaha wrote: > Hi Scott, > > Sorry for late reply on this thread > > >> -Original Message- >> From: Scott Wood >> Sent: Friday, September 09, 2016 7:30 AM >> To: Prabhakar Kushwaha ; york sun >> ; u-boot@lists.denx.de >> Subject: Re: [PATCH] arch: ifc

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

2016-09-22 Thread Marek Vasut
On 09/22/2016 10:39 PM, Dinh Nguyen wrote: > > > On 09/20/2016 09:26 PM, Chin Liang See wrote: >> Adding new handoff for SDRAM ctrcfg.extratime1 which is >> required for stable LPDDR2 operation. Since the board is >> using DDR3, the handoff is set to default value 0. >> >> Signed-off-by: Chin Lia

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

2016-09-22 Thread Dinh Nguyen
On 09/20/2016 09:26 PM, Chin Liang See wrote: > Adding new handoff for SDRAM ctrcfg.extratime1 which is > required for stable LPDDR2 operation. Since the board is > using DDR3, the handoff is set to default value 0. > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > --- >

[U-Boot] Please pull u-boot-rockchip (take 2)

2016-09-22 Thread Simon Glass
Hi Tom, I've moved the offending CONFIG to Kconfig. Sorry I missed this. The following changes since commit a2ed3f452dd1cf4982fe46d5111d200909786686: Merge git://git.denx.de/u-boot-dm (2016-09-20 09:34:53 -0400) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git

[U-Boot] long-term plans to get rid of include/configs/ directory?

2016-09-22 Thread Robert P. J. Day
correct me if i'm wrong, but i vaguely recall that the long-term goal is to remove the include/configs/ directory, and move all target-specific content to defconfig files, is that right? in combination with adding all that content to the Kbuild structure, of course. am i understanding that co

[U-Boot] [PATCH] board: ge: bx50v3: Pass video bootargs for b850v3

2016-09-22 Thread Akshay Bhat
From: Ken Lin Due to clock source restrictions on i.MX6, certain pixel clock rates can not be supported. Hence default the resolution/frame rate during boot to a supported value by passing video bootargs 1024x768@60 for HDMI (Display Port1) and LVDS (Display Port2) on B850v3. Signed-off-by: Ken

[U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig

2016-09-22 Thread Sam Protsenko
Now that fastboot options are available in Kconfig, we can migrate them from DRA7 header to corresponding DRA7 defconfigs. Signed-off-by: Sam Protsenko --- configs/dra7xx_evm_defconfig| 8 configs/dra7xx_hs_evm_defconfig | 8 include/configs/dra7xx_evm.h| 18 +

[U-Boot] [PATCH] board: tbs2910: Add CMD_PART

2016-09-22 Thread Soeren Moch
There is no stable mmcblk device numbering over different linux versions. Enable CMD_PART to be able to query the UUID of the root filesystem partition. So we can pass root=PARTUUID=XXX instead of root=/dev/mmcblkXpY in bootargs. Leave the default environment as is for now to stay compatible with o

Re: [U-Boot] [RFC Patch 0/5] Resolve conflict for merging

2016-09-22 Thread york sun
On 09/21/2016 08:06 PM, Prabhakar Kushwaha wrote: >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of York Sun >> Sent: Thursday, September 22, 2016 4:21 AM >> To: tr...@konsulko.com >> Cc: u-boot@lists.denx.de >> Subject: [U-Boot] [RFC Patch 0/5] Resolv

[U-Boot] pull request: u-boot-uniphier/master

2016-09-22 Thread Masahiro Yamada
Hi Tom, Please pull some more updates for UniPhier SoCs: - Move config options - Add PLL init code for LD11 SoC - Improve/cleanup clk driver - Sync Device Trees with Linux The following changes since commit bbdae1651e96a4fca82b16765e641649170656e5: omap4_panda: Disable ext2/3/4 suppor

Re: [U-Boot] [PATCH 0/5] ARM: uniphier: UniPhier updates (round 3) for v2016.11-rc1

2016-09-22 Thread Masahiro Yamada
2016-09-22 7:42 GMT+09:00 Masahiro Yamada : > - Add PLL init code for LD11 SoC > - Cleanup clk driver > - Sync Device Trees > > > > Masahiro Yamada (5): > ARM: uniphier: add PLL init code for LD11 SoC > clk: uniphier: constify clock data arrays/structures > clk: uniphier: move U_BOOT_DR

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

2016-09-22 Thread Masahiro Yamada
2016-09-20 14:27 GMT+09:00 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

Re: [U-Boot] [PATCH 1/5] tools: imximage: add plugin support

2016-09-22 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:55:40AM +0800, van.free...@gmail.com wrote: > From: Peng Fan > > Add plugin support for imximage. > Define CONFIG_USE_PLUGIN to enable using plugin. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Eric Nelson > Cc: Ye Li We should always have plugin support

Re: [U-Boot] [PATCH 4/5] imx: mx6ullevk: support plugin

2016-09-22 Thread Tom Rini
On Mon, Sep 19, 2016 at 11:55:43AM +0800, van.free...@gmail.com wrote: > From: Peng Fan > > Add plugin code for mx6ullevk. > Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. > > Signed-off-by: Peng Fan > Cc: Stefano Babic So we need an option in arch/arm/cpu/armv7/

Re: [U-Boot] [PATCH] omap4_panda: Disable ext2/3/4 support in SPL

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 11:23:38AM -0400, Tom Rini wrote: > Pandaboard is growing again, disable EXT2/3/4 support in SPL save more > space. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

[U-Boot] [PATCH v3 15/16] arm: dts: imx6q: Add pinctrl defines

2016-09-22 Thread Jagan Teki
Add imx6q pinctrl defines support from Linux. Here is the last commit: "ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ" (sha1: d8c765e0d1ddbd5032c2491c82cc9660c2f0e7f2) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki

Re: [U-Boot] [PATCH] clk.h: Add

2016-09-22 Thread Tom Rini
On Wed, Sep 21, 2016 at 05:57:24PM -0400, Tom Rini wrote: > Since we return -ENOSYS in some cases we must have > available. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Bo

Re: [U-Boot] Please pull u-boot-mmc

2016-09-22 Thread Tom Rini
On Wed, Sep 21, 2016 at 04:29:37PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could pull these patches on u-boot/master? > > The following changes since commit 9b1b6d42256a4c2e59c803afdbf90d39371e61ba: > > Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL" > (2016-09-19

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2016-09-22 Thread Tom Rini
On Wed, Sep 21, 2016 at 05:49:14PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > this pull-request introduces: > - new board: MIPSfpga > - new board: Boston with variants for MIPS32r2/MIPS64r2 and BE/LE > - updates to DM core code needed for Boston board > - support for L2 cache and MIPS coheren

[U-Boot] [PATCH v3 10/16] dt-bindings: clock: imx6qdl: Add clock defines

2016-09-22 Thread Jagan Teki
Add imx6qdl clock header defines support from Linux. "clk: imx: Add clock support for imx6qp" (sha1: ee36027427c769b0b9e5e205fe43aced93d6aa66) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- include/dt-bindings/clock/imx6

[U-Boot] [PATCH v3 11/16] arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo

2016-09-22 Thread Jagan Teki
i.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more info at http://www.eng

[U-Boot] [PATCH v3 16/16] arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual

2016-09-22 Thread Jagan Teki
i.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more info at http://www.engicam

[U-Boot] [PATCH v3 13/16] engicam: icorem6: Add DM_GPIO, DM_MMC support

2016-09-22 Thread Jagan Teki
Add DM_GPIO, DM_MMC support for u-boot and disable for SPL. Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 2 + board/engicam/icorem6/icorem6.c | 142 ---

[U-Boot] [PATCH v3 14/16] arm: dts: Add devicetree for i.MX6Q

2016-09-22 Thread Jagan Teki
Add i.MX6Q dtsi support from Linux. Here is the last commit: "ARM: dts: add gpio-ranges property to iMX GPIO controllers" (sha1: bb728d662bed0fe91b152550e640cb3f6caa972c) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- ar

[U-Boot] [PATCH v3 12/16] imx6q: icorem6: Enable pinctrl driver

2016-09-22 Thread Jagan Teki
Enable imx6 pinctrl driver support for i.CoreM6. Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6qdl_icore_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/imx6qdl_icore_defconfig b/confi

[U-Boot] [PATCH v3 09/16] arm: dts: imx6dl: Add pinctrl defines

2016-09-22 Thread Jagan Teki
Add imx6dl pinctrl defines support from Linux. Here is the last commit: "ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ" (sha1: d8c765e0d1ddbd5032c2491c82cc9660c2f0e7f2) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v3 08/16] arm: dts: Add devicetree for i.MX6DQL

2016-09-22 Thread Jagan Teki
Add i.MX6DQL dtsi support from Linux. Here is the last commit: "ARM: dts: imx6qdl: Fix SPDIF regression" (sha1: f065e9e4addd75c21bb976bb2558648bf4f61de6) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qd

[U-Boot] [PATCH v3 06/16] imx: s/docs\/README.imximage/doc\/README.imximage/g

2016-09-22 Thread Jagan Teki
Fixed typo for doc/README.imximage on respective imximage.cfg files. Cc: Tom Rini Cc: Stefano Babic Cc: Fabio Estevam Acked-by: Peng Fan Signed-off-by: Jagan Teki --- board/barco/titanium/imximage.cfg | 2 +- board/ccv/xpress/imximage.cfg | 2 +- board/denx/m53evk/imx

[U-Boot] [PATCH v3 07/16] arm: dts: Add devicetree for i.MX6DL

2016-09-22 Thread Jagan Teki
Add i.MX6DL dtsi support from Linux. Here is the last commit: "ARM: dts: add gpio-ranges property to iMX GPIO controllers" (sha1: bb728d662bed0fe91b152550e640cb3f6caa972c) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- a

[U-Boot] [PATCH v3 05/16] imx6: icorem6: Add ENET support

2016-09-22 Thread Jagan Teki
Add enet support for engicam icorem6 qdl starter kit. - Add pinmux settings - Add board_eth_init TFTP log: Net: FEC [PRIME] Hit any key to stop autoboot: 0 icorem6qdl> tftpboot {fdt_addr} imx6dl-icore.dtb Using FEC device TFTP from server 192.168.2.96; our IP address is 192.168.2.75 Fi

[U-Boot] [PATCH v3 03/16] Kconfig: Add DEFAULT_FDT_FILE entry

2016-09-22 Thread Jagan Teki
Add kconfig entry for CONFIG_DEFAULT_FDT_FILE Cc: Tom Rini Cc: Simon Glass Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- common/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 46e7173..f4e1ab6 100644 --- a/common/Kconfig +++ b/commo

[U-Boot] [PATCH v3 04/16] arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support

2016-09-22 Thread Jagan Teki
Boot Log for i.CoreM6 DualLite/Solo Starter Kit: --- U-Boot SPL 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46) Trying to boot from MMC1 U-Boot 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46 +0530) CPU: Freescale i.MX6SOLO rev1.3 at 792MHz CP

[U-Boot] [PATCH v3 02/16] thermal: Kconfig: Add IMX_THERMAL entry

2016-09-22 Thread Jagan Teki
Added kconfig for IMX_THERMAL driver. Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- drivers/thermal/Kconfig | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/thermal/Kconfig b/dr

[U-Boot] [PATCH v3 01/16] serial: Kconfig: Add MXC_UART entry

2016-09-22 Thread Jagan Teki
Added kconfig for MXC_UART driver. Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- drivers/serial/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/

[U-Boot] [PATCH] omap4_panda: Disable ext2/3/4 support in SPL

2016-09-22 Thread Tom Rini
Pandaboard is growing again, disable EXT2/3/4 support in SPL save more space. Signed-off-by: Tom Rini --- configs/omap4_panda_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig index af6dc31a1d5f..e496afe9f879 100644 --- a/

[U-Boot] [PATCH v3 00/16] imx6: Add Engicam i.CoreM6 QDL support

2016-09-22 Thread Jagan Teki
This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx.git/next and test on the respective starter kits as well. Changes for v3: - Remove "v2 01/17 imx: iomux-v3: Fix build error with snvs base" patch - Remove 'default n' on Kconfig DEFAULT_FDT_FILE patch -

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

2016-09-22 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit 9b1b6d42256a4c2e59c803afdbf90d39371e61ba: Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL" (2016-09-19 15:20:09 -0400) are available in the git repository at: git://git.denx.de/u-boot-sp

Re: [U-Boot] [PATCH v4 0/7] spi/sf: Code removal/update

2016-09-22 Thread Jagan Teki
On Wed, Sep 21, 2016 at 2:36 AM, Jagan Teki wrote: > This series is the spilt one of v3 "spi/sf: Update on flash detection" [1] > and deals with Code remove and update. > > Changes for v3: > - New patches > - Fix checkpatch.pl > - Fix BIT positions in spi.h > - Fix

[U-Boot] [PATCH 1/2] build-whitelist: do not add new options to whitelist when update

2016-09-22 Thread Masahiro Yamada
If somebody adds a reference to a new CONFIG option in .c files, it will be added in the whitelist when we sync it. (For example, if we run scripts/build-whitelist.sh against commit a2ed3f452dd1, a new option CONFIG_USB_XHCI_UNIPHIER will appear in the list.) In order to make steady progress of Kc

[U-Boot] [PATCH 2/2] Sync config_whitelist.txt

2016-09-22 Thread Masahiro Yamada
It is a good practice to drop a option from the whitelist when we convert it to Kconfig, but we may sometimes forget to do that. So, it might be a good idea to sync the whitelist from time to time. This commit was generated by: scripts/build-whitelist.sh Looks like we had a bit progress... Si

[U-Boot] [PATCH 0/2] config whitelist: tool update and sync

2016-09-22 Thread Masahiro Yamada
The current build-whitelist.sh allows to add new options into the whitelist. For example, it is possible that somebody adds #ifdef CONFIG_NEW_OPTITON to his C file. So, the build-whitelist.sh will pick it up when we run it next time. We never want to increase the ad-hoc options. 1/2 bans such a c

Re: [U-Boot] Please pull u-boot-rockchip

2016-09-22 Thread Simon Glass
Hi Tom, On 20 September 2016 at 13:25, Tom Rini wrote: > On Sun, Sep 18, 2016 at 09:09:46PM -0600, Simon Glass wrote: > >> Hi Tom, >> >> Here is some more RK3399 support and a few other changes. >> >> >> The following changes since commit 9a6535e05f17acf03e891266a650cb6029124743: >> >> Merge br

Re: [U-Boot] [PATCH 2/2] rk3399: move the USB_XHCI_ROCKCHIP into Kconfig

2016-09-22 Thread Simon Glass
Hi Kever, On 20 September 2016 at 21:35, Kever Yang wrote: > Move USB_XHCI_ROCKCHIP define from soc header file into board defconfig. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3399_defconfig| 2 ++ > include/configs/rk3399_common.h | 4 > 2 files changed, 2 insertions(+), 4

Re: [U-Boot] [PATCH 1/2] usb: host: add Kconfig for USB_XHCI_ROCKCHIP

2016-09-22 Thread Simon Glass
On 21 September 2016 at 03:55, Marek Vasut wrote: > > On 09/21/2016 05:35 AM, Kever Yang wrote: > > Add a Kconfig for Rockchip xhci controller. > > > > Signed-off-by: Kever Yang > > Acked-by: Marek Vasut > > Feel free to pick it through rockchip tree . > Applied to u-boot-rockchip, thanks!

Re: [U-Boot] [PATCH v2] cmd/fdt: add possibilty to have 'extrasize' on fdt resize

2016-09-22 Thread Simon Glass
On 20 September 2016 at 10:10, Hannes Schmelzer wrote: > > From: Hannes Schmelzer > > Sometimes devicetree nodes and or properties are added out of the u-boot > console, maybe through some script or manual interaction. > > The devicetree as loaded or embedded is quite small, so the devicetree > h

Re: [U-Boot] [RFC Patch 2/5] driver: ddr: fsl_mmdc: Pass board parameters through data structure

2016-09-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of York Sun > Sent: Thursday, September 22, 2016 4:21 AM > To: tr...@konsulko.com > Cc: u-boot@lists.denx.de > Subject: [U-Boot] [RFC Patch 2/5] driver: ddr: fsl_mmdc: Pass board parameters > through data s

Re: [U-Boot] [RFC Patch 0/5] Resolve conflict for merging

2016-09-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of York Sun > Sent: Thursday, September 22, 2016 4:21 AM > To: tr...@konsulko.com > Cc: u-boot@lists.denx.de > Subject: [U-Boot] [RFC Patch 0/5] Resolve conflict for merging > > Tom, > > I made these patch

Re: [U-Boot] [RFC Patch 2/5] driver: ddr: fsl_mmdc: Pass board parameters through data structure

2016-09-22 Thread Tom Rini
On Thu, Sep 22, 2016 at 03:04:31AM +, Prabhakar Kushwaha wrote: > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of York Sun > > Sent: Thursday, September 22, 2016 4:21 AM > > To: tr...@konsulko.com > > Cc: u-boot@lists.denx.de > > Subject: [U-B

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

2016-09-22 Thread Michal Simek
From: 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 binary. The table is a simple text file with register+data

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-22 Thread Prabhakar Kushwaha
Hi Scott, Sorry for late reply on this thread > -Original Message- > From: Scott Wood > Sent: Friday, September 09, 2016 7:30 AM > To: Prabhakar Kushwaha ; york sun > ; u-boot@lists.denx.de > Subject: Re: [PATCH] arch: ifc: update the IFC IP input clock > > On 09/08/2016 08:46 PM, Prabh

Re: [U-Boot] [PATCH 2/2] configs: fsl: Move SPI/SPI-FLASH configs to defconfig

2016-09-22 Thread Jagan Teki
On Thu, Sep 22, 2016 at 1:49 PM, Peng Fan wrote: > On Thu, Sep 22, 2016 at 01:32:12AM +0530, Jagan Teki wrote: >>From: Jagan Teki >> >>Moved FSL_QSPI/SPI/SPI-FLASH configs from include/configs >>into respective used defconfigs. >>- CONFIG_FSL_QSPI >>- CONFIG_SPI_FLASH >>- CONFIG_SPI_FLASH_BAR >>-

Re: [U-Boot] [PATCH 1/2] spi: Kconfig: Move FSL_QSPI entry to non-dm place

2016-09-22 Thread Jagan Teki
On Thu, Sep 22, 2016 at 1:48 PM, Peng Fan wrote: > On Thu, Sep 22, 2016 at 01:32:11AM +0530, Jagan Teki wrote: >>From: Jagan Teki >> >>Since FSL_QSPI driver still supporting non-dm code >>better to move the Kconfig from DM undefined place. >> >>Cc: Stefano Babic >>Cc: Peng Fan >>Signed-off-by:

Re: [U-Boot] [PATCH 2/2] configs: fsl: Move SPI/SPI-FLASH configs to defconfig

2016-09-22 Thread Peng Fan
On Thu, Sep 22, 2016 at 01:32:12AM +0530, Jagan Teki wrote: >From: Jagan Teki > >Moved FSL_QSPI/SPI/SPI-FLASH configs from include/configs >into respective used defconfigs. >- CONFIG_FSL_QSPI >- CONFIG_SPI_FLASH >- CONFIG_SPI_FLASH_BAR >- CONFIG_SPI_FLASH_STMICRO > >Cc: Stefano Babic >Cc: Peng Fa

Re: [U-Boot] [PATCH 1/2] spi: Kconfig: Move FSL_QSPI entry to non-dm place

2016-09-22 Thread Peng Fan
On Thu, Sep 22, 2016 at 01:32:11AM +0530, Jagan Teki wrote: >From: Jagan Teki > >Since FSL_QSPI driver still supporting non-dm code >better to move the Kconfig from DM undefined place. > >Cc: Stefano Babic >Cc: Peng Fan >Signed-off-by: Jagan Teki Reviewed-by: Peng Fan Thanks, Peng. >--- > dr

  1   2   >