blob: 87b68227a0d9080ff931dea7aa39eb24a294db0f [file] [log] [blame]
Chris Packhamc6408d12018-06-25 22:34:57 +12001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2016 Allied Telesis <www.alliedtelesis.co.nz>
4 */
5
6#ifndef _CONFIG_SBX81LIFXCAT_H
7#define _CONFIG_SBX81LIFXCAT_H
8
Chris Packhamc6408d12018-06-25 22:34:57 +12009/* additions for new ARM relocation support */
Tom Rinibb4dd962022-11-16 13:10:37 -050010#define CFG_SYS_SDRAM_BASE 0x00000000
Chris Packhamc6408d12018-06-25 22:34:57 +120011
Chris Packhamc6408d12018-06-25 22:34:57 +120012/*
13 * NS16550 Configuration
14 */
Tom Rinidf6a2152022-11-16 13:10:28 -050015#define CFG_SYS_NS16550_CLK CONFIG_SYS_TCLK
16#define CFG_SYS_NS16550_COM1 KW_UART0_BASE
Chris Packhamc6408d12018-06-25 22:34:57 +120017
18/*
19 * Serial Port configuration
20 * The following definitions let you select what serial you want to use
21 * for your console driver.
22 */
23
Chris Packhamc6408d12018-06-25 22:34:57 +120024#define MTDPARTS_DEFAULT "mtdparts=spi0.0:768K(boot)ro,256K(boot-env),14M(user),1M(errlog)"
25#define MTDPARTS_MTDOOPS "errlog"
Chris Packhamc6408d12018-06-25 22:34:57 +120026
27/*
28 * Environment variables configurations
29 */
Chris Packhamc6408d12018-06-25 22:34:57 +120030
31/*
32 * U-Boot bootcode configuration
33 */
34
Chris Packhamc6408d12018-06-25 22:34:57 +120035/*
36 * For booting Linux, the board info and command line data
37 * have to be in the first 8 MB of memory, since this is
38 * the maximum mapped by the Linux kernel during initialization.
39 */
40#define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Mem map for Linux*/
41
42/* size in bytes reserved for initial data */
43
44#include <asm/arch/config.h>
45/* There is no PHY directly connected so don't ask it for link status */
Chris Packhamc6408d12018-06-25 22:34:57 +120046
47/*
Chris Packhamc6408d12018-06-25 22:34:57 +120048 * Ethernet Driver configuration
49 */
50#ifdef CONFIG_CMD_NET
Chris Packhamc6408d12018-06-25 22:34:57 +120051#define CONFIG_MVGBE_PORTS {1, 0} /* enable a single port */
52#define CONFIG_PHY_BASE_ADR 0x01
Chris Packhamc6408d12018-06-25 22:34:57 +120053#endif /* CONFIG_CMD_NET */
54
Chris Packhamc6408d12018-06-25 22:34:57 +120055#endif /* _CONFIG_SBX81LIFXCAT_H */