toradex: configblock: extend for eMMC on T30 and fix some issues
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 18 Apr 2015 00:17:03 +0000 (02:17 +0200)
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 18 Apr 2015 00:35:56 +0000 (02:35 +0200)
commit81bfc51c3032d5ee4e52552ae261773f66acf3f9
treeea9b9c07d2195cff99ab3f25473b6760e8e37feb
parent0cbb261a06969d71f16b3c32c9acbb1ef3168672
toradex: configblock: extend for eMMC on T30 and fix some issues

Fix eMMC operation due to it always reading/writing a full block of 512
bytes.
Add all currently known product IDs.
Allow writing config block on eMMC as well.
Fix potential allocation alignment issues during storage accesses.
Implement interactive config block generation for Tegras.
Fix memory leak due to not freeing config block memory area after
generation.

While at it shorten all lines to 80 characters adhering to coding
style.
board/toradex/common/configblock.c