Re: [U-Boot] [PATCH] sunxi: Select OF_BOARD_SETUP from arch/arm/Kconfig

2016-03-22 Thread Hans de Goede

Hi,

On 22-03-16 22:58, Ian Campbell wrote:

On Tue, 2016-03-22 at 22:56 +0100, Hans de Goede wrote:

Select OF_BOARD_SETUP from arch/arm/Kconfig when building for sunxi,
rather then having it in all our defconfigs. This also fixes it
missing
from some recently added defconfigs.

Signed-off-by: Hans de Goede 


Acked-byL Ian Campbell 


Actually this is wrong, it causes warnings for boards where
CONFIG_VIDEO is not set, v2 coming up ...

Regards,

Hans
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] sunxi: Select OF_BOARD_SETUP from arch/arm/Kconfig

2016-03-22 Thread Ian Campbell
On Tue, 2016-03-22 at 22:56 +0100, Hans de Goede wrote:
> Select OF_BOARD_SETUP from arch/arm/Kconfig when building for sunxi,
> rather then having it in all our defconfigs. This also fixes it
> missing
> from some recently added defconfigs.
> 
> Signed-off-by: Hans de Goede 

Acked-byL Ian Campbell 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] sunxi: Select OF_BOARD_SETUP from arch/arm/Kconfig

2016-03-22 Thread Hans de Goede
Select OF_BOARD_SETUP from arch/arm/Kconfig when building for sunxi,
rather then having it in all our defconfigs. This also fixes it missing
from some recently added defconfigs.

Signed-off-by: Hans de Goede 
---
 arch/arm/Kconfig   | 1 +
 configs/A10-OLinuXino-Lime_defconfig   | 1 -
 configs/A10s-OLinuXino-M_defconfig | 1 -
 configs/A13-OLinuXinoM_defconfig   | 1 -
 configs/A13-OLinuXino_defconfig| 1 -
 configs/A20-OLinuXino-Lime2_defconfig  | 1 -
 configs/A20-OLinuXino-Lime_defconfig   | 1 -
 configs/A20-OLinuXino_MICRO_defconfig  | 1 -
 configs/A20-Olimex-SOM-EVB_defconfig   | 1 -
 configs/Ainol_AW1_defconfig| 1 -
 configs/Ampe_A76_defconfig | 1 -
 configs/Auxtek-T003_defconfig  | 1 -
 configs/Auxtek-T004_defconfig  | 1 -
 configs/Bananapi_defconfig | 1 -
 configs/Bananapro_defconfig| 1 -
 configs/CHIP_defconfig | 1 -
 configs/CSQ_CS908_defconfig| 1 -
 configs/Chuwi_V7_CW0825_defconfig  | 1 -
 configs/Colombus_defconfig | 1 -
 configs/Cubieboard2_defconfig  | 1 -
 configs/Cubieboard_defconfig   | 1 -
 configs/Cubietruck_defconfig   | 1 -
 configs/Empire_electronix_d709_defconfig   | 1 -
 configs/Hummingbird_A31_defconfig  | 1 -
 configs/Hyundai_A7HD_defconfig | 1 -
 configs/Lamobo_R1_defconfig| 1 -
 configs/Linksprite_pcDuino3_Nano_defconfig | 1 -
 configs/Linksprite_pcDuino3_defconfig  | 1 -
 configs/Linksprite_pcDuino_defconfig   | 1 -
 configs/MK808C_defconfig   | 1 -
 configs/MSI_Primo73_defconfig  | 1 -
 configs/MSI_Primo81_defconfig  | 1 -
 configs/Marsboard_A10_defconfig| 1 -
 configs/Mele_A1000G_quad_defconfig | 1 -
 configs/Mele_A1000_defconfig   | 1 -
 configs/Mele_I7_defconfig  | 1 -
 configs/Mele_M3_defconfig  | 1 -
 configs/Mele_M5_defconfig  | 1 -
 configs/Mele_M9_defconfig  | 1 -
 configs/Mini-X_defconfig   | 1 -
 configs/Orangepi_defconfig | 1 -
 configs/Orangepi_mini_defconfig| 1 -
 configs/Sinlinx_SinA31s_defconfig  | 1 -
 configs/Sinlinx_SinA33_defconfig   | 1 -
 configs/Sinovoip_BPI_M2_defconfig  | 1 -
 configs/UTOO_P66_defconfig | 1 -
 configs/Wexler_TAB7200_defconfig   | 1 -
 configs/Wits_Pro_A20_DKT_defconfig | 1 -
 configs/Wobo_i5_defconfig  | 1 -
 configs/Yones_Toptech_BD1078_defconfig | 1 -
 configs/ba10_tv_box_defconfig  | 1 -
 configs/dserve_dsrv9703c_defconfig | 1 -
 configs/ga10h_v1_1_defconfig   | 1 -
 configs/gt90h_v4_defconfig | 1 -
 configs/i12-tvbox_defconfig| 1 -
 configs/iNet_3F_defconfig  | 1 -
 configs/iNet_3W_defconfig  | 1 -
 configs/iNet_86VS_defconfig| 1 -
 configs/inet1_defconfig| 1 -
 configs/inet97fv2_defconfig| 1 -
 configs/inet98v_rev2_defconfig | 1 -
 configs/inet9f_rev03_defconfig | 1 -
 configs/jesurun_q5_defconfig   | 1 -
 configs/mixtile_loftq_defconfig| 1 -
 configs/mk802_a10s_defconfig   | 1 -
 configs/mk802_defconfig| 1 -
 configs/mk802ii_defconfig  | 1 -
 configs/pov_protab2_ips9_defconfig | 1 -
 configs/q8_a13_tablet_defconfig| 1 -
 configs/q8_a23_tablet_800x480_defconfig| 1 -
 configs/q8_a33_tablet_1024x600_defconfig   | 1 -
 configs/q8_a33_tablet_800x480_defconfig| 1 -
 configs/r7-tv-dongle_defconfig | 1 -
 configs/sunxi_Gemei_G9_defconfig   | 1 -
 74 files changed, 1 insertion(+), 73 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e5f57ef..ab986d3 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -531,6 +531,7 @@ config ARCH_SUNXI
select DM_KEYBOARD
select DM_SERIAL
select DM_USB
+   select OF_BOARD_SETUP
select OF_CONTROL
select OF_SEPARATE
select SPL_STACK_R if !MACH_SUN9I
diff --git a/configs/A10-OLinuXino-Lime_defconfig 
b/configs/A10-OLinuXino-Lime_defconfig
index 6235d1f..af96f5b 100644
--- a/configs/A10-OLinuXino-Lime_defconfig
+++ b/configs/A10-OLinuXino-Lime_defconfig
@@ -8,7 +8,6 @@ CONFIG_MMC0_CD_PIN="PH1"
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
-CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/A10s-OLinuXino-M_defconfig 
b/configs/A10s-OLinuXino-M_defconfig
index 3cddc12..cba2cfd 100644
---