aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-05-05 14:11:45 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-05-05 14:11:45 +1000
commit85417b47b1c2b59d43eb265e6a4171daabbc78f5 (patch)
treeaa8636665eb667d291981ff370cd2e28b28431bd
parent76f3942760da250c552987b93f6d4cbad57e05a3 (diff)
downloadmeta-xilinx-85417b47b1c2b59d43eb265e6a4171daabbc78f5.tar.gz
meta-xilinx-85417b47b1c2b59d43eb265e6a4171daabbc78f5.tar.bz2
meta-xilinx-85417b47b1c2b59d43eb265e6a4171daabbc78f5.zip
linux/config: Add configs fragments for the qemumicroblaze-s3adsp1800
* Add config fragments for the machine Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.cfg15
-rw-r--r--recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc4
-rw-r--r--recipes-kernel/linux/linux-xilinx-machines.inc1
3 files changed, 20 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.cfg b/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.cfg
new file mode 100644
index 00000000..0f635c16
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.cfg
@@ -0,0 +1,15 @@
+
+CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3"
+
+# CPU ISA Config
+CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
+CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
+CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1
+CONFIG_XILINX_MICROBLAZE0_USE_DIV=0
+CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1
+CONFIG_XILINX_MICROBLAZE0_USE_FPU=0
+CONFIG_XILINX_MICROBLAZE0_HW_VER="7.10.d"
+
+# Memory Base Address
+CONFIG_KERNEL_BASE_ADDR=0x90000000
+
diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc b/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc
new file mode 100644
index 00000000..e109ecb3
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-machine/bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Kernel Config for qemumicroblaze-s3adsp1800 specific setup"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware qemumicroblaze-s3adsp1800.cfg
diff --git a/recipes-kernel/linux/linux-xilinx-machines.inc b/recipes-kernel/linux/linux-xilinx-machines.inc
index 43d905af..c7dc22a6 100644
--- a/recipes-kernel/linux/linux-xilinx-machines.inc
+++ b/recipes-kernel/linux/linux-xilinx-machines.inc
@@ -4,6 +4,7 @@ COMPATIBLE_MACHINE_microblaze = "microblaze"
# Default kernel config fragements for specific machines
KERNEL_FEATURES_append_qemumicroblaze += "bsp/qemumicroblaze/qemumicroblaze.scc"
+KERNEL_FEATURES_append_qemumicroblaze-s3adsp1800 += "bsp/qemumicroblaze-s3adsp1800/qemumicroblaze-s3adsp1800.scc"
KERNEL_FEATURES_append_kc705-trd-microblazeel += "bsp/kc705-trd-microblazeel/kc705-trd-microblazeel.scc"
# MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub'