mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
9dbe356ef4
Perform a simple rename of CONFIG_SAR_REG to CFG_SAR_REG Signed-off-by: Tom Rini <trini@konsulko.com>
21 lines
582 B
C
21 lines
582 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2009
|
|
* Marvell Semiconductor <www.marvell.com>
|
|
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
*
|
|
* Header file for Feroceon CPU core 88FR131 Based KW88F6281 SOC.
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_KW88F6281_H
|
|
#define _ASM_ARCH_KW88F6281_H
|
|
|
|
/* SOC specific definitions */
|
|
#define KW88F6281_REGS_PHYS_BASE 0xf1000000
|
|
#define KW_REGS_PHY_BASE KW88F6281_REGS_PHYS_BASE
|
|
|
|
/* TCLK Core Clock definition */
|
|
#define CFG_SYS_TCLK ((readl(CFG_SAR_REG) & BIT(21)) ? \
|
|
166666667 : 200000000)
|
|
|
|
#endif /* _ASM_ARCH_KW88F6281_H */
|