projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm64: zynqmp: Enable misc devices
[oweals/u-boot.git]
/
board
/
xes
/
common
/
fsl_8xxx_clk.c
diff --git
a/board/xes/common/fsl_8xxx_clk.c
b/board/xes/common/fsl_8xxx_clk.c
index 57ff0005b5255c600030f9b56dc876afc430ab41..e102b0cfc3866233d6c6c77e8ef6f210e93001ab 100644
(file)
--- a/
board/xes/common/fsl_8xxx_clk.c
+++ b/
board/xes/common/fsl_8xxx_clk.c
@@
-1,7
+1,7
@@
/*
* Copyright 2008 Extreme Engineering Solutions, Inc.
*
/*
* Copyright 2008 Extreme Engineering Solutions, Inc.
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-22,7
+22,7
@@
unsigned long get_board_sys_clk(ulong dummy)
if (in_be32(&gur->gpporcr) & 0x10000)
return 66666666;
else
if (in_be32(&gur->gpporcr) & 0x10000)
return 66666666;
else
-#ifdef CONFIG_P2020
+#ifdef CONFIG_
ARCH_
P2020
return 100000000;
#else
return 50000000;
return 100000000;
#else
return 50000000;
@@
-42,7
+42,7
@@
unsigned long get_board_ddr_clk(ulong dummy)
if (ddr_ratio == 0x7)
return get_board_sys_clk(dummy);
if (ddr_ratio == 0x7)
return get_board_sys_clk(dummy);
-#ifdef CONFIG_P2020
+#ifdef CONFIG_
ARCH_
P2020
if (in_be32(&gur->gpporcr) & 0x20000)
return 66666666;
else
if (in_be32(&gur->gpporcr) & 0x20000)
return 66666666;
else