[U-Boot] [RESENT PATCH] rockchip: puma-rk3399: remove redundance code
Kever Yang
kever.yang at rock-chips.com
Thu Jul 27 11:59:03 UTC 2017
Some code are duplicate, remove one of them
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---
board/theobroma-systems/puma_rk3399/puma-rk3399.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
index 36e9cd7..5375247 100644
--- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c
+++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
@@ -9,22 +9,16 @@
#include <ram.h>
#include <dm/pinctrl.h>
#include <dm/uclass-internal.h>
-#include <misc.h>
#include <asm/setup.h>
#include <asm/arch/periph.h>
#include <power/regulator.h>
#include <u-boot/sha256.h>
-#define RK3399_CPUID_OFF 0x7
-#define RK3399_CPUID_LEN 0x10
-
DECLARE_GLOBAL_DATA_PTR;
#define RK3399_CPUID_OFF 0x7
#define RK3399_CPUID_LEN 0x10
-DECLARE_GLOBAL_DATA_PTR;
-
int board_init(void)
{
struct udevice *pinctrl, *regulator;
--
1.9.1
More information about the U-Boot
mailing list