summaryrefslogtreecommitdiff
path: root/boot/at91bootstrap/Config.in
blob: b148973a72c765890a9fb41230328ae6c8f0c65b (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
menuconfig 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_AT91BOOT_DATAFLASH
	help
	  Select Chip for which AT91 bootstrap should be built

config BR2_TARGET_AT91BOOT_DATAFLASH
	bool "Data Flash"

config BR2_TARGET_AT91BOOT_NANDFLASH
	bool "NAND Flash"

endchoice

config BR2_TARGET_AT91BOOTSTRAP_MEMORY
	string
	default	"dataflash"	if	BR2_TARGET_AT91BOOT_DATAFLASH
	default	"nandflash"	if	BR2_TARGET_AT91BOOT_NANDFLASH

endif