Searched hist:dd53cfe19fdc80af47ca53da8d45e3599b337323 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/socionext/uniphier/ |
| H A D | uniphier_soc_info.c | dd53cfe19fdc80af47ca53da8d45e3599b337323 Mon Feb 03 10:46:40 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: prepare uniphier_soc_info() for next SoC
The revision register address will be changed in the next SoC.
The LSI revision is needed in order to know where the revision register is located, but you need to read out the revision register for that. This is impossible.
We need to know the revision register address by other means. Use BL_CODE_BASE, where the base address of the TF image that is currently running. If it is bigger than 0x80000000 (i.e. the DRAM base is 0x80000000), we assume it is a legacy SoC.
Change-Id: I9d7f4325fe2085a8a1ab5310025e5948da611256 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
|