How to calculate entry point (PRELOADED_BL33_BASE) address for u-boot

Hi,

I’m trying to port u-boot on hikey-960.
I’m able to compile fip.bin with u-boot as BL33 image. referred Attempt for supporting uboot on hikey960 - #13 by sreenad

Need to set BASE_TEXT address in u-boot and BL33_BASE in ATF. Not getting how to calculate the address ?

If somebody have any idea about it, then please let me know.

Thanks in advance. !

Thanks,
Ramappa