summaryrefslogtreecommitdiffstats
path: root/include/mci.h
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2020-09-09 13:01:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-14 20:02:13 +0200
commitf206a2b72315b974523e80cf2ce8142b8bcc1820 (patch)
tree79a36935b7e5e0440d8589a7667dc8a9d2b9bc71 /include/mci.h
parent6fd741b3e77f4dcc051ecd989ae00bfcfbaa74ad (diff)
downloadbarebox-f206a2b72315b974523e80cf2ce8142b8bcc1820.tar.gz
barebox-f206a2b72315b974523e80cf2ce8142b8bcc1820.tar.xz
mci: mci-core: add GPP support
General Purpose Partitions (GPP) are hardware partitions like the boot partitions. And like the boot partitions they are limited to MMCs only. Most applications running an eMMC do not use GPPs, so this feature can be disabled. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r--include/mci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h
index 96547fb396..b63435872b 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -277,6 +277,7 @@
*/
#define EXT_CSD_PART_CONFIG_ACC_MASK (0x7)
#define EXT_CSD_PART_CONFIG_ACC_BOOT0 (0x1)
+#define EXT_CSD_PART_CONFIG_ACC_GPP0 (0x4)
#define EXT_CSD_CMD_SET_NORMAL (1<<0)
#define EXT_CSD_CMD_SET_SECURE (1<<1)