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 | |
Marek Vasut | 85cd345 | 2021-07-03 20:38:26 +0200 | [diff] [blame] | 20 | config SYSINFO_RCAR3 |
| 21 | bool "Enable sysinfo driver for the Renesas R-Car Gen3" |
| 22 | depends on RCAR_GEN3 && I2C_EEPROM |
| 23 | default y if RCAR_GEN3 |
| 24 | help |
| 25 | Support querying SoC version information for Renesas R-Car Gen3. |
| 26 | |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 27 | config SYSINFO_SANDBOX |
| 28 | bool "Enable sysinfo driver for the Sandbox board" |
Mario Six | e6fd018 | 2018-07-31 11:44:13 +0200 | [diff] [blame] | 29 | help |
| 30 | Support querying device information for the Sandbox boards. |
| 31 | |
Simon Glass | 44c74bd | 2020-11-05 06:32:11 -0700 | [diff] [blame] | 32 | config SYSINFO_SMBIOS |
| 33 | bool "Provide a default sysinfo driver for SMBIOS information" |
| 34 | help |
| 35 | Some boards want to specify the manufacturer or product name but do |
| 36 | not need to have their own sysinfo driver. This includes a default |
| 37 | one which provides a way to specify this SMBIOS information in the |
| 38 | devicetree, without needing any board-specific functionality. |
| 39 | |
Sean Anderson | 54aa07f | 2021-04-20 10:50:57 -0400 | [diff] [blame] | 40 | config SYSINFO_GPIO |
| 41 | bool "Enable gpio sysinfo driver" |
| 42 | help |
| 43 | Support querying gpios to determine board revision. This uses gpios to |
| 44 | form a ternary number (when they are pulled-up, -down, or floating). |
| 45 | This ternary number is then mapped to a board revision name using |
| 46 | device tree properties. |
| 47 | |
Mario Six | 6238ae4 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 48 | endif |