Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +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_SBX81LIFKW_H |
| 7 | #define _CONFIG_SBX81LIFKW_H |
| 8 | |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +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 | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 11 | |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +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 | 5cd63ec | 2018-05-30 20:14:35 +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 | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 24 | #define MTDPARTS_MTDOOPS "errlog" |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 25 | |
| 26 | /* |
| 27 | * Environment variables configurations |
| 28 | */ |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 29 | |
| 30 | /* |
| 31 | * U-Boot bootcode configuration |
| 32 | */ |
| 33 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 34 | #define CFG_SYS_BOOTMAPSZ (8 << 20) /* Initial Mem map for Linux*/ |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 35 | |
| 36 | /* size in bytes reserved for initial data */ |
| 37 | |
| 38 | #include <asm/arch/config.h> |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 39 | |
Chris Packham | 5cd63ec | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 40 | #endif /* _CONFIG_SBX81LIFKW_H */ |