From 38f170244c587eb3eec37c4c033bf41c0abb89dc Mon Sep 17 00:00:00 2001
From: Benjamin Larsson <benjamin@southpole.se>
Date: Thu, 8 Feb 2018 13:34:19 +0100
Subject: [PATCH] sdx810_ap.h

---
 arch/mips/Kconfig              |  2 +-
 board/inteno/sdx810_ap/Kconfig |  2 +-
 configs/sdx810_ap_defconfig    |  2 +-
 include/configs/sdx810_ap.h    | 10 ++++++++++
 include/configs/sdx_500ap.h    | 10 ----------
 5 files changed, 13 insertions(+), 13 deletions(-)
 create mode 100644 include/configs/sdx810_ap.h
 delete mode 100644 include/configs/sdx_500ap.h

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b759ba706ab..8b4cb306bd5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -94,7 +94,7 @@ endchoice
 source "board/dbau1x00/Kconfig"
 source "board/imgtec/malta/Kconfig"
 source "board/inteno/ex400/Kconfig"
-source "board/inteno/sdx_500ap/Kconfig"
+source "board/inteno/sdx810_ap/Kconfig"
 source "board/micronas/vct/Kconfig"
 source "board/pb1x00/Kconfig"
 source "board/qemu-mips/Kconfig"
diff --git a/board/inteno/sdx810_ap/Kconfig b/board/inteno/sdx810_ap/Kconfig
index 23d4e74392d..e63e35aa666 100644
--- a/board/inteno/sdx810_ap/Kconfig
+++ b/board/inteno/sdx810_ap/Kconfig
@@ -1,4 +1,4 @@
-if TARGET_SDX_500AP
+if TARGET_SDX810_AP
 
 config SYS_BOARD
 	default "sdx810_ap"
diff --git a/configs/sdx810_ap_defconfig b/configs/sdx810_ap_defconfig
index 65f67d1fee4..ed38ee51081 100644
--- a/configs/sdx810_ap_defconfig
+++ b/configs/sdx810_ap_defconfig
@@ -112,7 +112,7 @@ CONFIG_BOOTDELAY=2
 #
 CONFIG_CMDLINE=y
 CONFIG_HUSH_PARSER=y
-CONFIG_SYS_PROMPT="sdx-500ap -> "
+CONFIG_SYS_PROMPT="sdx810_ap -> "
 
 #
 # Autoboot options
diff --git a/include/configs/sdx810_ap.h b/include/configs/sdx810_ap.h
new file mode 100644
index 00000000000..b94de49067a
--- /dev/null
+++ b/include/configs/sdx810_ap.h
@@ -0,0 +1,10 @@
+/*
+ *
+ */
+
+#ifndef _SDX810_AP_CONFIG_H
+#define _SDX810_AP_CONFIG_H
+
+#include "inteno_mt7621.h"
+
+#endif /* */
diff --git a/include/configs/sdx_500ap.h b/include/configs/sdx_500ap.h
deleted file mode 100644
index 6061716aaf2..00000000000
--- a/include/configs/sdx_500ap.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- *
- */
-
-#ifndef _SDX500AP_CONFIG_H
-#define _SDX500AP_CONFIG_H
-
-#include "inteno_mt7621.h"
-
-#endif /* */
-- 
GitLab