2025-09-30 11:56:06 +08:00
|
|
|
|
menu "Board options"
|
|
|
|
|
|
|
|
|
|
|
|
#============================================
|
|
|
|
|
|
# Peripheral Devices
|
|
|
|
|
|
#============================================
|
|
|
|
|
|
comment "Peripheral Devices:"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# cmu device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# gpio device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/gpio/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# Interface Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "Interface Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# uart device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_UART0
|
|
|
|
|
|
bool "Using Uart0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_UART_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_UART1
|
|
|
|
|
|
bool "Using Uart1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_UART_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_UART2
|
|
|
|
|
|
bool "Using Uart2"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_UART_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_UART3
|
|
|
|
|
|
bool "Using Uart3"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_UART_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/uart/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# i2c device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SOFT_I2C
|
|
|
|
|
|
bool "Using SOFT_I2C"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select RT_USING_I2C_BITOPS
|
|
|
|
|
|
select AIC_I2C_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_I2C0
|
|
|
|
|
|
bool "Using I2C0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_I2C_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_I2C1
|
|
|
|
|
|
bool "Using I2C1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_I2C_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/i2c/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# PWM device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_PWM0
|
|
|
|
|
|
bool "Using PWM0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_PWM_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_PWM1
|
|
|
|
|
|
bool "Using PWM1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_PWM_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# HRTimer device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
menu "Using HRTIMER"
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_HRTIMER0
|
|
|
|
|
|
bool "Using HRTimer0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_HRTIMER_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_HRTIMER1
|
|
|
|
|
|
bool "Using HRTimer1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_HRTIMER_DRV
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# CAN device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_CAN0
|
|
|
|
|
|
bool "Using CAN0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_CAN_DRV
|
|
|
|
|
|
select RT_USING_CAN
|
|
|
|
|
|
select RT_CAN_USING_HDR
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_CAN1
|
|
|
|
|
|
bool "Using CAN1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_CAN_DRV
|
|
|
|
|
|
select RT_USING_CAN
|
|
|
|
|
|
select RT_CAN_USING_HDR
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# CIR device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_CIR
|
|
|
|
|
|
bool "Using CIR"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_CIR_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/cir/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# Storage Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "Storage Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
# qspi device global option
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_QSPI0
|
|
|
|
|
|
bool "Using SPI0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_QSPI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
menu "SPI0 Parameter"
|
|
|
|
|
|
depends on AIC_USING_QSPI0
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_DEV_QSPI0_MAX_SRC_FREQ_HZ
|
|
|
|
|
|
int "Max frequency(Hz)"
|
|
|
|
|
|
default 100000000
|
|
|
|
|
|
|
|
|
|
|
|
choice
|
|
|
|
|
|
prompt "Set SPI0 bus width"
|
|
|
|
|
|
default AIC_QSPI0_BUS_WIDTH_4
|
|
|
|
|
|
config AIC_QSPI0_BUS_WIDTH_1
|
|
|
|
|
|
bool "Standard"
|
|
|
|
|
|
config AIC_QSPI0_BUS_WIDTH_4
|
|
|
|
|
|
bool "Quad"
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_QSPI0_BUS_WIDTH
|
|
|
|
|
|
int
|
|
|
|
|
|
default 1 if AIC_QSPI0_BUS_WIDTH_1
|
|
|
|
|
|
default 4 if AIC_QSPI0_BUS_WIDTH_4
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_DEV_QSPI0_DELAY_MODE
|
|
|
|
|
|
int "RX Data Sample Delay"
|
|
|
|
|
|
default 2
|
|
|
|
|
|
range 0 4
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_QSPI1
|
|
|
|
|
|
bool "Using SPI1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_QSPI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
menu "SPI1 Parameter"
|
|
|
|
|
|
depends on AIC_USING_QSPI1
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_DEV_QSPI1_MAX_SRC_FREQ_HZ
|
|
|
|
|
|
int "Max frequency(Hz)"
|
|
|
|
|
|
default 100000000
|
|
|
|
|
|
|
|
|
|
|
|
choice
|
|
|
|
|
|
prompt "Set SPI1 bus width"
|
|
|
|
|
|
default AIC_QSPI1_BUS_WIDTH_4
|
|
|
|
|
|
config AIC_QSPI1_BUS_WIDTH_1
|
|
|
|
|
|
bool "Standard"
|
|
|
|
|
|
config AIC_QSPI1_BUS_WIDTH_4
|
|
|
|
|
|
bool "Quad"
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_QSPI1_BUS_WIDTH
|
|
|
|
|
|
int
|
|
|
|
|
|
default 1 if AIC_QSPI1_BUS_WIDTH_1
|
|
|
|
|
|
default 4 if AIC_QSPI1_BUS_WIDTH_4
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_DEV_QSPI1_DELAY_MODE
|
|
|
|
|
|
int "RX Data Sample Delay"
|
|
|
|
|
|
default 2
|
|
|
|
|
|
range 0 4
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_QSPI1_DYNAMIC_DMA
|
|
|
|
|
|
depends on AIC_USING_DMA
|
|
|
|
|
|
bool "Dynamic DMA channel SPI1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_QSPI1_BUS_SPI
|
|
|
|
|
|
bool "Work in SPI BUS Mode"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_QSPI_DRV
|
|
|
|
|
|
depends on AIC_QSPI1_BUS_WIDTH_1
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/qspi/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# SDMC device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SDMC0
|
|
|
|
|
|
bool "Using SDMC0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_SDMC_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SDMC1
|
|
|
|
|
|
bool "Using SDMC1"
|
|
|
|
|
|
default y
|
|
|
|
|
|
select AIC_SDMC_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/sdmc/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# WLAN device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
comment "WLAN Related:"
|
|
|
|
|
|
|
|
|
|
|
|
menuconfig AIC_WIRELESS_LAN
|
|
|
|
|
|
bool "Using Wireless LAN"
|
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/peripheral/wireless/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# Analog Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "Analog Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# TSEN device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_TSEN
|
|
|
|
|
|
bool "Using TSensor"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_TSEN_DRV
|
|
|
|
|
|
|
|
|
|
|
|
menu "TSENS options"
|
|
|
|
|
|
depends on AIC_USING_TSEN
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_TSEN_CPU
|
|
|
|
|
|
bool "Using TSEN_CPU"
|
|
|
|
|
|
depends on AIC_USING_TSEN
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_TSEN_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/tsen/Kconfig.dev"
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# GPAI device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI
|
|
|
|
|
|
bool "Using GPAI"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
menu "GPAI options"
|
|
|
|
|
|
depends on AIC_USING_GPAI
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI0
|
|
|
|
|
|
bool "Using GPAI0"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI1
|
|
|
|
|
|
bool "Using GPAI1"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI2
|
|
|
|
|
|
bool "Using GPAI2"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI3
|
|
|
|
|
|
bool "Using GPAI3"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI4
|
|
|
|
|
|
bool "Using GPAI4"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GPAI5
|
|
|
|
|
|
bool "Using GPAI5"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_GPAI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/hal/gpai/Kconfig.dev"
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# MutiMedia Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "MutiMedia Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
# DE device global option
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_DE
|
|
|
|
|
|
bool "Using Display Engine (DE)"
|
|
|
|
|
|
default y
|
|
|
|
|
|
select AIC_DE_DRV
|
|
|
|
|
|
|
|
|
|
|
|
menu "Display Parameter"
|
|
|
|
|
|
depends on AIC_DE_DRV
|
|
|
|
|
|
source "bsp/artinchip/drv/display/Kconfig"
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
# GE device global option
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_GE
|
|
|
|
|
|
bool "Using Graphics Engine (GE)"
|
|
|
|
|
|
default y
|
|
|
|
|
|
select AIC_GE_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/ge/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
# VE device global option
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_VE
|
|
|
|
|
|
bool "Using Video Engine (VE)"
|
|
|
|
|
|
default y
|
|
|
|
|
|
select AIC_VE_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# AUDIO device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_AUDIO
|
|
|
|
|
|
bool "Using Audio"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_AUDIO_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/audio/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# TOUCH device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
if KERNEL_BAREMETAL
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_BARE_TOUCH
|
|
|
|
|
|
bool "Using Touch"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_TOUCH_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv_bare/touch/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# xxx device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# System Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "System Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# DMA device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_DMA
|
|
|
|
|
|
bool "Using DMA"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_DMA_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# WRI device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_WRI
|
|
|
|
|
|
bool "Using WRI"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_WRI_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# WDT device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_WDT
|
|
|
|
|
|
bool "Using Watchdog"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_WDT_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# Mem options
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
menu "Mem Options"
|
|
|
|
|
|
|
|
|
|
|
|
# 1. sram region
|
|
|
|
|
|
menu "SRAM parameter"
|
|
|
|
|
|
config AIC_SRAM_SIZE
|
|
|
|
|
|
hex "SRAM Size"
|
|
|
|
|
|
default 0x8000
|
|
|
|
|
|
|
|
|
|
|
|
# 1.1 sram cma: section(".sram_cma_data") + sram_cma_heap "MEM_SRAM_CMA"
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_SRAM_CMA_EN
|
|
|
|
|
|
bool
|
|
|
|
|
|
default y if AIC_SRAM_SIZE > 0
|
|
|
|
|
|
|
|
|
|
|
|
# 1.2 sram sw: section(".sram_sw_data") + sram_sw_heap 'MEM_SRAM_SW'
|
|
|
|
|
|
config AIC_SRAM_SW_SIZE
|
|
|
|
|
|
hex "Software size in SRAM"
|
|
|
|
|
|
range 0 AIC_SRAM_SIZE
|
|
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_SRAM_SW_EN
|
|
|
|
|
|
bool
|
|
|
|
|
|
default y if AIC_SRAM_SW_SIZE > 0
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
# 2. psram region
|
|
|
|
|
|
menu "PSRAM parameter"
|
|
|
|
|
|
config AIC_PSRAM_SIZE
|
|
|
|
|
|
hex "PSRAM size"
|
|
|
|
|
|
default 0x800000
|
|
|
|
|
|
|
|
|
|
|
|
# 2.1 psram cma: section(".psram_cma_data") + psram_cma_heap ‘MEM_PSRAM_CMA’
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_PSRAM_CMA_EN
|
|
|
|
|
|
bool
|
|
|
|
|
|
default y if AIC_PSRAM_SIZE > 0
|
|
|
|
|
|
|
|
|
|
|
|
# 2.2 psram sw: section(".text" + ".data" + ".bss") + psram_sw_heap ‘MEM_DEFAULT’
|
|
|
|
|
|
config AIC_PSRAM_SW_SIZE
|
|
|
|
|
|
hex "Software size in PSRAM"
|
|
|
|
|
|
range 0 AIC_PSRAM_SIZE
|
|
|
|
|
|
default 0x100000
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
# 3. XIP
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_XIP
|
|
|
|
|
|
bool "Enable XIP"
|
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
menu "XIP parameter"
|
|
|
|
|
|
depends on AIC_XIP
|
|
|
|
|
|
config AIC_XIP_FW_OFFSET
|
|
|
|
|
|
hex "XIP fw start addr"
|
|
|
|
|
|
default 0x0
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
# 4. Interrupt Stack Size
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_INTERRUPTSTACK_SIZE
|
|
|
|
|
|
int "Interrupt stack size"
|
|
|
|
|
|
help
|
|
|
|
|
|
Interrupt stack size reserve in 'Section .bss'
|
|
|
|
|
|
range 0 AIC_PSRAM_SW_SIZE
|
|
|
|
|
|
default 4096
|
|
|
|
|
|
|
|
|
|
|
|
# 5. Support seconed Flash
|
|
|
|
|
|
|
|
|
|
|
|
menu "Support another Flash"
|
|
|
|
|
|
choice
|
|
|
|
|
|
prompt "Number of Flash"
|
|
|
|
|
|
default AIC_FLASH_NUM_ONE
|
|
|
|
|
|
help
|
|
|
|
|
|
Whether support another flash
|
|
|
|
|
|
config AIC_FLASH_NUM_ONE
|
|
|
|
|
|
bool "only 1 flash"
|
|
|
|
|
|
config AIC_FLASH_NUM_TWO
|
|
|
|
|
|
bool "support 2 flashes"
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
choice
|
|
|
|
|
|
prompt "Seconed Flash type"
|
|
|
|
|
|
depends on AIC_FLASH_NUM_TWO
|
|
|
|
|
|
default AIC_SECONED_FLASH_NOR
|
|
|
|
|
|
help
|
|
|
|
|
|
Type of seconed Flash
|
|
|
|
|
|
config AIC_SECONED_FLASH_NOR
|
|
|
|
|
|
bool "norflash"
|
|
|
|
|
|
config AIC_SECONED_FLASH_NAND
|
|
|
|
|
|
bool "nandflash"
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# Clock options
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
menu "Clocks options"
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_INT0_FREQ
|
|
|
|
|
|
int "Clk int0 pll frequence"
|
|
|
|
|
|
default 396000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_INT1_FREQ
|
|
|
|
|
|
int "Clk int1 pll frequence"
|
|
|
|
|
|
default 588000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_FRA0_FREQ
|
|
|
|
|
|
int "Clk fra0 pll frequence"
|
|
|
|
|
|
default 396000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_FRA0_SSC_DIS
|
|
|
|
|
|
bool "Disable fra0 pll spread spectrum"
|
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_FRA2_FREQ
|
|
|
|
|
|
int "Clk fra2 pll frequence"
|
|
|
|
|
|
default 396000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_PLL_FRA2_SSC_DIS
|
|
|
|
|
|
bool "Disable fra2 pll spread spectrum"
|
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_CPU_FREQ
|
|
|
|
|
|
int "Clk cpu frequence"
|
|
|
|
|
|
default 396000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_AXI0_FREQ
|
|
|
|
|
|
int "Clk axi0 frequence"
|
|
|
|
|
|
default 200000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_AHB0_FREQ
|
|
|
|
|
|
int "Clk ahb0 frequence"
|
|
|
|
|
|
default 200000000
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_CLK_APB0_FREQ
|
|
|
|
|
|
int "Clk apb0 frequence"
|
|
|
|
|
|
default 100000000
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# PM options
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_PM
|
|
|
|
|
|
bool "Using Power Management"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_PM_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/pm/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
# Security Class
|
|
|
|
|
|
#================================================
|
|
|
|
|
|
|
|
|
|
|
|
comment "Security Related:"
|
|
|
|
|
|
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
# spienc device global option
|
|
|
|
|
|
#--------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SPIENC
|
|
|
|
|
|
bool "Using Spienc"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_QSPI_DRV
|
|
|
|
|
|
select AIC_SPIENC_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/spienc/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# efuse/sid device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SID
|
|
|
|
|
|
bool "Using Efuse/SID"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_SID_DRV
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/efuse/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# dce device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_DCE
|
|
|
|
|
|
bool "Using Data Check Engine"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_DCE_DRV
|
|
|
|
|
|
|
|
|
|
|
|
#source "bsp/artinchip/drv/dce/Kconfig"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# syscfg global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_SYSCFG
|
|
|
|
|
|
bool "Using Syscfg"
|
|
|
|
|
|
default y
|
|
|
|
|
|
|
|
|
|
|
|
source "bsp/artinchip/drv/syscfg/Kconfig.dev"
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
# mtop device global option
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
config AIC_USING_MTOP
|
|
|
|
|
|
bool "Using MTOP"
|
|
|
|
|
|
default n
|
|
|
|
|
|
select AIC_MTOP_DRV
|
|
|
|
|
|
|
|
|
|
|
|
endmenu
|