STM32MP135 tf-a-stm32mp problem with compilation
Hi,
I have a rather simple question. I use cube mx to generate dts, my Openstlinux is v22.11.23 and during 'bitbake tf-a-stm32mp' I encounter a lack of definition in some '*.c' files like
Built stm32image successfully
|
| CC drivers/st/ddr/stm32mp1_ram.c
| CC drivers/st/ddr/stm32mp_ddr_test.c
| CC drivers/st/ddr/stm32mp_ram.c
| drivers/st/crypto/stm32_hash.c: In function 'hash_hw_init':
| drivers/st/crypto/stm32_hash.c:161:24: error: 'HASH_CR_ALGO_SHA1' undeclared (first use in this function)
| 161 | reg |= HASH_CR_ALGO_SHA1;
| | ^~~~~~~~~~~~~~~~~
| drivers/st/crypto/stm32_hash.c:161:24: note: each undeclared identifier is reported only once for each function it appears in
| drivers/st/ddr/stm32mp1_ddr.c: In function 'stm32mp1_ddr3_dll_off':
| drivers/st/ddr/stm32mp1_ddr.c:491:26: error: 'DDRPHYC' undeclared (first use in this function); did you mean 'DDRPHYC_PIR'?
| 491 | if (clk_get_rate(DDRPHYC) < 100000000U) {
| | ^~~~~~~
| | DDRPHYC_PIR
| drivers/st/ddr/stm32mp1_ddr.c:491:26: note: each undeclared identifier is reported only once for each function it appears in
| drivers/st/crypto/stm32_hash.c:165:24: error: 'HASH_CR_ALGO_SHA224' undeclared (first use in this function)
| 165 | reg |= HASH_CR_ALGO_SHA224;
Did I miss something? During the code investigation, it seems to miss #define STM32MP13 somewhere, but where? Or maybe it different kind of problem.
