On 10/28/2026 12:15 PM, Yonggang Luo wrote:
> The PetaLogix machine read its endianness default from
> target_big_endian() in class_init. In a multi-target binary the target
> is not selected yet at class_init, so the default cannot be computed
> there. Set the property default to "unspecified" instead, and resolve
> it to big or little in petalogix_s3adsp1800_init(), where the target is
> known.
> 
> Until the machine is initialized, endianness reads back as
> "unspecified" rather than big or little.
> 
> Signed-off-by: Yonggang Luo <[email protected]>
> ---
>  hw/microblaze/petalogix_s3adsp1800_mmu.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to