mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
common: freescale: Move arch-specific declarations
The declarations should not be in common.h. Move them to the arch-specific headers. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include <asm/processor.h>
|
||||
#include <fsl_immap.h>
|
||||
#include <fsl_ddr.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
#if (CONFIG_CHIP_SELECTS_PER_CTRL > 4)
|
||||
#error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include <fsl_ddr.h>
|
||||
#include <fsl_immap.h>
|
||||
#include <asm/io.h>
|
||||
#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
|
||||
#include <asm/arch/clock.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Determine Rtt value.
|
||||
|
@ -11,6 +11,9 @@
|
||||
#include <fsl_immap.h>
|
||||
#include <fsl_ddr.h>
|
||||
#include <fsl_errata.h>
|
||||
#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
|
||||
#include <asm/arch/clock.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYS_FSL_ERRATUM_A008511) | \
|
||||
defined(CONFIG_SYS_FSL_ERRATUM_A009803)
|
||||
|
@ -9,6 +9,9 @@
|
||||
#include <fsl_ddr_sdram.h>
|
||||
|
||||
#include <fsl_ddr.h>
|
||||
#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
|
||||
#include <asm/arch/clock.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Use our own stack based buffer before relocation to allow accessing longer
|
||||
|
@ -13,6 +13,9 @@
|
||||
#include <fsl_ddr.h>
|
||||
#include <fsl_immap.h>
|
||||
#include <asm/io.h>
|
||||
#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
|
||||
#include <asm/arch/clock.h>
|
||||
#endif
|
||||
|
||||
/* To avoid 64-bit full-divides, we factor this here */
|
||||
#define ULL_2E12 2000000000000ULL
|
||||
|
Reference in New Issue
Block a user