mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
m68k: Rework asm/global_data.h slightly
In the architecture global data, replace the one case of u32 with unsigned long. Now, we can drop config.h here but then do need to add it in two m68k-centric spaces. Acked-by: Angelo Dureghello <angelo@kernel-space.org> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
9d7f634811
commit
f90dee1a39
3 changed files with 4 additions and 3 deletions
|
@ -9,6 +9,8 @@
|
|||
#ifndef __CACHE_H
|
||||
#define __CACHE_H
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#if defined(CONFIG_MCF520x) || defined(CONFIG_MCF523x) || \
|
||||
defined(CONFIG_MCF52x2)
|
||||
#define CFG_CF_V2
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#ifndef __ASM_GBL_DATA_H
|
||||
#define __ASM_GBL_DATA_H
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/* Architecture-specific global data */
|
||||
struct arch_global_data {
|
||||
#ifdef CONFIG_SYS_I2C_FSL
|
||||
|
@ -24,7 +22,7 @@ struct arch_global_data {
|
|||
unsigned long sdhc_clk;
|
||||
#endif
|
||||
#if defined(CONFIG_FSL_ESDHC)
|
||||
u32 sdhc_per_clk;
|
||||
unsigned long sdhc_per_clk;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <init.h>
|
||||
#include <watchdog.h>
|
||||
#include <command.h>
|
||||
|
|
Loading…
Reference in a new issue