Re: [U-Boot] [PATCH v2] Convert CONFIG_SOC_DA8XX et al to Kconfig

2017-12-30 Thread David Lechner
Missed the v2 (and wasn't subscribed to the U-Boot list), so the comments are mostly repeated. On 12/30/2017 06:47 AM, Adam Ford wrote: This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_MACH_DAVINCI_DA850_EVM Signed-off-by: Adam Ford --- README

[U-Boot] [RFC PATCH 3/4] sunxi: add initial Allwinner H6 support

2017-12-30 Thread Icenowy Zheng
Allwinner H6 is a new SoC in the sun50i series, with Cortex-A53 cores and refactored memory map/CCU. Add initial support for it, including initial MMC support. The offset of the environment is moved to 0xe, which used to be the space reserved for Falcon mode in legacy u-boot-sunxi. This chang

[U-Boot] [RFC PATCH 2/4] sunxi: fix image size restriction when SPL is not built

2017-12-30 Thread Icenowy Zheng
When SPL is not built, the image size restriction code in sunxi-u-boot.dtsi will lead the build to fail. Fix this problem by defining a default U-Boot offset when the one from SPL is not available. Signed-off-by: Icenowy Zheng --- arch/arm/dts/sunxi-u-boot.dtsi | 4 1 file changed, 4 inser

[U-Boot] [RFC PATCH 4/4] sunxi: add support for Pine H64 board

2017-12-30 Thread Icenowy Zheng
Pine H64 is an Allwinner H6-based board by Pine64. Add initial support for it. Signed-off-by: Icenowy Zheng --- arch/arm/dts/Makefile | 2 ++ arch/arm/dts/sun50i-h6-pine-h64.dts | 64 + board/sunxi/MAINTAINERS | 5 +++ configs/pine

[U-Boot] [RFC PATCH 1/4] sunxi: hide DRAM parameter options when not building SPL

2017-12-30 Thread Icenowy Zheng
The DRAM parameters are only used in the DRAM initialization stage in SPL. When SPL is not built, these parameters are useless, so hide them. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/ar

[U-Boot] [RFC PATCH 0/4] Allwinner H6 support for U-Boot

2017-12-30 Thread Icenowy Zheng
Allwinner H6 is a new SoC, which have peripherals with highest speed among current Allwinner products (USB3.0 and PCI Express); it's memory map has also totally changed. This patchset try to add initial support for it. The first two patches are fixes for SPL-less build, as H6 has currently no SPL

[U-Boot] [PATCH] Convert CONFIG_SPI to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPI Signed-off-by: Adam Ford --- configs/cm_t335_defconfig | 1 + configs/devkit8000_defconfig | 1 + drivers/spi/Kconfig| 8 ++-- include/configs/alt.h | 1 - include/configs/blanch

[U-Boot] U-Boot and Builman Toolchains

2017-12-30 Thread Adam Ford
Tom, I know that we need GCC 6 or newer to compile GCC, but buildman is still using older toolchains. Do you know if there are plans to update buildman to use newer toolchains? It seems to be linked to kernel.org, but it seems strange to me to have the build-in tools like Buildman use a toolchai

[U-Boot] [PATCH] Convert CONFIG_DAVINCI_SPI to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_DAVINCI_SPI Signed-off-by: Adam Ford --- configs/da850_am18xxevm_defconfig | 1 + configs/da850evm_defconfig| 1 + configs/da850evm_direct_nor_defconfig | 1 + configs/ea20_defconfig| 1 + configs/k2e_evm_defconfig

[U-Boot] [PATCH v2] Convert CONFIG_SOC_DA8XX et al to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_MACH_DAVINCI_DA850_EVM Signed-off-by: Adam Ford --- README | 2 -- arch/arm/mach-davinci/Kconfig | 24 +--- include/configs/calimain.h | 2 -- include/c

[U-Boot] [PATCH v2] musb: sunxi: Use base address from device tree

2017-12-30 Thread Chen-Yu Tsai
Now that the musb sunxi glue driver is completely device model / device tree driven, we should use the base address from the device tree, instead of hard-coding it in the source code. Fixes: 3a61b080acee ("musb: sunxi: switch to the device model") Signed-off-by: Chen-Yu Tsai --- Changes since v1:

[U-Boot] [PATCH] Convert CONFIG_SOC_DA8XX et al to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 Signed-off-by: Adam Ford --- README | 2 -- arch/arm/mach-davinci/Kconfig | 16 ++-- include/configs/calimain.h | 2 -- include/configs/da850evm.h | 2 -- include/c

[U-Boot] [PATCH] DA850evm: Remove dead code

2017-12-30 Thread Adam Ford
There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code. Signed-off-by: Adam Ford diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 4364649..3ca5965 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h

[U-Boot] [PATCH] wait_bit: add big endian version of wait_for_bit function

2017-12-30 Thread Álvaro Fernández Rojas
The only difference with the existing wait_for_bit function is the fact that wait_for_bit_be expects the register size to be read. Signed-off-by: Álvaro Fernández Rojas --- include/wait_bit.h | 69 ++ 1 file changed, 69 insertions(+) diff --gi