From 3a5610026c236a0e459b0dfee62da540e79ab3aa Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sun, 12 Feb 2017 00:48:32 +0300 Subject: [PATCH] Do not disable VCCIO for the PC2 shutdown --- patch/u-boot/u-boot-sun50i-dev/add-pc2-shutdown.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch/u-boot/u-boot-sun50i-dev/add-pc2-shutdown.patch b/patch/u-boot/u-boot-sun50i-dev/add-pc2-shutdown.patch index 945febd705..356bf70ef7 100644 --- a/patch/u-boot/u-boot-sun50i-dev/add-pc2-shutdown.patch +++ b/patch/u-boot/u-boot-sun50i-dev/add-pc2-shutdown.patch @@ -36,7 +36,7 @@ index ec26248..ed53871 100644 + reg &= ~(0x1 << 9); + mmio_write_32(0x01f02c00 + 0x10, reg); + -+ /* Disable I/O regulator: PL5 to low */ ++ /* Disable I/O regulator: PL5 to low - Edit: not needed + reg = mmio_read_32(0x01f02c00 + 0x00); + reg &= ~(0x7 << 20); + reg |= (0x1 << 20); @@ -44,7 +44,7 @@ index ec26248..ed53871 100644 + + reg = mmio_read_32(0x01f02c00 + 0x10); + reg &= ~(0x1 << 5); -+ mmio_write_32(0x01f02c00 + 0x10, reg); ++ mmio_write_32(0x01f02c00 + 0x10, reg); */ + + /* Disable CPU regulator: PL8 to low */ + reg = mmio_read_32(0x01f02c00 + 0x04);