summaryrefslogtreecommitdiff
path: root/include/soc/sprd/__clock_tree.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /include/soc/sprd/__clock_tree.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'include/soc/sprd/__clock_tree.h')
-rw-r--r--include/soc/sprd/__clock_tree.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/soc/sprd/__clock_tree.h b/include/soc/sprd/__clock_tree.h
new file mode 100644
index 00000000..6153a773
--- /dev/null
+++ b/include/soc/sprd/__clock_tree.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2013 Spreadtrum Communications Inc.
+ *
+ * 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.
+ *
+ *************************************************
+ * Automatically generated C header: do not edit *
+ *************************************************
+ */
+#ifndef __ASM_ARCH_SCI_CLOCK_TREE_H
+#define __ASM_ARCH_SCI_CLOCK_TREE_H
+
+#if defined(CONFIG_SC_FPGA)
+ #if defined(CONFIG_ARCH_SCX35L)
+ #include "chip_x35l/__clock_tree.h"
+ #elif defined(CONFIG_ARCH_SCX20L)
+ #include "chip_x20l/__clock_tree.h"
+ #endif
+#endif
+
+#if defined(CONFIG_ARCH_SCX30G)
+#include "chip_x30g/__clock_tree.h"
+#elif defined(CONFIG_ARCH_SCX15)
+#include "chip_x15/__clock_tree.h"
+
+#elif defined(CONFIG_ARCH_SCX35L)
+ #if defined(CONFIG_ARCH_SCX20L)
+ #include "chip_x20l/__scx20l_clock_tree.h"
+ #else
+ #include "chip_x35l/__scx35l_clock_tree.h"
+ #endif
+#elif defined(CONFIG_ARCH_SCX35)
+#include "chip_x35/__clock_tree.h"
+#elif defined(CONFIG_ARCH_SC8825)
+#include "__sc8825_clock_tree.h"
+#else
+#error "Unknown architecture specification"
+#endif
+
+#endif