Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright (C) 2019 Mauro Condarelli <mc5686@mclink.it> | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef __VOCORE2_CONFIG_H__ | ||||
7 | #define __VOCORE2_CONFIG_H__ | ||||
8 | |||||
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 9 | /* RAM */ |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 10 | #define CFG_SYS_SDRAM_BASE 0x80000000 |
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 11 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame^] | 12 | #define CFG_SYS_INIT_SP_OFFSET 0x400000 |
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 13 | |
14 | /* SPL */ | ||||
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 15 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame^] | 16 | #define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE |
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 17 | |
18 | /* Dummy value */ | ||||
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame^] | 19 | #define CFG_SYS_UBOOT_BASE 0 |
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 20 | |
21 | /* Serial SPL */ | ||||
Tom Rini | df6a215 | 2022-11-16 13:10:28 -0500 | [diff] [blame] | 22 | #define CFG_SYS_NS16550_CLK 40000000 |
23 | #define CFG_SYS_NS16550_COM3 0xb0000e00 | ||||
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 24 | |
25 | /* RAM */ | ||||
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 26 | |
Mauro Condarelli | 83ae2ce | 2020-02-18 09:34:48 +0100 | [diff] [blame] | 27 | /* Environment settings */ |
28 | |||||
29 | #endif //__VOCORE2_CONFIG_H__ |