diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-09 16:38:13 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-11 19:54:22 +1000 |
commit | c8fc681aa2ed5dc5584518d213eeecb2eef7b22c (patch) | |
tree | ac312aa93b378d62a143e774b57723120334c707 /core/platform.c | |
parent | bc8817ede97fde4bc4f1cabd5ea9794d21571098 (diff) | |
download | skiboot-c8fc681aa2ed5dc5584518d213eeecb2eef7b22c.zip skiboot-c8fc681aa2ed5dc5584518d213eeecb2eef7b22c.tar.gz skiboot-c8fc681aa2ed5dc5584518d213eeecb2eef7b22c.tar.bz2 |
platform: Add BT to Generic platform
Instantiate if if it's in the device-tree...
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/platform.c')
-rw-r--r-- | core/platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/platform.c b/core/platform.c index de6e406..de700e7 100644 --- a/core/platform.c +++ b/core/platform.c @@ -23,6 +23,7 @@ #include <chip.h> #include <xscom.h> #include <errorlog.h> +#include <bt.h> struct platform platform; @@ -105,6 +106,11 @@ static void generic_platform_init(void) uart_setup_opal_console(); else force_dummy_console(); + + /* Enable a BT interface if we find one too */ + bt_init(); + + /* Fake a real time clock */ fake_rtc_init(); } |