]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
nxp: emc2305: Cleanup headers
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Feb 2026 01:30:14 +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, 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 <peng.fan@nxp.com>
board/nxp/common/emc2305.c

index 50252bb5007f667bd53115922b9c8d06e76f7f61..7e5151eaf5f9f31cb0eba3f85115c0dec46f096f 100644 (file)
@@ -4,15 +4,13 @@
  *
  */
 
+#include <config.h>
 #include <command.h>
 #include <i2c.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 
 #include "emc2305.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 void set_fan_speed(u8 data, int chip_addr)
 {
        u8 index;