summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_rst.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/at91/at91_rst.c')
-rw-r--r--sys/arm/at91/at91_rst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/at91/at91_rst.c b/sys/arm/at91/at91_rst.c
index 0e50b39..fe48466 100644
--- a/sys/arm/at91/at91_rst.c
+++ b/sys/arm/at91/at91_rst.c
@@ -198,8 +198,8 @@ cpu_reset(void)
{
if (rst_sc) {
- if (at91_cpu_is(AT91_CPU_SAM9G20))
- cpu_reset_sam9g20();
+
+ cpu_reset_sam9g20(); /* May be null */
WR4(rst_sc, RST_MR,
RST_MR_ERSTL(0xd) | RST_MR_URSTEN | RST_MR_KEY);
OpenPOWER on IntegriCloud