#
# Copyright (C) 2015-2020 Panasonic Corporation.
#
# This file is licensed under the terms of the GNU General Public
# License version 2.  This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
#

if ARCH_PVC

choice
	prompt "*** Panasonic ARM SoCs Board Type ***"

config MACH_PVC02V_BRB
	bool "V9AHD SoCs support"
	select PVC_GIC_DIST_INIT
	select GIC_NON_BANKED

config MACH_PVC03V
	bool "V10 SoCs support"
	select PVC_GIC_DIST_INIT
	select GIC_NON_BANKED
	select NEED_MACH_MEMORY_H
	select ARCH_SPARSEMEM_ENABLE
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE

endchoice

config PVC_GIC_DIST_INIT
	bool
	default y

config PVC_PVC02V_BARRIER_REPLACE
	bool "Replace barrier instructions"
	depends on MACH_PVC02V_BRB
	default n

config PVC_CMN_EXCLUSION
	bool "Support Common Exclusion API"
	default n

config PVC_CMN_EXCLUSION_ADDRESS
	hex "PVC Common Exclusion base address"
	depends on PVC_CMN_EXCLUSION
	default 0x00000000

config PVC_BOOT_FLG_AREA
	hex "PVC Boot flag area address"
	depends on SUSPEND
	default 0x00000000
endif
