Patch the firmware of certain Samsung emmc parts to fix a bug

Patch the firmware in certain Samsung emmc chips after every power-on
to workaround a bug in the wear leveling code.  Patch provided by Samsung
Semiconductor, and the code to apply the patch was originally written
by Jeonghwan Min of Samsung.

Change-Id: Id40cfb8f68842fc4a47f60ae032f1b49c0fcb65e
Signed-off-by: Ken Sumrall <ksumrall@android.com>
Patch P17 corruption bug on Samsung M8G2FA fwrev 0x11 eMMC parts

This firmware patch, for a bug of unknown impact, comes via the Nook
Color 1.4.3 kernel source:

https://github.com/steven676/nook_kernel/commit/4b51e605cb5deff9dad6ed89fc7c021489f29bf1#L3R323

As the patching method is very similar, we reuse the infrastructure for
patching the Samsung wear-leveling bug.  As with that bug, the patch is
stored in SRAM and is reapplied every time the chip is powered on.

Change-Id: I27b0092fa8f8cd533ffdc9a5866ed5cff6efb676
OMAP2+: cpufreq: support clamping initial max frequency to board-provided value

This is useful to allow boards to define "overclocking" OPPs without
having them be automatically enabled when the cpufreq driver loads.

Change-Id: I29d94981d3827280d8b1bc4cd11dc60f8de14db7
OMAP3: encore: clamp initial max CPU clock frequency to nominal

This prevents the system from using out-of-spec overclocking OPPs until
userspace explicitly enables them.

Change-Id: I64b182aa2b51dc3a34e1d0da0cdea7c9b21ae11b
Merge remote-tracking branch 'cyanogen/encore-omap3-3' into encore-omap3-3