aboutsummaryrefslogtreecommitdiff
path: root/board/sipeed/maix/Kconfig
blob: b1d7a7ad936043029705fb9e3597d1ca88e5ac06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SPDX-License-Identifier: GPL-2.0+
# Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>

if TARGET_SIPEED_MAIX

config SYS_BOARD
	default "maix"

config SYS_VENDOR
	default "sipeed"

config SYS_CPU
	default "generic"

config SYS_CONFIG_NAME
	default "sipeed-maix"

config SYS_TEXT_BASE
	default 0x80000000

config DEFAULT_DEVICE_TREE
	default "k210-maix-bit"

config NR_CPUS
	default 2

config NR_DRAM_BANKS
	default 3

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select GENERIC_RISCV
	select RISCV_PRIV_1_9
	imply SMP
	imply DM_SERIAL
	imply SIFIVE_SERIAL
	imply SIFIVE_CLINT
	imply POWER_DOMAIN
	imply SIMPLE_PM_BUS
	imply CLK_K210
	imply DM_RESET
	imply RESET_SYSCON
	imply SYSRESET
	imply SYSRESET_SYSCON
	imply PINCTRL
	imply PINCONF
	imply PINCTRL_K210
	imply DM_GPIO
	imply DWAPB_GPIO
	imply SIFIVE_GPIO
	imply CMD_GPIO
	imply LED
	imply LED_GPIO
	imply SPI
	imply DESIGNWARE_SPI
	imply SPI_FLASH_GIGADEVICE
	imply SPI_FLASH_WINBOND
	imply DM_MTD
	imply SPI_FLASH_MTD
	imply CMD_MTD
	imply ENV_IS_IN_SPI_FLASH
	imply MMC
	imply MMC_BROKEN_CD
	imply MMC_SPI
	imply CMD_MMC
	imply DOS_PARTITION
	imply EFI_PARTITION
	imply CMD_PART
	imply CMD_FS_GENERIC
	imply WDT
	imply DESIGNWARE_WATCHDOG
endif