]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: rockchip: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:42:38 +0000 (20:42 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:37 +0000 (08:00 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/arch-rockchip/grf_rk3308.h
board/rockchip/evb_rk3036/evb_rk3036.c
board/rockchip/evb_rk3308/evb_rk3308.c
board/rockchip/evb_rv1108/evb_rv1108.c
board/rockchip/kylin_rk3036/kylin_rk3036.c
board/rockchip/tinker_rk3288/tinker-rk3288.c

index a995bb950d975711f2a6776d75242fb5ac9620cb..f4bbc2401310a52a8dddac624505d6a0affc43eb 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef _ASM_ARCH_GRF_rk3308_H
 #define _ASM_ARCH_GRF_rk3308_H
 
+#include <linux/kernel.h>
+
 struct rk3308_grf {
        unsigned int gpio0a_iomux;
        unsigned int reserved0;
index 8c606463e45528f50781569d24a5f4b53d57fc80..a0805030ea4636efc7379fb5ee93c1b56394aff1 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/uart.h>
index e0c96fd70a287fbdd2eebb28a3ca5657c2823ef5..c895da934a998b4f8a4a8b32fbc7336bd4c41604 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <adc.h>
 #include <asm/global_data.h>
 
index 0d7a486bed74cbe09212978a1764d8d2bb2330a8..48b9d8f80c4b5097f242d28349317d1fcc0c6def 100644 (file)
@@ -4,7 +4,6 @@
  * Authors: Andy Yan <andy.yan@rock-chips.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/global_data.h>
index 0ca91cdeb014c77cd17f598da55fb78727dfe42a..c452b131208d0c0a5530011b13771818f75fbc2c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index e6e75981c2d10803482d446830e3ab965de6d742..e966e9f201abbb3ae8cd5e2c15a11d00ddba442d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c_eeprom.h>