stm32.h 448 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
  4. * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
  5. */
  6. #ifndef _ASM_ARCH_HARDWARE_H
  7. #define _ASM_ARCH_HARDWARE_H
  8. #include <asm/arch-stm32/stm32f.h>
  9. static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
  10. [0 ... 3] = 32 * 1024,
  11. [4] = 128 * 1024,
  12. [5 ... 7] = 256 * 1024
  13. };
  14. #endif /* _ASM_ARCH_HARDWARE_H */