]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: evk_rk3308: Cleanup headers
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Feb 2026 01:30:13 +0000 (09:30 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 17 Feb 2026 19:50:22 +0000 (13:50 -0600)
There is no user of 'gd', so drop the usage of DECLARE_GLOBAL_DATA_PTR
and the including of 'asm/global_data.h'. Also include correct headers
to avoid build error.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/rockchip/evb_rk3308/evb_rk3308.c

index c895da934a998b4f8a4a8b32fbc7336bd4c41604..75536fe117db3fe26abf5a60d2d68e72ee99dfde 100644 (file)
@@ -4,9 +4,8 @@
  */
 
 #include <adc.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
+#include <stdio.h>
+#include <linux/kernel.h>
 
 #define KEY_DOWN_MIN_VAL        0
 #define KEY_DOWN_MAX_VAL        30