[PATCH 06/21] imx9: soc: Change second Ethernet MAC fuse layout

Fabio Estevam festevam at gmail.com
Tue Sep 17 14:22:54 CEST 2024


On Mon, Sep 16, 2024 at 11:30 PM Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:

> +void build_info(void)
> +{
> +       u32 fw_version, sha1, res, status;
> +       int ret;
> +
> +       printf("\nBuildInfo:\n");
> +
> +       ret = ele_get_fw_status(&status, &res);
> +       if (ret) {
> +               printf("  - ELE firmware status failed %d, 0x%x\n", ret, res);
> +       } else if ((status & 0xff) == 1) {
> +               ret = ele_get_fw_version(&fw_version, &sha1, &res);
> +               if (ret) {
> +                       printf("  - ELE firmware version failed %d, 0x%x\n", ret, res);
> +               } else {
> +                       printf("  - ELE firmware version %u.%u.%u-%x",
> +                              (fw_version & (0x00ff0000)) >> 16,
> +                              (fw_version & (0x0000fff0)) >> 4,
> +                              (fw_version & (0x0000000f)), sha1);
> +                       ((fw_version & (0x80000000)) >> 31) == 1 ? puts("-dirty\n") : puts("\n");
> +               }
> +       } else {
> +               printf("  - ELE firmware not included\n");
> +       }
> +       puts("\n");

This build_info() is unrelated to changing the second MAC address layout.

It should be a separate patch.


More information about the U-Boot mailing list