1# Copyright 2022, NXP
2# Copyright (c) 2023 Google LLC.
3# SPDX-License-Identifier: Apache-2.0
4
5config BOARD_INIT_PRIORITY
6	int "Board initialization priority"
7	default 45
8	help
9	  Board initialization priority.
10
11DT_ADSP_RESET_MEM := $(dt_nodelabel_path,adsp_reset)
12DT_ADSP_DATA_MEM := $(dt_nodelabel_path,adsp_data)
13DT_ADSP_TEXT_MEM := $(dt_nodelabel_path,adsp_text)
14
15if BOARD_MIMXRT595_EVK_MIMXRT595S_F1
16
17config RT595_ADSP_STACK_SIZE
18	hex "Boot time stack size"
19	default 0x1000
20	help
21	  Stack space is reserved at the end of the RT595_ADSP_DATA_MEM
22	  region, starting at RT595_ADSP_DATA_MEM_ADDR - RT595_ADSP_STACK_SIZE
23
24config RT595_ADSP_RESET_MEM_ADDR
25	hex
26	default $(dt_node_reg_addr_hex,$(DT_ADSP_RESET_MEM))
27
28config RT595_ADSP_RESET_MEM_SIZE
29	hex
30	default $(dt_node_reg_size_hex,$(DT_ADSP_RESET_MEM))
31
32config RT595_ADSP_DATA_MEM_ADDR
33	hex
34	default $(dt_node_reg_addr_hex,$(DT_ADSP_DATA_MEM))
35
36config RT595_ADSP_DATA_MEM_SIZE
37	hex
38	default $(dt_node_reg_size_hex,$(DT_ADSP_DATA_MEM))
39
40config RT595_ADSP_TEXT_MEM_ADDR
41	hex
42	default $(dt_node_reg_addr_hex,$(DT_ADSP_TEXT_MEM))
43
44config RT595_ADSP_TEXT_MEM_SIZE
45	hex
46	default $(dt_node_reg_size_hex,$(DT_ADSP_TEXT_MEM))
47
48endif # BOARD_MIMXRT595_EVK_RT595_F1
49