Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Amit Singh Tomar | b1a6bb3 | 2020-04-19 19:28:25 +0530 | [diff] [blame] | 3 | * Board configuration file for Actions Semi Owl SoCs. |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2015 Actions Semi Co., Ltd. |
| 6 | * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> |
| 7 | * |
| 8 | */ |
| 9 | |
Amit Singh Tomar | b1a6bb3 | 2020-04-19 19:28:25 +0530 | [diff] [blame] | 10 | #ifndef _OWL_COMMON_CONFIG_H_ |
| 11 | #define _OWL_COMMON_CONFIG_H_ |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 12 | |
| 13 | /* SDRAM Definitions */ |
| 14 | #define CONFIG_SYS_SDRAM_BASE 0x0 |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 15 | |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 16 | /* Some commands use this as the default load address */ |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 17 | |
| 18 | /* |
| 19 | * This is the initial SP which is used only briefly for relocating the u-boot |
| 20 | * image to the top of SDRAM. After relocation u-boot moves the stack to the |
| 21 | * proper place. |
| 22 | */ |
| 23 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0x7ff00) |
| 24 | |
Manivannan Sadhasivam | eba6589 | 2018-06-14 23:38:32 +0530 | [diff] [blame] | 25 | /* Console configuration */ |
| 26 | #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */ |
| 27 | #define CONFIG_SYS_MAXARGS 64 |
| 28 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 29 | |
| 30 | #endif |