[rtems commit] arm/lpc32xx: Hide MLC details

Sebastian Huber sebh at rtems.org
Wed Jun 8 08:20:05 UTC 2022


Module:    rtems
Branch:    master
Commit:    5dc5ab5650e35c537f26d38ad49f1dd9b061cf11
Changeset: http://git.rtems.org/rtems/commit/?id=5dc5ab5650e35c537f26d38ad49f1dd9b061cf11

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun  2 17:32:48 2022 +0200

arm/lpc32xx: Hide MLC details

---

 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(



More information about the vc mailing list