Patrick Delaunay | 123687c | 2022-05-20 18:24:46 +0200 | [diff] [blame] | 1 | if STM32MP13x |
| 2 | |
| 3 | choice |
| 4 | prompt "STM32MP13x board select" |
| 5 | optional |
| 6 | |
| 7 | config TARGET_ST_STM32MP13x |
| 8 | bool "STMicroelectronics STM32MP13x boards" |
| 9 | imply BOOTSTAGE |
| 10 | imply CMD_BOOTSTAGE |
| 11 | imply CMD_CLS if CMD_BMP |
| 12 | imply DISABLE_CONSOLE |
| 13 | imply PRE_CONSOLE_BUFFER |
| 14 | imply SILENT_CONSOLE |
| 15 | help |
| 16 | target the STMicroelectronics board with SOC STM32MP13x |
| 17 | managed by board/st/stm32mp1. |
| 18 | The difference between board are managed with devicetree |
| 19 | |
| 20 | endchoice |
| 21 | |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 22 | config TEXT_BASE |
Patrick Delaunay | 123687c | 2022-05-20 18:24:46 +0200 | [diff] [blame] | 23 | default 0xC0000000 |
| 24 | |
| 25 | config PRE_CON_BUF_ADDR |
| 26 | default 0xC0800000 |
| 27 | |
| 28 | config PRE_CON_BUF_SZ |
| 29 | default 4096 |
| 30 | |
| 31 | config BOOTSTAGE_STASH_ADDR |
| 32 | default 0xC3000000 |
| 33 | |
| 34 | if BOOTCOUNT_GENERIC |
| 35 | config SYS_BOOTCOUNT_SINGLEWORD |
| 36 | default y |
| 37 | |
| 38 | # TAMP_BOOTCOUNT = TAMP_BACKUP_REGISTER(31) |
| 39 | config SYS_BOOTCOUNT_ADDR |
| 40 | default 0x5C00A17C |
| 41 | endif |
| 42 | |
| 43 | if DEBUG_UART |
| 44 | |
| 45 | # debug on UART4 by default |
| 46 | config DEBUG_UART_BASE |
| 47 | default 0x40010000 |
| 48 | |
| 49 | # clock source is HSI on reset |
| 50 | config DEBUG_UART_CLOCK |
| 51 | default 48000000 if STM32_FPGA |
| 52 | default 64000000 |
| 53 | endif |
| 54 | |
| 55 | source "board/st/stm32mp1/Kconfig" |
| 56 | |
| 57 | endif |