# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
# Copyright 2024-2025 NXP

if ARCH_S32N79

choice
	prompt "S32N79 board select"
	default TARGET_S32N79RDB

config TARGET_S32N79SIM
	bool "Support S32N79SIM simulator"
	help
	  This board is based on the S32N79 simulator.
	select SPI_FLASH_SPANSION
	select SPI_FLASH_S28HX_T

config TARGET_S32N79RDB
	bool "Support S32N79 Reference Design Board"
	help
	  This board is based on S32N79 SoC.

endchoice

config ENV_IS_IN_FAT
	default y

config ENV_FAT_INTERFACE
	default "mmc" if SD_BOOT
	default "scsi"

config ENV_FAT_DEVICE_AND_PART
	default "0:3"

config ENV_SIZE
	default 0x2000

if DEBUG_UART

# Use UART0 by default
config DEBUG_UART_BASE
	default 0x4A030000

endif

source "board/nxp/s32n79sim/Kconfig"
source "board/nxp/s32n79rdb/Kconfig"

endif
