mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00
refactor(plat/st): remove BL2 image loading
STM32MP1 does not use BL1, the loading of BL2 is done by ROM code. It is then useless to have an entry BL2_IMAGE_ID in the policies. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I464cedf588114d60522433123f8dbef32ae36818
This commit is contained in:
parent
06c3b100ea
commit
e1db570a30
1 changed files with 0 additions and 10 deletions
|
@ -118,11 +118,6 @@ static const io_block_spec_t bl32_block_spec = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const io_block_spec_t bl2_block_spec = {
|
|
||||||
.offset = BL2_BASE,
|
|
||||||
.length = STM32MP_BL2_SIZE,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const struct stm32image_part_info bl33_partition_spec = {
|
static const struct stm32image_part_info bl33_partition_spec = {
|
||||||
.name = BL33_IMAGE_NAME,
|
.name = BL33_IMAGE_NAME,
|
||||||
.binary_type = BL33_BINARY_TYPE,
|
.binary_type = BL33_BINARY_TYPE,
|
||||||
|
@ -178,11 +173,6 @@ struct plat_io_policy {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct plat_io_policy policies[] = {
|
static const struct plat_io_policy policies[] = {
|
||||||
[BL2_IMAGE_ID] = {
|
|
||||||
.dev_handle = &dummy_dev_handle,
|
|
||||||
.image_spec = (uintptr_t)&bl2_block_spec,
|
|
||||||
.check = open_dummy
|
|
||||||
},
|
|
||||||
#ifdef AARCH32_SP_OPTEE
|
#ifdef AARCH32_SP_OPTEE
|
||||||
[BL32_IMAGE_ID] = {
|
[BL32_IMAGE_ID] = {
|
||||||
.dev_handle = &image_dev_handle,
|
.dev_handle = &image_dev_handle,
|
||||||
|
|
Loading…
Add table
Reference in a new issue