arm: aspeed: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Tue, 30 Apr 2024 13:35:56 +0000 (07:35 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:06:34 +0000 (15:06 -0600)
Remove <common.h> from all mach-aspeed files and when needed add missing
include files directly.

Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-aspeed/ast2500/board_common.c
arch/arm/mach-aspeed/ast2500/clk_ast2500.c
arch/arm/mach-aspeed/ast2600/board_common.c
arch/arm/mach-aspeed/ast2600/spl.c
arch/arm/mach-aspeed/ast_wdt.c

index bae1027..531c2ad 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (c) 2016 Google, Inc
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 02bd3f6..50d7f99 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/scu_ast2500.h>
index dc6cdc3..4c0b705 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (c) Aspeed Technology Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <timer.h>
index 0952e73..05390c1 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) Aspeed Technology Inc.
  */
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <spl.h>
index 5bc442e..c420940 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Google, Inc
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/wdt.h>
 #include <linux/err.h>