project: msm8996: Rename thulium to msm8996

Rename the thulium project files to msm8996

Change-Id: I1c26e34ef8051917d77ea0c4be9a16aa6d67c88f
diff --git a/platform/thulium/acpuclock.c b/platform/msm8996/acpuclock.c
similarity index 100%
rename from platform/thulium/acpuclock.c
rename to platform/msm8996/acpuclock.c
diff --git a/platform/thulium/gpio.c b/platform/msm8996/gpio.c
similarity index 100%
rename from platform/thulium/gpio.c
rename to platform/msm8996/gpio.c
diff --git a/platform/thulium/include/platform/clock.h b/platform/msm8996/include/platform/clock.h
similarity index 100%
rename from platform/thulium/include/platform/clock.h
rename to platform/msm8996/include/platform/clock.h
diff --git a/platform/thulium/include/platform/gpio.h b/platform/msm8996/include/platform/gpio.h
similarity index 96%
rename from platform/thulium/include/platform/gpio.h
rename to platform/msm8996/include/platform/gpio.h
index c00512b..5626d50 100644
--- a/platform/thulium/include/platform/gpio.h
+++ b/platform/msm8996/include/platform/gpio.h
@@ -9,7 +9,7 @@
  *    copyright notice, this list of conditions and the following
  *    disclaimer in the documentation and/or other materials provided
  *    with the distribution.
- *  * Neither the name of The Linux Foundation, Inc. nor the names of its
+ *  * Neither the name of The Linux Foundation nor the names of its
  *    contributors may be used to endorse or promote products derived
  *    from this software without specific prior written permission.
  *
diff --git a/platform/thulium/include/platform/iomap.h b/platform/msm8996/include/platform/iomap.h
similarity index 100%
rename from platform/thulium/include/platform/iomap.h
rename to platform/msm8996/include/platform/iomap.h
diff --git a/platform/thulium/include/platform/irqs.h b/platform/msm8996/include/platform/irqs.h
similarity index 97%
rename from platform/thulium/include/platform/irqs.h
rename to platform/msm8996/include/platform/irqs.h
index 696c83f..ab5e2ff 100644
--- a/platform/thulium/include/platform/irqs.h
+++ b/platform/msm8996/include/platform/irqs.h
@@ -9,7 +9,7 @@
  *     copyright notice, this list of conditions and the following
  *     disclaimer in the documentation and/or other materials provided
  *     with the distribution.
- *   * Neither the name of The Linux Foundation, Inc. nor the names of its
+ *   * Neither the name of The Linux Foundation nor the names of its
  *     contributors may be used to endorse or promote products derived
  *     from this software without specific prior written permission.
  *
diff --git a/platform/thulium/include/platform/partial_goods.h b/platform/msm8996/include/platform/partial_goods.h
similarity index 96%
rename from platform/thulium/include/platform/partial_goods.h
rename to platform/msm8996/include/platform/partial_goods.h
index 03c16ec..926c0c6 100644
--- a/platform/thulium/include/platform/partial_goods.h
+++ b/platform/msm8996/include/platform/partial_goods.h
@@ -9,7 +9,7 @@
  *     copyright notice, this list of conditions and the following
  *     disclaimer in the documentation and/or other materials provided
  *     with the distribution.
- *   * Neither the name of The Linux Foundation. nor the names of its
+ *   * Neither the name of The Linux Foundation nor the names of its
  *     contributors may be used to endorse or promote products derived
  *     from this software without specific prior written permission.
  *
diff --git a/platform/thulium/thulium-clock.c b/platform/msm8996/msm8996-clock.c
similarity index 98%
rename from platform/thulium/thulium-clock.c
rename to platform/msm8996/msm8996-clock.c
index d0a23ed..c082dc5 100644
--- a/platform/thulium/thulium-clock.c
+++ b/platform/msm8996/msm8996-clock.c
@@ -405,7 +405,7 @@
 
 
 /* Clock lookup table */
