summaryrefslogtreecommitdiff
path: root/target/msm8960
diff options
context:
space:
mode:
authorV S Ramanjaneya Kumar T <vsrama@codeaurora.org>2013-01-08 14:55:54 -0500
committerV S Ramanjaneya Kumar T <vsrama@codeaurora.org>2013-01-09 09:24:06 -0500
commitc633fe1c03fcc3631a3d41e706ba7bf82500a06a (patch)
tree983c9de1e03b85b10ea038966286b418f2c9a693 /target/msm8960
parentcfa805b230d3ab2bdb206ef0c3bf619de6f77d18 (diff)
Add support for femto development platform
Femto development platform (FDP) is based on APQ8064 chipset. Add support to enable console and pass proper board type to the linux kernel. Change-Id: I9828cd3af82b405d48582e0211e676186c35a008 Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com> Signed-off-by: V S Ramanjaneya Kumar T <vsrama@codeaurora.org>
Diffstat (limited to 'target/msm8960')
-rw-r--r--target/msm8960/include/target/board.h6
-rwxr-xr-xtarget/msm8960/init.c7
2 files changed, 11 insertions, 2 deletions
diff --git a/target/msm8960/include/target/board.h b/target/msm8960/include/target/board.h
index 906eb8a2..1e2606a4 100644
--- a/target/msm8960/include/target/board.h
+++ b/target/msm8960/include/target/board.h
@@ -1,4 +1,5 @@
-/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
+ /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+ *
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -9,7 +10,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 Code Aurora Forum, Inc. nor the names of its
+ * * Neither the name of 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.
*
@@ -58,5 +59,6 @@
#define LINUX_MACHTYPE_8064_MPQ_CDP 3993
#define LINUX_MACHTYPE_8064_MPQ_HRD 3994
#define LINUX_MACHTYPE_8064_MPQ_DTV 3995
+#define LINUX_MACHTYPE_8064_EP 3996
#endif
diff --git a/target/msm8960/init.c b/target/msm8960/init.c
index 99a79d49..423feaae 100755
--- a/target/msm8960/init.c
+++ b/target/msm8960/init.c
@@ -301,6 +301,10 @@ void target_uart_init(void)
uart_dm_init(7, 0x16600000, 0x16640000);
break;
+ case LINUX_MACHTYPE_8064_EP:
+ uart_dm_init(2, 0x12480000, 0x12490000);
+ break;
+
case LINUX_MACHTYPE_8064_MPQ_CDP:
case LINUX_MACHTYPE_8064_MPQ_HRD:
case LINUX_MACHTYPE_8064_MPQ_DTV:
@@ -408,6 +412,9 @@ void target_detect(struct board_data *board)
case HW_PLATFORM_LIQUID:
target_id = LINUX_MACHTYPE_8064_LIQUID;
break;
+ case HW_PLATFORM_BTS:
+ target_id = LINUX_MACHTYPE_8064_EP;
+ break;
default:
target_id = LINUX_MACHTYPE_8064_CDP;
}