]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp15: tidy up #ifdefs in cpu.c
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 11 Oct 2021 07:52:51 +0000 (09:52 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 10 Nov 2021 16:07:31 +0000 (17:07 +0100)
commitc8b2eef52b6c8c48aba63c64078ff67fa5dea9e3
tree0d4b31fb1ffbf2cbc4377547219f8f394470be6e
parentf42045b2e75036330741c3fd3a1b5ca64867aaa0
stm32mp15: tidy up #ifdefs in cpu.c

We should avoid #ifdef in C modules and the unused functions
are eliminated by the linker.

Use the more readable IS_ENABLE() instead.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/cpu.c