extract PARTITION_SETTING_COMPLETE function

Extract a function which sets the OTP PARTITION_SETTING_COMPLETE
bit; once this bit is set there are many other parameters in
EXT_CSD which can no longer be set.

Multiple OTP partition settings can be achieved by calling 'set'
commands with '-n' on all except for the last.

Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>
pretty print write reliability settings

Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>
support setting the OTP write reliability settings

Signed-off-by: Ben Gardiner <ben.l.gardiner@gmail.com>