blob: 8061057a35d21b2e35d18bc761bbc05d8b8363cd [file] [log] [blame]
Ramesh Iyyar25f085a2020-03-29 08:07:13 -05001menu "pdata"
2
3config BR2_PACKAGE_PDATA
4 bool "pdata"
5 default y if (BR2_OPENPOWER_POWER10)
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -03006 select BR2_PACKAGE_HOST_DTC
Ramesh Iyyar25f085a2020-03-29 08:07:13 -05007 depends on BR2_PACKAGE_EKB
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -03008 depends on (BR2_PACKAGE_MACHINE_XML || BR2_PACKAGE_RAINIER_2U_XML || BR2_PACKAGE_RAINIER_4U_XML)
Ramesh Iyyar25f085a2020-03-29 08:07:13 -05009 help
10 To initialize and boot a server, various software components
11 ( BMC apps and Hostboot) will interact. PDATA provides device tree
12 based infrastructure to get the attributes which are required
13 to boot the server and run time usage. Also provides API's
14 to manage the attributes data.
15
16if BR2_PACKAGE_PDATA
17
18choice
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -030019 prompt "PDATA location"
20
21config BR2_PDATA_GITHUB_PROJECT
22 bool "PDATA located at default Github project"
23
24config BR2_PDATA_CUSTOM_GIT
25 bool "PDATA located at Custom Git repository"
26
27endchoice
28
29config BR2_PDATA_CUSTOM_GIT_VALUE
30 string "URL of PDATA Custom Git repository"
31
32choice
Ramesh Iyyar25f085a2020-03-29 08:07:13 -050033 prompt "PDATA version"
34 default BR2_PDATA_LATEST_VERSION
35
36config BR2_PDATA_LATEST_VERSION
37 bool "Use latest PDATA master"
38
39config BR2_PDATA_CUSTOM_VERSION
40 bool "Custom PDATA version"
41
42endchoice
43
44config BR2_PDATA_CUSTOM_VERSION_VALUE
45 string "PDATA version"
46 depends on BR2_PDATA_CUSTOM_VERSION
47
48config BR2_PDATA_VERSION
49 string
Marri Devender Rao1f5da682023-02-13 08:43:27 -060050 default "86435f2e2e67c54fc837e8a887a49b6b5a15617e" if BR2_PDATA_LATEST_VERSION
Ramesh Iyyar25f085a2020-03-29 08:07:13 -050051 default BR2_PDATA_CUSTOM_VERSION_VALUE if BR2_PDATA_CUSTOM_VERSION
52
53endif
54
55endmenu