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