mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 16:37:30 +00:00
c89782dcac
move to Kconfig: CONFIG_BCM_SF2_ETH CONFIG_BCM_SF2_ETH_DEFAULT_PORT CONFIG_BCM_SF2_ETH_GMAC Also modified defconfigs of all platforms that use these configs. Signed-off-by: Suji Velupillai <suji.velupillai@broadcom.com> Tested-by: Suji Velupillai <suji.velupillai@broadcom.com> Reviewed-by: JD Zheng <jiandong.zheng@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Steve Rae <steve.rae@raedomain.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
29 lines
658 B
C
29 lines
658 B
C
/*
|
|
* Copyright 2014-2017 Broadcom.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __ARCH_CONFIGS_H
|
|
#define __ARCH_CONFIGS_H
|
|
|
|
#include <asm/iproc-common/configs.h>
|
|
|
|
/* uArchitecture specifics */
|
|
|
|
/* Serial Info */
|
|
/* Post pad 3 bytes after each reg addr */
|
|
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
|
|
#define CONFIG_SYS_NS16550_MEM32
|
|
|
|
#define CONFIG_SYS_NS16550_CLK 100000000
|
|
#define CONFIG_SYS_NS16550_CLK_DIV 54
|
|
#define CONFIG_SERIAL_MULTI
|
|
#define CONFIG_CONS_INDEX 3
|
|
#define CONFIG_SYS_NS16550_COM3 0x18023000
|
|
|
|
/* Ethernet */
|
|
#define CONFIG_PHY_BROADCOM
|
|
#define CONFIG_PHY_RESET_DELAY 10000 /* PHY reset delay in us*/
|
|
|
|
#endif /* __ARCH_CONFIGS_H */
|