Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * (C) Copyright 2017 Rockchip Electronics Co., Ltd |
| 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_PX30_COMMON_H |
| 7 | #define __CONFIG_PX30_COMMON_H |
| 8 | |
| 9 | #include "rockchip-common.h" |
| 10 | |
Quentin Schulz | 6516336 | 2023-01-09 11:36:41 +0100 | [diff] [blame] | 11 | #define CFG_IRAM_BASE 0xff0e0000 |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 12 | |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 13 | #define GICD_BASE 0xff131000 |
| 14 | #define GICC_BASE 0xff132000 |
| 15 | |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 16 | #define CFG_SYS_SDRAM_BASE 0 |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 17 | #define SDRAM_MAX_SIZE 0xff000000 |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 18 | |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 19 | #define ENV_MEM_LAYOUT_SETTINGS \ |
| 20 | "scriptaddr=0x00500000\0" \ |
| 21 | "pxefile_addr_r=0x00600000\0" \ |
| 22 | "fdt_addr_r=0x08300000\0" \ |
| 23 | "kernel_addr_r=0x00280000\0" \ |
Paul Kocialkowski | 96bdc65 | 2023-07-25 14:58:35 +0200 | [diff] [blame] | 24 | "ramdisk_addr_r=0x0a200000\0" \ |
| 25 | "kernel_comp_addr_r=0x03e80000\0" \ |
| 26 | "kernel_comp_size=0x2000000\0" |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 27 | |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 28 | #define CFG_EXTRA_ENV_SETTINGS \ |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 29 | ENV_MEM_LAYOUT_SETTINGS \ |
| 30 | "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ |
| 31 | "partitions=" PARTS_DEFAULT \ |
| 32 | ROCKCHIP_DEVICE_SETTINGS \ |
Simon Glass | 7755dc5 | 2023-04-24 13:49:51 +1200 | [diff] [blame] | 33 | "boot_targets=" BOOT_TARGETS "\0" |
Heiko Stuebner | 46281a7 | 2019-07-16 22:17:13 +0200 | [diff] [blame] | 34 | |
| 35 | #endif |