]> 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 418d4fd948c9f0fc084be2e40664bebb5c796f81..eeb22900ad2fe811a1d9de631a3284572e335503 100644 (file)
@@ -1,31 +1,16 @@
 /*
  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * 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
 
@@ -36,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 */
@@ -61,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)