remove duplicate, over-general dependency on kernel features.
this is QCOM only and there is now already a check for that.

Change-Id: I882d013e8e978ca02abceee2b56d0c9a3017814c
ADB sideload command not work

In kernel(3.10) USB ADB gadget driver is removed.
Using Functionfs for USB adb gadget.

Android recovery uses a stripped down version
of adb command for sideload only. It's missing
the ffs function support, so add the ffs
support to allow sideload command to work

b/12608946

Change-Id: I4ad024723dfc5bdb544548391f99637c390b171e
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
recovery: Fix adb with linux 3.10

In kernel 3.10, f_adb has been removed and adbd can use functionfs
instead. Mount functionfs on boot for adbd. On older kernels, mount
will fail silently and adbd will revert to f_adb.

Change-Id: I5db57aaf35b35859ea88c7d0e0661d8c553e5811
Version 6.0.5.1

Notable changes since 6.0.5.0:
* Fix /misc partition erase on recovery start
* Set SELinux contexts for init and services
* Minor touch updates
* Better vold formatting logic
* Compatibility updates for adb and 3.10 kernels

Change-Id: Ie6035fb706b50be1b78ed09c237644fdd091cce8
cwm: Use pathmap for recovery

Change-Id: Id358db393f4f945b3f5c91419827666f3e70127e
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0