Move to the upstream IPMI BT kernel driver
The kernel driver for the iBT interface has landed upstream. In the
review process, the location of the device node was changed, as was the
naming of the ioctls and the kconfig symbol.
This change moves to the new version of btbridge, which brings in
autotools support from Matt Barth and a port to the new kernel driver
from Cédric Le Goater. The .bb file is modified to support the autotools
dependencies.
Convert build process to autotools
replace bt_host by bt_bmc
add a --device option
Corrected resulting errors from -Wall & -Werror.
We update the ast2400 and ast2500 defconfigs with the new config symbol,
and bump the kernel to the latest version. The kernel changes clean up
the old driver, and add the new one, including device tree changes.
ARM: dts: aspeed: Enable BT IPMI BMC device
ARM: aspeed: Add defconfigs for CONFIG_ASPEED_BT_IPMI_BMC
ipmi: add an Aspeed BT IPMI BMC driver
ARM: dts: aspeed: remove previous iBT definitions
ARM: aspeed: remove previous definitions in default config
Revert "misc: Add Aspeed BT IPMI host driver"
Change-Id: I8fcc43deaf5db71d587e34c4e4ed2111e7f3e182
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
index b6cdb94..05819c6 100644
--- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
@@ -74,7 +74,6 @@
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=4
CONFIG_BLK_DEV_RAM_SIZE=8192
-CONFIG_ASPEED_BT_IPMI_HOST=y
CONFIG_EEPROM_AT24=y
CONFIG_NETDEVICES=y
# CONFIG_NET_VENDOR_ARC is not set
@@ -119,6 +118,7 @@
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_ASPEED_VUART=y
+CONFIG_ASPEED_BT_IPMI_BMC=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
index 3d5d236..ab6f91b 100644
--- a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
@@ -77,7 +77,6 @@
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=4
CONFIG_BLK_DEV_RAM_SIZE=8192
-CONFIG_ASPEED_BT_IPMI_HOST=y
CONFIG_EEPROM_AT24=y
CONFIG_NETDEVICES=y
# CONFIG_NET_VENDOR_ARC is not set
@@ -122,6 +121,7 @@
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_ASPEED_VUART=y
+CONFIG_ASPEED_BT_IPMI_BMC=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y