summaryrefslogtreecommitdiffstats
path: root/package/uboot-ifxmips/files/include/asm-mips/pinstrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/uboot-ifxmips/files/include/asm-mips/pinstrap.h')
-rw-r--r--package/uboot-ifxmips/files/include/asm-mips/pinstrap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/uboot-ifxmips/files/include/asm-mips/pinstrap.h b/package/uboot-ifxmips/files/include/asm-mips/pinstrap.h
new file mode 100644
index 0000000000..1a446fa916
--- /dev/null
+++ b/package/uboot-ifxmips/files/include/asm-mips/pinstrap.h
@@ -0,0 +1,12 @@
+#define FLASH_STRAP 0x1
+#define MII_0_STRAP 0x2
+#define MII_1_STRAP 0x3
+#define ASC_STRAP 0x4
+#define SFLASH_STRAP 0x5
+#define RESERVE_STRAP 0x6
+#define PRODUCT_TEST_STRAP 0x7
+#define PIN_STRAP_MASK 0x001C0000
+#define PIN_STRAP_SHIFT 18
+#define PIN_STRAP 0xB0100914
+#define SDRAM_WIDTH_MASK 0x400000
+#define SDRAM_WIDTH_SHIFT 22