summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c4
-rw-r--r--src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c b/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c
index 4d4eae95bc..00dc0f715f 100644
--- a/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c
+++ b/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c
@@ -265,7 +265,7 @@ static uint32_t *sysctr_cntfid0_ptr = (void *)(SYSCTR_CTLR_BASE + 0x20);
/* Utility functions. */
static inline void __attribute__((always_inline))
- __attribute__((noreturn)) halt(void)
+ __noreturn halt(void)
{
for (;;);
}
@@ -290,7 +290,7 @@ static inline void clrbits32(uint32_t bits, void *addr)
write32(addr, read32(addr) & ~bits);
}
-static void __attribute__((noreturn)) reset(void)
+static void __noreturn reset(void)
{
write32(clk_rst_rst_devices_l_ptr, SWR_TRIG_SYS_RST);
halt();
diff --git a/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c b/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c
index 01cf2163f9..2e8c9bb6b3 100644
--- a/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c
+++ b/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c
@@ -429,7 +429,7 @@ enum {
/* Utility functions. */
static inline void __attribute__((always_inline))
- __attribute__((noreturn)) halt(void)
+ __noreturn halt(void)
{
for (;;);
}
@@ -454,7 +454,7 @@ static inline void clrbits32(uint32_t bits, void *addr)
write32(addr, read32(addr) & ~bits);
}
-static void __attribute__((noreturn)) reset(void)
+static void __noreturn reset(void)
{
write32(clk_rst_rst_devices_l_ptr, SWR_TRIG_SYS_RST);
halt();