diff options
author | rick <rick@andestech.com> | 2017-05-17 05:59:20 +0300 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2017-05-22 09:05:40 +0300 |
commit | f5076f869855045e527de7f1367c65f55a2b1448 (patch) | |
tree | f436ab387b72ae4a2215400de844c97a7f8049e7 /arch/nds32/cpu/n1213/ag101/timer.c | |
parent | 86132af799d51e8e94d87dc56a071f325f369e0c (diff) | |
download | u-boot-f5076f869855045e527de7f1367c65f55a2b1448.tar.xz |
nds32: Support AG101P timer DM.
Support AG101P timer device tree flow.
Signed-off-by: rick <rick@andestech.com>
Diffstat (limited to 'arch/nds32/cpu/n1213/ag101/timer.c')
-rw-r--r-- | arch/nds32/cpu/n1213/ag101/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/cpu/n1213/ag101/timer.c b/arch/nds32/cpu/n1213/ag101/timer.c index 758b354110..0c03a1029c 100644 --- a/arch/nds32/cpu/n1213/ag101/timer.c +++ b/arch/nds32/cpu/n1213/ag101/timer.c @@ -8,7 +8,7 @@ * * SPDX-License-Identifier: GPL-2.0+ */ - +#ifndef CONFIG_TIMER #include <common.h> #include <asm/io.h> #include <faraday/fttmr010.h> @@ -189,3 +189,4 @@ ulong get_tbclk(void) return CONFIG_SYS_CLK_FREQ; #endif } +#endif /* CONFIG_TIMER */ |