xref: /OK3568_Linux_fs/buildroot/boot/at91bootstrap3/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3
2*4882a593Smuzhiyun	bool "AT91 Bootstrap 3+"
3*4882a593Smuzhiyun	depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7
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*4882a593Smuzhiyun	  https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunif BR2_TARGET_AT91BOOTSTRAP3
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunchoice
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	prompt "AT91 Bootstrap 3+ version"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
22*4882a593Smuzhiyun	bool "4.0.0"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
25*4882a593Smuzhiyun	bool "3.10.3"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
28*4882a593Smuzhiyun	bool "Custom Git repository"
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  This option allows Buildroot to get the AT91 Bootstrap 3
31*4882a593Smuzhiyun	  source code from a Git repository.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
34*4882a593Smuzhiyun	bool "Custom tarball"
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunendchoice
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
39*4882a593Smuzhiyun	string "URL of custom AT91Bootstrap tarball"
40*4882a593Smuzhiyun	depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunif BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
45*4882a593Smuzhiyun	string "URL of custom repository"
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
48*4882a593Smuzhiyun	string "Custom repository version"
49*4882a593Smuzhiyun	help
50*4882a593Smuzhiyun	  Revision to use in the typical format used by Git
51*4882a593Smuzhiyun	  E.G. a sha id, a tag, branch, ..
52*4882a593Smuzhiyun
53*4882a593Smuzhiyunendif
54*4882a593Smuzhiyun
55*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_VERSION
56*4882a593Smuzhiyun	string
57*4882a593Smuzhiyun	default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
58*4882a593Smuzhiyun	default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
59*4882a593Smuzhiyun	default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
60*4882a593Smuzhiyun		if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
61*4882a593Smuzhiyun	default "custom"	if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
62*4882a593Smuzhiyun
63*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
64*4882a593Smuzhiyun	string "custom patch dir"
65*4882a593Smuzhiyun	help
66*4882a593Smuzhiyun	  If your board requires custom patches, add the path to the
67*4882a593Smuzhiyun	  directory containing the patches here. The patches must be
68*4882a593Smuzhiyun	  named at91bootstrap3-<something>.patch.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyun	  Most users may leave this empty
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun#
73*4882a593Smuzhiyun# Configuration selection
74*4882a593Smuzhiyun#
75*4882a593Smuzhiyun
76*4882a593Smuzhiyunchoice
77*4882a593Smuzhiyun	prompt "AT91 Bootstrap 3 configuration"
78*4882a593Smuzhiyun	default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
81*4882a593Smuzhiyun	bool "Using a defconfig"
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
84*4882a593Smuzhiyun	bool "Using a custom config file"
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunendchoice
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG
89*4882a593Smuzhiyun	string "Defconfig name"
90*4882a593Smuzhiyun	depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
91*4882a593Smuzhiyun	help
92*4882a593Smuzhiyun	  Name of the at91bootstrap3 defconfig file to use, without the
93*4882a593Smuzhiyun	  trailing _defconfig.  The defconfig is located at
94*4882a593Smuzhiyun	  board/<processor>/<board>_defconfig in the at91bootstrap3
95*4882a593Smuzhiyun	  tree.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
98*4882a593Smuzhiyun	string "Configuration file path"
99*4882a593Smuzhiyun	depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
100*4882a593Smuzhiyun	help
101*4882a593Smuzhiyun	  Path to the at91bootstrap3 configuration file
102*4882a593Smuzhiyun
103*4882a593Smuzhiyunconfig BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
104*4882a593Smuzhiyun	bool "needs host-python3"
105*4882a593Smuzhiyun	help
106*4882a593Smuzhiyun	  Enable this option if the at91bootstrap build process needs
107*4882a593Smuzhiyun	  Python 3.x to be available on the host. This is needed in
108*4882a593Smuzhiyun	  some at91bootstrap configurations to use NAND/PMECC Python
109*4882a593Smuzhiyun	  scripts.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyunendif # BR2_TARGET_AT91BOOTSTRAP3
112