summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf86
1 files changed, 0 insertions, 86 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf
deleted file mode 100644
index 352b97231d..0000000000
--- a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf
+++ /dev/null
@@ -1,86 +0,0 @@
1# yocto-bsp-filename {{=machine}}.conf
2#@TYPE: Machine
3#@NAME: {{=machine}}
4
5#@DESCRIPTION: Machine configuration for {{=machine}} systems
6
7TARGET_FPU = ""
8
9{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppce300c3" }}
10{{ input type:"choice" val:"tune_ppc476" msg:"ppc476 tuning optimizations" }}
11{{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }}
12{{ input type:"choice" val:"tune_ppc7400" msg:"ppc7400 tuning optimizations" }}
13{{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }}
14{{ input type:"choice" val:"tune_ppce300c3" msg:"ppce300c3 tuning optimizations" }}
15{{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }}
16{{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }}
17{{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }}
18{{ input type:"choice" val:"tune_ppce5500" msg:"ppce5500 tuning optimizations" }}
19{{ input type:"choice" val:"tune_ppce6500" msg:"ppce6500 tuning optimizations" }}
20{{ input type:"choice" val:"tune_power5" msg:"power5 tuning optimizations" }}
21{{ input type:"choice" val:"tune_power6" msg:"power6 tuning optimizations" }}
22{{ input type:"choice" val:"tune_power7" msg:"power7 tuning optimizations" }}
23{{ if tunefile == "tune_ppc476": }}
24include conf/machine/include/tune-ppc476.inc
25{{ if tunefile == "tune_ppc603e": }}
26include conf/machine/include/tune-ppc603e.inc
27{{ if tunefile == "tune_ppc7400": }}
28include conf/machine/include/tune-ppc7400.inc
29{{ if tunefile == "tune_ppce300c2": }}
30include conf/machine/include/tune-ppce300c2.inc
31{{ if tunefile == "tune_ppce300c3": }}
32include conf/machine/include/tune-ppce300c3.inc
33{{ if tunefile == "tune_ppce500": }}
34include conf/machine/include/tune-ppce500.inc
35{{ if tunefile == "tune_ppce500mc": }}
36include conf/machine/include/tune-ppce500mc.inc
37{{ if tunefile == "tune_ppce500v2": }}
38include conf/machine/include/tune-ppce500v2.inc
39{{ if tunefile == "tune_ppce5500": }}
40include conf/machine/include/tune-ppce5500.inc
41{{ if tunefile == "tune_ppce6500": }}
42include conf/machine/include/tune-ppce6500.inc
43{{ if tunefile == "tune_power5": }}
44include conf/machine/include/tune-power5.inc
45{{ if tunefile == "tune_power6": }}
46include conf/machine/include/tune-power6.inc
47{{ if tunefile == "tune_power7": }}
48include conf/machine/include/tune-power7.inc
49
50KERNEL_IMAGETYPE = "uImage"
51
52EXTRA_IMAGEDEPENDS += "u-boot"
53UBOOT_MACHINE_{{=machine}} = "MPC8315ERDB_config"
54
55SERIAL_CONSOLE = "115200 ttyS0"
56
57MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
58
59{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
60{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
61{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
62PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
63
64{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
65{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
66{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
67PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
68PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
69
70{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
71{{ if xserver == "y": }}
72PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
73XSERVER ?= "xserver-xorg \
74 xf86-video-fbdev"
75
76PREFERRED_VERSION_u-boot ?= "v2016.01%"
77{{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }}
78UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}"
79
80{{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }}
81KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}"
82
83MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
84
85IMAGE_FSTYPES ?= "jffs2 tar.bz2"
86JFFS2_ERASEBLOCK = "0x4000"