In hardware revision 1.20 one more fan controller is added to dlvision-10g.

Signed-off-by: Dirk Eibach <eib...@gdsys.de>
---
 board/gdsys/405ep/dlvision-10g.c |   12 +++++++++++-
 include/configs/dlvision-10g.h   |    4 ++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/board/gdsys/405ep/dlvision-10g.c b/board/gdsys/405ep/dlvision-10g.c
index 648c2ee..d7e0d66 100644
--- a/board/gdsys/405ep/dlvision-10g.c
+++ b/board/gdsys/405ep/dlvision-10g.c
@@ -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:
diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h
index 47f1061..2cd2027 100644
--- a/include/configs/dlvision-10g.h
+++ b/include/configs/dlvision-10g.h
@@ -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
@@ -118,7 +118,7 @@
 
 /* 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 } }
-- 
1.7.2.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to