Making use of the memory map in Flash.
Making use of the memory map in Flash.

- getPageInfo() sets the page size based on the memory region containing
  the address.
- Added a page base address attribute to the PageInfo class, set in
  getPageInfo().
- getFlashInfo() sets the rom start to the start of the boot memory.
- flashBinary() will default to an address of rom start if one is not
  provided by the caller.
- Some minor cleanup.

Signed-off-by: Chris Reed <ddbbf6166888b293a1c3f06933a7a3227dbb7a9f@freescale.com>

molejar/pyOCD,mbedmicro/pyOCD,tgarc/pyOCD,c1728p9/pyOCD,wjzhang/pyOCD,molejar/pyOCD,adamgreen/pyOCD,mesheven/pyOCD,c1728p9/pyOCD,mesheven/pyOCD,tgarc/pyOCD,bridadan/pyOCD,mbedmicro/pyOCD,matthewelse/pyOCD,tgarc/pyOCD,pyocd/pyOCD,molejar/pyOCD,oliviermartin/pyOCD,wjzhang/pyOCD,pyocd/pyOCD,flit/pyOCD,mbedmicro/pyOCD,flit/pyOCD,adamgreen/pyOCD,oliviermartin/pyOCD,0xc0170/pyOCD,devanlai/pyOCD,oliviermartin/pyOCD,devanlai/pyOCD,mesheven/pyOCD,wjzhang/pyOCD,adamgreen/pyOCD,matthewelse/pyOCD,matthewelse/pyOCD,0xc0170/pyOCD,bridadan/pyOCD,c1728p9/pyOCD,0xc0170/pyOCD,devanlai/pyOCD,bridadan/pyOCD