blob: d2d46f0425a555722a2105d3f3cff339b25b0744 [file] [log] [blame]
Marek Vasutb47bc372017-10-09 21:08:10 +02001/*
2 * include/configs/eagle.h
3 * This file is Eagle board configuration.
4 *
5 * Copyright (C) 2015 Renesas Electronics Corporation
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __EAGLE_H
11#define __EAGLE_H
12
13#undef DEBUG
14
15#include "rcar-gen3-common.h"
16
17/* Ethernet RAVB */
Marek Vasutb47bc372017-10-09 21:08:10 +020018#define CONFIG_BITBANGMII
19#define CONFIG_BITBANGMII_MULTI
20
Marek Vasutb38f32f2018-02-13 21:34:03 +010021/* Environment compatibility */
22#undef CONFIG_ENV_SIZE_REDUND
23#undef CONFIG_ENV_SECT_SIZE
24#define CONFIG_ENV_SECT_SIZE (256 * 1024)
25#define CONFIG_ENV_OFFSET 0x700000
26
Marek Vasutb47bc372017-10-09 21:08:10 +020027/* Board Clock */
28/* XTAL_CLK : 33.33MHz */
29#define CONFIG_SYS_CLK_FREQ 33333333u
30
31/* Generic Timer Definitions (use in assembler source) */
32#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
33
34#endif /* __EAGLE_H */