Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 1 | /* |
| 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 */ |
| 18 | #define CONFIG_NET_MULTI |
| 19 | #define CONFIG_BITBANGMII |
| 20 | #define CONFIG_BITBANGMII_MULTI |
| 21 | |
Marek Vasut | b38f32f | 2018-02-13 21:34:03 +0100 | [diff] [blame^] | 22 | /* Environment compatibility */ |
| 23 | #undef CONFIG_ENV_SIZE_REDUND |
| 24 | #undef CONFIG_ENV_SECT_SIZE |
| 25 | #define CONFIG_ENV_SECT_SIZE (256 * 1024) |
| 26 | #define CONFIG_ENV_OFFSET 0x700000 |
| 27 | |
Marek Vasut | b47bc37 | 2017-10-09 21:08:10 +0200 | [diff] [blame] | 28 | /* Board Clock */ |
| 29 | /* XTAL_CLK : 33.33MHz */ |
| 30 | #define CONFIG_SYS_CLK_FREQ 33333333u |
| 31 | |
| 32 | /* Generic Timer Definitions (use in assembler source) */ |
| 33 | #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ |
| 34 | |
| 35 | #endif /* __EAGLE_H */ |