mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 05:54:08 +00:00
fix(st): reduce MMC block_buffer
This buffer used by io_block should be the size on one block (512 bytes) not 512*4 due to the use of uint32_t. Change that to uint8_t. This reduces the size of BSS by 1.5KiB. Change-Id: I8492f13f5386679b0c81efba66911422412782f9 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
This commit is contained in:
parent
8b826636a3
commit
a2500ab7ab
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ uintptr_t enc_dev_handle;
|
|||
#if STM32MP_SDMMC || STM32MP_EMMC
|
||||
static struct mmc_device_info mmc_info;
|
||||
|
||||
static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
|
||||
static uint8_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
|
||||
|
||||
static io_block_dev_spec_t mmc_block_dev_spec = {
|
||||
/* It's used as temp buffer in block driver */
|
||||
|
|
Loading…
Add table
Reference in a new issue