Put some code into the first 16K of flash

This basically shrinks the remaining size of flash in the portion
that goes after the internal flash drive.
Merge pull request #803 from dhylands/ld-opt

Put some code into the first 16K of flash