]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(versal): replace irq array with switch case
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Fri, 23 Dec 2022 06:27:01 +0000 (22:27 -0800)
committerJay Buddhabhatti <jay.buddhabhatti@amd.com>
Tue, 28 Mar 2023 06:07:56 +0000 (23:07 -0700)
commit0ec6c31320c6d86e89dce8775af2bbdfa7a302fa
tree7f3bd2de28325fe8e4a77e64b8ffa1d0c2cd8e1d
parentc38d90f7964ddf186f4cbaad6da91dd0a44627e3
feat(versal): replace irq array with switch case

Replaced array of interrupt to PM node index map with switch-case for
Versal. As a result, the size of code got reduced by 527 bytes. In case
of error return invalid node index i.e. XPM_NODEIDX_DEV_MIN.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Change-Id: Ifb17366362e2d1757d8933e1ce29083f7ad86b8f
plat/xilinx/versal/pm_service/pm_client.c