diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files')
8 files changed, 207 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc new file mode 100644 index 0000000000..40c9267831 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-preempt-rt.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE preempt-rt | ||
4 | define KARCH powerpc | ||
5 | |||
6 | include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-standard.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-standard.scc new file mode 100644 index 0000000000..7a1d35be1e --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-standard.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-standard.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE standard | ||
4 | define KARCH powerpc | ||
5 | |||
6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-tiny.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-tiny.scc new file mode 100644 index 0000000000..1bf94b2d05 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-tiny.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}-tiny.scc | ||
2 | define KMACHINE {{=machine}} | ||
3 | define KTYPE tiny | ||
4 | define KARCH powerpc | ||
5 | |||
6 | include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
7 | {{ if need_new_kbranch == "y": }} | ||
8 | branch {{=machine}} | ||
9 | |||
10 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-config.cfg new file mode 100644 index 0000000000..47489e44e9 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-config.cfg | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-config.cfg | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc new file mode 100644 index 0000000000..582759e612 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-features.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc new file mode 100644 index 0000000000..97f747fa07 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc | |||
@@ -0,0 +1 @@ | |||
# yocto-bsp-filename {{=machine}}-user-patches.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg new file mode 100644 index 0000000000..5bfe1fe4b0 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg | |||
@@ -0,0 +1,164 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.cfg | ||
2 | .......................................................................... | ||
3 | . WARNING | ||
4 | . | ||
5 | . This file is a kernel configuration fragment, and not a full kernel | ||
6 | . configuration file. The final kernel configuration is made up of | ||
7 | . an assembly of processed fragments, each of which is designed to | ||
8 | . capture a specific part of the final configuration (e.g. platform | ||
9 | . configuration, feature configuration, and board specific hardware | ||
10 | . configuration). For more information on kernel configuration, please | ||
11 | . consult the product documentation. | ||
12 | . | ||
13 | .......................................................................... | ||
14 | CONFIG_PPC32=y | ||
15 | CONFIG_PPC_OF=y | ||
16 | CONFIG_PPC_UDBG_16550=y | ||
17 | |||
18 | # | ||
19 | # Processor support | ||
20 | # | ||
21 | CONFIG_PPC_83xx=y | ||
22 | |||
23 | # | ||
24 | # Platform support | ||
25 | # | ||
26 | CONFIG_MPC831x_RDB=y | ||
27 | # CONFIG_PPC_CHRP is not set | ||
28 | # CONFIG_PPC_PMAC is not set | ||
29 | |||
30 | # | ||
31 | # Bus options | ||
32 | # | ||
33 | CONFIG_PCI=y | ||
34 | |||
35 | # | ||
36 | # Memory Technology Devices (MTD) | ||
37 | # | ||
38 | CONFIG_MTD=y | ||
39 | CONFIG_MTD_PARTITIONS=y | ||
40 | CONFIG_MTD_CMDLINE_PARTS=y | ||
41 | CONFIG_MTD_OF_PARTS=y | ||
42 | |||
43 | # | ||
44 | # User Modules And Translation Layers | ||
45 | # | ||
46 | CONFIG_MTD_CHAR=y | ||
47 | CONFIG_MTD_BLOCK=y | ||
48 | |||
49 | # | ||
50 | # RAM/ROM/Flash chip drivers | ||
51 | # | ||
52 | CONFIG_MTD_CFI=y | ||
53 | CONFIG_MTD_CFI_AMDSTD=y | ||
54 | |||
55 | # | ||
56 | # Mapping drivers for chip access | ||
57 | # | ||
58 | CONFIG_MTD_PHYSMAP_OF=y | ||
59 | |||
60 | # | ||
61 | # NAND Flash Device Drivers | ||
62 | # | ||
63 | CONFIG_MTD_NAND=y | ||
64 | |||
65 | # | ||
66 | # Ethernet (1000 Mbit) | ||
67 | # | ||
68 | CONFIG_GIANFAR=y | ||
69 | |||
70 | # | ||
71 | # Serial drivers | ||
72 | # | ||
73 | CONFIG_SERIAL_8250=y | ||
74 | CONFIG_SERIAL_8250_CONSOLE=y | ||
75 | CONFIG_SERIAL_8250_NR_UARTS=2 | ||
76 | |||
77 | # | ||
78 | # Watchdog Device Drivers | ||
79 | # | ||
80 | CONFIG_8xxx_WDT=y | ||
81 | |||
82 | # | ||
83 | # I2C support | ||
84 | # | ||
85 | CONFIG_I2C=y | ||
86 | CONFIG_I2C_CHARDEV=y | ||
87 | |||
88 | # | ||
89 | # I2C Hardware Bus support | ||
90 | # | ||
91 | CONFIG_I2C_MPC=y | ||
92 | |||
93 | CONFIG_SENSORS_LM75=y | ||
94 | |||
95 | CONFIG_MISC_DEVICES=y | ||
96 | |||
97 | # | ||
98 | # Miscellaneous I2C Chip support | ||
99 | # | ||
100 | CONFIG_EEPROM_AT24=y | ||
101 | |||
102 | # | ||
103 | # SPI support | ||
104 | # | ||
105 | CONFIG_SPI=y | ||
106 | # CONFIG_SPI_DEBUG is not set | ||
107 | CONFIG_SPI_MASTER=y | ||
108 | |||
109 | # | ||
110 | # SPI Master Controller Drivers | ||
111 | # | ||
112 | CONFIG_SPI_MPC8xxx=y | ||
113 | |||
114 | # | ||
115 | # SPI Protocol Masters | ||
116 | # | ||
117 | CONFIG_HWMON=y | ||
118 | |||
119 | # | ||
120 | # SCSI device support | ||
121 | # | ||
122 | CONFIG_SCSI=y | ||
123 | CONFIG_BLK_DEV_SD=y | ||
124 | CONFIG_CHR_DEV_SG=y | ||
125 | CONFIG_SCSI_LOGGING=y | ||
126 | |||
127 | CONFIG_ATA=y | ||
128 | CONFIG_ATA_VERBOSE_ERROR=y | ||
129 | CONFIG_SATA_FSL=y | ||
130 | CONFIG_ATA_SFF=y | ||
131 | |||
132 | # | ||
133 | # USB support | ||
134 | # | ||
135 | CONFIG_USB=m | ||
136 | CONFIG_USB_DEVICEFS=y | ||
137 | |||
138 | # | ||
139 | # USB Host Controller Drivers | ||
140 | # | ||
141 | CONFIG_USB_EHCI_HCD=m | ||
142 | CONFIG_USB_EHCI_FSL=y | ||
143 | CONFIG_USB_STORAGE=m | ||
144 | |||
145 | # | ||
146 | # Real Time Clock | ||
147 | # | ||
148 | CONFIG_RTC_CLASS=y | ||
149 | |||
150 | # | ||
151 | # I2C RTC drivers | ||
152 | # | ||
153 | CONFIG_RTC_DRV_DS1307=y | ||
154 | |||
155 | CONFIG_KGDB_8250=m | ||
156 | |||
157 | CONFIG_CRYPTO_DEV_TALITOS=m | ||
158 | |||
159 | CONFIG_FSL_DMA=y | ||
160 | |||
161 | CONFIG_MMC=y | ||
162 | CONFIG_MMC_SPI=m | ||
163 | |||
164 | CONFIG_USB_FSL_MPH_DR_OF=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc new file mode 100644 index 0000000000..7aac8b0801 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc | |||
@@ -0,0 +1,10 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.scc | ||
2 | kconf hardware {{=machine}}.cfg | ||
3 | |||
4 | include cfg/usb-mass-storage.scc | ||
5 | include cfg/fs/vfat.scc | ||
6 | |||
7 | include cfg/dmaengine.scc | ||
8 | |||
9 | kconf hardware {{=machine}}-user-config.cfg | ||
10 | include {{=machine}}-user-patches.scc | ||