diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-02 16:50:58 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-04 00:35:19 +0100 |
commit | e2d6f9290d8d2193e3323fb1fa1abf1d165f9ea7 (patch) | |
tree | e85432ee854044cafc6d03ab53c10ff0692b9074 /firmware/target | |
parent | f30043a0dbb61a5b5b61cf73bd588c7f8d966084 (diff) |
rk27generic: Implement power_off()
Change-Id: I6e7685c83c080cbeeff06c588971901e522e4f85
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c b/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c index 5c2abeb121..45cc390d13 100644 --- a/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c +++ b/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c @@ -28,7 +28,8 @@ void power_off(void) { - + GPIO_PCCON &= ~(1<<0); + while(1); } void power_init(void) |