Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 1 | menuconfig SYSINFO |
| 2 | bool "Device System Information" |
Mario Six | 5381c28 | 2018-07-31 11:44:11 +0200 | [diff] [blame] | 3 | help |
| 4 | Support methods to query hardware configurations from internal |
| 5 | mechanisms (e.g. reading GPIO values, determining the presence of |
| 6 | devices on busses, etc.). This enables the usage of U-Boot with |
| 7 | modular board architectures. |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 8 | |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 9 | if SYSINFO |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 10 | |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 11 | config SPL_SYSINFO |
Jean-Jacques Hiblot | 8c86f96 | 2019-10-22 16:39:18 +0200 | [diff] [blame] | 12 | depends on SPL_DM |
| 13 | bool "Enable board driver support in SPL" |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 14 | |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 15 | config SYSINFO_GAZERBEAM |
| 16 | bool "Enable sysinfo driver for the Gazerbeam board" |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 17 | help |
| 18 | Support querying device information for the gdsys Gazerbeam board. |
| 19 | |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 20 | config SYSINFO_SANDBOX |
| 21 | bool "Enable sysinfo driver for the Sandbox board" |
Mario Six | e6fd018 | 2018-07-31 11:44:13 +0200 | [diff] [blame] | 22 | help |
| 23 | Support querying device information for the Sandbox boards. |
| 24 | |
Simon Glass | 44c74bd | 2020-11-05 06:32:11 -0700 | [diff] [blame] | 25 | config SYSINFO_SMBIOS |
| 26 | bool "Provide a default sysinfo driver for SMBIOS information" |
| 27 | help |
| 28 | Some boards want to specify the manufacturer or product name but do |
| 29 | not need to have their own sysinfo driver. This includes a default |
| 30 | one which provides a way to specify this SMBIOS information in the |
| 31 | devicetree, without needing any board-specific functionality. |
| 32 | |
Sean Anderson | 54aa07f | 2021-04-20 10:50:57 -0400 | [diff] [blame] | 33 | config SYSINFO_GPIO |
| 34 | bool "Enable gpio sysinfo driver" |
| 35 | help |
| 36 | Support querying gpios to determine board revision. This uses gpios to |
| 37 | form a ternary number (when they are pulled-up, -down, or floating). |
| 38 | This ternary number is then mapped to a board revision name using |
| 39 | device tree properties. |
| 40 | |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 41 | endif |