From: Peng Fan Date: Mon, 9 Feb 2026 01:30:14 +0000 (+0800) Subject: nxp: emc2305: Cleanup headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2db865c4e5e625c4b4fc9eb3204ac96effa3af8;p=thirdparty%2Fu-boot.git nxp: emc2305: Cleanup headers There is no user of gd, drop the usage of DECLARE_GLOBAL_DATA_PTR and the including of "asm/global_data.h". Include config.h to avoid build error. Signed-off-by: Peng Fan --- diff --git a/board/nxp/common/emc2305.c b/board/nxp/common/emc2305.c index 50252bb5007..7e5151eaf5f 100644 --- a/board/nxp/common/emc2305.c +++ b/board/nxp/common/emc2305.c @@ -4,15 +4,13 @@ * */ +#include #include #include -#include #include #include "emc2305.h" -DECLARE_GLOBAL_DATA_PTR; - void set_fan_speed(u8 data, int chip_addr) { u8 index;