summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-02-09 09:30:14 +0800
committerTom Rini <[email protected]>2026-02-17 13:50:22 -0600
commitb2db865c4e5e625c4b4fc9eb3204ac96effa3af8 (patch)
tree57ff76867e2944966b18e990dc743808b07bb000
parent90d7b4c8a5b094cea20e60d4ebed58aa571b734d (diff)
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 <[email protected]>
-rw-r--r--board/nxp/common/emc2305.c4
1 files changed, 1 insertions, 3 deletions
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 <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;