ASI1230: Select boot partition using board information in SPI flash

Load and exec script from the selected partition, adjust 'mem' bootarg then proceed to
load kernel image from the same partition. In case eng. mode is detected
then a second stage bootloader is loaded instead of the kernel.