ddr: Remove <common.h> and add needed includes

Remove <common.h> from this driver 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-05-01 19:30:40 -06:00
parent dcd59134c6
commit 7be5c4cb40
41 changed files with 25 additions and 41 deletions

View file

@ -3,7 +3,6 @@
* Copyright 2018-2019 NXP
*/
#include <common.h>
#include <errno.h>
#include <log.h>
#include <asm/io.h>

View file

@ -2,7 +2,6 @@
/*
* Copyright 2021 NXP
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/ddr.h>

View file

@ -3,7 +3,6 @@
* Copyright 2022 NXP
*/
#include <common.h>
#include <errno.h>
#include <log.h>
#include <asm/io.h>
@ -11,6 +10,7 @@
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
#include <linux/delay.h>
#include <linux/string.h>
static unsigned int g_cdd_rr_max[4];
static unsigned int g_cdd_rw_max[4];

View file

@ -3,7 +3,6 @@
* Copyright 2018 NXP
*/
#include <common.h>
#include <log.h>
#include <linux/kernel.h>
#include <asm/arch/ddr.h>

View file

@ -3,7 +3,6 @@
* Copyright 2018 NXP
*/
#include <common.h>
#include <errno.h>
#include <log.h>
#include <asm/io.h>

View file

@ -3,7 +3,6 @@
* Copyright 2018 NXP
*/
#include <common.h>
#include <binman_sym.h>
#include <log.h>
#include <spl.h>