riscv: starfive: avoid including common.h
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 2 Apr 2024 08:49:11 +0000 (10:49 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 9 Apr 2024 03:30:37 +0000 (11:30 +0800)
The usage of common.h is deprecated. Remove it from board files.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/spl.c
board/starfive/visionfive2/starfive_visionfive2.c
board/starfive/visionfive2/visionfive2-i2c-eeprom.c

index e8f97d9..45848db 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/arch/eeprom.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/regs.h>
index 5ae8b85..a86bca5 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdt_support.h>
index a9f4376..ddef7d6 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>