xref: /openbmc/u-boot/include/configs/eagle.h (revision cbd2fba1)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * include/configs/eagle.h
4  *     This file is Eagle board configuration.
5  *
6  * Copyright (C) 2015 Renesas Electronics Corporation
7  */
8 
9 #ifndef __EAGLE_H
10 #define __EAGLE_H
11 
12 #include "rcar-gen3-common.h"
13 
14 /* Ethernet RAVB */
15 #define CONFIG_BITBANGMII
16 #define CONFIG_BITBANGMII_MULTI
17 
18 /* Environment compatibility */
19 #undef CONFIG_ENV_SIZE_REDUND
20 #undef CONFIG_ENV_SECT_SIZE
21 #define CONFIG_ENV_SECT_SIZE	(256 * 1024)
22 #define CONFIG_ENV_OFFSET	0x700000
23 
24 /* Board Clock */
25 /* XTAL_CLK : 33.33MHz */
26 #define CONFIG_SYS_CLK_FREQ	33333333u
27 
28 /* Generic Timer Definitions (use in assembler source) */
29 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
30 
31 #endif /* __EAGLE_H */
32