summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-17 14:18:41 +0100
committerOlivier Dufour2013-01-18 09:33:20 +0100
commit8b34c9b24d53eab96fe99a1406fab7bbb3d20930 (patch)
tree0419196cb55a2ee40483860a978ac27ac6fce752 /common
parent89f0dd210cc62c31d87ff94afe7c0595fbc6fdf0 (diff)
cleo/linux/spc300/low_power: power LED blinks in low power, closes #2642
Diffstat (limited to 'common')
-rw-r--r--common/include/asm/arch/ips/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/include/asm/arch/ips/gpio.h b/common/include/asm/arch/ips/gpio.h
index ceecd3fc93..089de6d1e6 100644
--- a/common/include/asm/arch/ips/gpio.h
+++ b/common/include/asm/arch/ips/gpio.h
@@ -56,6 +56,9 @@
extern void spc300_init_gpio(void);
extern int gpio_write(int no, int value);
+#else
+/** Virtual Address for ASM code */
+#define GPIO_SWPORTA_DR_VR (IO_ADDRESS(ARM_GPIO_BASE) + GPIO_SWPORTA_DR_OFFSET)
#endif /* __ASSEMBLY__ */
#endif /* __ASM_ARCH_IPS_GPIO_H */