aboutsummaryrefslogtreecommitdiffstats
path: root/boot/at91bootstrap/Config.in
blob: ff968cdbe971e84306497b3b658dcf6f7010f032 (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_arm
	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