ARM: stm32mp: init: detect Revision Z and 800 MHz profiles
Revision A was 0x1000 and B was 0x2000, so I assumed the next would
be revision C valued 0x3000. Alas, it's revision Z with 0x2001...

Change the code accordingly and add detection for the new 800Mhz
profiles.

Code taken from U-Boot commit
cf0818b477 ("stm32mp1: support of STM32MP15x Rev.Z") and
Patch[1] "stm32mp1: add 800 MHz profile support".

[1]: https://st-md-mailman.stormreply.com/pipermail/uboot-stm32/2020-February/002170.html

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8974b63 commit 2e45f03730101082633bd50d3d14ac0eac776de8
@Ahmad Fatoum Ahmad Fatoum authored on 30 Mar 2020
Sascha Hauer committed on 8 May 2020
Showing 2 changed files
View
arch/arm/mach-stm32mp/include/mach/revision.h
View
arch/arm/mach-stm32mp/init.c