View Issue Details

IDProjectCategoryView StatusLast Update
0005782UBootU-Bootpublic2023-03-21 15:41
Reporterdippold Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionfsimx8mp-Y2022.12 
Target Versionfsimx8mp-Y2023.03Fixed in Versionfsimx8mp-Y2023.03 
Summary0005782: Improve functions from arch/arm/mach-imx/checkboot.c
DescriptionThe functions from checkboot.c were originaly written for use with imx6 Boards. All of those Boards are 32 bit Systems. Thus pointers were written with uint32_t variables. On imx8m Boards, which are 64 bit Systems, this will lead to compiler warnings when they are cast to void*.
    
To prevent this, change the uint32_t to uintptr_t. This types length is based on the Systems address width, and therefore works on both imx6 and imx8m Boards.
Forum Link

Activities

There are no notes attached to this issue.