mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
e4c3ce7e28
This CONFIG option is used in one of two ways. The first way is that it is defined to a static value, of an unsigned long size. The second way is that it is defined to something, typically a function, to determine this value at run time. However, in a few cases that function returns a static value. Change that to using the static value directly. In the case of using something at run time, convert everything to using a function of the same name and prototype. This will allow for further cleanups. Finally, we have a few cases where the function is just not used, so drop it. Signed-off-by: Tom Rini <trini@konsulko.com>
35 lines
860 B
C
35 lines
860 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* include/configs/condor.h
|
|
* This file is Condor board configuration.
|
|
*
|
|
* Copyright (C) 2019 Renesas Electronics Corporation
|
|
*/
|
|
|
|
#ifndef __CONDOR_H
|
|
#define __CONDOR_H
|
|
|
|
#include "rcar-gen3-common.h"
|
|
|
|
/* Ethernet RAVB */
|
|
#define CONFIG_BITBANGMII_MULTI
|
|
|
|
/* Environment compatibility */
|
|
|
|
/* SH Ether */
|
|
#define CONFIG_SH_ETHER_USE_PORT 0
|
|
#define CONFIG_SH_ETHER_PHY_ADDR 0x1
|
|
#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
|
|
#define CONFIG_SH_ETHER_CACHE_WRITEBACK
|
|
#define CONFIG_SH_ETHER_CACHE_INVALIDATE
|
|
#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
|
|
#define CONFIG_BITBANGMII_MULTI
|
|
|
|
/* Board Clock */
|
|
/* XTAL_CLK : 33.33MHz */
|
|
#define CONFIG_SYS_CLK_FREQ 33333333
|
|
|
|
/* Generic Timer Definitions (use in assembler source) */
|
|
#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
|
|
|
|
#endif /* __CONDOR_H */
|