diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-05 17:23:58 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-05 17:23:58 -0400 |
commit | 9cba29b19f43f9450117e8bc89e7dda691ed5ab5 (patch) | |
tree | 548bda96c5a6e2756e6a4de3a297630fc5022f57 /board/dhelectronics/common/dh_common.h | |
parent | eff62097f67639b6d935d07b23543aa82468bc5b (diff) | |
parent | f6be41c83c17c09dddfb1e29a7ca391b5190634d (diff) |
Merge tag 'u-boot-imx-master-20240405' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/20228
- Convert imx8mp-beacon and verdin-imx8mm/verdin-imx8mp to OF_UPSTREAM.
- Enable PCIe NVMe support on imx8mp_beacon.
- Fix Ethernet and board detection on mx6cuboxi.
- Fix signature_block_hdr struct fields.
- Fix imx9_probe_mu prototype and make it to get called in
EVT_DM_POST_INIT_R.
- Test whether ethernet node is enabled before reading MAC EEPROM on
DHSOM SoMs.
Diffstat (limited to 'board/dhelectronics/common/dh_common.h')
-rw-r--r-- | board/dhelectronics/common/dh_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/dhelectronics/common/dh_common.h b/board/dhelectronics/common/dh_common.h index 2b24637d96d..a2de5b1553e 100644 --- a/board/dhelectronics/common/dh_common.h +++ b/board/dhelectronics/common/dh_common.h @@ -12,6 +12,14 @@ bool dh_mac_is_in_env(const char *env); /* + * dh_get_mac_is_enabled - Test if ethernet MAC is enabled in DT + * + * @alias: alias for ethernet MAC device tree node + * Return: 0 if OK, other value on error + */ +int dh_get_mac_is_enabled(const char *alias); + +/* * dh_get_mac_from_eeprom - Get MAC address from eeprom and write it to enetaddr * * @enetaddr: buffer where address is to be stored |