]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: rmobile: Convert ifdef in rmobile_get_prr() to IS_ENABLED()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 06:27:51 +0000 (07:27 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Mar 2023 11:02:38 +0000 (12:02 +0100)
commit7fe9d7d1ba2a8bda472777401e0edc27ffd48982
tree7386064b90eca69aa432a97518753127e59ef7f6
parent33c3ec22d4d96336d4c0ad9f5e8183a3f3680bfd
ARM: rmobile: Convert ifdef in rmobile_get_prr() to IS_ENABLED()

Switch ifdef in rmobile_get_prr() to IS_ENABLED() macro.
The CONFIG_RCAR_GEN3 will never have SPL counterpart, so
the IS_ENABLED() macro is the right one here. No functional
change, except for improved build test coverage.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/mach-rmobile/cpu_info-rcar.c