# SPDX-License-Identifier: GPL-2.0-only

if ARCH_PXA

# ----------------------------------------------------------

config ARCH_PXA3XX
	bool
	select CPU_XSC3
	select HAVE_CLK
	select COMMON_CLK
	select COMMON_CLK_OF_PROVIDER

config ARCH_PXA300
	bool
	select ARCH_PXA3XX

config ARCH_PXA310
	bool
	select ARCH_PXA3XX

config BAREBOX_UPDATE_PXA_NAND
	prompt "barebox update NAND handler"
	bool
	depends on ARCH_PXA3XX && BAREBOX_UPDATE && MTD
	help
	  Say Y here for an update handler that writes the image built by
	  scripts/pxa-image - the NTIM header, the OBM and barebox - to the
	  mtd partition the Boot ROM boots from.

comment "Intel/Marvell PXA boards"

config MACH_RAUMFELD_SPEAKER
	bool "Raumfeld Speaker"
	select ARCH_PXA300
	help
	  Say Y here if you are using the Raumfeld Speaker, a PXA303
	  based WLAN speaker. The Boot ROM loads barebox from NAND, so
	  it does the pinmuxing, clock and DRAM setup itself.

endif
