]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - boot/at91bootstrap3/Config.in
boot/*/Config.in: fix attributes order
[coffee/buildroot.git] / boot / at91bootstrap3 / Config.in
1 config BR2_TARGET_AT91BOOTSTRAP3
2         bool "AT91 Bootstrap 3"
3         depends on BR2_arm926t || BR2_cortex_a5
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 settings...
8           - Peripheral drivers such as PIO, PMC or SDRAMC...
9           - Physical media algorithm such as DataFlash, NandFlash, NOR Flash...
10
11 if BR2_TARGET_AT91BOOTSTRAP3
12
13 choice
14
15         prompt "AT91 Bootstrap 3 version"
16
17 config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
18         bool "3.8.6"
19
20 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
21         bool "Custom Git repository"
22         help
23           This option allows Buildroot to get the AT91 Bootstrap 3 source
24           code from a Git repository.
25
26 endchoice
27
28 if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
29
30 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
31         string "URL of custom repository"
32
33 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
34         string "Custom repository version"
35         help
36           Revision to use in the typical format used by Git
37           E.G. a sha id, a tag, branch, ..
38
39 endif
40
41 config BR2_TARGET_AT91BOOTSTRAP3_VERSION
42         string
43         default "v3.8.6" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
44         default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
45                 if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
46
47 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
48         string "custom patch dir"
49         help
50           If your board requires custom patches, add the path to the
51           directory containing the patches here. The patches must be
52           named at91bootstrap3-<something>.patch.
53
54           Most users may leave this empty
55
56 #
57 # Configuration selection
58 #
59
60 choice
61         prompt "AT91 Bootstrap 3 configuration"
62         default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
63
64 config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
65         bool "Using a defconfig"
66
67 config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
68         bool "Using a custom config file"
69
70 endchoice
71
72 config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG
73         string "Defconfig name"
74         depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
75         help
76           Name of the at91bootstrap3 defconfig file to use, without the
77           trailing _defconfig.  The defconfig is located at
78           board/<processor>/<board>_defconfig in the at91bootstrap3
79           tree.
80
81 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
82         string "Configuration file path"
83         depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
84         help
85           Path to the at91bootstrap3 configuration file
86
87 endif # BR2_TARGET_AT91BOOTSTRAP3