summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-30 19:43:11 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-30 19:43:11 +0000
commit8c6151f2badb91eb735943474e47cf0db221acb6 (patch)
treec09dbf788b171d1a034f490c8233112f74e11b4f /Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h
parent0a0951ea841a10c5c328b5525827a1490f575cb8 (diff)
downloadedk2-platforms-8c6151f2badb91eb735943474e47cf0db221acb6.tar.xz
Updated MMC/SD Card driver to support hot add and remove of the media (SD Cards) and enable write protect of SD Cards. Had to update pads for WP bit as it was not being programmed as a GPIO. I also changed some of the PAD #defins as there were only really 3 states, so OR things in the table in the .c file did not make a lot of sense.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10450 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h')
-rw-r--r--Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h b/Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h
index e87dcd2370..613209d2dc 100644
--- a/Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h
+++ b/Omap35xxPkg/Include/Omap3530/Omap3530PadConfiguration.h
@@ -280,10 +280,9 @@
#define WAKEUP_OFFSET 14
#define WAKEUP_MASK (0x2UL << WAKEUP_OFFSET)
-#define PULLUDDISABLE (0x0UL << 0)
-#define PULLUDENABLE BIT0
-#define PULLTYPENOSELECT (0x0UL << 1)
-#define PULLTYPESELECT BIT1
+#define PULL_DOWN_SELECTED ((0x0UL << 1) | BIT0)
+#define PULL_UP_SELECTED (BIT1 | BIT0)
+#define PULL_DISABLED (0x0UL << 0)
#define OUTPUT (0x0UL) //Pin is configured in output only mode.
#define INPUT (0x1UL) //Pin is configured in bi-directional mode.