Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 1 | /* 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 Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 9 | /* additions for new ARM relocation support */ |
| 10 | #define CONFIG_SYS_SDRAM_BASE 0x00000000 |
| 11 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 12 | /* |
| 13 | * NS16550 Configuration |
| 14 | */ |
Tom Rini | df6a215 | 2022-11-16 13:10:28 -0500 | [diff] [blame^] | 15 | #define CFG_SYS_NS16550_CLK CONFIG_SYS_TCLK |
| 16 | #define CFG_SYS_NS16550_COM1 KW_UART0_BASE |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 17 | |
| 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 Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 24 | #define MTDPARTS_DEFAULT "mtdparts=spi0.0:768K(boot)ro,256K(boot-env),14M(user),1M(errlog)" |
| 25 | #define MTDPARTS_MTDOOPS "errlog" |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 26 | |
| 27 | /* |
| 28 | * Environment variables configurations |
| 29 | */ |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 30 | |
| 31 | /* |
| 32 | * U-Boot bootcode configuration |
| 33 | */ |
| 34 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 35 | /* |
| 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 Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 46 | |
| 47 | /* |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 48 | * Ethernet Driver configuration |
| 49 | */ |
| 50 | #ifdef CONFIG_CMD_NET |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 51 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable a single port */ |
| 52 | #define CONFIG_PHY_BASE_ADR 0x01 |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 53 | #endif /* CONFIG_CMD_NET */ |
| 54 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 55 | #endif /* _CONFIG_SBX81LIFXCAT_H */ |