| ccf8392c | 09-Sep-2022 |
Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> |
fix(mmc): resolve the build error
Adding the header file plat/common/common_def.h to resolve the "SIZE_128" undeclared identifier error.
Change-Id: I399edf4248776f6dd9f93e000b8672cadc71509d Signed-
fix(mmc): resolve the build error
Adding the header file plat/common/common_def.h to resolve the "SIZE_128" undeclared identifier error.
Change-Id: I399edf4248776f6dd9f93e000b8672cadc71509d Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
show more ...
|
| f462c124 | 01-Sep-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boo
feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boot_part_size() to get this eMMC boot partition size.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0e8e0fc9632f147fa1b1b3374accb78439025403
show more ...
|
| f29c0702 | 13-Apr-2021 |
Lionel Debieve <lionel.debieve@foss.st.com> |
feat(mtd): add platform function to allow using external buffer
The scratch buffer could be large. The new function allows platform to defined its own external buffer or use the default one.
Signed
feat(mtd): add platform function to allow using external buffer
The scratch buffer could be large. The new function allows platform to defined its own external buffer or use the default one.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: Ib7ab8ff19fa0a9cb06e364f058b91af58c3c471a
show more ...
|
| 029f9b9c | 29-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I60b3b59e,Ibd5d22b4 into integration
* changes: fix(ufs): init utrlba/utrlbau with desc_base fix(ufs): fix slot base address computation |
| afbb10ab | 17-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st-mmc-updates" into integration
* changes: feat(st-sdmmc2): define FIFO size feat(st-sdmmc2): make reset property optional feat(st): enable MMC_FLAG_SD_CMD6 for SD-c
Merge changes from topic "st-mmc-updates" into integration
* changes: feat(st-sdmmc2): define FIFO size feat(st-sdmmc2): make reset property optional feat(st): enable MMC_FLAG_SD_CMD6 for SD-cards feat(st-sdmmc2): manage CMD6 feat(mmc): manage SD Switch Function for high speed mode
show more ...
|
| 51d52c79 | 17-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st-etzpc-cleanup" into integration
* changes: refactor(stm32mp15-fdts): remove ETZPC status refactor(st-drivers): do not rely on DT in etzpc_init |
| b46f74d4 | 05-May-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-sdmmc2): define FIFO size
Instead of using hard-coded values in stm32_sdmmc2_read() function, use a defined SDMMC_FIFO_SIZE, which is 64 on STM32MP1.
Signed-off-by: Yann Gautier <yann.gauti
feat(st-sdmmc2): define FIFO size
Instead of using hard-coded values in stm32_sdmmc2_read() function, use a defined SDMMC_FIFO_SIZE, which is 64 on STM32MP1.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I1ace0a28fbddae474379f0187371b9c360ceb7b3
show more ...
|
| 8324b16c | 03-May-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-sdmmc2): make reset property optional
Although not recommended, the reset property could be made optional. This way the driver will probe even if no reset property is provided in an sdmmc no
feat(st-sdmmc2): make reset property optional
Although not recommended, the reset property could be made optional. This way the driver will probe even if no reset property is provided in an sdmmc node in DT. This reset is already optional in Linux.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I6e63ff00118d9497f505d6379982334dd62686ca
show more ...
|
| 3deebd4c | 12-Jun-2019 |
Yann Gautier <yann.gautier@st.com> |
feat(st-sdmmc2): manage CMD6
For SD-cards, CMD6 is used to switch functions, like setting high speed mode. As it has another meaning for eMMC, and may not work on standard capacity SD-cards, it must
feat(st-sdmmc2): manage CMD6
For SD-cards, CMD6 is used to switch functions, like setting high speed mode. As it has another meaning for eMMC, and may not work on standard capacity SD-cards, it must be checked with MMC_IS_SD_HC flag. As ACMD6 is also used, and will have the same index, a check on CMD/ACMD commands is done: a boolean is stored depending on previous command. It is set to true if CMD55 is issued, for other commands it is set to false.
Change-Id: I6c2b9c7637656f858601ec075de1cb5f57af271a Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| e5b267bb | 12-Jun-2019 |
Yann Gautier <yann.gautier@st.com> |
feat(mmc): manage SD Switch Function for high speed mode
On SD-cards, Switch Function Command (CMD6) is used to switch functions, like setting High Speed mode. It is useful for high capacity cards t
feat(mmc): manage SD Switch Function for high speed mode
On SD-cards, Switch Function Command (CMD6) is used to switch functions, like setting High Speed mode. It is useful for high capacity cards to double frequency (from 25MHz by default to 50MHz). If the SD-card is High Capacity, a CMD6 is issued after filling the device information. If High Speed mode is supported and the switch is OK, then the max_bus_freq can be set to 50MHz. The driver set_ios() function should then be called to update peripheral configuration, especially clock prescaler.
Change-Id: I2d6807aa7f9440d2b2f907a747cd3b47a2ba1545 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| e9ff3486 | 29-Mar-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st-drivers): do not rely on DT in etzpc_init
The ETZPC peripheral is always secure, and has a fixed address, given by STM32MP1_ETZPC_BASE. This is then not needed to check that in DT.
Sign
refactor(st-drivers): do not rely on DT in etzpc_init
The ETZPC peripheral is always secure, and has a fixed address, given by STM32MP1_ETZPC_BASE. This is then not needed to check that in DT.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Ifb0779abaf830e1e5a469c72181c2b2726fb47b5
show more ...
|
| 3ff1ff40 | 21-Jun-2022 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
refactor(st-clock): code size optimization
Clock name is not used and can be removed for code size optimization.
Change-Id: I75f6a1828e4374004e31a7ce13fa6885c52bbac3 Signed-off-by: Gabriel Fernande
refactor(st-clock): code size optimization
Clock name is not used and can be removed for code size optimization.
Change-Id: I75f6a1828e4374004e31a7ce13fa6885c52bbac3 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
show more ...
|
| b44f5acf | 14-Feb-2022 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
refactor(st-clock): remove unused PLL field
The divn_max field is unused, remove it.
Change-Id: I971912bcc035f16963d98dfa88782c8aed4415f2 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st
refactor(st-clock): remove unused PLL field
The divn_max field is unused, remove it.
Change-Id: I971912bcc035f16963d98dfa88782c8aed4415f2 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
show more ...
|
| c1522768 | 01-Aug-2022 |
Lauren Wehrmeister <lauren.wehrmeister@arm.com> |
Merge changes from topic "st_fip_uuid" into integration
* changes: feat(stm32mp1): retrieve FIP partition by type UUID feat(guid-partition): allow to find partition by type UUID refactor(stm32
Merge changes from topic "st_fip_uuid" into integration
* changes: feat(stm32mp1): retrieve FIP partition by type UUID feat(guid-partition): allow to find partition by type UUID refactor(stm32mp1): update PLAT_PARTITION_MAX_ENTRIES
show more ...
|
| 9d6d1a94 | 01-Aug-2022 |
anans <anans@google.com> |
fix(ufs): init utrlba/utrlbau with desc_base
Initialising these registers with header address will not work when get_empty_slot returns anything other than 0 because these registers should point to
fix(ufs): init utrlba/utrlbau with desc_base
Initialising these registers with header address will not work when get_empty_slot returns anything other than 0 because these registers should point to the starting of transfer request list instead of the current descriptor
Change-Id: I60b3b59e2be6e2635a59b14dd1f11d93b9d95a1f Signed-off-by: anans <anans@google.com>
show more ...
|
| 7d9648dd | 01-Aug-2022 |
anans <anans@google.com> |
fix(ufs): fix slot base address computation
The entire packet including UPIUs and PRDT is 0x400 but the controller just looks for the header (32-bytes) from the UTRL
Change-Id: Ibd5d22b4a841c107fdf
fix(ufs): fix slot base address computation
The entire packet including UPIUs and PRDT is 0x400 but the controller just looks for the header (32-bytes) from the UTRL
Change-Id: Ibd5d22b4a841c107fdf6447d598c5c600998e0f8 Signed-off-by: Anand Saminathan <anans@google.com>
show more ...
|
| a78b3b38 | 06-May-2022 |
Varun Wadekar <vwadekar@nvidia.com> |
feat(gicv3): validate multichip data for GIC-700
This patch introduces support to validate the GIC-700 multichip data structure passed by the platform.
GIC-700 provides support for SPI ID 4096 to 5
feat(gicv3): validate multichip data for GIC-700
This patch introduces support to validate the GIC-700 multichip data structure passed by the platform.
GIC-700 provides support for SPI ID 4096 to 5119. Platforms using the GIC-700 in a multichip configuration can enable these SPI IDs. The driver needs to validate the data before using it and this patch implements the support.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I6f85ec21ef7a59f397fcf6271f8c13c24fe47697
show more ...
|
| 1d867c14 | 27-Jul-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(ufs): add retries to ufs_read_capacity" into integration |
| 9d3f6c4b | 26-Jul-2022 |
anans <anans@google.com> |
fix(ufs): point utrlbau to header instead of upiu
utrlbau should point to header and not upiu this is the case everywhere except for ufs_prepare_cmd
Signed-off-by: anans <anans@google.com> Change-I
fix(ufs): point utrlbau to header instead of upiu
utrlbau should point to header and not upiu this is the case everywhere except for ufs_prepare_cmd
Signed-off-by: anans <anans@google.com> Change-Id: I02695824c1409124a60e63c3a7ff3278a4dc5fa8
show more ...
|
| 660c208d | 12-Jul-2022 |
anans <anans@google.com> |
fix(ufs): removes dp and run-stop polling loops
These polling loops are not required according to the spec
Signed-off-by: anans <anans@google.com> Change-Id: I50d832ba495f30cc7a0553c84e58b747d51e0a
fix(ufs): removes dp and run-stop polling loops
These polling loops are not required according to the spec
Signed-off-by: anans <anans@google.com> Change-Id: I50d832ba495f30cc7a0553c84e58b747d51e0a4e
show more ...
|
| 28645ebd | 02-Jul-2022 |
Rohit Ner <rohitner@google.com> |
fix(ufs): add retries to ufs_read_capacity
This change replaces the polling loop with fixed number of retries, returns error values and handles them in ufs_enum.
Signed-off-by: Rohit Ner <rohitner@
fix(ufs): add retries to ufs_read_capacity
This change replaces the polling loop with fixed number of retries, returns error values and handles them in ufs_enum.
Signed-off-by: Rohit Ner <rohitner@google.com> Change-Id: Ia769ef26703c7525091e55ff46aaae4637db933c
show more ...
|
| 564f5d47 | 24-Feb-2022 |
Lionel Debieve <lionel.debieve@foss.st.com> |
feat(guid-partition): allow to find partition by type UUID
Add function to return the partition by type.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: I87729dc5e68fbc45a523c
feat(guid-partition): allow to find partition by type UUID
Add function to return the partition by type.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: I87729dc5e68fbc45a523c894b67595b0079dd8fb
show more ...
|
| 96f715eb | 28-Jun-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "fix(measured-boot): clear the entire digest array of Startup Locality event" into integration |
| 02450800 | 27-Jun-2022 |
Lauren Wehrmeister <lauren.wehrmeister@arm.com> |
Merge changes from topic "mb_hash" into integration
* changes: refactor(imx): update config of mbedtls support refactor(qemu): update configuring mbedtls support refactor(measured-boot): mb al
Merge changes from topic "mb_hash" into integration
* changes: refactor(imx): update config of mbedtls support refactor(qemu): update configuring mbedtls support refactor(measured-boot): mb algorithm selection
show more ...
|
| 6f614219 | 27-Jun-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(nxp-ddr): fix firmware buffer re-mapping issue" into integration |