[U-Boot] [PATCH v2 5/5] net: Move enetaddr env access code to env config instead of net config

2018-04-01 Thread Alex Kiernan
In order that we can use eth_env_* even when CONFIG_NET isn't set, move these functions to environment code from net code. This fixes failures such as: board/ti/am335x/built-in.o: In function `board_late_init': board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Marek Vasut
On 04/01/2018 03:19 PM, Tom Rini wrote: > On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: >> On Mon, Sep 4, 2017 at 9:57 PM, wrote: >>> Hi Tom, >>> >>> On 7 August 2017 at 09:39, Tom Rini wrote: On Sat, Aug 05, 2017 at 03:45:53PM -0600,

Re: [U-Boot] [PATCH 2/3] fs: cbfs: fix locating the cbfs header

2018-04-01 Thread Simon Glass
Hi, On 22 February 2018 at 08:08, Alexander Graf wrote: > > > On 15.02.18 07:40, Andre Heider wrote: >> The value at the end of the rom is not a pointer, it is an offset >> relative to the end of rom. > > Do you have any documentation pointers to this? Even just pointing to a >

Re: [U-Boot] [PATCH v2] core: ofnode: Fix translation for #size-cells == 0

2018-04-01 Thread Simon Glass
On 20 March 2018 at 01:58, Simon Glass wrote: > On 12 March 2018 at 07:53, Mario Six wrote: >> Commit 286ede6 ("drivers: core: Add translation in live tree case") made >> dev_get_addr always use proper bus translations for addresses read from >> the device

Re: [U-Boot] [U-Boot, v2, 2/2] pinctrl-uclass: convert to use live dt

2018-04-01 Thread Simon Glass
On 9 February 2018 at 18:15, Philipp Tomsich wrote: >> Use live dt interface for pinctrl_select_state_full() >> >> Signed-off-by: Kever Yang >> --- >> >> Changes in v2: None >> >> drivers/pinctrl/pinctrl-uclass.c | 20

[U-Boot] [PATCH v2 2/2] Cleanup CONFIG_VERSION_VARIABLE migration

2018-04-01 Thread Alex Kiernan
CONFIG_VERSION_VARIABLE had already been mostly migrated to Kconfig, but two headers still referenced it. Also set defaults so that most of the defconfigs inherit the default rather than needing it to be set explicitly. Signed-off-by: Alex Kiernan --- Changes in v2: -

[U-Boot] [PATCH v2 1/5] Migrate CONFIG_DRIVER_TI_CPSW to Kconfig

2018-04-01 Thread Alex Kiernan
This converts CONFIG_DRIVER_TI_CPSW to Kconfig Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger --- Changes in v2: - Move DRIVER_TI_CPSW outside of the NETDEVICES guard - Don't mark DRIVER_TI_CPSW default if ARCH_OMAP2PLUS to fix

[U-Boot] [PATCH v2 0/5] Build AM335x when CONFIG_NET isn't defined

2018-04-01 Thread Alex Kiernan
Attempting to build AM335x without CONFIG_NET defined fails in assorted ways. This series fixes up those failures. Green Travis build: https://travis-ci.org/akiernan/u-boot/builds/360614817 Changes in v2: - Move DRIVER_TI_CPSW outside of the NETDEVICES guard - Don't mark DRIVER_TI_CPSW default

Re: [U-Boot] [RFC][PATCH] cmd: fdt: Fix fdt address information after the movement

2018-04-01 Thread Simon Glass
Hi Marek, On 24 February 2018 at 19:09, Marek Vasut wrote: > From: Hiroyuki Yokoyama > > This patch fixes the address information of fdt. > > wrong case: > => fdt addr 0x4800 > => fdt move 0x4800 0x4100 0xa000 > => fdt addr

Re: [U-Boot] [PATCH 2/3] fs: cbfs: fix locating the cbfs header

2018-04-01 Thread Simon Glass
On 1 April 2018 at 22:19, Simon Glass wrote: > Hi, > > On 22 February 2018 at 08:08, Alexander Graf wrote: >> >> >> On 15.02.18 07:40, Andre Heider wrote: >>> The value at the end of the rom is not a pointer, it is an offset >>> relative to the end of rom. >> >>

