[U-Boot] [PATCH v2 03/10] sparc: Add more LEON3 AMBA vendor/device IDs

Francois Retief fgretief at spaceteq.co.za
Wed Nov 5 13:08:16 CET 2014


Add more LEON3 AMBA vendor/device ID pairs from GRLIB. The upcomming
PROM work and new gr712rc board need these values.

Signed-off-by: Francois Retief <fgretief at spaceteq.co.za>
---

Changes in v2:
 - Split AMBA vendor/device ID work into its own patch

 common/cmd_ambapp.c | 18 +++++++++++++++++-
 include/ambapp.h    | 27 +++++++++++++++++++++------
 2 files changed, 38 insertions(+), 7 deletions(-)

diff --git a/common/cmd_ambapp.c b/common/cmd_ambapp.c
index 2a1995a..aa32234 100644
--- a/common/cmd_ambapp.c
+++ b/common/cmd_ambapp.c
@@ -50,7 +50,7 @@ static ambapp_device_name gaisler_devices[] = {
        {GAISLER_PCITRACE, "GAISLER_PCITRACE"},
        {GAISLER_AHBTRACE, "GAISLER_AHBTRACE"},
        {GAISLER_ETHDSU, "GAISLER_ETHDSU"},
-       {GAISLER_PIOPORT, "GAISLER_PIOPORT"},
+       {GAISLER_GPIO, "GAISLER_GPIO"},
        {GAISLER_AHBJTAG, "GAISLER_AHBJTAG"},
        {GAISLER_ATACTRL, "GAISLER_ATACTRL"},
        {GAISLER_VGA, "GAISLER_VGA"},
@@ -62,9 +62,25 @@ static ambapp_device_name gaisler_devices[] = {
        {GAISLER_SPW2, "GAISLER_SPW2"},
        {GAISLER_EHCI, "GAISLER_EHCI"},
        {GAISLER_UHCI, "GAISLER_UHCI"},
+       {GAISLER_I2CMST, "GAISLER_I2CMST"},
+       {GAISLER_SPICTRL, "GAISLER_SPICTRL"},
        {GAISLER_AHBSTAT, "GAISLER_AHBSTAT"},
        {GAISLER_DDR2SPA, "GAISLER_DDR2SPA"},
        {GAISLER_DDRSPA, "GAISLER_DDRSPA"},
+       {GAISLER_LEON3FT, "GAISLER_LEON3FT"},
+       {GAISLER_FTMCTRL, "GAISLER_FTMCTRL"},
+       {GAISLER_B1553BRM, "GAISLER_B1553BRM"},
+       {GAISLER_FTAHBRAM, "GAISLER_FTAHBRAM"},
+       {GAISLER_CANAHB, "GAISLER_CANAHB"},
+       {GAISLER_SATCAN, "GAISLER_SATCAN"},
+       {GAISLER_CANMUX, "GAISLER_CANMUX"},
+       {GAISLER_SLINK, "GAISLER_SLINK"},
+       {GAISLER_GRTM, "GAISLER_GRTM"},
+       {GAISLER_GRTC, "GAISLER_GRTC"},
+       {GAISLER_GRTIMER, "GAISLER_GRTIMER"},
+       {GAISLER_CLKGATE, "GAISLER_CLKGATE"},
+       {GAISLER_GPREG, "GAISLER_GPREG"},
+       {GAISLER_ASCS, "GAISLER_ASCS"},
        {0, NULL}
 };

diff --git a/include/ambapp.h b/include/ambapp.h
index 405637d..dfd6fa9 100644
--- a/include/ambapp.h
+++ b/include/ambapp.h
@@ -62,20 +62,35 @@
 #define GAISLER_PCIDMA   0x016
 #define GAISLER_AHBTRACE 0x017
 #define GAISLER_ETHDSU   0x018
-#define GAISLER_PIOPORT  0x01A
-#define GAISLER_AHBJTAG  0x01c
-#define GAISLER_SPW      0x01f
-#define GAISLER_ATACTRL  0x024
-#define GAISLER_VGA      0x061
-#define GAISLER_KBD      0X060
+#define GAISLER_CANAHB   0x019
+#define GAISLER_GPIO     0x01A
+#define GAISLER_AHBJTAG  0x01C
 #define GAISLER_ETHMAC   0x01D
+#define GAISLER_SPW      0x01F
+#define GAISLER_ATACTRL  0x024
 #define GAISLER_DDRSPA   0x025
 #define GAISLER_EHCI     0x026
 #define GAISLER_UHCI     0x027
+#define GAISLER_I2CMST   0x028
 #define GAISLER_SPW2     0x029
+#define GAISLER_CLKGATE  0x02C
+#define GAISLER_SPICTRL  0x02D
 #define GAISLER_DDR2SPA  0x02E
+#define GAISLER_SLINK    0x02F
+#define GAISLER_GRTM     0x030
+#define GAISLER_GRTC     0x031
+#define GAISLER_GRTIMER  0x038
+#define GAISLER_ASCS     0x043
+#define GAISLER_FTAHBRAM 0x050
 #define GAISLER_AHBSTAT  0x052
+#define GAISLER_LEON3FT  0x053
 #define GAISLER_FTMCTRL  0x054
+#define GAISLER_KBD      0x060
+#define GAISLER_VGA      0x061
+#define GAISLER_B1553BRM 0x072
+#define GAISLER_SATCAN   0x080
+#define GAISLER_CANMUX   0x081
+#define GAISLER_GPREG    0x087

 #define GAISLER_L2TIME   0xffd /* internal device: leon2 timer */
 #define GAISLER_L2C      0xffe /* internal device: leon2compat */
--
1.9.3


________________________________
Disclaimer and confidentiality note – refer to our website for further details: www.spaceteq.co.za <http://www.spaceteq.co.za/home/emaildisclaimer/>


More information about the U-Boot mailing list