[Balloon-svn] r493 - balloon/trunk/bbl/pxaregs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: subversion@balloonboard.org
Date:  
To: balloon-svn
Subject: [Balloon-svn] r493 - balloon/trunk/bbl/pxaregs
Author: wookey
Date: 2008-06-12 17:49:32 +0100 (Thu, 12 Jun 2008)
New Revision: 493

Modified:
balloon/trunk/bbl/pxaregs/Makefile
balloon/trunk/bbl/pxaregs/pxaregs.c
Log:
Add balloon CPLD/FPGA registers


Modified: balloon/trunk/bbl/pxaregs/Makefile
===================================================================
--- balloon/trunk/bbl/pxaregs/Makefile    2008-06-09 17:34:50 UTC (rev 492)
+++ balloon/trunk/bbl/pxaregs/Makefile    2008-06-12 16:49:32 UTC (rev 493)
@@ -1,3 +1,3 @@
pxa-regs: pxaregs.c
-    arm-linux-gnu-gcc pxaregs.c -O3 -I /usr/arm-linux-gnu/include -o pxaregs
+    arm-linux-gnu-gcc pxaregs.c -DCONFIG_ARCH_PXA -DCONFIG_ARCH_BALLOON3 -O3 -I /usr/arm-linux-gnu/include -o pxaregs


Modified: balloon/trunk/bbl/pxaregs/pxaregs.c
===================================================================
--- balloon/trunk/bbl/pxaregs/pxaregs.c    2008-06-09 17:34:50 UTC (rev 492)
+++ balloon/trunk/bbl/pxaregs/pxaregs.c    2008-06-12 16:49:32 UTC (rev 493)
@@ -1624,7 +1624,19 @@
{ "MMC_ARGL_ARG",        0x41100038, 0, 0x0000ffff, 'x', "upper 16 bits of command argument" },


-#if defined(CONFIG_ARCH_PXA_IDP) || defined(CONFIG_ARCH_RAMSES)
+#if defined(CONFIG_ARCH_PXA) && defined(CONFIG_ARCH_BALLOON3)
+{ "BALLOON_PCMCIA0",        0x10E00008, 0, 0xffffffff, 'x', "CPLD/FPGA PCMCIA0 Register" },
+{ "BALLOON_NAND_IO",        0x10E00000, 0, 0xffffffff, 'x', "CPLD/FPGA NAND IO Register" },
+{ "BALLOON_INT_CONTROL",    0x10E0000C, 0, 0xffffffff, 'x', "CPLD/FPGA Interrupt Control Register" },
+{ "BALLOON_NAND_CTL2",        0x10E00010, 0, 0xffffffff, 'x', "CPLD/FPGA NAND Control 2 Register" },
+{ "BALLOON_NAND_CTL",        0x10E00014, 0, 0xffffffff, 'x', "CPLD/FPGA NAND Control Register" },
+{ "BALLOON_VHDL_VERSION",    0x10E0001C, 0, 0xffffffff, 'x', "CPLD/FPGA VHDL Version" },
+{ "SAMOSA_ADDR",        0x10C00000, 0, 0xffffffff, 'x', "Samosa Address port" },
+{ "SAMOSA_DATA",        0x10C00004, 0, 0xffffffff, 'x', "Samosa Data port" },
+{ "SAMOSA_STATUS",        0x10C0001C, 0, 0xffffffff, 'x', "Samosa Status register" },
+#endif
+
+# if defined(CONFIG_ARCH_PXA_IDP) || defined(CONFIG_ARCH_RAMSES)
// CS5+0x03C00000 CPLD        0x14000000
// CS1 Alt-Flash    0x04000000
// CS0 Flash    0x00000000