Re: [U-Boot] [PATCH 3/5] image.h: add forward declaration of struct fdt_region

2018-04-01 Thread Simon Glass
On 23 March 2018 at 22:30, Simon Glass wrote: > On 21 March 2018 at 03:03, Masahiro Yamada > wrote: >> This header needs to know 'fdt_region' is a struct for the >> fit_region_make_list() prototype. >> >> Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH] dm: core: make fixed-clock dt scan live dt compatible

2018-04-01 Thread Simon Glass
On 20 March 2018 at 08:56, Andy Yan wrote: > Hi Simon: > > > > On 2018年03月20日 01:58, Simon Glass wrote: >> >> Hi Andy, >> >> On 10 March 2018 at 23:58, Andy Yan wrote: >>> >>> Hi Simon: >>> >>> >>> >>> On 2018年03月09日 05:03, Simon Glass wrote:

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

2018-04-01 Thread Tom Rini
On Thu, Mar 29, 2018 at 09:48:49AM +0200, Dr. Philipp Tomsich wrote: > Tom, > > Here’s a PR for a few changes available on the rockchip-tree for integration > into master. > While these are mainly bug-fixes, the plan is to have another PR either > just-in-time for rc1 > or slightly after with

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Tom Rini
On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: > On Mon, Sep 4, 2017 at 9:57 PM, wrote: > > Hi Tom, > > > > On 7 August 2017 at 09:39, Tom Rini wrote: > >> On Sat, Aug 05, 2017 at 03:45:53PM -0600, Simon Glass wrote: > >> > >>> The CONFIG_BLK

Re: [U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-04-01 Thread Bin Meng
Hi Vasyl, On Wed, Mar 28, 2018 at 7:27 PM, Vasyl Vavrychuk wrote: > Hi, Bin Meng, > > Thanks for your suggestions. Please find my comments below > > On Wed, Mar 28, 2018 at 7:36 AM, Bin Meng wrote: >> >> > >> > Tested on VxWorks 7 release

Re: [U-Boot] [PATCH 3/3] cbfs: add support for cbfs header components

2018-04-01 Thread Simon Glass
Hi, On 22 February 2018 at 08:15, Alexander Graf wrote: > > > On 15.02.18 07:40, Andre Heider wrote: >> This fixes walking the cbfs file list because the bound checks do not >> apply to header components. >> >> Output of coreboot's cbfstool: >> Name

Re: [U-Boot] [PATCH 1/2] dm: led: Support "default-state" property

2018-04-01 Thread Simon Glass
Hi Patrick, On 7 March 2018 at 17:48, wrote: > From: Patrick Bruenn > > Add support for the device tree property "default-state". This feature > might be useful for LEDs indicating "power on" or similar states. > > Note: Even with this

Re: [U-Boot] [PATCH 1/3] cmd: cbfs: fix reading the end_of_rom pointer for 64bit archs

2018-04-01 Thread Simon Glass
On 22 February 2018 at 07:59, Alexander Graf wrote: > > > On 15.02.18 07:40, Andre Heider wrote: >> The cast breaks the pointer on 64bit archs, so lets get rid of it. >> >> Signed-off-by: Andre Heider > > Reviewed-by: Alexander Graf Applied to

Re: [U-Boot] [PATCH v2 1/2] core: add uclass_get_device_by_phandle_id() api

2018-04-01 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] Please pull u-.boot-marvell/master

2018-04-01 Thread Tom Rini
On Fri, Mar 30, 2018 at 04:17:31PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the first batch of Marvell related patches. > > Thanks, > Stefan > > > The following changes since commit 81cf7c8d45935a295991fe2cd1df286f0f47511f: > > Merge git://git.denx.de/u-boot-ubi (2018-03-25

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

2018-04-01 Thread Tom Rini
On Fri, Mar 30, 2018 at 04:12:19PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit 81cf7c8d45935a295991fe2cd1df286f0f47511f: > > Merge git://git.denx.de/u-boot-ubi (2018-03-25 12:02:13 -0400) > > are available in the git repository at: > >

Re: [U-Boot] Uboot send pull request

