]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/mx23_olinuxino.h
mxs_gpio: correctly use the GPIO API
[karo-tx-uboot.git] / include / configs / mx23_olinuxino.h
index 575fe2a22ddb361d75d83e1339256c97d77ed0db..eeb22900ad2fe811a1d9de631a3284572e335503 100644 (file)
@@ -1,18 +1,16 @@
 /*
  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIGS_MX23_OLINUXINO_H__
 #define __CONFIGS_MX23_OLINUXINO_H__
 
 /* System configurations */
-#define CONFIG_MX23                            /* i.MX23 SoC */
 #define CONFIG_MACH_TYPE       4105
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
-#include <config_cmd_default.h>
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DOS_PARTITION
 
@@ -23,7 +21,6 @@
 #define CONFIG_CMD_GPIO
 #define CONFIG_CMD_LED
 #define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
 #define CONFIG_CMD_USB
 
 /* Memory configuration */
@@ -48,7 +45,7 @@
 #define CONFIG_GPIO_LED
 #define CONFIG_BOARD_SPECIFIC_LED
 #define STATUS_LED_BOOT                0
-#define STATUS_LED_BIT         MX23_PAD_SSP1_DETECT__GPIO_2_1
+#define STATUS_LED_BIT         MXS_PAD_TO_GPIO(MX23_PAD_SSP1_DETECT__GPIO_2_1)
 #define STATUS_LED_STATE       STATUS_LED_ON
 #define STATUS_LED_PERIOD      (CONFIG_SYS_HZ / 2)