]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: add function get_cpu_dev
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 18 Mar 2020 08:24:48 +0000 (09:24 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit7802a4495f3c2db09b125a4963f4328b95a38429
treeb2c08288b393ef8f4656c202053e6f3c192e3de7
parent5cf39720af39872bef541371cf7c35b96c7f0063
stm32mp: add function get_cpu_dev

Add a function get_cpu_dev to get the DEV_ID present
in DBGMCU_IDC register.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h