summaryrefslogtreecommitdiffstats
path: root/lib/rand.c
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2015-10-08 23:22:46 +0300
committerHans de Goede <hdegoede@redhat.com>2015-10-10 11:54:16 +0200
commit9a4c6e9abf5261f565cfbf1e80c6e17d26ad0b1e (patch)
tree383752310137c6105a5bc41ef1d229c871c82f36 /lib/rand.c
parent974936a80feaa431e6a36a96e693cdf399bd91dc (diff)
downloadtalos-obmc-uboot-9a4c6e9abf5261f565cfbf1e80c6e17d26ad0b1e.tar.gz
talos-obmc-uboot-9a4c6e9abf5261f565cfbf1e80c6e17d26ad0b1e.zip
sunxi: Fix USB regulators in Linksprite_pcDuino_defconfig
The pcDuino1 board unconditionally provides 5V to USB host receptacles. The pcDuino2 board has a voltage regulator, controlled by the PD2 pin which is pulled-up by default (so that the USB power is also enabled by default). Not specifying pins for enabling USB power in the defconfig means that the PH3 and PH6 pins are driven high by default. The PH6 pin is available on the Arduino-compatible expansion header and touching it is not nice (this may be even dangerous, depending on what kind of role is assigned to this particular pin by various Arduino shields). This patch explicitly configures the USB VBUS pins to "", which means that no pins should be touched. The patch has been tested on a pcDuino2 board and USB still works. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib/rand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud