summaryrefslogtreecommitdiff
path: root/Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2017-05-03 17:47:23 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2017-07-14 22:36:51 +0100
commit0189ff331b9bdd9353624bc7b509e53148976806 (patch)
tree481788a26d43fdad9f762256111ece2926b7835a /Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt
parent8322634459ac602d9fbcca30e96b24ff098acb3c (diff)
downloadedk2-platforms-devel-OpenPlatformPkg.tar.xz
Platform: import Marvell Armada supportdevel-OpenPlatformPkg
Import Armada 70x0 suppport from OpenPlatformPkg, together with its documentation and utilities. Imported from commit efd798c1eb of https://git.linaro.org/uefi/OpenPlatformPkg.git Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt')
-rw-r--r--Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt b/Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt
new file mode 100644
index 0000000000..226db4001e
--- /dev/null
+++ b/Platform/Marvell/Documentation/PortingGuide/SpiFlash.txt
@@ -0,0 +1,23 @@
+SpiFlash driver configuration
+-----------------------------
+Folowing PCDs for spi flash driver configuration must be set properly:
+
+ gMarvellTokenSpaceGuid.PcdSpiFlashAddressCycles
+
+Size of SPI flash address in bytes (3 or 4)
+
+ gMarvellTokenSpaceGuid.PcdSpiFlashEraseSize
+
+Size of minimal erase block in bytes
+
+ gMarvellTokenSpaceGuid.PcdSpiFlashPageSize
+
+Size of SPI flash page
+
+ gMarvellTokenSpaceGuid.PcdSpiFlashId
+
+Id of SPI flash
+
+ gMarvellTokenSpaceGuid.PcdSpiFlashPollCmd
+
+Spi flash polling flag