-static struct clk_lookup msm_thulium_clocks[] =
+static struct clk_lookup msm_msm8996_clocks[] =
 {
 	CLK_LOOKUP("sdc1_iface_clk", gcc_sdcc1_ahb_clk.c),
 	CLK_LOOKUP("sdc1_core_clk",  gcc_sdcc1_apps_clk.c),
@@ -428,5 +428,5 @@
 
 void platform_clock_init(void)
 {
-	clk_init(msm_thulium_clocks, ARRAY_SIZE(msm_thulium_clocks));
+	clk_init(msm_msm8996_clocks, ARRAY_SIZE(msm_msm8996_clocks));
 }
diff --git a/platform/thulium/platform.c b/platform/msm8996/platform.c
similarity index 83%
rename from platform/thulium/platform.c
rename to platform/msm8996/platform.c
index def91a1..a1c2dde 100644
--- a/platform/thulium/platform.c
+++ b/platform/msm8996/platform.c
@@ -13,17 +13,17 @@
  *       contributors may be used to endorse or promote products derived
  *       from this software without specific prior written permission.
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #include <debug.h>
diff --git a/platform/thulium/rules.mk b/platform/msm8996/rules.mk
similarity index 94%
rename from platform/thulium/rules.mk
rename to platform/msm8996/rules.mk
index 10afc50..8db37d5 100644
--- a/platform/thulium/rules.mk
+++ b/platform/msm8996/rules.mk
@@ -20,7 +20,7 @@
 OBJS += \
 	$(LOCAL_DIR)/platform.o \
 	$(LOCAL_DIR)/acpuclock.o \
-	$(LOCAL_DIR)/thulium-clock.o \
+	$(LOCAL_DIR)/msm8996-clock.o \
 	$(LOCAL_DIR)/gpio.o
 
 LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
diff --git a/platform/msm_shared/rules.mk b/platform/msm_shared/rules.mk
index cf372ea..2ba05de 100644
--- a/platform/msm_shared/rules.mk
+++ b/platform/msm_shared/rules.mk
@@ -499,7 +499,7 @@
 			$(LOCAL_DIR)/mipi_dsi_autopll.o
 endif
 
-ifeq ($(PLATFORM),thulium)
+ifeq ($(PLATFORM),msm8996)
 	OBJS += $(LOCAL_DIR)/qtimer.o \
 			$(LOCAL_DIR)/qtimer_mmap.o \
 			$(LOCAL_DIR)/interrupts.o \
diff --git a/project/thulium.mk b/project/msm8996.mk
similarity index 94%
rename from project/thulium.mk
rename to project/msm8996.mk
index 4d9bb5e..a78e6b4 100644
--- a/project/thulium.mk
+++ b/project/msm8996.mk
@@ -1,8 +1,8 @@
-# top level project rules for the thulium project
+# top level project rules for the msm8996 project
 #
 LOCAL_DIR := $(GET_LOCAL_DIR)
 
-TARGET := thulium
+TARGET := msm8996
 
 MODULES += app/aboot
 
diff --git a/scripts/buildall b/scripts/buildall
index c355387..38db25e 100755
--- a/scripts/buildall
+++ b/scripts/buildall
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-PROJECTS="msm8226 msm8974 apq8084 msm8994 mdm9630 mdm9640 msm8610 msm8916 thulium"
+PROJECTS="msm8226 msm8974 apq8084 msm8994 mdm9630 mdm9640 msm8610 msm8916 msm8996"
 FAILED=""
 
 for p in $PROJECTS; do
diff --git a/target/thulium/init.c b/target/msm8996/init.c
similarity index 100%
rename from target/thulium/init.c
rename to target/msm8996/init.c
diff --git a/target/thulium/meminfo.c b/target/msm8996/meminfo.c
similarity index 100%
rename from target/thulium/meminfo.c
rename to target/msm8996/meminfo.c
diff --git a/target/thulium/rules.mk b/target/msm8996/rules.mk
similarity index 97%
rename from target/thulium/rules.mk
rename to target/msm8996/rules.mk
index 982f4ee..28ab538 100644
--- a/target/thulium/rules.mk
+++ b/target/msm8996/rules.mk
@@ -2,7 +2,7 @@
 
 INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
 
-PLATFORM := thulium
+PLATFORM := msm8996
 
 MEMBASE := 0x8F000000 # SDRAM
 MEMSIZE := 0x00200000 # 2MB
diff --git a/target/thulium/tools/makefile b/target/msm8996/tools/makefile
similarity index 100%
rename from target/thulium/tools/makefile
rename to target/msm8996/tools/makefile