aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@kernel-space.org>2023-02-07 21:28:00 +0100
committerAngelo Dureghello <angelo@kernel-space.org>2023-03-15 01:38:19 +0100
commit8fde9d13b9d79a0d6d4250f61415390fe06bd0f8 (patch)
treefd89126f499f148a665d66034ea7d700b84a1145 /arch/m68k
parentd157a5725a6981eb5e1de2c07072c1214702741f (diff)
downloadu-boot-8fde9d13b9d79a0d6d4250f61415390fe06bd0f8.zip
u-boot-8fde9d13b9d79a0d6d4250f61415390fe06bd0f8.tar.gz
u-boot-8fde9d13b9d79a0d6d4250f61415390fe06bd0f8.tar.bz2
m68k: add global variable sdhc_per_clk for m68k
The FSL eSDHC controller supports two reference clocks. They are platform clock and periperhal clock. The global variable sdhc_clk has already been used for platform clock. ColdFire also uses eSHDC controller, as in arm and powerpc, so adding sdhc_per_clk to arch_global_data. Signed-off-by: Angelo Durgehello <angelo@kernel-space.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/global_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/global_data.h b/arch/m68k/include/asm/global_data.h
index 273e843..5f576ba 100644
--- a/arch/m68k/include/asm/global_data.h
+++ b/arch/m68k/include/asm/global_data.h
@@ -23,6 +23,9 @@ struct arch_global_data {
#ifdef CONFIG_MCF5441x
unsigned long sdhc_clk;
#endif
+#if defined(CONFIG_FSL_ESDHC)
+ u32 sdhc_per_clk;
+#endif
};
#include <asm-generic/global_data.h>