#
# In defiance, this file was edited for
# Multitech systems.
# 2018 Jan 3 18:15CST
#
HAVE_DOT_CONFIG=y
# CONFIG_AT91SAM9260EK is not set
# CONFIG_AT91SAM9261EK is not set
# CONFIG_AT91SAM9263EK is not set
# CONFIG_AT91SAM9RLEK is not set
# CONFIG_AT91SAM9XEEK is not set
# CONFIG_AT91SAM9G10EK is not set
# CONFIG_AT91SAM9G20EK is not set
# CONFIG_AT91SAM9M10G45EK is not set
CONFIG_AT91SAM9X5EK=y
# CONFIG_AT91SAM9N12EK is not set
# CONFIG_SAMA5D3XEK is not set
# CONFIG_SAMA5D3_XPLAINED is not set
# CONFIG_SAMA5D3X_CMP is not set
# CONFIG_SAMA5D4EK is not set
# CONFIG_SAMA5D4_XPLAINED is not set
# CONFIG_SAMA5D2_PTC is not set
# CONFIG_SAMA5D2_XPLAINED is not set
# CONFIG_SAMA5D27_SOM1_EK is not set
# CONFIG_VINCO is not set
# CONFIG_AT91SAM9X5_ARIA is not set
# CONFIG_AT91SAM9X5_ARIETTA is not set
# CONFIG_SAMA5D3_ACQUA is not set
# CONFIG_SAMA5D2_ROADRUNNER is not set
# CONFIG_CORE9G25 is not set
# CONFIG_SAMA5D3_LINEA is not set
CONFIG_BOARDNAME="at91sam9x5ek"
AT91SAM9X5=y
CONFIG_MACH_TYPE="3373"
CONFIG_LINK_ADDR="0x300000"
CONFIG_TOP_OF_MEMORY="0x308000"
CONFIG_CRYSTAL_12_000MHZ=y
# CONFIG_CRYSTAL_16_000MHZ is not set
# CONFIG_CRYSTAL_16_36766MHZ is not set
# CONFIG_CRYSTAL_18_432MHZ is not set
# CONFIG_CRYSTAL_24_000MHZ is not set
ALLOW_CRYSTAL_12_000MHZ=y
CONFIG_CRYSTAL="CRYSTAL_12_000MHZ"
# CONFIG_CPU_CLK_166MHZ is not set
# CONFIG_CPU_CLK_180MHZ is not set
# CONFIG_CPU_CLK_200MHZ is not set
# CONFIG_CPU_CLK_240MHZ is not set
# CONFIG_CPU_CLK_266MHZ is not set
# CONFIG_CPU_CLK_332MHZ is not set
# CONFIG_CPU_CLK_348MHZ is not set
# CONFIG_CPU_CLK_396MHZ is not set
CONFIG_CPU_CLK_400MHZ=y
# CONFIG_CPU_CLK_444MHZ is not set
# CONFIG_CPU_CLK_492MHZ is not set
# CONFIG_CPU_CLK_498MHZ is not set
# CONFIG_CPU_CLK_510MHZ is not set
# CONFIG_CPU_CLK_528MHZ is not set
# CONFIG_CPU_CLK_594MHZ is not set
# CONFIG_CPU_CLK_600MHZ is not set
ALLOW_CPU_CLK_400MHZ=y
# DISABLE_CPU_CLK_240MHZ is not set
# CONFIG_BUS_SPEED_83MHZ is not set
# CONFIG_BUS_SPEED_90MHZ is not set
# CONFIG_BUS_SPEED_100MHZ is not set
# CONFIG_BUS_SPEED_116MHZ is not set
# CONFIG_BUS_SPEED_124MHZ is not set
CONFIG_BUS_SPEED_133MHZ=y
# CONFIG_BUS_SPEED_148MHZ is not set
# CONFIG_BUS_SPEED_164MHZ is not set
# CONFIG_BUS_SPEED_166MHZ is not set
# CONFIG_BUS_SPEED_170MHZ is not set
# CONFIG_BUS_SPEED_176MHZ is not set
# CONFIG_BUS_SPEED_200MHZ is not set
SUPPORT_BUS_SPEED_133MHZ=y
# CPU_HAS_TRUSTZONE is not set
# CONFIG_CPU_V7 is not set
# CONFIG_HAS_PMIC_ACT8865 is not set
# CONFIG_SUPPORT_PM is not set
# CONFIG_HAS_ONE_WIRE is not set
# CONFIG_HAS_EEPROM is not set
# CONFIG_HAS_EHT0_PHY is not set
# CONFIG_HAS_EHT1_PHY is not set
# CONFIG_HAS_AUDIO_CODEC is not set
# CONFIG_HAS_HDMI is not set
CORE_ARM926EJS=y
# CORE_CORTEX_A5 is not set
CPU_HAS_SCKC=y
# CPU_HAS_H32MXDIV is not set
CPU_HAS_HSMCI0=y
CPU_HAS_HSMCI1=y
# CPU_HAS_HSMCI2 is not set
# CPU_HAS_MCI0 is not set
# CPU_HAS_MCI1 is not set
# CPU_HAS_SDHC0 is not set
# CPU_HAS_SDHC1 is not set
CPU_HAS_SPI0=y
CPU_HAS_SPI1=y
# CPU_HAS_SPI0_IOSET1 is not set
# CPU_HAS_SPI0_IOSET2 is not set
# CPU_HAS_SPI1_IOSET1 is not set
# CPU_HAS_SPI1_IOSET2 is not set
# CPU_HAS_SPI1_IOSET3 is not set
# CPU_HAS_QSPI0 is not set
# CPU_HAS_QSPI1 is not set
# CPU_HAS_QSPI0_IOSET1 is not set
# CPU_HAS_QSPI0_IOSET2 is not set
# CPU_HAS_QSPI0_IOSET3 is not set
# CPU_HAS_QSPI1_IOSET1 is not set
# CPU_HAS_QSPI1_IOSET2 is not set
# CPU_HAS_QSPI1_IOSET3 is not set
CPU_HAS_PIO3=y
# CPU_HAS_L2CC is not set
CPU_HAS_PMECC=y
CONFIG_HAS_HW_INFO=y
# CONFIG_TWI is not set
# CONFIG_TWI0 is not set
# CONFIG_TWI1 is not set
# CONFIG_TWI2 is not set
# CONFIG_TWI3 is not set
# CONFIG_MACB is not set
# CONFIG_AES is not set
CONFIG_LOAD_HW_INFO=y
CPU_HAS_TWI0=y
CPU_HAS_TWI1=y
CPU_HAS_TWI2=y
# CPU_HAS_TWI3 is not set
# CPU_HAS_AES is not set
# CPU_HAS_PIO4 is not set

