[PATCH] ARM: stm32mp: Correct sign extension for memory address in dram_bank_mmu_setup()

Lukasz Majewski lukma at denx.de
Mon May 12 10:25:42 CEST 2025


Hi Marek,

> On 5/10/25 8:52 AM, Lukasz Majewski wrote:
> > On a system based on stm32mp157c, with 1GiB SDRAM (starting from
> > 0xC0000000) and CONFIG_PHYS_64BIT enabled  
> 
> STM32MP15xx does not have 64bit PA range , why is CONFIG_PHYS_64BIT 
> enabled ?

I've wrongly looked on defconfigs - Patrice has enabled
CONFIG_SYS_64BIT_LBA=y, not PA 64 bit range...

It looks like I've prepared a fix for a problem, which I've created ...

Sorry for the fuzz - please drop this patch :-/

And of course thanks for pointing this out...

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250512/420588f7/attachment.sig>


More information about the U-Boot mailing list