summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2015-11-06 11:21:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-09 07:38:53 +0100
commita540c30359fe7a0dc018875d6212086cb0373140 (patch)
tree83b6416d98595c2b30da6d2912ea33232fdd1dbb /arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
parent54f9f8564ff6a27c2203fcdcedc02468088cf332 (diff)
downloadbarebox-a540c30359fe7a0dc018875d6212086cb0373140.tar.gz
barebox-a540c30359fe7a0dc018875d6212086cb0373140.tar.xz
boards: Add phytec-som-imx6
The main idea behind this patch is to avoid redundant code. Because of the module similarities of all i.MX6 based phytec boards, we can merge its code. The phytec-som-imx6 merges the code of all i.MX6 based phytec SOMs. So we will have only one "board" in the barebox for phyCARD-i.MX6 and phyFLEX-i.MX6. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg')
-rw-r--r--arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
new file mode 100644
index 0000000000..e76867004a
--- /dev/null
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
@@ -0,0 +1,8 @@
+#define SETUP_MDCFG0 \
+ wm 32 0x021b000c 0x8c929b85
+
+#define SETUP_MDASP_MDCTL \
+ wm 32 0x021b0040 0x00000017; \
+ wm 32 0x021b0000 0xc21a0000
+
+#include "flash-header-phytec-pfla02dl.h"