arch: arm: socfpga: timer_s10: Override udelay for secure section
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Wed, 1 Jun 2022 07:54:59 +0000 (15:54 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 17 Jun 2022 08:26:52 +0000 (16:26 +0800)
commit373c1428a0374c29f19cca76f12c0e93378a634a
tree32f342d05c464ff893d5d60a27ec9cf4aa61da31
parent163863d572a7bc52b58743b3de4aafbc24dd12c8
arch: arm: socfpga: timer_s10: Override udelay for secure section

Override __udelay() as 'always inlined' function so that PSCI code
run in '__secure' section can call this delay function as well.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
arch/arm/mach-socfpga/timer_s10.c