[PATCH 2/6] arm/lpc32xx: Hide MLC details

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 7 14:02:14 UTC 2022


---
 bsps/arm/lpc32xx/include/bsp/boot.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bsps/arm/lpc32xx/include/bsp/boot.h b/bsps/arm/lpc32xx/include/bsp/boot.h
index bc8b13a5aa..3f1c3531b2 100644
--- a/bsps/arm/lpc32xx/include/bsp/boot.h
+++ b/bsps/arm/lpc32xx/include/bsp/boot.h
@@ -19,8 +19,6 @@
 
 #include <stdint.h>
 
-#include <bsp/nand-mlc.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
@@ -87,7 +85,7 @@ typedef union {
     uint8_t d12;
     uint8_t reserved_12 [463];
   } field;
-  uint32_t data [MLC_SMALL_DATA_WORD_COUNT];
+  uint32_t data [128];
 } lpc32xx_boot_block;
 
 void lpc32xx_setup_boot_block(
-- 
2.35.3



More information about the devel mailing list