Paweł Anikiel | 5ee903d | 2022-06-17 12:47:20 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright 2022 Google LLC |
| 4 | */ |
| 5 | #ifndef __SOCFGPA_CHAMELEONV3_H__ |
| 6 | #define __SOCFGPA_CHAMELEONV3_H__ |
| 7 | |
| 8 | #include <asm/arch/base_addr_a10.h> |
| 9 | |
Paweł Anikiel | 5ee903d | 2022-06-17 12:47:20 +0200 | [diff] [blame] | 10 | /* |
| 11 | * U-Boot general configurations |
| 12 | */ |
| 13 | |
| 14 | /* Memory configurations */ |
| 15 | #define PHYS_SDRAM_1_SIZE 0x40000000 |
| 16 | |
| 17 | /* |
| 18 | * Serial / UART configurations |
| 19 | */ |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 20 | #define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200} |
Paweł Anikiel | 5ee903d | 2022-06-17 12:47:20 +0200 | [diff] [blame] | 21 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 22 | #define CFG_EXTRA_ENV_SETTINGS \ |
Paweł Anikiel | a3382bb | 2023-02-21 16:17:02 +0100 | [diff] [blame] | 23 | "distro_bootcmd=bridge enable; " \ |
| 24 | "load mmc 0:1 ${loadaddr} u-boot.txt; " \ |
| 25 | "env import -t ${loadaddr}; " \ |
| 26 | "run bootcmd_txt\0" |
Paweł Anikiel | 5ee903d | 2022-06-17 12:47:20 +0200 | [diff] [blame] | 27 | |
| 28 | /* |
| 29 | * L4 OSC1 Timer 0 |
| 30 | */ |
| 31 | /* reload value when timer count to zero */ |
| 32 | #define TIMER_LOAD_VAL 0xFFFFFFFF |
| 33 | |
Paweł Anikiel | 5ee903d | 2022-06-17 12:47:20 +0200 | [diff] [blame] | 34 | /* The rest of the configuration is shared */ |
| 35 | #include <configs/socfpga_common.h> |
| 36 | |
| 37 | #endif /* __SOCFGPA_CHAMELEONV3_H__ */ |