summaryrefslogtreecommitdiffstats
path: root/arch/nios2/boot/linked_dtb.S
diff options
context:
space:
mode:
authorLey Foon Tan2014-11-06 08:20:03 +0100
committerLey Foon Tan2014-12-08 05:56:01 +0100
commit95acd4c7b69c9b250d901d154390ec4c8b7b51c1 (patch)
tree2232613144f317f21ccbd3684cd31ee11eb9c2b5 /arch/nios2/boot/linked_dtb.S
parentnios2: Library functions (diff)
downloadkernel-qcow2-linux-95acd4c7b69c9b250d901d154390ec4c8b7b51c1.tar.gz
kernel-qcow2-linux-95acd4c7b69c9b250d901d154390ec4c8b7b51c1.tar.xz
kernel-qcow2-linux-95acd4c7b69c9b250d901d154390ec4c8b7b51c1.zip
nios2: Device tree support
Add device tree support to arch/nios2. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/boot/linked_dtb.S')
-rw-r--r--arch/nios2/boot/linked_dtb.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/nios2/boot/linked_dtb.S b/arch/nios2/boot/linked_dtb.S
new file mode 100644
index 000000000000..071f922db338
--- /dev/null
+++ b/arch/nios2/boot/linked_dtb.S
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2011 Thomas Chou <thomas@wytron.com.tw>
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+.section .dtb.init.rodata,"a"
+.incbin "arch/nios2/boot/system.dtb"