Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 2 | /* |
Tien Fong Chee | bddd911 | 2019-05-07 17:42:32 +0800 | [diff] [blame] | 3 | * Copyright (C) 2015-2019 Altera Corporation <www.altera.com> |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_SOCFGPA_ARRIA10_H__ |
| 7 | #define __CONFIG_SOCFGPA_ARRIA10_H__ |
| 8 | |
| 9 | #include <asm/arch/base_addr_a10.h> |
Tom Rini | d8532af | 2017-06-02 11:03:50 -0400 | [diff] [blame] | 10 | |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 11 | /* |
| 12 | * U-Boot general configurations |
| 13 | */ |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 14 | |
| 15 | /* Memory configurations */ |
| 16 | #define PHYS_SDRAM_1_SIZE 0x40000000 |
| 17 | |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 18 | /* |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 19 | * Serial / UART configurations |
| 20 | */ |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 21 | #define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200} |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 22 | |
| 23 | /* |
| 24 | * L4 OSC1 Timer 0 |
| 25 | */ |
| 26 | /* reload value when timer count to zero */ |
| 27 | #define TIMER_LOAD_VAL 0xFFFFFFFF |
| 28 | |
| 29 | /* |
| 30 | * Flash configurations |
| 31 | */ |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 32 | |
Tien Fong Chee | bddd911 | 2019-05-07 17:42:32 +0800 | [diff] [blame] | 33 | /* SPL memory allocation configuration, this is for FAT implementation */ |
Tien Fong Chee | bddd911 | 2019-05-07 17:42:32 +0800 | [diff] [blame] | 34 | |
Ley Foon Tan | 10b6964 | 2017-04-26 02:44:46 +0800 | [diff] [blame] | 35 | /* The rest of the configuration is shared */ |
| 36 | #include <configs/socfpga_common.h> |
| 37 | |
| 38 | #endif /* __CONFIG_SOCFGPA_ARRIA10_H__ */ |