FSMC.

1) Fixed race condition in driver.
2) Badblock map changed from ugly array with numbers to bit map.
Merge branch 'fsmc' of github.com:barthess/ChibiOS-RT into fsmc