xref: /OK3568_Linux_fs/buildroot/boot/at91bootstrap/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP
2*4882a593Smuzhiyun	bool "AT91 Bootstrap"
3*4882a593Smuzhiyun	depends on BR2_arm926t
4*4882a593Smuzhiyun	help
5*4882a593Smuzhiyun	  AT91Bootstrap is a first level bootloader for the Atmel AT91
6*4882a593Smuzhiyun	  devices. It integrates algorithms for:
7*4882a593Smuzhiyun	  - Device initialization such as clock configuration, PIO
8*4882a593Smuzhiyun	    settings...
9*4882a593Smuzhiyun	  - Peripheral drivers such as PIO, PMC or SDRAMC...
10*4882a593Smuzhiyun	  - Physical media algorithm such as DataFlash, NandFlash, NOR
11*4882a593Smuzhiyun	    Flash...
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunif	BR2_TARGET_AT91BOOTSTRAP
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR
16*4882a593Smuzhiyun	string "custom patch dir"
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  If your board requires custom patches, add the path to the
19*4882a593Smuzhiyun	  directory containing the patches here. The patches must be
20*4882a593Smuzhiyun	  named at91bootstrap-<version>-<something>.patch.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  Most users may leave this empty
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP_BOARD
25*4882a593Smuzhiyun	string "Bootstrap board"
26*4882a593Smuzhiyun	default ""
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  This is used to do a make <board>_config
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunchoice
31*4882a593Smuzhiyun	prompt "Boot Memory"
32*4882a593Smuzhiyun	default BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  Select Chip for which AT91 bootstrap should be built
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
37*4882a593Smuzhiyun	bool "Data Flash"
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP_NANDFLASH
40*4882a593Smuzhiyun	bool "NAND Flash"
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunendchoice
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP_MEMORY
45*4882a593Smuzhiyun	string
46*4882a593Smuzhiyun	default	"dataflash"	if	BR2_TARGET_AT91BOOTSTRAP_DATAFLASH
47*4882a593Smuzhiyun	default	"nandflash"	if	BR2_TARGET_AT91BOOTSTRAP_NANDFLASH
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunendif
50