Commit a220f15c authored by Ye Li's avatar Ye Li Committed by Jason Liu
Browse files

MLK-16562 imx8qxp: Fix MAC fuse address for QXP



Since i.MX8QXP only use one 16K fuse array, it has different fuse address for
2nd half 256 fuse words with QM. According to its fuse map, the fuse addresses
for MAC1 and MAC2 are 708-711.
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 67ea0c63
......@@ -284,10 +284,18 @@ int imx8qxp_wake_secondary_cores(void)
return 0;
}
#if defined(CONFIG_IMX8QM)
#define FUSE_MAC0_WORD0 452
#define FUSE_MAC0_WORD1 453
#define FUSE_MAC1_WORD0 454
#define FUSE_MAC1_WORD1 455
#elif defined(CONFIG_IMX8QXP)
#define FUSE_MAC0_WORD0 708
#define FUSE_MAC0_WORD1 709
#define FUSE_MAC1_WORD0 710
#define FUSE_MAC1_WORD1 711
#endif
void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
{
sc_err_t err;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment