Prepare v2023.10
[platform/kernel/u-boot.git] / include / configs / mxs.h
index fc15ed8..6ebfee6 100644 (file)
 /* Memory sizes */
 
 /* OCRAM at 0x0 ; 32kB on MX23 ; 128kB on MX28 */
-#define CONFIG_SYS_INIT_RAM_ADDR       0x00000000
+#define CFG_SYS_INIT_RAM_ADDR  0x00000000
 #if defined(CONFIG_MX23)
-#define CONFIG_SYS_INIT_RAM_SIZE       (32 * 1024)
+#define CFG_SYS_INIT_RAM_SIZE  (32 * 1024)
 #elif defined(CONFIG_MX28)
-#define CONFIG_SYS_INIT_RAM_SIZE       (128 * 1024)
+#define CFG_SYS_INIT_RAM_SIZE  (128 * 1024)
 #endif
 
 /* Point initial SP in SRAM so SPL can use it too. */
  * DUART Serial Driver.
  * Conflicts with AUART driver which can be set by board.
  */
-#define CONFIG_PL011_CLOCK             24000000
-#define CONFIG_PL01x_PORTS             { (void *)MXS_UARTDBG_BASE }
+#define CFG_PL011_CLOCK                24000000
+#define CFG_PL01x_PORTS                { (void *)MXS_UARTDBG_BASE }
 /* Default baudrate can be overridden by board! */
 
 /* NAND */
 #ifdef CONFIG_CMD_NAND
-#define CONFIG_SYS_MAX_NAND_DEVICE     1
-#define CONFIG_SYS_NAND_BASE           0x60000000
-#endif
-
-/* OCOTP */
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXS_OCOTP
-#endif
-
-/* SPI */
-#ifdef CONFIG_CMD_SPI
-#define CONFIG_SPI_HALF_DUPLEX
+#define CFG_SYS_NAND_BASE              0x60000000
 #endif
 
 #endif /* __CONFIGS_MXS_H__ */