]> git.sur5r.net Git - u-boot/commitdiff
powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20
authorDirk Eibach <eibach@gdsys.de>
Thu, 26 Apr 2012 03:54:24 +0000 (03:54 +0000)
committerStefan Roese <sr@denx.de>
Mon, 30 Apr 2012 13:01:11 +0000 (15:01 +0200)
In hardware revision 1.20 one more fan controller is added to dlvision-10g.

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
board/gdsys/405ep/dlvision-10g.c
include/configs/dlvision-10g.h

index 648c2eee56877b10d4c765ce5f3e802b1631d086..d7e0d66c1208b1f98ba83a3d3cb3e2771021a33d 100644 (file)
@@ -50,6 +50,8 @@ enum {
 enum {
        HWVER_101 = 0,
        HWVER_110 = 1,
+       HWVER_120 = 2,
+       HWVER_130 = 3,
 };
 
 enum {
@@ -158,7 +160,15 @@ static void print_fpga_info(unsigned dev)
                break;
 
        case HWVER_110:
-               printf(" HW-Ver 1.10\n");
+               printf(" HW-Ver 1.10-1.12\n");
+               break;
+
+       case HWVER_120:
+               printf(" HW-Ver 1.20\n");
+               break;
+
+       case HWVER_130:
+               printf(" HW-Ver 1.30\n");
                break;
 
        default:
index 47f1061417830b8122dcfd53cafa6eeefc3c8f67..2cd20279bec65ada52ce6cab55562fdf607f0977 100644 (file)
@@ -34,7 +34,7 @@
  * Include common defines/options for all AMCC eval boards
  */
 #define CONFIG_HOSTNAME                dlvsion-10g
-#define CONFIG_IDENT_STRING    " dlvision-10g 0.02"
+#define CONFIG_IDENT_STRING    " dlvision-10g 0.03"
 #include "amcc-common.h"
 
 #define CONFIG_BOARD_EARLY_INIT_F
 
 /* Temp sensor/hwmon/dtt */
 #define CONFIG_DTT_LM63                1       /* National LM63        */
-#define CONFIG_DTT_SENSORS     { 0x4c, 0x4e }  /* Sensor addresses     */
+#define CONFIG_DTT_SENSORS     { 0x4c, 0x4e, 0x18 } /* Sensor addresses */
 #define CONFIG_DTT_PWM_LOOKUPTABLE     \
                { { 46, 10 }, { 48, 14 }, { 50, 19 }, { 52, 23 },\
                  { 54, 27 }, { 56, 31 }, { 58, 36 }, { 60, 40 } }