Hi,
when compiling LDSK 18.09 (flex-builder -i mkfw -m ls1046ardb -r ubuntu:tiny -a arm64 -b qspi), I got several warnings in fsl_ppfe/pfe_ls1012a_platform.c (see screen capture)
When looking at the code, these warning do not look minor (field mdio_muxval assigned with incorrect value in case property doesn't exist):
I think this should be fixed.
Kind regards.
This code is code from the pfe_get_gemac_if_proprties function.
This function contains the following variable declaration:
struct device_node *gem = NULL, *phy = NULL;
int size;
int ii = 0, phy_id = 0;
const u32 *addr;
const void *mac_addr;
The phy_id is set to 0 in default.
It is not a bug.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------