summaryrefslogtreecommitdiff
path: root/board/tqc/tqm8272/tqm8272.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-08-28 13:50:42 +0200
committerWolfgang Denk <wd@denx.de>2008-09-06 23:32:04 +0200
commita6f2e455b774d0c5d56e44e5661df9adb69b6e07 (patch)
tree2a56e30e0959f024e5c7abf8febeaa9768466419 /board/tqc/tqm8272/tqm8272.h
parent584f979f7ee914e32d408739cbdd2c4457ec18b8 (diff)
downloadu-boot-imx-a6f2e455b774d0c5d56e44e5661df9adb69b6e07.zip
u-boot-imx-a6f2e455b774d0c5d56e44e5661df9adb69b6e07.tar.gz
u-boot-imx-a6f2e455b774d0c5d56e44e5661df9adb69b6e07.tar.bz2
TQM8272: move NAND part in seperate File
I didn't try to use drivers/mtd/nand/fsl_upm.c for the NAND driver, because I have no longer access to the hardware. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/tqc/tqm8272/tqm8272.h')
-rw-r--r--board/tqc/tqm8272/tqm8272.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/board/tqc/tqm8272/tqm8272.h b/board/tqc/tqm8272/tqm8272.h
new file mode 100644
index 0000000..6d558ec
--- /dev/null
+++ b/board/tqc/tqm8272/tqm8272.h
@@ -0,0 +1,53 @@
+/*
+ * (C) Copyright 2008
+ * Heiko Schocher, DENX Software Engineering, hs@denx.de.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef _TQM8272_HEADER_H
+#define _TQM8272_HEADER_H
+
+#define _NOT_USED_ 0xFFFFFFFF
+
+typedef struct{
+ int Bus;
+ int flash;
+ int flash_nr;
+ int ram;
+ int ram_cs;
+ int nand;
+ int nand_cs;
+ int eeprom;
+ int can;
+ unsigned long cpunr;
+ unsigned long option;
+ int SecEng;
+ int cpucl;
+ int cpmcl;
+ int buscl;
+ int busclk_real_ok;
+ int busclk_real;
+ unsigned char OK;
+ unsigned char ethaddr[20];
+} HWIB_INFO;
+
+static HWIB_INFO hwinf = {0, 0, 1, 0, 1, 0, 0, 0, 0, 8272, 0 ,0,
+ 0, 0, 0, 0, 0, 0};
+#endif