#
# Memory selection
#
# CONFIG_SDRAM is not set
# CONFIG_SDDRC is not set
CONFIG_DDRC=y
ALLOW_DATAFLASH=y
# ALLOW_FLASH is not set
ALLOW_NANDFLASH=y
ALLOW_SDCARD=y
# ALLOW_PSRAM is not set
# ALLOW_SDRAM_16BIT is not set

#
# RAM Configuration
#
# CONFIG_RAM_32MB is not set
# CONFIG_RAM_64MB is not set
# CONFIG_RAM_128MB is not set
CONFIG_RAM_256MB=y
# CONFIG_RAM_512MB is not set
# CONFIG_LPDDR1 is not set
# CONFIG_LPDDR2 is not set
# CONFIG_LPDDR3 is not set
CONFIG_DDR2=y
# CONFIG_DDR3 is not set
# CONFIG_SAMA5D2_LPDDR2 is not set
# CONFIG_DATAFLASH is not set
# CONFIG_FLASH is not set
CONFIG_NANDFLASH=y
# CONFIG_SDCARD is not set
CONFIG_MEMORY="nandflash"
ALLOW_BOOT_FROM_DATAFLASH_CS0=y

#
# NAND flash configuration
#
# CONFIG_ENABLE_SW_ECC is not set
CONFIG_USE_PMECC=y
# CONFIG_ON_DIE_ECC is not set

#
# PMECC Configuration
#
CONFIG_PMECC_AUTO_DETECT=y
# CONFIG_PMECC_CORRECT_BITS_2 is not set
# CONFIG_PMECC_CORRECT_BITS_4 is not set
# CONFIG_PMECC_CORRECT_BITS_8 is not set
# CONFIG_PMECC_CORRECT_BITS_12 is not set
# CONFIG_PMECC_CORRECT_BITS_24 is not set
CONFIG_PMECC_SECTOR_SIZE_512=y
# CONFIG_PMECC_SECTOR_SIZE_1024 is not set
# CONFIG_NANDFLASH_SMALL_BLOCKS is not set
CONFIG_ONFI_DETECT_SUPPORT=y
CONFIG_USE_ON_DIE_ECC_SUPPORT=y
# ALLOW_NANDFLASH_RECOVERY is not set
CONFIG_BOOTSTRAP_MAXSIZE="23000"
CONFIG_PROJECT="nandflash"
CONFIG_LOAD_UBOOT=y
# CONFIG_LOAD_LINUX is not set
# CONFIG_LOAD_ANDROID is not set
# CONFIG_LOAD_1MB is not set
# CONFIG_LOAD_4MB is not set
# CONFIG_LOAD_64KB is not set
CONFIG_IMG_ADDRESS="0x00040000"
CONFIG_JUMP_ADDR="0x2EF00000"

#
# U-Boot Image Storage Setup
#
CONFIG_IMG_SIZE="0x00080000"
CONFIG_IMAGE_NAME="u-boot.bin"
CONFIG_DEBUG=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_LOUD is not set
CONFIG_DEBUG_VERY_LOUD=y is not set
CONFIG_THUMB=y
# CONFIG_DISABLE_WATCHDOG is not set

#
# Hardware Initialization Options
#
CONFIG_HW_DISPLAY_BANNER=y
# Indicate ONFI Usage
CONFIG_HW_BANNER="\"\\n\\nAT91Bootstrap \" AT91BOOTSTRAP_VERSION \" (\" COMPILE_TIME \")/MTechONFI\\n\\n\""
CONFIG_HW_INIT=y
# CONFIG_USER_HW_INIT is not set

#
# Slow Clock Configuration Options
#
CONFIG_SCLK=y
# CONFIG_SCLK_BYPASS is not set
# CONFIG_BACKUP_MODE is not set

#
# Board Hardware Information Options
#
# CONFIG_LOAD_ONE_WIRE is not set
