summaryrefslogtreecommitdiffstats
path: root/boot/at91bootstrap/Config.in
blob: b232b3b78e451e55cb4c101954c670df365ac915 (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
config BR2_TARGET_AT91BOOTSTRAP
	depends on BR2_arm926t
	bool "AT91 Bootstrap"
	help
	  AT91Bootstrap is a first level bootloader for the Atmel AT91
	  devices. It integrates algorithms for:
	  - Device initialization such as clock configuration, PIO settings...
	  - Peripheral drivers such as PIO, PMC or SDRAMC...
	  - Physical media algorithm such as DataFlash, NandFlash, NOR Flash...

if	BR2_TARGET_AT91BOOTSTRAP

config BR2_TARGET_AT91BOOTSTRAP_BOARD
	string "Bootstrap board"
	default ""
	help
	  This is used to do a make <board>_config

choice
	prompt "Boot Memory"
	default BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
	help
	  Select Chip for which AT91 bootstrap should be built

config BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
	bool "Data Flash"

config BR2_TARGET_AT91BOOTSTRAP_NANDFLASH
	bool "NAND Flash"

endchoice

config BR2_TARGET_AT91BOOTSTRAP_MEMORY
	string
	default	"dataflash"	if	BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
	default	"nandflash"	if	BR2_TARGET_AT91BOOTSTRAP_NANDFLASH

endif