summaryrefslogtreecommitdiff
path: root/src/soc/broadcom/cygnus/soc.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-02-25 17:39:42 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 09:01:11 +0200
commit4e2e8ee5fd2e52ce1ae029435beebca8085485f3 (patch)
tree23736a87fff1ef5e543baf9ecd5081e867e6d3f3 /src/soc/broadcom/cygnus/soc.c
parent5d997f9459e95c52ed70f98ab0db2320cf8d6238 (diff)
broadcom/cygnus: add usb phy driver
The code originates from https://github.com/Broadcom/cygnus-linux/commit/d0752a61273decb16db0fe8d09291f9cc326ed24. BUG=chrome-os-partner:37439 BRANCH=purin TEST=booted kernel from a usb stick on the ref board Change-Id: I51ecf4e1d6890e4286402c26721f4d063ab04711 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: fac506e758cb63a947bbdcfbddf9b8edecf7cd2f Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chrome-internal-review.googlesource.com/202386 Original-Reviewed-by: Scott Branden <sbranden@broadcom.com> Original-Commit-Queue: Daisuke Nojiri <dnojiri@google.com> Original-Tested-by: Daisuke Nojiri <dnojiri@google.com> Original-Change-Id: I027affea293af8744c997a2ed3dec741977bd328 Original-Reviewed-on: https://chromium-review.googlesource.com/264560 Original-Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-on: http://review.coreboot.org/9918 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/broadcom/cygnus/soc.c')
-rw-r--r--src/soc/broadcom/cygnus/soc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/broadcom/cygnus/soc.c b/src/soc/broadcom/cygnus/soc.c
index c9597f2b08..399409f797 100644
--- a/src/soc/broadcom/cygnus/soc.c
+++ b/src/soc/broadcom/cygnus/soc.c
@@ -18,6 +18,7 @@
*/
#include <device/device.h>
+#include <soc/cygnus.h>
#include <soc/sdram.h>
#include <stddef.h>
#include <stdlib.h>
@@ -26,6 +27,7 @@
static void soc_init(device_t dev)
{
ram_resource(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*(MiB/KiB));
+ usb_init();
}
static void soc_noop(device_t dev)