[dev] flash: Add interface to obtain flash layout info
[dev] flash: Add interface to obtain flash layout info

Signed-off-by: Dima Zavin <bed3f98d0a894717be46c58ffa90302af9946688@android.com>

lg-devs/g2-bootloader,jsr-d10/android_bootable_bootloader_lk,pichina/lk,M1cha/android_bootable_bootloader_lk,Redmi-dev/android_bootable_lk,t2m-foxfone/android_kernel_lk,detule/lk-g2-spr,zhuotong/mi2_lk_NoEmmc,Foxda-Tech/polaris-bootable-bootloader-lk,idor/dk50-bootable_bootloader_lk,hanjae/lumiab0,zhuotong/mi2_lk_NoEmmc,lg-devs/g2-bootloader,jsr-d9/android_kernel_lk,t2m-foxfone/android_kernel_lk,t2m-foxfone/android_kernel_lk,pichina/lk,MiCode/mi2_lk,beidl/lk_umia,lg-devs/g2-bootloader,thornbirdblue/codeaurora_lk,beidl/lk_umia,mozilla-b2g/kernel_lk,zhuotong/mi2_lk_NoEmmc,oubeichen/lk-v500,chirayudesai/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,utilite2/lk,mozilla-b2g/fairphone2_kernel_lk,mozilla-b2g/fairphone2_kernel_lk,Foxda-Tech/polaris-bootable-bootloader-lk,hanjae/lumiab0,DooMLoRD/android_bootable_bootloader_lk,xndcn/moboot-for-veer,M1cha/lktris,hanjae/lumiab0,RonGokhale/android_lk_bootloader,detule/lk-g2-spr,t2m-foxfone/kernel_lk,thornbirdblue/codeaurora_lk,mozilla-b2g/kernel_lk,Foxda-Tech/polaris-bootable-bootloader-lk,Blefish/android_bootable_bootloader_lk,my4ndr0id/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,RonGokhale/android_lk_bootloader,CanarySolutions/little-kernel,efidroid/lk,chirayudesai/android_bootable_bootloader_lk,idor/dk50-bootable_bootloader_lk,xndcn/moboot-for-veer,jsr-d9/android_kernel_lk,DooMLoRD/android_bootable_bootloader_lk,lg-devs/g2-bootloader,jsr-d10/android_bootable_bootloader_lk,efidroid/lk,RonGokhale/android_lk_bootloader,idor/dk50-bootable_bootloader_lk,beidl/lk_umia,pichina/lk,beidl/lk_umia,t2m-foxfone/kernel_lk,M1cha/lktris,t2m-foxfone/kernel_lk,oubeichen/lk-v500,Redmi-dev/android_bootable_lk,M1cha/mi2_lk,jsr-d9/android_kernel_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,xndcn/moboot-for-veer,M1cha/android_bootable_bootloader_lk,DooMLoRD/android_bootable_bootloader_lk,thornbirdblue/codeaurora_lk,utilite2/lk,jsr-d9/android_kernel_lk,MiCode/mi2_lk,RonGokhale/android_lk_bootloader,jcsullins/moboot,M1cha/mi2_lk,jsr-d10/android_bootable_bootloader_lk,M1cha/mi2_lk,zhuotong/mi2_lk_NoEmmc,detule/lk-g2-spr,oubeichen/lk-v500,utilite2/lk,mozilla-b2g/fairphone2_kernel_lk,thornbirdblue/codeaurora_lk,hanjae/lumiab0,efidroid/lk,efidroid/lk,Blefish/android_bootable_bootloader_lk,M1cha/lktris,chirayudesai/android_bootable_bootloader_lk,CanarySolutions/little-kernel,jbott/lk_gee,M1cha/mi2_lk,zhuotong/mi2_lk_NoEmmc,chirayudesai/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,DooMLoRD/android_bootable_bootloader_lk,idor/dk50-bootable_bootloader_lk,t2m-foxfone/kernel_lk,oubeichen/lk-v500,jbott/lk_gee,my4ndr0id/android_bootable_bootloader_lk,xndcn/moboot-for-veer,detule/lk-g2-spr,thornbirdblue/codeaurora_lk,jbott/lk_gee,CanarySolutions/little-kernel,Foxda-Tech/argo8-bootable-bootloader-lk,jcsullins/moboot,idor/dk50-bootable_bootloader_lk,mozilla-b2g/kernel_lk,jbott/lk_gee,mozilla-b2g/fairphone2_kernel_lk,Redmi-dev/android_bootable_lk,Foxda-Tech/argo8-bootable-bootloader-lk,efidroid/lk,Blefish/android_bootable_bootloader_lk,my4ndr0id/android_bootable_bootloader_lk,Blefish/android_bootable_bootloader_lk,hanjae/lumiab0,mozilla-b2g/kernel_lk,oubeichen/lk-v500,M1cha/lktris,jcsullins/moboot,mozilla-b2g/kernel_lk,RonGokhale/android_lk_bootloader,pichina/lk,beidl/lk_umia,t2m-foxfone/android_kernel_lk,MiCode/mi2_lk,M1cha/mi2_lk,t2m-foxfone/android_kernel_lk,Redmi-dev/android_bootable_lk,jsr-d10/android_bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,CanarySolutions/little-kernel,detule/lk-g2-spr,MiCode/mi2_lk,utilite2/lk,jsr-d10/android_bootable_bootloader_lk,Redmi-dev/android_bootable_lk,mozilla-b2g/fairphone2_kernel_lk,my4ndr0id/android_bootable_bootloader_lk,lg-devs/g2-bootloader,DooMLoRD/android_bootable_bootloader_lk,jsr-d9/android_kernel_lk,M1cha/lktris,jbott/lk_gee,jcsullins/moboot,jcsullins/moboot,jcsullins/moboot,pichina/lk,M1cha/android_bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,MiCode/mi2_lk,Foxda-Tech/argo8-bootable-bootloader-lk,M1cha/android_bootable_bootloader_lk,my4ndr0id/android_bootable_bootloader_lk,CanarySolutions/little-kernel,utilite2/lk,Blefish/android_bootable_bootloader_lk,t2m-foxfone/kernel_lk,xndcn/moboot-for-veer