mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
refactor(st-ddr): move basic tests in a dedicated file
These basic tests are generic and should be used independently of the driver, depending on the plaftorm characteristics. Change-Id: I38161b659ef2a23fd30a56e1c9b1bd98461a2fe4 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com>
This commit is contained in:
parent
06e55dc842
commit
63d2159846
4 changed files with 170 additions and 120 deletions
17
include/drivers/st/stm32mp_ddr_test.h
Normal file
17
include/drivers/st/stm32mp_ddr_test.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (C) 2022, STMicroelectronics - All Rights Reserved
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef STM32MP_DDR_TEST_H
|
||||
#define STM32MP_DDR_TEST_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
uint32_t stm32mp_ddr_test_rw_access(void);
|
||||
uint32_t stm32mp_ddr_test_data_bus(void);
|
||||
uint32_t stm32mp_ddr_test_addr_bus(uint64_t size);
|
||||
uint32_t stm32mp_ddr_check_size(void);
|
||||
|
||||
#endif /* STM32MP_DDR_TEST_H */
|
Loading…
Add table
Add a link
Reference in a new issue