From 6e9e6c36a6a52562edb3e3b93cbad33f9dfe5585 Mon Sep 17 00:00:00 2001 From: Dirk Eibach Date: Thu, 26 Apr 2012 03:54:22 +0000 Subject: powerpc/ppc4xx: Make gdsys 405ep boards reset more generic In order to add boards that have different hardware for fpga reset, any 405ep gdsys board now provides these functions: void gd405ep_init(void); void gd405ep_set_fpga_reset(unsigned state); void gd405ep_setup_hw(void); int gd405ep_get_fpga_done(unsigned fpga); Signed-off-by: Dirk Eibach Cc: Stefan Roese Signed-off-by: Stefan Roese --- include/configs/dlvision-10g.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/configs/dlvision-10g.h') diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h index 1468197..cd64e3a 100644 --- a/include/configs/dlvision-10g.h +++ b/include/configs/dlvision-10g.h @@ -37,7 +37,8 @@ #define CONFIG_IDENT_STRING " dlvision-10g 0.02" #include "amcc-common.h" -#define CONFIG_BOARD_EARLY_INIT_F /* call board_early_init_f */ +#define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_EARLY_INIT_R #define CONFIG_LAST_STAGE_INIT #define CONFIG_SYS_CLK_FREQ 33333333 /* external frequency to pll */ -- cgit v1.1 From b19bf8344f2098bcc7746ef641c4c69f5aa7eb65 Mon Sep 17 00:00:00 2001 From: Dirk Eibach Date: Thu, 26 Apr 2012 03:54:23 +0000 Subject: powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes Print fpga info at last_stage_init on gdsys 405ep boards. Use dtt_init() to startup fans. Signed-off-by: Dirk Eibach Cc: Stefan Roese Signed-off-by: Stefan Roese --- include/configs/dlvision-10g.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/dlvision-10g.h') diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h index cd64e3a..47f1061 100644 --- a/include/configs/dlvision-10g.h +++ b/include/configs/dlvision-10g.h @@ -39,6 +39,7 @@ #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOARD_EARLY_INIT_R +#define CONFIG_MISC_INIT_R #define CONFIG_LAST_STAGE_INIT #define CONFIG_SYS_CLK_FREQ 33333333 /* external frequency to pll */ @@ -81,6 +82,7 @@ * Commands additional to the ones defined in amcc-common.h */ #define CONFIG_CMD_CACHE +#define CONFIG_CMD_DTT #undef CONFIG_CMD_EEPROM /* -- cgit v1.1 From 2ade7bee153d801db8246a3e3f06805f8231b677 Mon Sep 17 00:00:00 2001 From: Dirk Eibach Date: Thu, 26 Apr 2012 03:54:24 +0000 Subject: powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20 In hardware revision 1.20 one more fan controller is added to dlvision-10g. Signed-off-by: Dirk Eibach Cc: Stefan Roese Signed-off-by: Stefan Roese --- include/configs/dlvision-10g.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/configs/dlvision-10g.h') 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 } } -- cgit v1.1