xref: /openbmc/u-boot/include/configs/salvator-x.h (revision 103c45fb0daab924308046454b4aaad4a09237c4)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
2e525d34bSNobuhiro Iwamatsu /*
3e525d34bSNobuhiro Iwamatsu  * include/configs/salvator-x.h
4e525d34bSNobuhiro Iwamatsu  *     This file is Salvator-X board configuration.
5e525d34bSNobuhiro Iwamatsu  *
6e525d34bSNobuhiro Iwamatsu  * Copyright (C) 2015 Renesas Electronics Corporation
7e525d34bSNobuhiro Iwamatsu  */
8e525d34bSNobuhiro Iwamatsu 
9e525d34bSNobuhiro Iwamatsu #ifndef __SALVATOR_X_H
10e525d34bSNobuhiro Iwamatsu #define __SALVATOR_X_H
11e525d34bSNobuhiro Iwamatsu 
12e525d34bSNobuhiro Iwamatsu #include "rcar-gen3-common.h"
13e525d34bSNobuhiro Iwamatsu 
1490e53f8bSMarek Vasut /* Ethernet RAVB */
1590e53f8bSMarek Vasut #define CONFIG_BITBANGMII
1690e53f8bSMarek Vasut #define CONFIG_BITBANGMII_MULTI
1790e53f8bSMarek Vasut 
18e525d34bSNobuhiro Iwamatsu /* Generic Timer Definitions (use in assembler source) */
19e525d34bSNobuhiro Iwamatsu #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
20e525d34bSNobuhiro Iwamatsu 
2150fb0c45SMarek Vasut /* Environment in eMMC, at the end of 2nd "boot sector" */
2250fb0c45SMarek Vasut #define CONFIG_ENV_OFFSET		(-CONFIG_ENV_SIZE)
2350fb0c45SMarek Vasut #define CONFIG_SYS_MMC_ENV_DEV		1
2450fb0c45SMarek Vasut #define CONFIG_SYS_MMC_ENV_PART		2
2550fb0c45SMarek Vasut 
26e525d34bSNobuhiro Iwamatsu #endif /* __SALVATOR_X_H */
27