scripts/pycompile: Accomodate latest Python 3 codebase
[buildroot-gz.git] / boot / at91bootstrap3 / Config.in
blob237deb929c26c35fc889693308fad50d206ca6c8
1 config BR2_TARGET_AT91BOOTSTRAP3
2         depends on BR2_arm926t || BR2_cortex_a5
3         bool "AT91 Bootstrap 3"
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...
11 if BR2_TARGET_AT91BOOTSTRAP3
13 choice
15         prompt "AT91 Bootstrap 3 version"
17 config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
18         bool "3.8.6"
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.
26 endchoice
28 if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
30 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
31         string "URL of custom repository"
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, ..
39 endif
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
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.
54           Most users may leave this empty
57 # Configuration selection
60 choice
61         prompt "AT91 Bootstrap 3 configuration"
62         default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
64 config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
65         bool "Using a defconfig"
67 config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
68         bool "Using a custom config file"
70 endchoice
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.
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
87 endif # BR2_TARGET_AT91BOOTSTRAP3