diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-14 08:44:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-14 08:44:06 -0400 |
commit | e2b86e23cebc9dfaca2e7b7e53b10fa27d09f4e9 (patch) | |
tree | 0e8b20ee7e4b9426913dc905392386c1c28ee0f2 /arch/arm/mach-stm32mp/include/mach/stm32prog.h | |
parent | fe16786149c8f1b2db95ed614a760bc443da6472 (diff) | |
parent | 1b28a5e2b00a9bf3523cc63694baa03f23604619 (diff) |
Merge tag 'u-boot-stm32-20200514' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm
- stm32mp1: migrate MTD and DFU configuration in Kconfig
- stm32mp1: add command stm32prog
- stm32mp1: several board and arch updates
- stm32mp1: activate data cache in SPL and before relocation
- Many improvment for AV96 board and DHCOR SoM
(add new defconfig, DDR3 coding on DHCOR SoM, split between board and SOM
Synchronize DDR setttings on DH SoMs, setting for I2C EEPROM)
- clk: stm32mp1: fix CK_MPU calculation
- DT alignment of stm32mp1 device tree with Linux 5.7-rc2
Diffstat (limited to 'arch/arm/mach-stm32mp/include/mach/stm32prog.h')
-rw-r--r-- | arch/arm/mach-stm32mp/include/mach/stm32prog.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/stm32prog.h b/arch/arm/mach-stm32mp/include/mach/stm32prog.h new file mode 100644 index 00000000000..c080b9cc42a --- /dev/null +++ b/arch/arm/mach-stm32mp/include/mach/stm32prog.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ +/* + * Copyright (C) 2020, STMicroelectronics - All Rights Reserved + */ + +#define STM32PROG_VIRT_FIRST_DEV_NUM 0xF1 + +int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset, + void *buf, long *len); +int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset, + void *buf, long *len); +int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size); + +bool stm32prog_get_tee_partitions(void); + +bool stm32prog_get_fsbl_nor(void); |