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