2018-04-01 Thread Tom Rini
On Fri, Mar 30, 2018 at 03:05:25PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-riscv into your tree. > Thanks! > > The following changes since commit 81cf7c8d45935a295991fe2cd1df286f0f47511f: > > Merge git://git.denx.de/u-boot-ubi

Re: [U-Boot] [PATCH 1/5] libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c

2018-04-01 Thread Simon Glass
On 23 March 2018 at 22:30, Simon Glass wrote: > On 21 March 2018 at 03:03, Masahiro Yamada > wrote: >> This macro is locally referenced in common/image-fdt.c >> >> Signed-off-by: Masahiro Yamada >> --- >> >>

Re: [U-Boot] [PATCH 2/5] fdt_region: remove unneeded fdt_internal.h inclusion

2018-04-01 Thread Simon Glass
On 23 March 2018 at 22:30, Simon Glass wrote: > On 21 March 2018 at 03:03, Masahiro Yamada > wrote: >> fdt_region.c does not depend on anything in libfdt_internal.h >> >> Signed-off-by: Masahiro Yamada >> --- >> >>

[U-Boot] [PATCH v2 3/5] usb: gadget: USB_ETHER requires network support

2018-04-01 Thread Alex Kiernan
In order to compile the USB Ethernet gadget support we require that NET is enabled, add that dependency here. Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger --- Changes in v2: None drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v2 4/5] ti: am335x: Fix build when networking is disabled

