fastboot: Allow runtime decision on memory scratch space

Different flavors of one target may require different memory
regions to be used for storing images in RAM during fastboot
flashing.  Allow the scratch space to be decided based on
runtime detection.

For msm7x30, use the 2nd memory region (with starting address
dependent on LPDDR1 or LPDDR2) as scratch space.
diff --git a/include/target.h b/include/target.h
index ecc8400..ace8834 100644
--- a/include/target.h
+++ b/include/target.h
@@ -29,6 +29,9 @@
 /* later init, after the kernel has come up */
 void target_init(void);
 
+/* get memory address for fastboot image loading */
+void *target_get_scratch_address(void);
+
 /* if target is using eMMC bootup */
 int target_is_emmc_boot(void);