FIX: [hw14] enable sata power connector on pse boards
BugzId: 82693
This commit is contained in:
parent
b33dcc1089
commit
09c142e273
|
|
@ -648,7 +648,7 @@ int misc_init_r(void)
|
|||
set_gpio(GPIO_EXT_OE, 1);
|
||||
mdelay(20);
|
||||
|
||||
/* Enable SATA power */
|
||||
/* Enable SATA power on the CP Board */
|
||||
debug("Enable SATA\n");
|
||||
set_gpio(GPIO_EN_SATA_PWR, 1);
|
||||
mdelay(10);
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include <errno.h>
|
||||
#include "../common/nbhw_bd.h"
|
||||
#include "../common/nbhw_sim.h"
|
||||
#include "../common/nbhw_fpga_prog.h"
|
||||
#include "nbhw_gpio.h"
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
@ -210,6 +211,9 @@ int nbhw_fpga_configure(void)
|
|||
ofnode node = driver_dev->node;
|
||||
debug("%s\n", __func__);
|
||||
|
||||
/* Apply SATA power on the PSE board */
|
||||
FPGA_REG(0x0050) = 0x0008;
|
||||
|
||||
ofnode_for_each_subnode(subnode, node) {
|
||||
const char *name;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue