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 */ |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 10 | #define CFG_SYS_SDRAM_BASE 0x00000000 |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 11 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 12 | /* |
| 13 | * NS16550 Configuration |
| 14 | */ |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 15 | #define CFG_SYS_NS16550_CLK CFG_SYS_TCLK |
Tom Rini | df6a215 | 2022-11-16 13:10:28 -0500 | [diff] [blame] | 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_MTDOOPS "errlog" |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 25 | |
| 26 | /* |
| 27 | * Environment variables configurations |
| 28 | */ |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 29 | |
| 30 | /* |
| 31 | * U-Boot bootcode configuration |
| 32 | */ |
| 33 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 34 | /* |
| 35 | * For booting Linux, the board info and command line data |
| 36 | * have to be in the first 8 MB of memory, since this is |
| 37 | * the maximum mapped by the Linux kernel during initialization. |
| 38 | */ |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 39 | #define CFG_SYS_BOOTMAPSZ (8 << 20) /* Initial Mem map for Linux*/ |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 40 | |
| 41 | /* size in bytes reserved for initial data */ |
| 42 | |
| 43 | #include <asm/arch/config.h> |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 44 | |
Chris Packham | c6408d1 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 45 | #endif /* _CONFIG_SBX81LIFXCAT_H */ |