Skip to content

Commit

Permalink
ODROID-N1: rk3399-restart: set system_rev
Browse files Browse the repository at this point in the history
  • Loading branch information
scpcom committed Jun 16, 2020
1 parent 8d2058c commit a88f34e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/power/reset/rk3399-restart.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/of_platform.h>
#include <linux/module.h>
#include <asm/system_misc.h>
#include <asm/system_info.h>

struct rk3399_restart {
struct gpio_desc *reset_gpio;
Expand Down Expand Up @@ -84,6 +85,8 @@ static int rk3399_restart_probe(struct platform_device *pdev)

arm_pm_restart = rk3399_reboot;

system_rev = 0x0301;

return 0;
}

Expand Down

0 comments on commit a88f34e

Please sign in to comment.