1#
2# Kconfig - Cortex-A9 (Zynq-7000) QEMU Emulation
3#
4# Copyright (c) 2021, Weidmueller Interface GmbH & Co. KG
5# SPDX-License-Identifier: Apache-2.0
6#
7
8if BOARD_QEMU_CORTEX_A9
9
10config BUILD_OUTPUT_BIN
11	default n
12
13config BOARD
14	default "qemu_cortex_a9"
15
16config SYS_CLOCK_HW_CYCLES_PER_SEC
17	int
18	default 111111111
19
20config SYS_CLOCK_TICKS_PER_SEC
21	default 1000
22
23if LOG
24
25	if LOG_PROCESS_THREAD
26
27		config LOG_PROCESS_THREAD_STACK_SIZE
28		default 8192
29
30	endif # LOG_PROCESS_THREAD
31
32endif # LOG
33
34if NETWORKING
35
36	config NET_L2_ETHERNET
37	default y
38
39	config NET_TX_STACK_SIZE
40	default 8192
41
42	config NET_RX_STACK_SIZE
43	default 8192
44
45	if NET_TCP
46
47		config NET_TCP_WORKQ_STACK_SIZE
48		default 8192
49
50	endif # NET_TCP
51
52	if NET_MGMT_EVENT
53
54		config NET_MGMT_EVENT_STACK_SIZE
55		default 8192
56
57	endif # NET_MGMT_EVENT
58
59	config TEST_RANDOM_GENERATOR
60	default y
61
62endif # NETWORKING
63
64if QEMU_ICOUNT
65
66	config QEMU_ICOUNT_SHIFT
67	default 3
68	config QEMU_ICOUNT_SLEEP
69	default y
70
71endif # QEMU_ICOUNT
72
73if SHELL
74
75	config SHELL_STACK_SIZE
76	default 8192
77
78endif # SHELL
79
80endif # BOARD_QEMU_CORTEX_A9
81