2018-04-01 Thread Alex Kiernan
When compiling without CONFIG_CLOCK_SYNTHESIZER (which is implied by CONFIG_DRIVER_TI_CPSW for am335x_evm), exclude the network setup for AM335x-ICEv2 to avoid link time failures: board/ti/am335x/board.c:683: undefined reference to `setup_clock_synthesizer' Signed-off-by: Alex Kiernan

[U-Boot] [PATCH v2 2/5] ti: am335x: Fix bootargs when building without NET

2018-04-01 Thread Alex Kiernan
If DHCP/PXE commands are disabled then the compilation fails due to bootargs attempting to use them: include/config_distro_bootcmd.h:319:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE’ Ensure that if the command aren't enabled, we don't try

[U-Boot] [PATCH v2 1/2] Migrate CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to Kconfig

2018-04-01 Thread Alex Kiernan
Convert CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to Kconfig Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski --- Changes in v2: - Rebase against master - Drop default in Kconfig to avoid over conversion by moveconfig - Resolve conflict in

Re: [U-Boot] [PATCH v2 1/2] Migrate CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to Kconfig

2018-04-01 Thread Petr Vorel
Hi Alex, > Convert CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to Kconfig > Signed-off-by: Alex Kiernan > Reviewed-by: Lukasz Majewski Reviewed-by: Petr Vorel > --- > Changes in v2: > - Rebase against master > - Drop default in Kconfig to avoid over conversion

Re: [U-Boot] [U-Boot, 01/36] rockchip: rk3288: move configure_l2ctlr back to rk3288

2018-04-01 Thread Philipp Tomsich
> The configure_l2ctlr() is used only by rk3288, do not need to > locate in sys_proto.h > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/sys_proto.h | 22 -- > arch/arm/mach-rockchip/rk3288/rk3288.c | 26 >

Re: [U-Boot] [U-Boot, 22/36] rockchip: dts: rk3288: update spl-boot-order

2018-04-01 Thread Philipp Tomsich
> Use "uboot,spl-boot-orde" instead of "uboot,boot0". > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3288-phycore-rdk.dts | 6 +- > arch/arm/dts/rk3288-veyron.dtsi | 6 +- > 2 files changed, 2 insertions(+), 10 deletions(-) > Reviewed-by:

Re: [U-Boot] [U-Boot,32/36] rockchip: remove rk_timer

2018-04-01 Thread Philipp Tomsich
> We do not use rk_timer.c now, remove it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/rk_timer.c | 48 > --- > 1 file changed, 48 deletions(-)

Re: [U-Boot] [U-Boot, 34/36] rockchip: spl-boot-order: do not enable with OF_PLATDATA

2018-04-01 Thread Philipp Tomsich
> The "fdt_*" functions may not enable even if the OF_CONTROL is enabled. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/spl-boot-order.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 11/36] rockchip: defconfig enable sysreset for rk3229 spl

2018-04-01 Thread Philipp Tomsich
> We need CONFIG_SPL_DRIVERS_MISC_SUPPORT to enable sysreset driver, > which will fix missing do_reset() error in SPL build. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > configs/evb-rk3229_defconfig | 1 +

Re: [U-Boot] [U-Boot, 09/36] rockchip: rk322x: sdram: use common udelay instead of rockchip_udelay

2018-04-01 Thread Philipp Tomsich
> Do not need to use rockchip_udelay after we can use systimer. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > drivers/ram/rockchip/sdram_rk322x.c | 29 ++--- > 1 file changed, 14

Re: [U-Boot] [U-Boot, 19/36] rockchip: rk3188: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Move SoC spec setting into rk3188.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3188-board-spl.c | 226 > -- > arch/arm/mach-rockchip/rk3188-board.c | 82 --- > arch/arm/mach-rockchip/rk3188/Makefile

Re: [U-Boot] [U-Boot, 14/36] rockchip: rk3036: prepare to use commong board file

2018-04-01 Thread Philipp Tomsich
> Move some soc spec setting into rk3036.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3036-board.c | 104 > - > arch/arm/mach-rockchip/rk3036/Makefile | 2 +- > .../{rk3036-board-spl.c =>

Re: [U-Boot] [U-Boot, 21/36] rockchip: rk3128: prepare use common board file

2018-04-01 Thread Philipp Tomsich
> remoe rk3128 board file and move SoC spec setting into rk3128.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3128-board.c | 127 > -- > 1 file changed, 127 deletions(-) > delete mode 100644

Re: [U-Boot] [U-Boot,13/36] rockchip: rk3036: remove sys timer

2018-04-01 Thread Philipp Tomsich
> Use ARM arch timer instead. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3036_common.h | 4 > 1 file changed, 4 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 02/36] rockchip: add common MACRO to enable sys arch timer

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: All rockchip SoCs can use ARM arch timer, let's enable it in common header file Please provide a commit message that is more descriptive of what actually happens... i.e. that COUNTER_FREQUENCY gets moved to a common header. It would be great to

Re: [U-Boot] [U-Boot, 07/36] rockchip: rk3328: add BOOT_MODE_REG for rk3328

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: Signed-off-by: Kever Yang Commit message is missing. --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index

Re: [U-Boot] [U-Boot, 06/36] rockchip: add IRAM_START_ADDR for all SoCs

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: We add this for get the location for boot device of bootrom. Your commit message should be specific enough, so the motivation for the change, where it fits into the overall architecture and what is changed are apparent. Signed-off-by: Kever Yang

Re: [U-Boot] [U-Boot, 08/36] rockchip: rk322x: remove use rockchip timer as sys timer

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: We can use arch timer instead of rockchip timer. A slightly more enlightening commit message would be great. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich These changes for

Re: [U-Boot] [U-Boot, 10/36] rockchip: rk322x: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: Move soc spec setting into rk322x.c and remove rk322x-board/board-spl.c A clear description of what the patch is attempting to achieve. Signed-off-by: Kever Yang See below for requested changes. ---

Re: [U-Boot] [U-Boot, 35/36] rockchip: declear boot_devices in bootrom.h

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: boot_devices may defined in soc file, and used in board file, we need to delear it in header file. I think you meant to write 'declare'. Again: a bit more context from the commit message might be useful (e.g. what is 'boot_devices'? If

Re: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: We use common board/spl/tpl file for all rockchip SoCs, - all the SoC spec setting should move into SoC file like rk3288.c; - tpl is option and only purpose to init DRAM, clock, uart(option); - spl do secure relate one time init, boot device select, boot

Re: [U-Boot] [PATCH v2 2/2] Cleanup CONFIG_VERSION_VARIABLE migration

2018-04-01 Thread Petr Vorel
Hi Alex, > CONFIG_VERSION_VARIABLE had already been mostly migrated to Kconfig, > but two headers still referenced it. Also set defaults so that > most of the defconfigs inherit the default rather than needing it > to be set explicitly. > Signed-off-by: Alex Kiernan

Re: [U-Boot] [U-Boot,13/36] rockchip: rk3036: remove sys timer

2018-04-01 Thread Philipp Tomsich
> Use ARM arch timer instead. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3036_common.h | 4 > 1 file changed, 4 deletions(-) > Reviewed-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 24/36] armv8: add timer_get_boot_us() for generic timer

2018-04-01 Thread Philipp Tomsich
> We need timer_get_boot_us() for boot stage if we use generic timer only. > > Signed-off-by: Kever Yang > --- > > arch/arm/cpu/armv8/generic_timer.c | 6 ++ > 1 file changed, 6 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 34/36] rockchip: spl-boot-order: do not enable with OF_PLATDATA

2018-04-01 Thread Philipp Tomsich
> The "fdt_*" functions may not enable even if the OF_CONTROL is enabled. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/spl-boot-order.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 17/36] rockchip: sdram_common: add common dram_init_banksize

2018-04-01 Thread Philipp Tomsich
> dram_init_banksize() can be common used by all SoCs, move it into > sdram_common.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/sdram_common.c | 63 > ++- > 1 file changed, 62 insertions(+), 1 deletion(-) >

Re: [U-Boot] [U-Boot, 22/36] rockchip: dts: rk3288: update spl-boot-order

2018-04-01 Thread Philipp Tomsich
> Use "uboot,spl-boot-orde" instead of "uboot,boot0". > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3288-phycore-rdk.dts | 6 +- > arch/arm/dts/rk3288-veyron.dtsi | 6 +- > 2 files changed, 2 insertions(+), 10 deletions(-) > Acked-by: Philipp

Re: [U-Boot] [U-Boot, 28/36] rockchip: rk3328: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Use common board file and move SoC spec setting into rk3328.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3328/rk3328.c | 59 +- > board/rockchip/evb_rk3328/evb-rk3328.c | 66 > -- >

Re: [U-Boot] [U-Boot, 12/36] rockchip: rk3036: sdram: use udelay instead of rockchip_udelay

2018-04-01 Thread Philipp Tomsich
> We are going to remove rockchip_udelay after enable arch timer. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 19 +-- > 1 file changed, 9 insertions(+), 10 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform

2018-04-01 Thread Philipp Tomsich
> We use common board/spl/tpl file for all rockchip SoCs, > - all the SoC spec setting should move into SoC file like rk3288.c; > - tpl is option and only purpose to init DRAM, clock, uart(option); > - spl do secure relate one time init, boot device select, boot into > U-Boot or trust or OS in

Re: [U-Boot] [U-Boot, 33/36] rockchip: dts: rk3399-firefly: enable uart2 in spl

2018-04-01 Thread Philipp Tomsich
> pre-loader console in SPL needs UART. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-firefly.dts | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 31/36] rockchip: rk3399: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Use common board file and move SoC spec setting into rk3399.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399-board-spl.c | 179 > -- > arch/arm/mach-rockchip/rk3399-board.c | 14 -- >

Re: [U-Boot] [U-Boot, 30/36] rockchip: lion-rk3368: remove rockchip timer

2018-04-01 Thread Philipp Tomsich
> We use ARM generic timer. > > Signed-off-by: Kever Yang > --- > > configs/lion-rk3368_defconfig | 4 > 1 file changed, 4 deletions(-) > Acked-by: Philipp Tomsich ___ U-Boot

Re: [U-Boot] [U-Boot, 20/36] rockchip: rk3128: remove rockchip timer as systimer

2018-04-01 Thread Philipp Tomsich
> We use ARM arch timer instead. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3128_common.h | 4 > 1 file changed, 4 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 23/36] rockchip: rk3288: remove rockchip timer for sys timer

2018-04-01 Thread Philipp Tomsich
> Use ARM arch timer instead > > Signed-off-by: Kever Yang > --- > > include/configs/rk3288_common.h | 4 > 1 file changed, 4 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 07/36] rockchip: rk3328: add BOOT_MODE_REG for rk3328

2018-04-01 Thread Philipp Tomsich
> Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 15/36] rockchip: declare sdram_init() in common header

2018-04-01 Thread Philipp Tomsich
> We need a dedicate sdram_init() function for those SoCS not > using SPL_FRAMEWORK. > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/sys_proto.h | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 04/36] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: We have enable NS16550 in Kconfig, do not need enable at defconfig Did you generate this with moveconfig.py? Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by:

Re: [U-Boot] [U-Boot, 25/36] rockchip: rk3288: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Use common board file and move SoC spec setting into rk3288.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3288-board-spl.c | 304 -- > arch/arm/mach-rockchip/rk3288-board-tpl.c | 84 - >

Re: [U-Boot] [U-Boot, 03/36] rockchip: enable SYS_NS16550 for all SoCs by default

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: All rockchip SoCs can use ns16550 driver, enable it for all and set SYS_NS16550_MEM32 for all SoCs. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 35/36] rockchip: declear boot_devices in bootrom.h

2018-04-01 Thread Philipp Tomsich
> boot_devices may defined in soc file, and used in board file, > we need to delear it in header file. > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/bootrom.h | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 09/36] rockchip: rk322x: sdram: use common udelay instead of rockchip_udelay

2018-04-01 Thread Philipp Tomsich
> Do not need to use rockchip_udelay after we can use systimer. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk322x.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 03/36] rockchip: enable SYS_NS16550 for all SoCs by default

2018-04-01 Thread Philipp Tomsich
> All rockchip SoCs can use ns16550 driver, enable it for all > and set SYS_NS16550_MEM32 for all SoCs. > > Signed-off-by: Kever Yang > --- > > arch/arm/Kconfig | 1 + > arch/arm/mach-rockchip/Kconfig| 1 - > include/configs/rk3036_common.h | 3

Re: [U-Boot] [U-Boot, 06/36] rockchip: add IRAM_START_ADDR for all SoCs

2018-04-01 Thread Philipp Tomsich
> We add this for get the location for boot device of bootrom. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig | 17 + > 1 file changed, 17 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 02/36] rockchip: add common MACRO to enable sys arch timer

2018-04-01 Thread Philipp Tomsich
> All rockchip SoCs can use ARM arch timer, let's enable it in > common header file > > Signed-off-by: Kever Yang > --- > > include/configs/rk3368_common.h | 2 -- > include/configs/rk3399_common.h | 2 -- > include/configs/rockchip-common.h | 4 > 3 files

Re: [U-Boot] [U-Boot, 08/36] rockchip: rk322x: remove use rockchip timer as sys timer

2018-04-01 Thread Philipp Tomsich
> We can use arch timer instead of rockchip timer. > > Signed-off-by: Kever Yang > --- > > include/configs/rk322x_common.h | 3 --- > 1 file changed, 3 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,05/36] rockchip: add STIMER_BASE for all SoCs

2018-04-01 Thread Philipp Tomsich
> STIMER is can only access in secure mode if the SoCs supports trust, > and it locate in alive power domain, as the source of ARM arch/generic > timer, we add a base addr for all SoCs so that we can init with a common > function. > > Signed-off-by: Kever Yang > --- >

Re: [U-Boot] [U-Boot, 04/36] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-04-01 Thread Philipp Tomsich
> We have enable NS16550 in Kconfig, do not need enable at defconfig > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3128_defconfig | 1 - > configs/evb-rk3229_defconfig | 1 - > configs/evb-rk3288_defconfig | 1 - > configs/evb-rk3328_defconfig

Re: [U-Boot] [U-Boot,32/36] rockchip: remove rk_timer

2018-04-01 Thread Philipp Tomsich
> We do not use rk_timer.c now, remove it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk_timer.c | 48 > --- > 1 file changed, 48 deletions(-) > delete mode 100644 arch/arm/mach-rockchip/rk_timer.c >

Re: [U-Boot] [U-Boot, 01/36] rockchip: rk3288: move configure_l2ctlr back to rk3288

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: The configure_l2ctlr() is used only by rk3288, do not need to locate in sys_proto.h Please elaborate on what the function does and why it is not needed by any of the other SOCs (after all: it has been available to all SOCs so far). Signed-off-by:

Re: [U-Boot] [U-Boot, 10/36] rockchip: rk322x: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Move soc spec setting into rk322x.c and remove rk322x-board/board-spl.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk322x-board.c | 155 > - > arch/arm/mach-rockchip/rk322x/Makefile | 2 +- >

Re: [U-Boot] [U-Boot, 27/36] rockchip: rv1108: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Remove functions will present at common board file. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rv1108/rv1108.c | 8 > board/rockchip/evb_rv1108/evb_rv1108.c | 6 -- > 2 files changed, 14 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC

2018-04-01 Thread Philipp Tomsich
> The generic ehci-driver (ehci-generic.c) will try to enable the clocks > listed in the DTSI. If this fails (e.g. due to clk_enable not being > implemented in a driver and -ENOSYS being returned by the clk-uclass), > the driver will bail our and print an error message. > > This implements a

Re: [U-Boot] [U-Boot, 26/36] rockchip: rk1108: remove rockchip timer for sys timer

2018-04-01 Thread Philipp Tomsich
> We use ARM arch timer instead. > > Signed-off-by: Kever Yang > --- > > include/configs/rv1108_common.h | 5 - > 1 file changed, 5 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 29/36] rockchip: rk3368: prepare to use common board file

2018-04-01 Thread Philipp Tomsich
> Use common board file and move SoC spec setting into rk3368.c > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3368-board-spl.c | 73 -- > arch/arm/mach-rockchip/rk3368-board-tpl.c | 157 > -- >

Re: [U-Boot] [U-Boot, 16/36] rockchip: sdram-common: add api to pass dram info to trust os

2018-04-01 Thread Philipp Tomsich
> Trust OS decode this info like this: > https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/common/drivers/parameter/ddr_parameter.c#L19 > We have to set a available value, or else we get error info from > Trust OS like this: > "ERROR: over or zero region, nr=3145987,

Re: [U-Boot] [U-Boot, 18/36] rockchip: rk3188: remove rockchip timer as sys timer

2018-04-01 Thread Philipp Tomsich
> We use ARM arch timer instead. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3188_common.h | 3 --- > 1 file changed, 3 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot,05/36] rockchip: add STIMER_BASE for all SoCs

2018-04-01 Thread Philipp Tomsich
On Tue, 27 Mar 2018, Kever Yang wrote: STIMER is can only access in secure mode if the SoCs supports trust, and it locate in alive power domain, as the source of ARM arch/generic timer, we add a base addr for all SoCs so that we can init with a common function. The commit message does not

Re: [U-Boot] [PATCH] arm: stm32mp1: add PSCI support

2018-04-01 Thread Tom Rini
On Thu, Mar 29, 2018 at 04:59:21PM +, Patrick DELAUNAY wrote: > Hi Mark, > > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > > > Hi, > > > > On Tue, Mar 20, 2018 at 01:59:03PM +0100, Patrick Delaunay wrote: > > > Add minimal PSCI support for Linux.

Re: [U-Boot] [U-Boot, 01/36] rockchip: rk3288: move configure_l2ctlr back to rk3288

2018-04-01 Thread Kever Yang
Hi Philipp, On 04/02/2018 04:47 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> The configure_l2ctlr() is used only by rk3288, do not need to >> locate in sys_proto.h > > Please elaborate on what the function does and why it is not needed by > any of the other SOCs

Re: [U-Boot] [U-Boot, 02/36] rockchip: add common MACRO to enable sys arch timer

2018-04-01 Thread Kever Yang
On 04/02/2018 04:51 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> All rockchip SoCs can use ARM arch timer, let's enable it in >> common header file > > Please provide a commit message that is more descriptive of what > actually happens... i.e. that

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread André Przywara
Hi, On 01/04/18 14:19, Tom Rini wrote: > On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: >> On Mon, Sep 4, 2017 at 9:57 PM, wrote: >>> Hi Tom, >>> >>> On 7 August 2017 at 09:39, Tom Rini wrote: On Sat, Aug 05, 2017 at 03:45:53PM -0600,

Re: [U-Boot] [U-Boot,05/36] rockchip: add STIMER_BASE for all SoCs

2018-04-01 Thread Kever Yang
On 04/02/2018 04:58 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> STIMER is can only access in secure mode if the SoCs supports trust, >> and it locate in alive power domain, as the source of ARM arch/generic >> timer, we add a base addr for all SoCs so that we can

Re: [U-Boot] [U-Boot, 06/36] rockchip: add IRAM_START_ADDR for all SoCs

2018-04-01 Thread Kever Yang
On 04/02/2018 05:00 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> We add this for get the location for boot device of bootrom. > > Your commit message should be specific enough, so the motivation for > the change, where it fits into the overall architecture and

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi Andre, On 2 April 2018 at 09:43, André Przywara wrote: > Hi, > > On 01/04/18 14:19, Tom Rini wrote: >> On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: >>> On Mon, Sep 4, 2017 at 9:57 PM, wrote: Hi Tom, On 7 August 2017 at

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
[resending from correct address] Hi Andre, On 2 April 2018 at 09:43, André Przywara wrote: > Hi, > > On 01/04/18 14:19, Tom Rini wrote: >> On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: >>> On Mon, Sep 4, 2017 at 9:57 PM, wrote: Hi

Re: [U-Boot] [U-Boot, 16/36] rockchip: sdram-common: add api to pass dram info to trust os

2018-04-01 Thread Kever Yang
On 04/02/2018 05:43 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> Trust OS decode this info like this: >> https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/common/drivers/parameter/ddr_parameter.c#L19 >> >> We have to set a available

Re: [U-Boot] [U-Boot, 17/36] rockchip: sdram_common: add common dram_init_banksize

2018-04-01 Thread Kever Yang
On 04/02/2018 05:50 AM, Philipp Tomsich wrote: > > > On Tue, 27 Mar 2018, Kever Yang wrote: > >> dram_init_banksize() can be common used by all SoCs, move it into >> sdram_common.c >> >> Signed-off-by: Kever Yang >> --- >> >> arch/arm/mach-rockchip/sdram_common.c | 63

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Peter Robinson
On Mon, Apr 2, 2018 at 3:28 AM, Simon Glass wrote: > Hi Andre, > > On 2 April 2018 at 09:43, André Przywara wrote: >> Hi, >> >> On 01/04/18 14:19, Tom Rini wrote: >>> On Tue, Mar 27, 2018 at 11:34:19PM +0530, Jagan Teki wrote: On Mon, Sep 4, 2017 at

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi Peter, On 2 April 2018 at 10:45, Peter Robinson wrote: > On Mon, Apr 2, 2018 at 3:28 AM, Simon Glass wrote: >> Hi Andre, >> >> On 2 April 2018 at 09:43, André Przywara wrote: >>> Hi, >>> >>> On 01/04/18 14:19, Tom Rini wrote:

Re: [U-Boot] [U-Boot, 11/36] rockchip: defconfig enable sysreset for rk3229 spl

2018-04-01 Thread Philipp Tomsich
> We need CONFIG_SPL_DRIVERS_MISC_SUPPORT to enable sysreset driver, > which will fix missing do_reset() error in SPL build. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3229_defconfig | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi Jagan, On 2 April 2018 at 12:57, Jagan Teki wrote: > > On Fri, Mar 30, 2018 at 4:13 AM, Simon Glass wrote: > > Hi Jagan, > > > > On 28 March 2018 at 02:04, Jagan Teki wrote: > >> On Mon, Sep 4, 2017 at 9:57 PM,

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Jagan Teki
On Fri, Mar 30, 2018 at 4:13 AM, Simon Glass wrote: > Hi Jagan, > > On 28 March 2018 at 02:04, Jagan Teki wrote: >> On Mon, Sep 4, 2017 at 9:57 PM, wrote: >>> Hi Tom, >>> >>> On 7 August 2017 at 09:39, Tom Rini

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Peter Robinson
On Mon, Apr 2, 2018 at 3:56 AM, Simon Glass wrote: > Hi Peter, > > On 2 April 2018 at 10:45, Peter Robinson wrote: >> On Mon, Apr 2, 2018 at 3:28 AM, Simon Glass wrote: >>> Hi Andre, >>> >>> On 2 April 2018 at 09:43, André Przywara

Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi, On 2 April 2018 at 11:07, Peter Robinson wrote: > On Mon, Apr 2, 2018 at 3:56 AM, Simon Glass wrote: >> Hi Peter, >> >> On 2 April 2018 at 10:45, Peter Robinson wrote: >>> On Mon, Apr 2, 2018 at 3:28 AM, Simon Glass

  1   2   >