board: k+p: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2024-04-30 20:42:04 -06:00
parent 582fb8045d
commit c6cd26838f
4 changed files with 1 additions and 4 deletions

View File

@ -9,11 +9,11 @@
* Daniel Gericke <daniel.gericke@tqs.de> * Daniel Gericke <daniel.gericke@tqs.de>
*/ */
#include <common.h>
#include <env.h> #include <env.h>
#include <i2c.h> #include <i2c.h>
#include "kp_id_rev.h" #include "kp_id_rev.h"
#include <net.h> #include <net.h>
#include <vsprintf.h>
static int eeprom_has_been_read; static int eeprom_has_been_read;
static struct id_eeprom eeprom; static struct id_eeprom eeprom;

View File

@ -4,7 +4,6 @@
* Lukasz Majewski, DENX Software Engineering, lukma@denx.de * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
*/ */
#include <common.h>
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>

View File

@ -5,7 +5,6 @@
* Copyright (C) 2018 Lukasz Majewski <lukma@denx.de> * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de>
*/ */
#include <common.h>
#include <init.h> #include <init.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/crm_regs.h> #include <asm/arch/crm_regs.h>

View File

@ -5,7 +5,6 @@
* Copyright (C) 2018 Lukasz Majewski <lukma@denx.de> * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de>
*/ */
#include <common.h>
#include <init.h> #include <init.h>
#include <log.h> #include <log.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>