View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005782 | UBoot | U-Boot | public | 2023-03-21 13:03 | 2023-03-21 15:41 |
Reporter | dippold | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | fsimx8mp-Y2022.12 | ||||
Target Version | fsimx8mp-Y2023.03 | Fixed in Version | fsimx8mp-Y2023.03 | ||
Summary | 0005782: Improve functions from arch/arm/mach-imx/checkboot.c | ||||
Description | The 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 | |||||