|
|
@ -44,17 +44,12 @@ void s_init(void) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#define GSX_MSTP112 BIT(12) /* 3DG */ |
|
|
|
#define GSX_MSTP112 BIT(12) /* 3DG */ |
|
|
|
#define TMU0_MSTP125 BIT(25) /* secure */ |
|
|
|
|
|
|
|
#define TMU1_MSTP124 BIT(24) /* non-secure */ |
|
|
|
|
|
|
|
#define SCIF2_MSTP310 BIT(10) /* SCIF2 */ |
|
|
|
#define SCIF2_MSTP310 BIT(10) /* SCIF2 */ |
|
|
|
#define DVFS_MSTP926 BIT(26) |
|
|
|
#define DVFS_MSTP926 BIT(26) |
|
|
|
#define HSUSB_MSTP704 BIT(4) /* HSUSB */ |
|
|
|
#define HSUSB_MSTP704 BIT(4) /* HSUSB */ |
|
|
|
|
|
|
|
|
|
|
|
int board_early_init_f(void) |
|
|
|
int board_early_init_f(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
/* TMU0,1 */ /* which use ? */ |
|
|
|
|
|
|
|
mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH) |
|
|
|
#if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH) |
|
|
|
/* DVFS for reset */ |
|
|
|
/* DVFS for reset */ |
|
|
|
mstp_clrbits_le32(MSTPSR9, SMSTPCR9, DVFS_MSTP926); |
|
|
|
mstp_clrbits_le32(MSTPSR9, SMSTPCR9, DVFS_MSTP926); |
|
|
|