Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next

Freescale updates from Scott:

"Highlights include 32-bit memcpy/memset optimizations, checksum
optimizations, 85xx config fragments and updates, device tree updates,
e6500 fixes for non-SMP, and misc cleanup and minor fixes."

+1072 -1088
+3
Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt
··· 18 18 interrupt (NAND_EVTER_STAT). If there is only one, 19 19 that interrupt reports both types of event. 20 20 21 + - little-endian : If this property is absent, the big-endian mode will 22 + be in use as default for registers. 21 23 22 24 - ranges : Each range corresponds to a single chipselect, and covers 23 25 the entire access window as configured. ··· 36 34 #size-cells = <1>; 37 35 reg = <0x0 0xffe1e000 0 0x2000>; 38 36 interrupts = <16 2 19 2>; 37 + little-endian; 39 38 40 39 /* NOR, NAND Flashes and CPLD on board */ 41 40 ranges = <0x0 0x0 0x0 0xee000000 0x02000000
+18
Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
··· 1 + Freescale Supplement configuration unit (SCFG) 2 + 3 + SCFG is the supplemental configuration unit, that provides SoC specific 4 + configuration and status registers for the chip. Such as getting PEX port 5 + status. 6 + 7 + Required properties: 8 + 9 + - compatible: should be "fsl,<chip>-scfg" 10 + - reg: should contain base address and length of SCFG memory-mapped 11 + registers 12 + 13 + Example: 14 + 15 + scfg: global-utilities@fc000 { 16 + compatible = "fsl,t1040-scfg"; 17 + reg = <0xfc000 0x1000>; 18 + };
+20
arch/powerpc/Makefile
··· 288 288 pseries_le_defconfig: 289 289 $(call merge_into_defconfig,pseries_defconfig,le) 290 290 291 + PHONY += mpc85xx_defconfig 292 + mpc85xx_defconfig: 293 + $(call merge_into_defconfig,mpc85xx_basic_defconfig,\ 294 + 85xx-32bit 85xx-hw fsl-emb-nonhw) 295 + 296 + PHONY += mpc85xx_smp_defconfig 297 + mpc85xx_smp_defconfig: 298 + $(call merge_into_defconfig,mpc85xx_basic_defconfig,\ 299 + 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw) 300 + 301 + PHONY += corenet32_smp_defconfig 302 + corenet32_smp_defconfig: 303 + $(call merge_into_defconfig,corenet_basic_defconfig,\ 304 + 85xx-32bit 85xx-smp 85xx-hw fsl-emb-nonhw) 305 + 306 + PHONY += corenet64_smp_defconfig 307 + corenet64_smp_defconfig: 308 + $(call merge_into_defconfig,corenet_basic_defconfig,\ 309 + 85xx-64bit 85xx-smp altivec 85xx-hw fsl-emb-nonhw) 310 + 291 311 define archhelp 292 312 @echo '* zImage - Build default images selected by kernel config' 293 313 @echo ' zImage.* - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
+1 -1
arch/powerpc/boot/dts/fsl/p1022si-post.dtsi
··· 175 175 176 176 /include/ "pq3-gpio-0.dtsi" 177 177 178 - display@10000 { 178 + display: display@10000 { 179 179 compatible = "fsl,diu", "fsl,p1022-diu"; 180 180 reg = <0x10000 1000>; 181 181 interrupts = <64 2 0 0>;
+2
arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi
··· 50 50 pci0 = &pci0; 51 51 pci1 = &pci1; 52 52 pci2 = &pci2; 53 + vga = &display; 54 + display = &display; 53 55 }; 54 56 55 57 cpus {
+5
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
··· 484 484 reg = <0xea000 0x4000>; 485 485 }; 486 486 487 + scfg: global-utilities@fc000 { 488 + compatible = "fsl,t1040-scfg"; 489 + reg = <0xfc000 0x1000>; 490 + }; 491 + 487 492 /include/ "elo3-dma-0.dtsi" 488 493 /include/ "elo3-dma-1.dtsi" 489 494 /include/ "qoriq-espi-0.dtsi"
+12 -1
arch/powerpc/boot/dts/t1023rdb.dts
··· 60 60 #address-cells = <1>; 61 61 #size-cells = <1>; 62 62 compatible = "fsl,ifc-nand"; 63 - reg = <0x2 0x0 0x10000>; 63 + reg = <0x1 0x0 0x10000>; 64 64 }; 65 65 }; 66 66 ··· 99 99 }; 100 100 101 101 i2c@118100 { 102 + current-sensor@40 { 103 + compatible = "ti,ina220"; 104 + reg = <0x40>; 105 + shunt-resistor = <1000>; 106 + }; 107 + 108 + current-sensor@41 { 109 + compatible = "ti,ina220"; 110 + reg = <0x41>; 111 + shunt-resistor = <1000>; 112 + }; 102 113 }; 103 114 }; 104 115
+6
arch/powerpc/boot/dts/t1024rdb.dts
··· 114 114 reg = <0x4c>; 115 115 }; 116 116 117 + current-sensor@40 { 118 + compatible = "ti,ina220"; 119 + reg = <0x40>; 120 + shunt-resistor = <1000>; 121 + }; 122 + 117 123 eeprom@50 { 118 124 compatible = "atmel,24c256"; 119 125 reg = <0x50>;
+46
arch/powerpc/boot/dts/t1040d4rdb.dts
··· 1 + /* 2 + * T1040D4RDB Device Tree Source 3 + * 4 + * Copyright 2015 Freescale Semiconductor Inc. 5 + * 6 + * Redistribution and use in source and binary forms, with or without 7 + * modification, are permitted provided that the following conditions are met: 8 + * * Redistributions of source code must retain the above copyright 9 + * notice, this list of conditions and the following disclaimer. 10 + * * Redistributions in binary form must reproduce the above copyright 11 + * notice, this list of conditions and the following disclaimer in the 12 + * documentation and/or other materials provided with the distribution. 13 + * * Neither the name of Freescale Semiconductor nor the 14 + * names of its contributors may be used to endorse or promote products 15 + * derived from this software without specific prior written permission. 16 + * 17 + * 18 + * ALTERNATIVELY, this software may be distributed under the terms of the 19 + * GNU General Public License ("GPL") as published by the Free Software 20 + * Foundation, either version 2 of that License or (at your option) any 21 + * later version. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 + */ 34 + 35 + /include/ "fsl/t104xsi-pre.dtsi" 36 + /include/ "t104xd4rdb.dtsi" 37 + 38 + / { 39 + model = "fsl,T1040D4RDB"; 40 + compatible = "fsl,T1040D4RDB"; 41 + #address-cells = <2>; 42 + #size-cells = <2>; 43 + interrupt-parent = <&mpic>; 44 + }; 45 + 46 + /include/ "fsl/t1040si-post.dtsi"
+53
arch/powerpc/boot/dts/t1042d4rdb.dts
··· 1 + /* 2 + * T1042D4RDB Device Tree Source 3 + * 4 + * Copyright 2015 Freescale Semiconductor Inc. 5 + * 6 + * Redistribution and use in source and binary forms, with or without 7 + * modification, are permitted provided that the following conditions are met: 8 + * * Redistributions of source code must retain the above copyright 9 + * notice, this list of conditions and the following disclaimer. 10 + * * Redistributions in binary form must reproduce the above copyright 11 + * notice, this list of conditions and the following disclaimer in the 12 + * documentation and/or other materials provided with the distribution. 13 + * * Neither the name of Freescale Semiconductor nor the 14 + * names of its contributors may be used to endorse or promote products 15 + * derived from this software without specific prior written permission. 16 + * 17 + * 18 + * ALTERNATIVELY, this software may be distributed under the terms of the 19 + * GNU General Public License ("GPL") as published by the Free Software 20 + * Foundation, either version 2 of that License or (at your option) any 21 + * later version. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 + */ 34 + 35 + /include/ "fsl/t104xsi-pre.dtsi" 36 + /include/ "t104xd4rdb.dtsi" 37 + 38 + / { 39 + model = "fsl,T1042D4RDB"; 40 + compatible = "fsl,T1042D4RDB"; 41 + #address-cells = <2>; 42 + #size-cells = <2>; 43 + interrupt-parent = <&mpic>; 44 + 45 + ifc: localbus@ffe124000 { 46 + cpld@3,0 { 47 + compatible = "fsl,t1040d4rdb-cpld", 48 + "fsl,deepsleep-cpld"; 49 + }; 50 + }; 51 + }; 52 + 53 + /include/ "fsl/t1040si-post.dtsi"
+205
arch/powerpc/boot/dts/t104xd4rdb.dtsi
··· 1 + /* 2 + * T1040D4RDB/T1042D4RDB Device Tree Source 3 + * 4 + * Copyright 2015 Freescale Semiconductor Inc. 5 + * 6 + * Redistribution and use in source and binary forms, with or without 7 + * modification, are permitted provided that the following conditions are met: 8 + * * Redistributions of source code must retain the above copyright 9 + * notice, this list of conditions and the following disclaimer. 10 + * * Redistributions in binary form must reproduce the above copyright 11 + * notice, this list of conditions and the following disclaimer in the 12 + * documentation and/or other materials provided with the distribution. 13 + * * Neither the name of Freescale Semiconductor nor the 14 + * names of its contributors may be used to endorse or promote products 15 + * derived from this software without specific prior written permission. 16 + * 17 + * 18 + * ALTERNATIVELY, this software may be distributed under the terms of the 19 + * GNU General Public License ("GPL") as published by the Free Software 20 + * Foundation, either version 2 of that License or (at your option) any 21 + * later version. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 + */ 34 + 35 + / { 36 + reserved-memory { 37 + #address-cells = <2>; 38 + #size-cells = <2>; 39 + ranges; 40 + 41 + bman_fbpr: bman-fbpr { 42 + size = <0 0x1000000>; 43 + alignment = <0 0x1000000>; 44 + }; 45 + qman_fqd: qman-fqd { 46 + size = <0 0x400000>; 47 + alignment = <0 0x400000>; 48 + }; 49 + qman_pfdr: qman-pfdr { 50 + size = <0 0x2000000>; 51 + alignment = <0 0x2000000>; 52 + }; 53 + }; 54 + 55 + ifc: localbus@ffe124000 { 56 + reg = <0xf 0xfe124000 0 0x2000>; 57 + ranges = <0 0 0xf 0xe8000000 0x08000000 58 + 2 0 0xf 0xff800000 0x00010000 59 + 3 0 0xf 0xffdf0000 0x00008000>; 60 + 61 + nor@0,0 { 62 + #address-cells = <1>; 63 + #size-cells = <1>; 64 + compatible = "cfi-flash"; 65 + reg = <0x0 0x0 0x8000000>; 66 + bank-width = <2>; 67 + device-width = <1>; 68 + }; 69 + 70 + nand@2,0 { 71 + #address-cells = <1>; 72 + #size-cells = <1>; 73 + compatible = "fsl,ifc-nand"; 74 + reg = <0x2 0x0 0x10000>; 75 + }; 76 + 77 + cpld@3,0 { 78 + compatible = "fsl,t1040d4rdb-cpld"; 79 + reg = <3 0 0x300>; 80 + }; 81 + }; 82 + 83 + memory { 84 + device_type = "memory"; 85 + }; 86 + 87 + dcsr: dcsr@f00000000 { 88 + ranges = <0x00000000 0xf 0x00000000 0x01072000>; 89 + }; 90 + 91 + bportals: bman-portals@ff4000000 { 92 + ranges = <0x0 0xf 0xf4000000 0x2000000>; 93 + }; 94 + 95 + qportals: qman-portals@ff6000000 { 96 + ranges = <0x0 0xf 0xf6000000 0x2000000>; 97 + }; 98 + 99 + soc: soc@ffe000000 { 100 + ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 101 + reg = <0xf 0xfe000000 0 0x00001000>; 102 + 103 + spi@110000 { 104 + flash@0 { 105 + #address-cells = <1>; 106 + #size-cells = <1>; 107 + compatible = "micron,n25q512ax3"; 108 + reg = <0>; 109 + /* input clock */ 110 + spi-max-frequency = <10000000>; 111 + }; 112 + }; 113 + i2c@118000 { 114 + hwmon@4c { 115 + compatible = "adi,adt7461"; 116 + reg = <0x4c>; 117 + }; 118 + 119 + rtc@68 { 120 + compatible = "dallas,ds1337"; 121 + reg = <0x68>; 122 + interrupts = <0x2 0x1 0 0>; 123 + }; 124 + }; 125 + 126 + i2c@118100 { 127 + mux@77 { 128 + /* 129 + * Child nodes of mux depend on which i2c 130 + * devices are connected via the mini PCI 131 + * connector slot1, the mini PCI connector 132 + * slot2, the HDMI connector, and the PEX 133 + * slot. Systems with such devices attached 134 + * should provide a wrapper .dts file that 135 + * includes this one, and adds those nodes 136 + */ 137 + compatible = "nxp,pca9546"; 138 + reg = <0x77>; 139 + #address-cells = <1>; 140 + #size-cells = <0>; 141 + }; 142 + }; 143 + 144 + }; 145 + 146 + pci0: pcie@ffe240000 { 147 + reg = <0xf 0xfe240000 0 0x10000>; 148 + ranges = <0x02000000 0 0xe0000000 0xc 0x0 0x0 0x10000000 149 + 0x01000000 0 0x0 0xf 0xf8000000 0x0 0x00010000>; 150 + pcie@0 { 151 + ranges = <0x02000000 0 0xe0000000 152 + 0x02000000 0 0xe0000000 153 + 0 0x10000000 154 + 155 + 0x01000000 0 0x00000000 156 + 0x01000000 0 0x00000000 157 + 0 0x00010000>; 158 + }; 159 + }; 160 + 161 + pci1: pcie@ffe250000 { 162 + reg = <0xf 0xfe250000 0 0x10000>; 163 + ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000 164 + 0x01000000 0 0 0xf 0xf8010000 0 0x00010000>; 165 + pcie@0 { 166 + ranges = <0x02000000 0 0xe0000000 167 + 0x02000000 0 0xe0000000 168 + 0 0x10000000 169 + 170 + 0x01000000 0 0x00000000 171 + 0x01000000 0 0x00000000 172 + 0 0x00010000>; 173 + }; 174 + }; 175 + 176 + pci2: pcie@ffe260000 { 177 + reg = <0xf 0xfe260000 0 0x10000>; 178 + ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 179 + 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 180 + pcie@0 { 181 + ranges = <0x02000000 0 0xe0000000 182 + 0x02000000 0 0xe0000000 183 + 0 0x10000000 184 + 185 + 0x01000000 0 0x00000000 186 + 0x01000000 0 0x00000000 187 + 0 0x00010000>; 188 + }; 189 + }; 190 + 191 + pci3: pcie@ffe270000 { 192 + reg = <0xf 0xfe270000 0 0x10000>; 193 + ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 194 + 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 195 + pcie@0 { 196 + ranges = <0x02000000 0 0xe0000000 197 + 0x02000000 0 0xe0000000 198 + 0 0x10000000 199 + 200 + 0x01000000 0 0x00000000 201 + 0x01000000 0 0x00000000 202 + 0 0x00010000>; 203 + }; 204 + }; 205 + };
+5
arch/powerpc/configs/85xx-32bit.config
··· 1 + CONFIG_HIGHMEM=y 2 + CONFIG_KEXEC=y 3 + CONFIG_PPC_85xx=y 4 + CONFIG_PROC_KCORE=y 5 + CONFIG_PHYS_64BIT=y
+4
arch/powerpc/configs/85xx-64bit.config
··· 1 + CONFIG_MATH_EMULATION=y 2 + CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y 3 + CONFIG_PPC64=y 4 + CONFIG_PPC_BOOK3E_64=y
+142
arch/powerpc/configs/85xx-hw.config
··· 1 + CONFIG_AQUANTIA_PHY=y 2 + CONFIG_AT803X_PHY=y 3 + CONFIG_ATA=y 4 + CONFIG_BLK_DEV_SD=y 5 + CONFIG_BLK_DEV_SR_VENDOR=y 6 + CONFIG_BLK_DEV_SR=y 7 + CONFIG_BROADCOM_PHY=y 8 + CONFIG_C293_PCIE=y 9 + CONFIG_CHR_DEV_SG=y 10 + CONFIG_CHR_DEV_ST=y 11 + CONFIG_CICADA_PHY=y 12 + CONFIG_CLK_QORIQ=y 13 + CONFIG_CRYPTO_DEV_FSL_CAAM=y 14 + CONFIG_CRYPTO_DEV_TALITOS=y 15 + CONFIG_DAVICOM_PHY=y 16 + CONFIG_DMADEVICES=y 17 + CONFIG_E1000E=y 18 + CONFIG_E1000=y 19 + CONFIG_EDAC_MM_EDAC=y 20 + CONFIG_EDAC_MPC85XX=y 21 + CONFIG_EDAC=y 22 + CONFIG_EEPROM_AT24=y 23 + CONFIG_EEPROM_LEGACY=y 24 + CONFIG_FB_FSL_DIU=y 25 + CONFIG_FS_ENET=y 26 + CONFIG_FSL_CORENET_CF=y 27 + CONFIG_FSL_DMA=y 28 + CONFIG_FSL_HV_MANAGER=y 29 + CONFIG_FSL_PQ_MDIO=y 30 + CONFIG_FSL_RIO=y 31 + CONFIG_FSL_XGMAC_MDIO=y 32 + CONFIG_GIANFAR=y 33 + CONFIG_GPIO_MPC8XXX=y 34 + CONFIG_HID_A4TECH=y 35 + CONFIG_HID_APPLE=y 36 + CONFIG_HID_BELKIN=y 37 + CONFIG_HID_CHERRY=y 38 + CONFIG_HID_CHICONY=y 39 + CONFIG_HID_CYPRESS=y 40 + CONFIG_HID_EZKEY=y 41 + CONFIG_HID_GYRATION=y 42 + CONFIG_HID_LOGITECH=y 43 + CONFIG_HID_MICROSOFT=y 44 + CONFIG_HID_MONTEREY=y 45 + CONFIG_HID_PANTHERLORD=y 46 + CONFIG_HID_PETALYNX=y 47 + CONFIG_HID_SAMSUNG=y 48 + CONFIG_HID_SUNPLUS=y 49 + CONFIG_I2C_CHARDEV=y 50 + CONFIG_I2C_CPM=m 51 + CONFIG_I2C_MPC=y 52 + CONFIG_I2C_MUX_PCA954x=y 53 + CONFIG_I2C_MUX=y 54 + CONFIG_I2C=y 55 + CONFIG_IGB=y 56 + CONFIG_INPUT_FF_MEMLESS=m 57 + # CONFIG_INPUT_KEYBOARD is not set 58 + # CONFIG_INPUT_MOUSEDEV is not set 59 + # CONFIG_INPUT_MOUSE is not set 60 + CONFIG_MARVELL_PHY=y 61 + CONFIG_MDIO_BUS_MUX_GPIO=y 62 + CONFIG_MDIO_BUS_MUX_MMIOREG=y 63 + CONFIG_MMC_SDHCI_OF_ESDHC=y 64 + CONFIG_MMC_SDHCI_PLTFM=y 65 + CONFIG_MMC_SDHCI=y 66 + CONFIG_MMC=y 67 + CONFIG_MTD_BLOCK=y 68 + CONFIG_MTD_CFI_AMDSTD=y 69 + CONFIG_MTD_CFI_INTELEXT=y 70 + CONFIG_MTD_CFI=y 71 + CONFIG_MTD_CMDLINE_PARTS=y 72 + CONFIG_MTD_M25P80=y 73 + CONFIG_MTD_NAND_FSL_ELBC=y 74 + CONFIG_MTD_NAND_FSL_IFC=y 75 + CONFIG_MTD_NAND=y 76 + CONFIG_MTD_PHYSMAP_OF=y 77 + CONFIG_MTD_PHYSMAP=y 78 + CONFIG_MTD_PLATRAM=y 79 + CONFIG_MTD_SPI_NOR=y 80 + CONFIG_NETDEVICES=y 81 + CONFIG_NVRAM=y 82 + CONFIG_PATA_ALI=y 83 + CONFIG_PATA_SIL680=y 84 + CONFIG_PATA_VIA=y 85 + # CONFIG_PCIEASPM is not set 86 + CONFIG_PCIEPORTBUS=y 87 + CONFIG_PCI_MSI=y 88 + CONFIG_PCI=y 89 + CONFIG_PPC_EPAPR_HV_BYTECHAN=y 90 + # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set 91 + CONFIG_QE_GPIO=y 92 + CONFIG_QUICC_ENGINE=y 93 + CONFIG_RAPIDIO=y 94 + CONFIG_RTC_CLASS=y 95 + CONFIG_RTC_DRV_CMOS=y 96 + CONFIG_RTC_DRV_DS1307=y 97 + CONFIG_RTC_DRV_DS1374=y 98 + CONFIG_RTC_DRV_DS3232=y 99 + CONFIG_SATA_AHCI=y 100 + CONFIG_SATA_FSL=y 101 + CONFIG_SATA_SIL24=y 102 + CONFIG_SATA_SIL=y 103 + CONFIG_SCSI_LOGGING=y 104 + CONFIG_SCSI_SYM53C8XX_2=y 105 + CONFIG_SENSORS_INA2XX=y 106 + CONFIG_SENSORS_LM90=y 107 + CONFIG_SERIAL_8250_CONSOLE=y 108 + CONFIG_SERIAL_8250_DETECT_IRQ=y 109 + CONFIG_SERIAL_8250_MANY_PORTS=y 110 + CONFIG_SERIAL_8250_NR_UARTS=6 111 + CONFIG_SERIAL_8250_RSA=y 112 + CONFIG_SERIAL_8250_RUNTIME_UARTS=6 113 + CONFIG_SERIAL_8250=y 114 + CONFIG_SERIAL_QE=m 115 + CONFIG_SERIO_LIBPS2=y 116 + # CONFIG_SND_DRIVERS is not set 117 + CONFIG_SND_INTEL8X0=y 118 + CONFIG_SND_POWERPC_SOC=y 119 + # CONFIG_SND_PPC is not set 120 + CONFIG_SND_SOC=y 121 + # CONFIG_SND_SUPPORT_OLD_API is not set 122 + # CONFIG_SND_USB is not set 123 + CONFIG_SND=y 124 + CONFIG_SOUND=y 125 + CONFIG_SPI_FSL_ESPI=y 126 + CONFIG_SPI_FSL_SPI=y 127 + CONFIG_SPI_GPIO=y 128 + CONFIG_SPI=y 129 + CONFIG_TERANETICS_PHY=y 130 + CONFIG_UCC_GETH=y 131 + CONFIG_USB_EHCI_FSL=y 132 + CONFIG_USB_EHCI_HCD=y 133 + CONFIG_USB_HID=m 134 + CONFIG_USB_MON=y 135 + CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 136 + CONFIG_USB_OHCI_HCD_PPC_OF_LE=y 137 + CONFIG_USB_OHCI_HCD=y 138 + CONFIG_USB_STORAGE=y 139 + CONFIG_USB=y 140 + # CONFIG_VGA_CONSOLE is not set 141 + CONFIG_VIRT_DRIVERS=y 142 + CONFIG_VITESSE_PHY=y
+2
arch/powerpc/configs/85xx-smp.config
··· 1 + CONFIG_NR_CPUS=24 2 + CONFIG_SMP=y
+1
arch/powerpc/configs/altivec.config
··· 1 + CONFIG_ALTIVEC=y
-185
arch/powerpc/configs/corenet32_smp_defconfig
··· 1 - CONFIG_PPC_85xx=y 2 - CONFIG_SMP=y 3 - CONFIG_NR_CPUS=8 4 - CONFIG_SYSVIPC=y 5 - CONFIG_POSIX_MQUEUE=y 6 - CONFIG_AUDIT=y 7 - CONFIG_NO_HZ=y 8 - CONFIG_HIGH_RES_TIMERS=y 9 - CONFIG_BSD_PROCESS_ACCT=y 10 - CONFIG_IKCONFIG=y 11 - CONFIG_IKCONFIG_PROC=y 12 - CONFIG_LOG_BUF_SHIFT=14 13 - CONFIG_BLK_DEV_INITRD=y 14 - CONFIG_KALLSYMS_ALL=y 15 - CONFIG_EMBEDDED=y 16 - CONFIG_PERF_EVENTS=y 17 - CONFIG_SLAB=y 18 - CONFIG_MODULES=y 19 - CONFIG_MODULE_UNLOAD=y 20 - CONFIG_MODULE_FORCE_UNLOAD=y 21 - CONFIG_MODVERSIONS=y 22 - # CONFIG_BLK_DEV_BSG is not set 23 - CONFIG_PARTITION_ADVANCED=y 24 - CONFIG_MAC_PARTITION=y 25 - CONFIG_CORENET_GENERIC=y 26 - CONFIG_HIGHMEM=y 27 - # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 28 - CONFIG_BINFMT_MISC=m 29 - CONFIG_KEXEC=y 30 - CONFIG_FORCE_MAX_ZONEORDER=13 31 - CONFIG_PCI=y 32 - CONFIG_PCIEPORTBUS=y 33 - # CONFIG_PCIEASPM is not set 34 - CONFIG_PCI_MSI=y 35 - CONFIG_RAPIDIO=y 36 - CONFIG_FSL_RIO=y 37 - CONFIG_NET=y 38 - CONFIG_PACKET=y 39 - CONFIG_UNIX=y 40 - CONFIG_XFRM_USER=y 41 - CONFIG_XFRM_SUB_POLICY=y 42 - CONFIG_XFRM_STATISTICS=y 43 - CONFIG_NET_KEY=y 44 - CONFIG_NET_KEY_MIGRATE=y 45 - CONFIG_INET=y 46 - CONFIG_IP_MULTICAST=y 47 - CONFIG_IP_ADVANCED_ROUTER=y 48 - CONFIG_IP_MULTIPLE_TABLES=y 49 - CONFIG_IP_ROUTE_MULTIPATH=y 50 - CONFIG_IP_ROUTE_VERBOSE=y 51 - CONFIG_IP_PNP=y 52 - CONFIG_IP_PNP_DHCP=y 53 - CONFIG_IP_PNP_BOOTP=y 54 - CONFIG_IP_PNP_RARP=y 55 - CONFIG_NET_IPIP=y 56 - CONFIG_IP_MROUTE=y 57 - CONFIG_IP_PIMSM_V1=y 58 - CONFIG_IP_PIMSM_V2=y 59 - CONFIG_INET_AH=y 60 - CONFIG_INET_ESP=y 61 - CONFIG_INET_IPCOMP=y 62 - # CONFIG_INET_LRO is not set 63 - CONFIG_IPV6=y 64 - CONFIG_IP_SCTP=m 65 - CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 66 - CONFIG_DEVTMPFS=y 67 - CONFIG_DEVTMPFS_MOUNT=y 68 - CONFIG_MTD=y 69 - CONFIG_MTD_CMDLINE_PARTS=y 70 - CONFIG_MTD_BLOCK=y 71 - CONFIG_MTD_CFI=y 72 - CONFIG_MTD_CFI_INTELEXT=y 73 - CONFIG_MTD_CFI_AMDSTD=y 74 - CONFIG_MTD_PHYSMAP_OF=y 75 - CONFIG_MTD_NAND=y 76 - CONFIG_MTD_NAND_FSL_ELBC=y 77 - CONFIG_MTD_NAND_FSL_IFC=y 78 - CONFIG_MTD_SPI_NOR=y 79 - CONFIG_BLK_DEV_LOOP=y 80 - CONFIG_BLK_DEV_RAM=y 81 - CONFIG_BLK_DEV_RAM_SIZE=131072 82 - CONFIG_BLK_DEV_SD=y 83 - CONFIG_CHR_DEV_ST=y 84 - CONFIG_BLK_DEV_SR=y 85 - CONFIG_CHR_DEV_SG=y 86 - CONFIG_SCSI_LOGGING=y 87 - CONFIG_SCSI_SYM53C8XX_2=y 88 - CONFIG_ATA=y 89 - CONFIG_SATA_AHCI=y 90 - CONFIG_SATA_FSL=y 91 - CONFIG_SATA_SIL24=y 92 - CONFIG_SATA_SIL=y 93 - CONFIG_PATA_SIL680=y 94 - CONFIG_NETDEVICES=y 95 - CONFIG_FSL_PQ_MDIO=y 96 - CONFIG_FSL_XGMAC_MDIO=y 97 - CONFIG_E1000=y 98 - CONFIG_E1000E=y 99 - CONFIG_AT803X_PHY=y 100 - CONFIG_VITESSE_PHY=y 101 - CONFIG_FIXED_PHY=y 102 - CONFIG_MDIO_BUS_MUX_GPIO=y 103 - CONFIG_MDIO_BUS_MUX_MMIOREG=y 104 - # CONFIG_INPUT_MOUSEDEV is not set 105 - # CONFIG_INPUT_KEYBOARD is not set 106 - # CONFIG_INPUT_MOUSE is not set 107 - CONFIG_SERIO_LIBPS2=y 108 - # CONFIG_LEGACY_PTYS is not set 109 - CONFIG_PPC_EPAPR_HV_BYTECHAN=y 110 - CONFIG_SERIAL_8250=y 111 - CONFIG_SERIAL_8250_CONSOLE=y 112 - CONFIG_SERIAL_8250_MANY_PORTS=y 113 - CONFIG_SERIAL_8250_DETECT_IRQ=y 114 - CONFIG_SERIAL_8250_RSA=y 115 - CONFIG_NVRAM=y 116 - CONFIG_I2C=y 117 - CONFIG_I2C_CHARDEV=y 118 - CONFIG_I2C_MPC=y 119 - CONFIG_I2C_MUX=y 120 - CONFIG_I2C_MUX_PCA954x=y 121 - CONFIG_SPI=y 122 - CONFIG_SPI_GPIO=y 123 - CONFIG_SPI_FSL_SPI=y 124 - CONFIG_SPI_FSL_ESPI=y 125 - CONFIG_SENSORS_LM90=y 126 - CONFIG_SENSORS_INA2XX=y 127 - CONFIG_USB_HID=m 128 - CONFIG_USB=y 129 - CONFIG_USB_MON=y 130 - CONFIG_USB_EHCI_HCD=y 131 - CONFIG_USB_EHCI_FSL=y 132 - CONFIG_USB_OHCI_HCD=y 133 - CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 134 - CONFIG_USB_OHCI_HCD_PPC_OF_LE=y 135 - CONFIG_USB_STORAGE=y 136 - CONFIG_MMC=y 137 - CONFIG_MMC_SDHCI=y 138 - CONFIG_EDAC=y 139 - CONFIG_EDAC_MM_EDAC=y 140 - CONFIG_EDAC_MPC85XX=y 141 - CONFIG_RTC_CLASS=y 142 - CONFIG_RTC_DRV_DS1307=y 143 - CONFIG_RTC_DRV_DS1374=y 144 - CONFIG_RTC_DRV_DS3232=y 145 - CONFIG_UIO=y 146 - CONFIG_VIRT_DRIVERS=y 147 - CONFIG_FSL_HV_MANAGER=y 148 - CONFIG_STAGING=y 149 - CONFIG_FSL_CORENET_CF=y 150 - CONFIG_CLK_QORIQ=y 151 - CONFIG_EXT2_FS=y 152 - CONFIG_EXT3_FS=y 153 - # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set 154 - CONFIG_ISO9660_FS=m 155 - CONFIG_JOLIET=y 156 - CONFIG_ZISOFS=y 157 - CONFIG_UDF_FS=m 158 - CONFIG_MSDOS_FS=m 159 - CONFIG_VFAT_FS=y 160 - CONFIG_NTFS_FS=y 161 - CONFIG_PROC_KCORE=y 162 - CONFIG_TMPFS=y 163 - CONFIG_HUGETLBFS=y 164 - CONFIG_JFFS2_FS=y 165 - CONFIG_CRAMFS=y 166 - CONFIG_NFS_FS=y 167 - CONFIG_NFS_V4=y 168 - CONFIG_ROOT_NFS=y 169 - CONFIG_NFSD=m 170 - CONFIG_NLS_CODEPAGE_437=y 171 - CONFIG_NLS_CODEPAGE_850=y 172 - CONFIG_NLS_ISO8859_1=y 173 - CONFIG_NLS_UTF8=m 174 - CONFIG_DEBUG_INFO=y 175 - CONFIG_MAGIC_SYSRQ=y 176 - CONFIG_DEBUG_SHIRQ=y 177 - CONFIG_DETECT_HUNG_TASK=y 178 - CONFIG_RCU_TRACE=y 179 - CONFIG_CRYPTO_NULL=y 180 - CONFIG_CRYPTO_PCBC=m 181 - CONFIG_CRYPTO_MD4=y 182 - CONFIG_CRYPTO_SHA256=y 183 - CONFIG_CRYPTO_SHA512=y 184 - # CONFIG_CRYPTO_ANSI_CPRNG is not set 185 - CONFIG_CRYPTO_DEV_FSL_CAAM=y
-176
arch/powerpc/configs/corenet64_smp_defconfig
··· 1 - CONFIG_PPC64=y 2 - CONFIG_PPC_BOOK3E_64=y 3 - CONFIG_ALTIVEC=y 4 - CONFIG_SMP=y 5 - CONFIG_NR_CPUS=24 6 - CONFIG_SYSVIPC=y 7 - CONFIG_FHANDLE=y 8 - CONFIG_IRQ_DOMAIN_DEBUG=y 9 - CONFIG_NO_HZ=y 10 - CONFIG_HIGH_RES_TIMERS=y 11 - CONFIG_BSD_PROCESS_ACCT=y 12 - CONFIG_IKCONFIG=y 13 - CONFIG_IKCONFIG_PROC=y 14 - CONFIG_LOG_BUF_SHIFT=14 15 - CONFIG_CGROUPS=y 16 - CONFIG_CPUSETS=y 17 - CONFIG_CGROUP_CPUACCT=y 18 - CONFIG_CGROUP_SCHED=y 19 - CONFIG_BLK_DEV_INITRD=y 20 - CONFIG_EXPERT=y 21 - CONFIG_KALLSYMS_ALL=y 22 - CONFIG_MODULES=y 23 - CONFIG_MODULE_UNLOAD=y 24 - CONFIG_MODULE_FORCE_UNLOAD=y 25 - CONFIG_MODVERSIONS=y 26 - # CONFIG_BLK_DEV_BSG is not set 27 - CONFIG_PARTITION_ADVANCED=y 28 - CONFIG_MAC_PARTITION=y 29 - CONFIG_CORENET_GENERIC=y 30 - # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set 31 - CONFIG_BINFMT_MISC=m 32 - CONFIG_MATH_EMULATION=y 33 - CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED=y 34 - CONFIG_PCIEPORTBUS=y 35 - CONFIG_PCI_MSI=y 36 - CONFIG_RAPIDIO=y 37 - CONFIG_FSL_RIO=y 38 - CONFIG_NET=y 39 - CONFIG_PACKET=y 40 - CONFIG_UNIX=y 41 - CONFIG_XFRM_USER=y 42 - CONFIG_NET_KEY=y 43 - CONFIG_INET=y 44 - CONFIG_IP_MULTICAST=y 45 - CONFIG_IP_ADVANCED_ROUTER=y 46 - CONFIG_IP_MULTIPLE_TABLES=y 47 - CONFIG_IP_ROUTE_MULTIPATH=y 48 - CONFIG_IP_ROUTE_VERBOSE=y 49 - CONFIG_IP_PNP=y 50 - CONFIG_IP_PNP_DHCP=y 51 - CONFIG_IP_PNP_BOOTP=y 52 - CONFIG_IP_PNP_RARP=y 53 - CONFIG_NET_IPIP=y 54 - CONFIG_IP_MROUTE=y 55 - CONFIG_IP_PIMSM_V1=y 56 - CONFIG_IP_PIMSM_V2=y 57 - CONFIG_INET_ESP=y 58 - # CONFIG_INET_XFRM_MODE_BEET is not set 59 - # CONFIG_INET_LRO is not set 60 - CONFIG_IPV6=y 61 - CONFIG_IP_SCTP=m 62 - CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 63 - CONFIG_DEVTMPFS=y 64 - CONFIG_DEVTMPFS_MOUNT=y 65 - CONFIG_MTD=y 66 - CONFIG_MTD_CMDLINE_PARTS=y 67 - CONFIG_MTD_BLOCK=y 68 - CONFIG_FTL=y 69 - CONFIG_MTD_CFI=y 70 - CONFIG_MTD_CFI_INTELEXT=y 71 - CONFIG_MTD_CFI_AMDSTD=y 72 - CONFIG_MTD_PHYSMAP_OF=y 73 - CONFIG_MTD_NAND=y 74 - CONFIG_MTD_NAND_FSL_ELBC=y 75 - CONFIG_MTD_NAND_FSL_IFC=y 76 - CONFIG_MTD_SPI_NOR=y 77 - CONFIG_MTD_UBI=y 78 - CONFIG_BLK_DEV_LOOP=y 79 - CONFIG_BLK_DEV_RAM=y 80 - CONFIG_BLK_DEV_RAM_SIZE=131072 81 - CONFIG_EEPROM_LEGACY=y 82 - CONFIG_BLK_DEV_SD=y 83 - CONFIG_BLK_DEV_SR=y 84 - CONFIG_BLK_DEV_SR_VENDOR=y 85 - CONFIG_CHR_DEV_SG=y 86 - CONFIG_ATA=y 87 - CONFIG_SATA_FSL=y 88 - CONFIG_SATA_SIL24=y 89 - CONFIG_NETDEVICES=y 90 - CONFIG_DUMMY=y 91 - CONFIG_FSL_PQ_MDIO=y 92 - CONFIG_FSL_XGMAC_MDIO=y 93 - CONFIG_E1000E=y 94 - CONFIG_VITESSE_PHY=y 95 - CONFIG_FIXED_PHY=y 96 - CONFIG_MDIO_BUS_MUX_GPIO=y 97 - CONFIG_MDIO_BUS_MUX_MMIOREG=y 98 - CONFIG_INPUT_FF_MEMLESS=m 99 - # CONFIG_INPUT_MOUSEDEV is not set 100 - # CONFIG_INPUT_KEYBOARD is not set 101 - # CONFIG_INPUT_MOUSE is not set 102 - CONFIG_SERIO_LIBPS2=y 103 - CONFIG_PPC_EPAPR_HV_BYTECHAN=y 104 - CONFIG_SERIAL_8250=y 105 - CONFIG_SERIAL_8250_CONSOLE=y 106 - CONFIG_SERIAL_8250_MANY_PORTS=y 107 - CONFIG_SERIAL_8250_DETECT_IRQ=y 108 - CONFIG_SERIAL_8250_RSA=y 109 - CONFIG_I2C=y 110 - CONFIG_I2C_CHARDEV=y 111 - CONFIG_I2C_MPC=y 112 - CONFIG_I2C_MUX=y 113 - CONFIG_I2C_MUX_PCA954x=y 114 - CONFIG_SPI=y 115 - CONFIG_SPI_GPIO=y 116 - CONFIG_SPI_FSL_SPI=y 117 - CONFIG_SPI_FSL_ESPI=y 118 - CONFIG_SENSORS_LM90=y 119 - CONFIG_SENSORS_INA2XX=y 120 - CONFIG_USB_HID=m 121 - CONFIG_USB=y 122 - CONFIG_USB_MON=y 123 - CONFIG_USB_EHCI_HCD=y 124 - CONFIG_USB_EHCI_FSL=y 125 - CONFIG_USB_STORAGE=y 126 - CONFIG_MMC=y 127 - CONFIG_MMC_SDHCI=y 128 - CONFIG_EDAC=y 129 - CONFIG_EDAC_MM_EDAC=y 130 - CONFIG_RTC_CLASS=y 131 - CONFIG_RTC_DRV_DS1307=y 132 - CONFIG_RTC_DRV_DS1374=y 133 - CONFIG_RTC_DRV_DS3232=y 134 - CONFIG_DMADEVICES=y 135 - CONFIG_FSL_DMA=y 136 - CONFIG_VIRT_DRIVERS=y 137 - CONFIG_FSL_HV_MANAGER=y 138 - CONFIG_CLK_QORIQ=y 139 - CONFIG_FSL_CORENET_CF=y 140 - CONFIG_EXT2_FS=y 141 - CONFIG_EXT3_FS=y 142 - CONFIG_ISO9660_FS=m 143 - CONFIG_JOLIET=y 144 - CONFIG_ZISOFS=y 145 - CONFIG_UDF_FS=m 146 - CONFIG_MSDOS_FS=m 147 - CONFIG_VFAT_FS=y 148 - CONFIG_NTFS_FS=y 149 - CONFIG_PROC_KCORE=y 150 - CONFIG_TMPFS=y 151 - CONFIG_HUGETLBFS=y 152 - CONFIG_JFFS2_FS=y 153 - CONFIG_JFFS2_FS_DEBUG=1 154 - CONFIG_UBIFS_FS=y 155 - CONFIG_NFS_FS=y 156 - CONFIG_NFS_V4=y 157 - CONFIG_ROOT_NFS=y 158 - CONFIG_NFSD=m 159 - CONFIG_NLS_CODEPAGE_437=y 160 - CONFIG_NLS_CODEPAGE_850=y 161 - CONFIG_NLS_ISO8859_1=y 162 - CONFIG_NLS_UTF8=m 163 - CONFIG_CRC_T10DIF=y 164 - CONFIG_DEBUG_INFO=y 165 - CONFIG_FRAME_WARN=1024 166 - CONFIG_DEBUG_FS=y 167 - CONFIG_MAGIC_SYSRQ=y 168 - CONFIG_DEBUG_SHIRQ=y 169 - CONFIG_DETECT_HUNG_TASK=y 170 - CONFIG_CRYPTO_NULL=y 171 - CONFIG_CRYPTO_PCBC=m 172 - CONFIG_CRYPTO_MD4=y 173 - CONFIG_CRYPTO_SHA256=y 174 - CONFIG_CRYPTO_SHA512=y 175 - # CONFIG_CRYPTO_ANSI_CPRNG is not set 176 - CONFIG_CRYPTO_DEV_FSL_CAAM=y
+1
arch/powerpc/configs/corenet_basic_defconfig
··· 1 + CONFIG_CORENET_GENERIC=y
+126
arch/powerpc/configs/fsl-emb-nonhw.config
··· 1 + CONFIG_ADFS_FS=m 2 + CONFIG_AFFS_FS=m 3 + CONFIG_AUDIT=y 4 + CONFIG_BEFS_FS=m 5 + CONFIG_BFS_FS=m 6 + CONFIG_BINFMT_MISC=m 7 + # CONFIG_BLK_DEV_BSG is not set 8 + CONFIG_BLK_DEV_INITRD=y 9 + CONFIG_BLK_DEV_LOOP=y 10 + CONFIG_BLK_DEV_NBD=y 11 + CONFIG_BLK_DEV_RAM_SIZE=131072 12 + CONFIG_BLK_DEV_RAM=y 13 + CONFIG_BSD_PROCESS_ACCT=y 14 + CONFIG_CGROUP_CPUACCT=y 15 + CONFIG_CGROUP_SCHED=y 16 + CONFIG_CGROUPS=y 17 + # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 18 + CONFIG_CRC_T10DIF=y 19 + CONFIG_CPUSETS=y 20 + CONFIG_CRAMFS=y 21 + CONFIG_CRYPTO_MD4=y 22 + CONFIG_CRYPTO_NULL=y 23 + CONFIG_CRYPTO_PCBC=m 24 + CONFIG_CRYPTO_SHA256=y 25 + CONFIG_CRYPTO_SHA512=y 26 + CONFIG_DEBUG_FS=y 27 + CONFIG_DEBUG_INFO=y 28 + CONFIG_DEBUG_SHIRQ=y 29 + CONFIG_DETECT_HUNG_TASK=y 30 + CONFIG_DEVTMPFS_MOUNT=y 31 + CONFIG_DEVTMPFS=y 32 + CONFIG_DUMMY=y 33 + CONFIG_EFS_FS=m 34 + CONFIG_EXPERT=y 35 + CONFIG_EXT2_FS=y 36 + # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set 37 + CONFIG_EXT3_FS=y 38 + CONFIG_FB=y 39 + CONFIG_FHANDLE=y 40 + CONFIG_FIXED_PHY=y 41 + CONFIG_FONT_8x16=y 42 + CONFIG_FONT_8x8=y 43 + CONFIG_FONTS=y 44 + CONFIG_FORCE_MAX_ZONEORDER=13 45 + CONFIG_FRAMEBUFFER_CONSOLE=y 46 + CONFIG_FRAME_WARN=1024 47 + CONFIG_FTL=y 48 + CONFIG_HFS_FS=m 49 + CONFIG_HFSPLUS_FS=m 50 + CONFIG_HIGH_RES_TIMERS=y 51 + CONFIG_HPFS_FS=m 52 + CONFIG_HUGETLBFS=y 53 + CONFIG_IKCONFIG_PROC=y 54 + CONFIG_IKCONFIG=y 55 + CONFIG_INET_AH=y 56 + CONFIG_INET_ESP=y 57 + CONFIG_INET_IPCOMP=y 58 + # CONFIG_INET_LRO is not set 59 + # CONFIG_INET_XFRM_MODE_BEET is not set 60 + CONFIG_INET=y 61 + CONFIG_IP_ADVANCED_ROUTER=y 62 + CONFIG_IP_MROUTE=y 63 + CONFIG_IP_MULTICAST=y 64 + CONFIG_IP_MULTIPLE_TABLES=y 65 + CONFIG_IP_PIMSM_V1=y 66 + CONFIG_IP_PIMSM_V2=y 67 + CONFIG_IP_PNP_BOOTP=y 68 + CONFIG_IP_PNP_DHCP=y 69 + CONFIG_IP_PNP_RARP=y 70 + CONFIG_IP_PNP=y 71 + CONFIG_IP_ROUTE_MULTIPATH=y 72 + CONFIG_IP_ROUTE_VERBOSE=y 73 + CONFIG_IP_SCTP=m 74 + CONFIG_IPV6=y 75 + CONFIG_IRQ_DOMAIN_DEBUG=y 76 + CONFIG_ISO9660_FS=m 77 + CONFIG_JFFS2_FS_DEBUG=1 78 + CONFIG_JFFS2_FS=y 79 + CONFIG_JOLIET=y 80 + CONFIG_KALLSYMS_ALL=y 81 + # CONFIG_LEGACY_PTYS is not set 82 + CONFIG_LOG_BUF_SHIFT=14 83 + CONFIG_MAC_PARTITION=y 84 + CONFIG_MAGIC_SYSRQ=y 85 + CONFIG_MODULE_FORCE_UNLOAD=y 86 + CONFIG_MODULES=y 87 + CONFIG_MODULE_UNLOAD=y 88 + CONFIG_MODVERSIONS=y 89 + CONFIG_MSDOS_FS=m 90 + CONFIG_MTD_UBI=y 91 + CONFIG_MTD=y 92 + CONFIG_NET_IPIP=y 93 + CONFIG_NET_KEY_MIGRATE=y 94 + CONFIG_NET_KEY=y 95 + CONFIG_NET=y 96 + CONFIG_NFSD=y 97 + CONFIG_NFS_FS=y 98 + CONFIG_NFS_V4=y 99 + CONFIG_NLS_CODEPAGE_437=y 100 + CONFIG_NLS_CODEPAGE_850=y 101 + CONFIG_NLS_ISO8859_1=y 102 + CONFIG_NLS_UTF8=m 103 + CONFIG_NO_HZ=y 104 + CONFIG_NTFS_FS=y 105 + CONFIG_PACKET=y 106 + CONFIG_PARTITION_ADVANCED=y 107 + CONFIG_PERF_EVENTS=y 108 + CONFIG_POSIX_MQUEUE=y 109 + CONFIG_QNX4FS_FS=m 110 + CONFIG_RCU_TRACE=y 111 + CONFIG_ROOT_NFS=y 112 + CONFIG_SYSV_FS=m 113 + CONFIG_SYSVIPC=y 114 + CONFIG_TMPFS=y 115 + CONFIG_UBIFS_FS=y 116 + CONFIG_UDF_FS=m 117 + CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 118 + CONFIG_UFS_FS=m 119 + CONFIG_UIO=y 120 + CONFIG_UNIX=y 121 + CONFIG_VFAT_FS=y 122 + CONFIG_VXFS_FS=m 123 + CONFIG_XFRM_STATISTICS=y 124 + CONFIG_XFRM_SUB_POLICY=y 125 + CONFIG_XFRM_USER=y 126 + CONFIG_ZISOFS=y
+23
arch/powerpc/configs/mpc85xx_basic_defconfig
··· 1 + CONFIG_MATH_EMULATION=y 2 + CONFIG_MPC8536_DS=y 3 + CONFIG_MPC8540_ADS=y 4 + CONFIG_MPC8560_ADS=y 5 + CONFIG_MPC85xx_CDS=y 6 + CONFIG_MPC85xx_DS=y 7 + CONFIG_MPC85xx_MDS=y 8 + CONFIG_MPC85xx_RDB=y 9 + CONFIG_KSI8560=y 10 + CONFIG_MVME2500=y 11 + CONFIG_P1010_RDB=y 12 + CONFIG_P1022_DS=y 13 + CONFIG_P1022_RDK=y 14 + CONFIG_P1023_RDB=y 15 + CONFIG_SBC8548=y 16 + CONFIG_SOCRATES=y 17 + CONFIG_STX_GP3=y 18 + CONFIG_TQM8540=y 19 + CONFIG_TQM8541=y 20 + CONFIG_TQM8548=y 21 + CONFIG_TQM8555=y 22 + CONFIG_TQM8560=y 23 + CONFIG_XES_MPC85xx=y
-252
arch/powerpc/configs/mpc85xx_defconfig
··· 1 - CONFIG_PPC_85xx=y 2 - CONFIG_PHYS_64BIT=y 3 - CONFIG_SYSVIPC=y 4 - CONFIG_POSIX_MQUEUE=y 5 - CONFIG_AUDIT=y 6 - CONFIG_IRQ_DOMAIN_DEBUG=y 7 - CONFIG_NO_HZ=y 8 - CONFIG_HIGH_RES_TIMERS=y 9 - CONFIG_BSD_PROCESS_ACCT=y 10 - CONFIG_IKCONFIG=y 11 - CONFIG_IKCONFIG_PROC=y 12 - CONFIG_LOG_BUF_SHIFT=14 13 - CONFIG_BLK_DEV_INITRD=y 14 - CONFIG_EXPERT=y 15 - CONFIG_KALLSYMS_ALL=y 16 - CONFIG_MODULES=y 17 - CONFIG_MODULE_UNLOAD=y 18 - CONFIG_MODULE_FORCE_UNLOAD=y 19 - CONFIG_MODVERSIONS=y 20 - # CONFIG_BLK_DEV_BSG is not set 21 - CONFIG_PARTITION_ADVANCED=y 22 - CONFIG_MAC_PARTITION=y 23 - CONFIG_C293_PCIE=y 24 - CONFIG_MPC8540_ADS=y 25 - CONFIG_MPC8560_ADS=y 26 - CONFIG_MPC85xx_CDS=y 27 - CONFIG_MPC85xx_MDS=y 28 - CONFIG_MPC8536_DS=y 29 - CONFIG_MPC85xx_DS=y 30 - CONFIG_MPC85xx_RDB=y 31 - CONFIG_P1010_RDB=y 32 - CONFIG_P1022_DS=y 33 - CONFIG_P1022_RDK=y 34 - CONFIG_P1023_RDB=y 35 - CONFIG_SOCRATES=y 36 - CONFIG_KSI8560=y 37 - CONFIG_XES_MPC85xx=y 38 - CONFIG_STX_GP3=y 39 - CONFIG_TQM8540=y 40 - CONFIG_TQM8541=y 41 - CONFIG_TQM8548=y 42 - CONFIG_TQM8555=y 43 - CONFIG_TQM8560=y 44 - CONFIG_SBC8548=y 45 - CONFIG_MVME2500=y 46 - CONFIG_QUICC_ENGINE=y 47 - CONFIG_QE_GPIO=y 48 - CONFIG_HIGHMEM=y 49 - CONFIG_BINFMT_MISC=m 50 - CONFIG_MATH_EMULATION=y 51 - CONFIG_FORCE_MAX_ZONEORDER=12 52 - CONFIG_PCI=y 53 - CONFIG_PCIEPORTBUS=y 54 - # CONFIG_PCIEASPM is not set 55 - CONFIG_PCI_MSI=y 56 - CONFIG_RAPIDIO=y 57 - CONFIG_NET=y 58 - CONFIG_PACKET=y 59 - CONFIG_UNIX=y 60 - CONFIG_XFRM_USER=y 61 - CONFIG_NET_KEY=y 62 - CONFIG_INET=y 63 - CONFIG_IP_MULTICAST=y 64 - CONFIG_IP_ADVANCED_ROUTER=y 65 - CONFIG_IP_MULTIPLE_TABLES=y 66 - CONFIG_IP_ROUTE_MULTIPATH=y 67 - CONFIG_IP_ROUTE_VERBOSE=y 68 - CONFIG_IP_PNP=y 69 - CONFIG_IP_PNP_DHCP=y 70 - CONFIG_IP_PNP_BOOTP=y 71 - CONFIG_IP_PNP_RARP=y 72 - CONFIG_NET_IPIP=y 73 - CONFIG_IP_MROUTE=y 74 - CONFIG_IP_PIMSM_V1=y 75 - CONFIG_IP_PIMSM_V2=y 76 - CONFIG_INET_ESP=y 77 - # CONFIG_INET_XFRM_MODE_BEET is not set 78 - # CONFIG_INET_LRO is not set 79 - CONFIG_IPV6=y 80 - CONFIG_IP_SCTP=m 81 - CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 82 - CONFIG_DEVTMPFS=y 83 - CONFIG_DEVTMPFS_MOUNT=y 84 - CONFIG_MTD=y 85 - CONFIG_MTD_CMDLINE_PARTS=y 86 - CONFIG_MTD_BLOCK=y 87 - CONFIG_FTL=y 88 - CONFIG_MTD_CFI=y 89 - CONFIG_MTD_CFI_INTELEXT=y 90 - CONFIG_MTD_CFI_AMDSTD=y 91 - CONFIG_MTD_PHYSMAP=y 92 - CONFIG_MTD_PHYSMAP_OF=y 93 - CONFIG_MTD_PLATRAM=y 94 - CONFIG_MTD_M25P80=y 95 - CONFIG_MTD_NAND=y 96 - CONFIG_MTD_NAND_FSL_ELBC=y 97 - CONFIG_MTD_NAND_FSL_IFC=y 98 - CONFIG_MTD_SPI_NOR=y 99 - CONFIG_MTD_UBI=y 100 - CONFIG_BLK_DEV_LOOP=y 101 - CONFIG_BLK_DEV_NBD=y 102 - CONFIG_BLK_DEV_RAM=y 103 - CONFIG_BLK_DEV_RAM_SIZE=131072 104 - CONFIG_EEPROM_AT24=y 105 - CONFIG_EEPROM_LEGACY=y 106 - CONFIG_BLK_DEV_SD=y 107 - CONFIG_CHR_DEV_ST=y 108 - CONFIG_BLK_DEV_SR=y 109 - CONFIG_CHR_DEV_SG=y 110 - CONFIG_SCSI_LOGGING=y 111 - CONFIG_ATA=y 112 - CONFIG_SATA_AHCI=y 113 - CONFIG_SATA_FSL=y 114 - CONFIG_SATA_SIL24=y 115 - CONFIG_PATA_ALI=y 116 - CONFIG_PATA_VIA=y 117 - CONFIG_NETDEVICES=y 118 - CONFIG_DUMMY=y 119 - CONFIG_FS_ENET=y 120 - CONFIG_UCC_GETH=y 121 - CONFIG_GIANFAR=y 122 - CONFIG_E1000=y 123 - CONFIG_E1000E=y 124 - CONFIG_IGB=y 125 - CONFIG_AT803X_PHY=y 126 - CONFIG_MARVELL_PHY=y 127 - CONFIG_DAVICOM_PHY=y 128 - CONFIG_CICADA_PHY=y 129 - CONFIG_VITESSE_PHY=y 130 - CONFIG_BROADCOM_PHY=y 131 - CONFIG_FIXED_PHY=y 132 - CONFIG_INPUT_FF_MEMLESS=m 133 - # CONFIG_INPUT_MOUSEDEV is not set 134 - # CONFIG_INPUT_KEYBOARD is not set 135 - # CONFIG_INPUT_MOUSE is not set 136 - CONFIG_SERIO_LIBPS2=y 137 - CONFIG_SERIAL_8250=y 138 - CONFIG_SERIAL_8250_CONSOLE=y 139 - CONFIG_SERIAL_8250_NR_UARTS=6 140 - CONFIG_SERIAL_8250_RUNTIME_UARTS=6 141 - CONFIG_SERIAL_8250_MANY_PORTS=y 142 - CONFIG_SERIAL_8250_DETECT_IRQ=y 143 - CONFIG_SERIAL_8250_RSA=y 144 - CONFIG_SERIAL_QE=m 145 - CONFIG_NVRAM=y 146 - CONFIG_I2C_CHARDEV=y 147 - CONFIG_I2C_CPM=m 148 - CONFIG_I2C_MPC=y 149 - CONFIG_SPI=y 150 - CONFIG_SPI_FSL_SPI=y 151 - CONFIG_SPI_FSL_ESPI=y 152 - CONFIG_GPIO_MPC8XXX=y 153 - CONFIG_SENSORS_LM90=y 154 - CONFIG_FB=y 155 - CONFIG_FB_FSL_DIU=y 156 - # CONFIG_VGA_CONSOLE is not set 157 - CONFIG_FRAMEBUFFER_CONSOLE=y 158 - CONFIG_SOUND=y 159 - CONFIG_SND=y 160 - # CONFIG_SND_SUPPORT_OLD_API is not set 161 - # CONFIG_SND_DRIVERS is not set 162 - CONFIG_SND_INTEL8X0=y 163 - # CONFIG_SND_PPC is not set 164 - # CONFIG_SND_USB is not set 165 - CONFIG_SND_SOC=y 166 - CONFIG_SND_POWERPC_SOC=y 167 - CONFIG_HID_A4TECH=y 168 - CONFIG_HID_APPLE=y 169 - CONFIG_HID_BELKIN=y 170 - CONFIG_HID_CHERRY=y 171 - CONFIG_HID_CHICONY=y 172 - CONFIG_HID_CYPRESS=y 173 - CONFIG_HID_EZKEY=y 174 - CONFIG_HID_GYRATION=y 175 - CONFIG_HID_LOGITECH=y 176 - CONFIG_HID_MICROSOFT=y 177 - CONFIG_HID_MONTEREY=y 178 - CONFIG_HID_PANTHERLORD=y 179 - CONFIG_HID_PETALYNX=y 180 - CONFIG_HID_SAMSUNG=y 181 - CONFIG_HID_SUNPLUS=y 182 - CONFIG_USB=y 183 - CONFIG_USB_MON=y 184 - CONFIG_USB_EHCI_HCD=y 185 - CONFIG_USB_EHCI_FSL=y 186 - CONFIG_USB_OHCI_HCD=y 187 - CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 188 - CONFIG_USB_OHCI_HCD_PPC_OF_LE=y 189 - CONFIG_USB_STORAGE=y 190 - CONFIG_MMC=y 191 - CONFIG_MMC_SDHCI=y 192 - CONFIG_MMC_SDHCI_PLTFM=y 193 - CONFIG_MMC_SDHCI_OF_ESDHC=y 194 - CONFIG_EDAC=y 195 - CONFIG_EDAC_MM_EDAC=y 196 - CONFIG_EDAC_MPC85XX=y 197 - CONFIG_RTC_CLASS=y 198 - CONFIG_RTC_DRV_DS1307=y 199 - CONFIG_RTC_DRV_DS1374=y 200 - CONFIG_RTC_DRV_DS3232=y 201 - CONFIG_RTC_DRV_CMOS=y 202 - CONFIG_DMADEVICES=y 203 - CONFIG_FSL_DMA=y 204 - CONFIG_EXT2_FS=y 205 - CONFIG_EXT3_FS=y 206 - # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set 207 - CONFIG_ISO9660_FS=m 208 - CONFIG_JOLIET=y 209 - CONFIG_ZISOFS=y 210 - CONFIG_UDF_FS=m 211 - CONFIG_MSDOS_FS=m 212 - CONFIG_VFAT_FS=y 213 - CONFIG_NTFS_FS=y 214 - CONFIG_PROC_KCORE=y 215 - CONFIG_TMPFS=y 216 - CONFIG_HUGETLBFS=y 217 - CONFIG_ADFS_FS=m 218 - CONFIG_AFFS_FS=m 219 - CONFIG_HFS_FS=m 220 - CONFIG_HFSPLUS_FS=m 221 - CONFIG_BEFS_FS=m 222 - CONFIG_BFS_FS=m 223 - CONFIG_EFS_FS=m 224 - CONFIG_JFFS2_FS=y 225 - CONFIG_JFFS2_FS_DEBUG=1 226 - CONFIG_UBIFS_FS=y 227 - CONFIG_CRAMFS=y 228 - CONFIG_VXFS_FS=m 229 - CONFIG_HPFS_FS=m 230 - CONFIG_QNX4FS_FS=m 231 - CONFIG_SYSV_FS=m 232 - CONFIG_UFS_FS=m 233 - CONFIG_NFS_FS=y 234 - CONFIG_NFS_V4=y 235 - CONFIG_ROOT_NFS=y 236 - CONFIG_NFSD=y 237 - CONFIG_NLS_CODEPAGE_437=y 238 - CONFIG_NLS_CODEPAGE_850=y 239 - CONFIG_NLS_ISO8859_1=y 240 - CONFIG_CRC_T10DIF=y 241 - CONFIG_FONTS=y 242 - CONFIG_FONT_8x8=y 243 - CONFIG_FONT_8x16=y 244 - CONFIG_DEBUG_INFO=y 245 - CONFIG_DEBUG_FS=y 246 - CONFIG_DETECT_HUNG_TASK=y 247 - CONFIG_CRYPTO_PCBC=m 248 - CONFIG_CRYPTO_SHA256=y 249 - CONFIG_CRYPTO_SHA512=y 250 - # CONFIG_CRYPTO_ANSI_CPRNG is not set 251 - CONFIG_CRYPTO_DEV_FSL_CAAM=y 252 - CONFIG_CRYPTO_DEV_TALITOS=y
-244
arch/powerpc/configs/mpc85xx_smp_defconfig
··· 1 - CONFIG_PPC_85xx=y 2 - CONFIG_PHYS_64BIT=y 3 - CONFIG_SMP=y 4 - CONFIG_NR_CPUS=8 5 - CONFIG_SYSVIPC=y 6 - CONFIG_POSIX_MQUEUE=y 7 - CONFIG_AUDIT=y 8 - CONFIG_IRQ_DOMAIN_DEBUG=y 9 - CONFIG_NO_HZ=y 10 - CONFIG_HIGH_RES_TIMERS=y 11 - CONFIG_BSD_PROCESS_ACCT=y 12 - CONFIG_IKCONFIG=y 13 - CONFIG_IKCONFIG_PROC=y 14 - CONFIG_LOG_BUF_SHIFT=14 15 - CONFIG_BLK_DEV_INITRD=y 16 - CONFIG_EXPERT=y 17 - CONFIG_KALLSYMS_ALL=y 18 - CONFIG_MODULES=y 19 - CONFIG_MODULE_UNLOAD=y 20 - CONFIG_MODULE_FORCE_UNLOAD=y 21 - CONFIG_MODVERSIONS=y 22 - # CONFIG_BLK_DEV_BSG is not set 23 - CONFIG_PARTITION_ADVANCED=y 24 - CONFIG_MAC_PARTITION=y 25 - CONFIG_C293_PCIE=y 26 - CONFIG_MPC8540_ADS=y 27 - CONFIG_MPC8560_ADS=y 28 - CONFIG_MPC85xx_CDS=y 29 - CONFIG_MPC85xx_MDS=y 30 - CONFIG_MPC8536_DS=y 31 - CONFIG_MPC85xx_DS=y 32 - CONFIG_MPC85xx_RDB=y 33 - CONFIG_P1010_RDB=y 34 - CONFIG_P1022_DS=y 35 - CONFIG_P1022_RDK=y 36 - CONFIG_P1023_RDB=y 37 - CONFIG_SOCRATES=y 38 - CONFIG_KSI8560=y 39 - CONFIG_XES_MPC85xx=y 40 - CONFIG_STX_GP3=y 41 - CONFIG_TQM8540=y 42 - CONFIG_TQM8541=y 43 - CONFIG_TQM8548=y 44 - CONFIG_TQM8555=y 45 - CONFIG_TQM8560=y 46 - CONFIG_SBC8548=y 47 - CONFIG_QUICC_ENGINE=y 48 - CONFIG_QE_GPIO=y 49 - CONFIG_HIGHMEM=y 50 - CONFIG_BINFMT_MISC=m 51 - CONFIG_MATH_EMULATION=y 52 - CONFIG_FORCE_MAX_ZONEORDER=12 53 - CONFIG_PCI=y 54 - CONFIG_PCI_MSI=y 55 - CONFIG_RAPIDIO=y 56 - CONFIG_NET=y 57 - CONFIG_PACKET=y 58 - CONFIG_UNIX=y 59 - CONFIG_XFRM_USER=y 60 - CONFIG_NET_KEY=y 61 - CONFIG_INET=y 62 - CONFIG_IP_MULTICAST=y 63 - CONFIG_IP_ADVANCED_ROUTER=y 64 - CONFIG_IP_MULTIPLE_TABLES=y 65 - CONFIG_IP_ROUTE_MULTIPATH=y 66 - CONFIG_IP_ROUTE_VERBOSE=y 67 - CONFIG_IP_PNP=y 68 - CONFIG_IP_PNP_DHCP=y 69 - CONFIG_IP_PNP_BOOTP=y 70 - CONFIG_IP_PNP_RARP=y 71 - CONFIG_NET_IPIP=y 72 - CONFIG_IP_MROUTE=y 73 - CONFIG_IP_PIMSM_V1=y 74 - CONFIG_IP_PIMSM_V2=y 75 - CONFIG_INET_ESP=y 76 - # CONFIG_INET_XFRM_MODE_BEET is not set 77 - # CONFIG_INET_LRO is not set 78 - CONFIG_IPV6=y 79 - CONFIG_IP_SCTP=m 80 - CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 81 - CONFIG_DEVTMPFS=y 82 - CONFIG_DEVTMPFS_MOUNT=y 83 - CONFIG_MTD=y 84 - CONFIG_MTD_CMDLINE_PARTS=y 85 - CONFIG_MTD_BLOCK=y 86 - CONFIG_FTL=y 87 - CONFIG_MTD_CFI=y 88 - CONFIG_MTD_CFI_INTELEXT=y 89 - CONFIG_MTD_CFI_AMDSTD=y 90 - CONFIG_MTD_PHYSMAP_OF=y 91 - CONFIG_MTD_NAND=y 92 - CONFIG_MTD_NAND_FSL_ELBC=y 93 - CONFIG_MTD_NAND_FSL_IFC=y 94 - CONFIG_MTD_SPI_NOR=y 95 - CONFIG_MTD_UBI=y 96 - CONFIG_BLK_DEV_LOOP=y 97 - CONFIG_BLK_DEV_NBD=y 98 - CONFIG_BLK_DEV_RAM=y 99 - CONFIG_BLK_DEV_RAM_SIZE=131072 100 - CONFIG_EEPROM_AT24=y 101 - CONFIG_EEPROM_LEGACY=y 102 - CONFIG_BLK_DEV_SD=y 103 - CONFIG_CHR_DEV_ST=y 104 - CONFIG_BLK_DEV_SR=y 105 - CONFIG_CHR_DEV_SG=y 106 - CONFIG_SCSI_LOGGING=y 107 - CONFIG_ATA=y 108 - CONFIG_SATA_AHCI=y 109 - CONFIG_SATA_FSL=y 110 - CONFIG_SATA_SIL24=y 111 - CONFIG_PATA_ALI=y 112 - CONFIG_NETDEVICES=y 113 - CONFIG_DUMMY=y 114 - CONFIG_FS_ENET=y 115 - CONFIG_UCC_GETH=y 116 - CONFIG_GIANFAR=y 117 - CONFIG_E1000E=y 118 - CONFIG_AT803X_PHY=y 119 - CONFIG_MARVELL_PHY=y 120 - CONFIG_DAVICOM_PHY=y 121 - CONFIG_CICADA_PHY=y 122 - CONFIG_VITESSE_PHY=y 123 - CONFIG_FIXED_PHY=y 124 - CONFIG_INPUT_FF_MEMLESS=m 125 - # CONFIG_INPUT_MOUSEDEV is not set 126 - # CONFIG_INPUT_KEYBOARD is not set 127 - # CONFIG_INPUT_MOUSE is not set 128 - CONFIG_SERIO_LIBPS2=y 129 - CONFIG_SERIAL_8250=y 130 - CONFIG_SERIAL_8250_CONSOLE=y 131 - CONFIG_SERIAL_8250_NR_UARTS=2 132 - CONFIG_SERIAL_8250_RUNTIME_UARTS=2 133 - CONFIG_SERIAL_8250_MANY_PORTS=y 134 - CONFIG_SERIAL_8250_DETECT_IRQ=y 135 - CONFIG_SERIAL_8250_RSA=y 136 - CONFIG_SERIAL_QE=m 137 - CONFIG_NVRAM=y 138 - CONFIG_I2C=y 139 - CONFIG_I2C_CHARDEV=y 140 - CONFIG_I2C_CPM=m 141 - CONFIG_I2C_MPC=y 142 - CONFIG_SPI=y 143 - CONFIG_SPI_FSL_SPI=y 144 - CONFIG_SPI_FSL_ESPI=y 145 - CONFIG_GPIO_MPC8XXX=y 146 - CONFIG_SENSORS_LM90=y 147 - CONFIG_FB=y 148 - CONFIG_FB_FSL_DIU=y 149 - # CONFIG_VGA_CONSOLE is not set 150 - CONFIG_FRAMEBUFFER_CONSOLE=y 151 - CONFIG_SOUND=y 152 - CONFIG_SND=y 153 - # CONFIG_SND_SUPPORT_OLD_API is not set 154 - # CONFIG_SND_DRIVERS is not set 155 - CONFIG_SND_INTEL8X0=y 156 - # CONFIG_SND_PPC is not set 157 - # CONFIG_SND_USB is not set 158 - CONFIG_SND_SOC=y 159 - CONFIG_SND_POWERPC_SOC=y 160 - CONFIG_HID_A4TECH=y 161 - CONFIG_HID_APPLE=y 162 - CONFIG_HID_BELKIN=y 163 - CONFIG_HID_CHERRY=y 164 - CONFIG_HID_CHICONY=y 165 - CONFIG_HID_CYPRESS=y 166 - CONFIG_HID_EZKEY=y 167 - CONFIG_HID_GYRATION=y 168 - CONFIG_HID_LOGITECH=y 169 - CONFIG_HID_MICROSOFT=y 170 - CONFIG_HID_MONTEREY=y 171 - CONFIG_HID_PANTHERLORD=y 172 - CONFIG_HID_PETALYNX=y 173 - CONFIG_HID_SAMSUNG=y 174 - CONFIG_HID_SUNPLUS=y 175 - CONFIG_USB=y 176 - CONFIG_USB_MON=y 177 - CONFIG_USB_EHCI_HCD=y 178 - CONFIG_USB_EHCI_FSL=y 179 - CONFIG_USB_OHCI_HCD=y 180 - CONFIG_USB_OHCI_HCD_PPC_OF_BE=y 181 - CONFIG_USB_OHCI_HCD_PPC_OF_LE=y 182 - CONFIG_USB_STORAGE=y 183 - CONFIG_MMC=y 184 - CONFIG_MMC_SDHCI=y 185 - CONFIG_MMC_SDHCI_PLTFM=y 186 - CONFIG_MMC_SDHCI_OF_ESDHC=y 187 - CONFIG_EDAC=y 188 - CONFIG_EDAC_MM_EDAC=y 189 - CONFIG_RTC_CLASS=y 190 - CONFIG_RTC_DRV_DS1307=y 191 - CONFIG_RTC_DRV_DS1374=y 192 - CONFIG_RTC_DRV_DS3232=y 193 - CONFIG_RTC_DRV_CMOS=y 194 - CONFIG_DMADEVICES=y 195 - CONFIG_FSL_DMA=y 196 - CONFIG_EXT2_FS=y 197 - CONFIG_EXT3_FS=y 198 - # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set 199 - CONFIG_ISO9660_FS=m 200 - CONFIG_JOLIET=y 201 - CONFIG_ZISOFS=y 202 - CONFIG_UDF_FS=m 203 - CONFIG_MSDOS_FS=m 204 - CONFIG_VFAT_FS=y 205 - CONFIG_NTFS_FS=y 206 - CONFIG_PROC_KCORE=y 207 - CONFIG_TMPFS=y 208 - CONFIG_HUGETLBFS=y 209 - CONFIG_ADFS_FS=m 210 - CONFIG_AFFS_FS=m 211 - CONFIG_HFS_FS=m 212 - CONFIG_HFSPLUS_FS=m 213 - CONFIG_BEFS_FS=m 214 - CONFIG_BFS_FS=m 215 - CONFIG_EFS_FS=m 216 - CONFIG_JFFS2_FS=y 217 - CONFIG_JFFS2_FS_DEBUG=1 218 - CONFIG_UBIFS_FS=y 219 - CONFIG_CRAMFS=y 220 - CONFIG_VXFS_FS=m 221 - CONFIG_HPFS_FS=m 222 - CONFIG_QNX4FS_FS=m 223 - CONFIG_SYSV_FS=m 224 - CONFIG_UFS_FS=m 225 - CONFIG_NFS_FS=y 226 - CONFIG_NFS_V4=y 227 - CONFIG_ROOT_NFS=y 228 - CONFIG_NFSD=y 229 - CONFIG_NLS_CODEPAGE_437=y 230 - CONFIG_NLS_CODEPAGE_850=y 231 - CONFIG_NLS_ISO8859_1=y 232 - CONFIG_CRC_T10DIF=y 233 - CONFIG_FONTS=y 234 - CONFIG_FONT_8x8=y 235 - CONFIG_FONT_8x16=y 236 - CONFIG_DEBUG_INFO=y 237 - CONFIG_DEBUG_FS=y 238 - CONFIG_DETECT_HUNG_TASK=y 239 - CONFIG_CRYPTO_PCBC=m 240 - CONFIG_CRYPTO_SHA256=y 241 - CONFIG_CRYPTO_SHA512=y 242 - # CONFIG_CRYPTO_ANSI_CPRNG is not set 243 - CONFIG_CRYPTO_DEV_FSL_CAAM=y 244 - CONFIG_CRYPTO_DEV_TALITOS=y
+6 -1
arch/powerpc/include/asm/cacheflush.h
··· 40 40 extern void flush_dcache_icache_page(struct page *page); 41 41 #if defined(CONFIG_PPC32) && !defined(CONFIG_BOOKE) 42 42 extern void __flush_dcache_icache_phys(unsigned long physaddr); 43 - #endif /* CONFIG_PPC32 && !CONFIG_BOOKE */ 43 + #else 44 + static inline void __flush_dcache_icache_phys(unsigned long physaddr) 45 + { 46 + BUG(); 47 + } 48 + #endif 44 49 45 50 extern void flush_dcache_range(unsigned long start, unsigned long stop); 46 51 #ifdef CONFIG_PPC32
+28 -9
arch/powerpc/include/asm/checksum.h
··· 20 20 extern __sum16 ip_fast_csum(const void *iph, unsigned int ihl); 21 21 22 22 /* 23 - * computes the checksum of the TCP/UDP pseudo-header 24 - * returns a 16-bit checksum, already complemented 25 - */ 26 - extern __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, 27 - unsigned short len, 28 - unsigned short proto, 29 - __wsum sum); 30 - 31 - /* 32 23 * computes the checksum of a memory block at buff, length len, 33 24 * and adds in "sum" (32-bit) 34 25 * ··· 115 124 : "=r" (sum) 116 125 : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); 117 126 return sum; 127 + #endif 128 + } 129 + 130 + /* 131 + * computes the checksum of the TCP/UDP pseudo-header 132 + * returns a 16-bit checksum, already complemented 133 + */ 134 + static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, 135 + unsigned short len, 136 + unsigned short proto, 137 + __wsum sum) 138 + { 139 + return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); 140 + } 141 + 142 + #define HAVE_ARCH_CSUM_ADD 143 + static inline __wsum csum_add(__wsum csum, __wsum addend) 144 + { 145 + #ifdef __powerpc64__ 146 + u64 res = (__force u64)csum; 147 + 148 + res += (__force u64)addend; 149 + return (__force __wsum)((u32)res + (res >> 32)); 150 + #else 151 + asm("addc %0,%0,%1;" 152 + "addze %0,%0;" 153 + : "+r" (csum) : "r" (addend)); 154 + return csum; 118 155 #endif 119 156 } 120 157
+11
arch/powerpc/include/asm/pgtable.h
··· 169 169 * cases, and 32-bit non-hash with 32-bit PTEs. 170 170 */ 171 171 *ptep = pte; 172 + 173 + #ifdef CONFIG_PPC_BOOK3E_64 174 + /* 175 + * With hardware tablewalk, a sync is needed to ensure that 176 + * subsequent accesses see the PTE we just wrote. Unlike userspace 177 + * mappings, we can't tolerate spurious faults, so make sure 178 + * the new PTE will be seen the first time. 179 + */ 180 + if (is_kernel_addr(addr)) 181 + mb(); 182 + #endif 172 183 #endif 173 184 } 174 185
+2 -1
arch/powerpc/include/asm/pte-common.h
··· 109 109 * the processor might need it for DMA coherency. 110 110 */ 111 111 #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE) 112 - #if defined(CONFIG_SMP) || defined(CONFIG_PPC_STD_MMU) 112 + #if defined(CONFIG_SMP) || defined(CONFIG_PPC_STD_MMU) || \ 113 + defined(CONFIG_PPC_E500MC) 113 114 #define _PAGE_BASE (_PAGE_BASE_NC | _PAGE_COHERENT) 114 115 #else 115 116 #define _PAGE_BASE (_PAGE_BASE_NC)
-1
arch/powerpc/kernel/asm-offsets.c
··· 213 213 offsetof(struct tlb_core_data, esel_max)); 214 214 DEFINE(TCD_ESEL_FIRST, 215 215 offsetof(struct tlb_core_data, esel_first)); 216 - DEFINE(TCD_LOCK, offsetof(struct tlb_core_data, lock)); 217 216 #endif /* CONFIG_PPC_BOOK3E */ 218 217 219 218 #ifdef CONFIG_PPC_STD_MMU_64
+8 -5
arch/powerpc/kernel/exceptions-64e.S
··· 1313 1313 sync 1314 1314 isync 1315 1315 1316 - /* The mapping only needs to be cache-coherent on SMP */ 1317 - #ifdef CONFIG_SMP 1318 - #define M_IF_SMP MAS2_M 1316 + /* 1317 + * The mapping only needs to be cache-coherent on SMP, except on 1318 + * Freescale e500mc derivatives where it's also needed for coherent DMA. 1319 + */ 1320 + #if defined(CONFIG_SMP) || defined(CONFIG_PPC_E500MC) 1321 + #define M_IF_NEEDED MAS2_M 1319 1322 #else 1320 - #define M_IF_SMP 0 1323 + #define M_IF_NEEDED 0 1321 1324 #endif 1322 1325 1323 1326 /* 6. Setup KERNELBASE mapping in TLB[0] ··· 1335 1332 ori r6,r6,(MAS1_TSIZE(BOOK3E_PAGESZ_1GB))@l 1336 1333 mtspr SPRN_MAS1,r6 1337 1334 1338 - LOAD_REG_IMMEDIATE(r6, PAGE_OFFSET | M_IF_SMP) 1335 + LOAD_REG_IMMEDIATE(r6, PAGE_OFFSET | M_IF_NEEDED) 1339 1336 mtspr SPRN_MAS2,r6 1340 1337 1341 1338 rlwinm r5,r5,0,0,25
+9 -6
arch/powerpc/kernel/fsl_booke_entry_mapping.S
··· 152 152 tlbivax 0,r9 153 153 TLBSYNC 154 154 155 - /* The mapping only needs to be cache-coherent on SMP */ 156 - #ifdef CONFIG_SMP 157 - #define M_IF_SMP MAS2_M 155 + /* 156 + * The mapping only needs to be cache-coherent on SMP, except on 157 + * Freescale e500mc derivatives where it's also needed for coherent DMA. 158 + */ 159 + #if defined(CONFIG_SMP) || defined(CONFIG_PPC_E500MC) 160 + #define M_IF_NEEDED MAS2_M 158 161 #else 159 - #define M_IF_SMP 0 162 + #define M_IF_NEEDED 0 160 163 #endif 161 164 162 165 #if defined(ENTRY_MAPPING_BOOT_SETUP) ··· 170 167 lis r6,(MAS1_VALID|MAS1_IPROT)@h 171 168 ori r6,r6,(MAS1_TSIZE(BOOK3E_PAGESZ_64M))@l 172 169 mtspr SPRN_MAS1,r6 173 - lis r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_SMP)@h 174 - ori r6,r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_SMP)@l 170 + lis r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_NEEDED)@h 171 + ori r6,r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_NEEDED)@l 175 172 mtspr SPRN_MAS2,r6 176 173 mtspr SPRN_MAS3,r8 177 174 tlbwe
-16
arch/powerpc/lib/checksum_32.S
··· 41 41 blr 42 42 43 43 /* 44 - * Compute checksum of TCP or UDP pseudo-header: 45 - * csum_tcpudp_magic(saddr, daddr, len, proto, sum) 46 - */ 47 - _GLOBAL(csum_tcpudp_magic) 48 - rlwimi r5,r6,16,0,15 /* put proto in upper half of len */ 49 - addc r0,r3,r4 /* add 4 32-bit words together */ 50 - adde r0,r0,r5 51 - adde r0,r0,r7 52 - addze r0,r0 /* add in final carry */ 53 - rlwinm r3,r0,16,0,31 /* fold two halves together */ 54 - add r3,r0,r3 55 - not r3,r3 56 - srwi r3,r3,16 57 - blr 58 - 59 - /* 60 44 * computes the checksum of a memory block at buff, length len, 61 45 * and adds in "sum" (32-bit) 62 46 *
-21
arch/powerpc/lib/checksum_64.S
··· 45 45 blr 46 46 47 47 /* 48 - * Compute checksum of TCP or UDP pseudo-header: 49 - * csum_tcpudp_magic(r3=saddr, r4=daddr, r5=len, r6=proto, r7=sum) 50 - * No real gain trying to do this specially for 64 bit, but 51 - * the 32 bit addition may spill into the upper bits of 52 - * the doubleword so we still must fold it down from 64. 53 - */ 54 - _GLOBAL(csum_tcpudp_magic) 55 - rlwimi r5,r6,16,0,15 /* put proto in upper half of len */ 56 - addc r0,r3,r4 /* add 4 32-bit words together */ 57 - adde r0,r0,r5 58 - adde r0,r0,r7 59 - rldicl r4,r0,32,0 /* fold 64 bit value */ 60 - add r0,r4,r0 61 - srdi r0,r0,32 62 - rlwinm r3,r0,16,0,31 /* fold two halves together */ 63 - add r3,r0,r3 64 - not r3,r3 65 - srwi r3,r3,16 66 - blr 67 - 68 - /* 69 48 * Computes the checksum of a memory block at buff, length len, 70 49 * and adds in "sum" (32-bit). 71 50 *
+108 -1
arch/powerpc/lib/copy_32.S
··· 69 69 LG_CACHELINE_BYTES = L1_CACHE_SHIFT 70 70 CACHELINE_MASK = (L1_CACHE_BYTES-1) 71 71 72 + /* 73 + * Use dcbz on the complete cache lines in the destination 74 + * to set them to zero. This requires that the destination 75 + * area is cacheable. -- paulus 76 + */ 72 77 _GLOBAL(memset) 73 78 rlwimi r4,r4,8,16,23 74 79 rlwimi r4,r4,16,0,15 80 + 75 81 addi r6,r3,-4 76 82 cmplwi 0,r5,4 77 83 blt 7f ··· 86 80 andi. r0,r6,3 87 81 add r5,r0,r5 88 82 subf r6,r0,r6 89 - srwi r0,r5,2 83 + cmplwi 0,r4,0 84 + bne 2f /* Use normal procedure if r4 is not zero */ 85 + 86 + clrlwi r7,r6,32-LG_CACHELINE_BYTES 87 + add r8,r7,r5 88 + srwi r9,r8,LG_CACHELINE_BYTES 89 + addic. r9,r9,-1 /* total number of complete cachelines */ 90 + ble 2f 91 + xori r0,r7,CACHELINE_MASK & ~3 92 + srwi. r0,r0,2 93 + beq 3f 94 + mtctr r0 95 + 4: stwu r4,4(r6) 96 + bdnz 4b 97 + 3: mtctr r9 98 + li r7,4 99 + 10: dcbz r7,r6 100 + addi r6,r6,CACHELINE_BYTES 101 + bdnz 10b 102 + clrlwi r5,r8,32-LG_CACHELINE_BYTES 103 + addi r5,r5,4 104 + 105 + 2: srwi r0,r5,2 90 106 mtctr r0 91 107 bdz 6f 92 108 1: stwu r4,4(r6) ··· 122 94 bdnz 8b 123 95 blr 124 96 97 + /* 98 + * This version uses dcbz on the complete cache lines in the 99 + * destination area to reduce memory traffic. This requires that 100 + * the destination area is cacheable. 101 + * We only use this version if the source and dest don't overlap. 102 + * -- paulus. 103 + */ 125 104 _GLOBAL(memmove) 126 105 cmplw 0,r3,r4 127 106 bgt backwards_memcpy 128 107 /* fall through */ 129 108 130 109 _GLOBAL(memcpy) 110 + add r7,r3,r5 /* test if the src & dst overlap */ 111 + add r8,r4,r5 112 + cmplw 0,r4,r7 113 + cmplw 1,r3,r8 114 + crand 0,0,4 /* cr0.lt &= cr1.lt */ 115 + blt generic_memcpy /* if regions overlap */ 116 + 117 + addi r4,r4,-4 118 + addi r6,r3,-4 119 + neg r0,r3 120 + andi. r0,r0,CACHELINE_MASK /* # bytes to start of cache line */ 121 + beq 58f 122 + 123 + cmplw 0,r5,r0 /* is this more than total to do? */ 124 + blt 63f /* if not much to do */ 125 + andi. r8,r0,3 /* get it word-aligned first */ 126 + subf r5,r0,r5 127 + mtctr r8 128 + beq+ 61f 129 + 70: lbz r9,4(r4) /* do some bytes */ 130 + addi r4,r4,1 131 + addi r6,r6,1 132 + stb r9,3(r6) 133 + bdnz 70b 134 + 61: srwi. r0,r0,2 135 + mtctr r0 136 + beq 58f 137 + 72: lwzu r9,4(r4) /* do some words */ 138 + stwu r9,4(r6) 139 + bdnz 72b 140 + 141 + 58: srwi. r0,r5,LG_CACHELINE_BYTES /* # complete cachelines */ 142 + clrlwi r5,r5,32-LG_CACHELINE_BYTES 143 + li r11,4 144 + mtctr r0 145 + beq 63f 146 + 53: 147 + dcbz r11,r6 148 + COPY_16_BYTES 149 + #if L1_CACHE_BYTES >= 32 150 + COPY_16_BYTES 151 + #if L1_CACHE_BYTES >= 64 152 + COPY_16_BYTES 153 + COPY_16_BYTES 154 + #if L1_CACHE_BYTES >= 128 155 + COPY_16_BYTES 156 + COPY_16_BYTES 157 + COPY_16_BYTES 158 + COPY_16_BYTES 159 + #endif 160 + #endif 161 + #endif 162 + bdnz 53b 163 + 164 + 63: srwi. r0,r5,2 165 + mtctr r0 166 + beq 64f 167 + 30: lwzu r0,4(r4) 168 + stwu r0,4(r6) 169 + bdnz 30b 170 + 171 + 64: andi. r0,r5,3 172 + mtctr r0 173 + beq+ 65f 174 + addi r4,r4,3 175 + addi r6,r6,3 176 + 40: lbzu r0,1(r4) 177 + stbu r0,1(r6) 178 + bdnz 40b 179 + 65: blr 180 + 181 + _GLOBAL(generic_memcpy) 131 182 srwi. r7,r5,3 132 183 addi r6,r3,-4 133 184 addi r4,r4,-4
+1 -1
arch/powerpc/mm/fsl_booke_mmu.c
··· 112 112 113 113 tsize = __ilog2(size) - 10; 114 114 115 - #ifdef CONFIG_SMP 115 + #if defined(CONFIG_SMP) || defined(CONFIG_PPC_E500MC) 116 116 if ((flags & _PAGE_NO_CACHE) == 0) 117 117 flags |= _PAGE_COHERENT; 118 118 #endif
+7 -7
arch/powerpc/mm/mem.c
··· 414 414 return; 415 415 } 416 416 #endif 417 - #ifdef CONFIG_BOOKE 418 - { 417 + #if defined(CONFIG_8xx) || defined(CONFIG_PPC64) 418 + /* On 8xx there is no need to kmap since highmem is not supported */ 419 + __flush_dcache_icache(page_address(page)); 420 + #else 421 + if (IS_ENABLED(CONFIG_BOOKE) || sizeof(phys_addr_t) > sizeof(void *)) { 419 422 void *start = kmap_atomic(page); 420 423 __flush_dcache_icache(start); 421 424 kunmap_atomic(start); 425 + } else { 426 + __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); 422 427 } 423 - #elif defined(CONFIG_8xx) || defined(CONFIG_PPC64) 424 - /* On 8xx there is no need to kmap since highmem is not supported */ 425 - __flush_dcache_icache(page_address(page)); 426 - #else 427 - __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); 428 428 #endif 429 429 } 430 430 EXPORT_SYMBOL(flush_dcache_icache_page);
-10
arch/powerpc/mm/pgtable_64.c
··· 149 149 #endif /* !CONFIG_PPC_MMU_NOHASH */ 150 150 } 151 151 152 - #ifdef CONFIG_PPC_BOOK3E_64 153 - /* 154 - * With hardware tablewalk, a sync is needed to ensure that 155 - * subsequent accesses see the PTE we just wrote. Unlike userspace 156 - * mappings, we can't tolerate spurious faults, so make sure 157 - * the new PTE will be seen the first time. 158 - */ 159 - mb(); 160 - #else 161 152 smp_wmb(); 162 - #endif 163 153 return 0; 164 154 } 165 155
+5 -5
arch/powerpc/mm/tlb_low_64e.S
··· 308 308 * 309 309 * MAS6:IND should be already set based on MAS4 310 310 */ 311 - 1: lbarx r15,0,r11 312 311 lhz r10,PACAPACAINDEX(r13) 313 - cmpdi r15,0 314 - cmpdi cr1,r15,1 /* set cr1.eq = 0 for non-recursive */ 315 312 addi r10,r10,1 313 + crclr cr1*4+eq /* set cr1.eq = 0 for non-recursive */ 314 + 1: lbarx r15,0,r11 315 + cmpdi r15,0 316 316 bne 2f 317 317 stbcx. r10,0,r11 318 318 bne 1b ··· 320 320 .subsection 1 321 321 2: cmpd cr1,r15,r10 /* recursive lock due to mcheck/crit/etc? */ 322 322 beq cr1,3b /* unlock will happen if cr1.eq = 0 */ 323 - lbz r15,0(r11) 323 + 10: lbz r15,0(r11) 324 324 cmpdi r15,0 325 - bne 2b 325 + bne 10b 326 326 b 1b 327 327 .previous 328 328
-4
arch/powerpc/platforms/85xx/c293pcie.c
··· 66 66 .probe = c293_pcie_probe, 67 67 .setup_arch = c293_pcie_setup_arch, 68 68 .init_IRQ = c293_pcie_pic_init, 69 - #ifdef CONFIG_PCI 70 - .pcibios_fixup_bus = fsl_pcibios_fixup_bus, 71 - .pcibios_fixup_phb = fsl_pcibios_fixup_phb, 72 - #endif 73 69 .get_irq = mpic_get_irq, 74 70 .restart = fsl_rstcr_restart, 75 71 .calibrate_decr = generic_calibrate_decr,
+2
arch/powerpc/platforms/85xx/corenet_generic.c
··· 153 153 "fsl,T1023RDB", 154 154 "fsl,T1024QDS", 155 155 "fsl,T1024RDB", 156 + "fsl,T1040D4RDB", 157 + "fsl,T1042D4RDB", 156 158 "fsl,T1040QDS", 157 159 "fsl,T1042QDS", 158 160 "fsl,T1040RDB",
+1 -1
arch/powerpc/sysdev/cpm_common.c
··· 147 147 spin_lock_irqsave(&cpm_muram_lock, flags); 148 148 cpm_muram_info.alignment = align; 149 149 start = rh_alloc(&cpm_muram_info, size, "commproc"); 150 - memset(cpm_muram_addr(start), 0, size); 150 + memset_io(cpm_muram_addr(start), 0, size); 151 151 spin_unlock_irqrestore(&cpm_muram_lock, flags); 152 152 153 153 return start;
+30 -13
drivers/memory/fsl_ifc.c
··· 62 62 return -ENODEV; 63 63 64 64 for (i = 0; i < fsl_ifc_ctrl_dev->banks; i++) { 65 - u32 cspr = in_be32(&fsl_ifc_ctrl_dev->regs->cspr_cs[i].cspr); 65 + u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->regs->cspr_cs[i].cspr); 66 66 if (cspr & CSPR_V && (cspr & CSPR_BA) == 67 67 convert_ifc_address(addr_base)) 68 68 return i; ··· 79 79 /* 80 80 * Clear all the common status and event registers 81 81 */ 82 - if (in_be32(&ifc->cm_evter_stat) & IFC_CM_EVTER_STAT_CSER) 83 - out_be32(&ifc->cm_evter_stat, IFC_CM_EVTER_STAT_CSER); 82 + if (ifc_in32(&ifc->cm_evter_stat) & IFC_CM_EVTER_STAT_CSER) 83 + ifc_out32(IFC_CM_EVTER_STAT_CSER, &ifc->cm_evter_stat); 84 84 85 85 /* enable all error and events */ 86 - out_be32(&ifc->cm_evter_en, IFC_CM_EVTER_EN_CSEREN); 86 + ifc_out32(IFC_CM_EVTER_EN_CSEREN, &ifc->cm_evter_en); 87 87 88 88 /* enable all error and event interrupts */ 89 - out_be32(&ifc->cm_evter_intr_en, IFC_CM_EVTER_INTR_EN_CSERIREN); 90 - out_be32(&ifc->cm_erattr0, 0x0); 91 - out_be32(&ifc->cm_erattr1, 0x0); 89 + ifc_out32(IFC_CM_EVTER_INTR_EN_CSERIREN, &ifc->cm_evter_intr_en); 90 + ifc_out32(0x0, &ifc->cm_erattr0); 91 + ifc_out32(0x0, &ifc->cm_erattr1); 92 92 93 93 return 0; 94 94 } ··· 127 127 128 128 spin_lock_irqsave(&nand_irq_lock, flags); 129 129 130 - stat = in_be32(&ifc->ifc_nand.nand_evter_stat); 130 + stat = ifc_in32(&ifc->ifc_nand.nand_evter_stat); 131 131 if (stat) { 132 - out_be32(&ifc->ifc_nand.nand_evter_stat, stat); 132 + ifc_out32(stat, &ifc->ifc_nand.nand_evter_stat); 133 133 ctrl->nand_stat = stat; 134 134 wake_up(&ctrl->nand_wait); 135 135 } ··· 161 161 irqreturn_t ret = IRQ_NONE; 162 162 163 163 /* read for chip select error */ 164 - cs_err = in_be32(&ifc->cm_evter_stat); 164 + cs_err = ifc_in32(&ifc->cm_evter_stat); 165 165 if (cs_err) { 166 166 dev_err(ctrl->dev, "transaction sent to IFC is not mapped to" 167 167 "any memory bank 0x%08X\n", cs_err); 168 168 /* clear the chip select error */ 169 - out_be32(&ifc->cm_evter_stat, IFC_CM_EVTER_STAT_CSER); 169 + ifc_out32(IFC_CM_EVTER_STAT_CSER, &ifc->cm_evter_stat); 170 170 171 171 /* read error attribute registers print the error information */ 172 - status = in_be32(&ifc->cm_erattr0); 173 - err_addr = in_be32(&ifc->cm_erattr1); 172 + status = ifc_in32(&ifc->cm_erattr0); 173 + err_addr = ifc_in32(&ifc->cm_erattr1); 174 174 175 175 if (status & IFC_CM_ERATTR0_ERTYP_READ) 176 176 dev_err(ctrl->dev, "Read transaction error" ··· 229 229 dev_err(&dev->dev, "failed to get memory region\n"); 230 230 ret = -ENODEV; 231 231 goto err; 232 + } 233 + 234 + version = ifc_in32(&fsl_ifc_ctrl_dev->regs->ifc_rev) & 235 + FSL_IFC_VERSION_MASK; 236 + banks = (version == FSL_IFC_VERSION_1_0_0) ? 4 : 8; 237 + dev_info(&dev->dev, "IFC version %d.%d, %d banks\n", 238 + version >> 24, (version >> 16) & 0xf, banks); 239 + 240 + fsl_ifc_ctrl_dev->version = version; 241 + fsl_ifc_ctrl_dev->banks = banks; 242 + 243 + if (of_property_read_bool(dev->dev.of_node, "little-endian")) { 244 + fsl_ifc_ctrl_dev->little_endian = true; 245 + dev_dbg(&dev->dev, "IFC REGISTERS are LITTLE endian\n"); 246 + } else { 247 + fsl_ifc_ctrl_dev->little_endian = false; 248 + dev_dbg(&dev->dev, "IFC REGISTERS are BIG endian\n"); 232 249 } 233 250 234 251 version = ioread32be(&fsl_ifc_ctrl_dev->regs->ifc_rev) &
+129 -127
drivers/mtd/nand/fsl_ifc_nand.c
··· 238 238 239 239 ifc_nand_ctrl->page = page_addr; 240 240 /* Program ROW0/COL0 */ 241 - iowrite32be(page_addr, &ifc->ifc_nand.row0); 242 - iowrite32be((oob ? IFC_NAND_COL_MS : 0) | column, &ifc->ifc_nand.col0); 241 + ifc_out32(page_addr, &ifc->ifc_nand.row0); 242 + ifc_out32((oob ? IFC_NAND_COL_MS : 0) | column, &ifc->ifc_nand.col0); 243 243 244 244 buf_num = page_addr & priv->bufnum_mask; 245 245 ··· 301 301 int i; 302 302 303 303 /* set the chip select for NAND Transaction */ 304 - iowrite32be(priv->bank << IFC_NAND_CSEL_SHIFT, 305 - &ifc->ifc_nand.nand_csel); 304 + ifc_out32(priv->bank << IFC_NAND_CSEL_SHIFT, 305 + &ifc->ifc_nand.nand_csel); 306 306 307 307 dev_vdbg(priv->dev, 308 308 "%s: fir0=%08x fcr0=%08x\n", 309 309 __func__, 310 - ioread32be(&ifc->ifc_nand.nand_fir0), 311 - ioread32be(&ifc->ifc_nand.nand_fcr0)); 310 + ifc_in32(&ifc->ifc_nand.nand_fir0), 311 + ifc_in32(&ifc->ifc_nand.nand_fcr0)); 312 312 313 313 ctrl->nand_stat = 0; 314 314 315 315 /* start read/write seq */ 316 - iowrite32be(IFC_NAND_SEQ_STRT_FIR_STRT, &ifc->ifc_nand.nandseq_strt); 316 + ifc_out32(IFC_NAND_SEQ_STRT_FIR_STRT, &ifc->ifc_nand.nandseq_strt); 317 317 318 318 /* wait for command complete flag or timeout */ 319 319 wait_event_timeout(ctrl->nand_wait, ctrl->nand_stat, ··· 336 336 int sector_end = sector + chip->ecc.steps - 1; 337 337 338 338 for (i = sector / 4; i <= sector_end / 4; i++) 339 - eccstat[i] = ioread32be(&ifc->ifc_nand.nand_eccstat[i]); 339 + eccstat[i] = ifc_in32(&ifc->ifc_nand.nand_eccstat[i]); 340 340 341 341 for (i = sector; i <= sector_end; i++) { 342 342 errors = check_read_ecc(mtd, ctrl, eccstat, i); ··· 376 376 377 377 /* Program FIR/IFC_NAND_FCR0 for Small/Large page */ 378 378 if (mtd->writesize > 512) { 379 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 380 - (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 381 - (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 382 - (IFC_FIR_OP_CMD1 << IFC_NAND_FIR0_OP3_SHIFT) | 383 - (IFC_FIR_OP_RBCD << IFC_NAND_FIR0_OP4_SHIFT), 384 - &ifc->ifc_nand.nand_fir0); 385 - iowrite32be(0x0, &ifc->ifc_nand.nand_fir1); 379 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 380 + (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 381 + (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 382 + (IFC_FIR_OP_CMD1 << IFC_NAND_FIR0_OP3_SHIFT) | 383 + (IFC_FIR_OP_RBCD << IFC_NAND_FIR0_OP4_SHIFT), 384 + &ifc->ifc_nand.nand_fir0); 385 + ifc_out32(0x0, &ifc->ifc_nand.nand_fir1); 386 386 387 - iowrite32be((NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT) | 388 - (NAND_CMD_READSTART << IFC_NAND_FCR0_CMD1_SHIFT), 389 - &ifc->ifc_nand.nand_fcr0); 387 + ifc_out32((NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT) | 388 + (NAND_CMD_READSTART << IFC_NAND_FCR0_CMD1_SHIFT), 389 + &ifc->ifc_nand.nand_fcr0); 390 390 } else { 391 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 392 - (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 393 - (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 394 - (IFC_FIR_OP_RBCD << IFC_NAND_FIR0_OP3_SHIFT), 395 - &ifc->ifc_nand.nand_fir0); 396 - iowrite32be(0x0, &ifc->ifc_nand.nand_fir1); 391 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 392 + (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 393 + (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 394 + (IFC_FIR_OP_RBCD << IFC_NAND_FIR0_OP3_SHIFT), 395 + &ifc->ifc_nand.nand_fir0); 396 + ifc_out32(0x0, &ifc->ifc_nand.nand_fir1); 397 397 398 398 if (oob) 399 - iowrite32be(NAND_CMD_READOOB << 400 - IFC_NAND_FCR0_CMD0_SHIFT, 401 - &ifc->ifc_nand.nand_fcr0); 399 + ifc_out32(NAND_CMD_READOOB << 400 + IFC_NAND_FCR0_CMD0_SHIFT, 401 + &ifc->ifc_nand.nand_fcr0); 402 402 else 403 - iowrite32be(NAND_CMD_READ0 << 404 - IFC_NAND_FCR0_CMD0_SHIFT, 405 - &ifc->ifc_nand.nand_fcr0); 403 + ifc_out32(NAND_CMD_READ0 << 404 + IFC_NAND_FCR0_CMD0_SHIFT, 405 + &ifc->ifc_nand.nand_fcr0); 406 406 } 407 407 } 408 408 ··· 422 422 switch (command) { 423 423 /* READ0 read the entire buffer to use hardware ECC. */ 424 424 case NAND_CMD_READ0: 425 - iowrite32be(0, &ifc->ifc_nand.nand_fbcr); 425 + ifc_out32(0, &ifc->ifc_nand.nand_fbcr); 426 426 set_addr(mtd, 0, page_addr, 0); 427 427 428 428 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; ··· 437 437 438 438 /* READOOB reads only the OOB because no ECC is performed. */ 439 439 case NAND_CMD_READOOB: 440 - iowrite32be(mtd->oobsize - column, &ifc->ifc_nand.nand_fbcr); 440 + ifc_out32(mtd->oobsize - column, &ifc->ifc_nand.nand_fbcr); 441 441 set_addr(mtd, column, page_addr, 1); 442 442 443 443 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; ··· 453 453 if (command == NAND_CMD_PARAM) 454 454 timing = IFC_FIR_OP_RBCD; 455 455 456 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 457 - (IFC_FIR_OP_UA << IFC_NAND_FIR0_OP1_SHIFT) | 458 - (timing << IFC_NAND_FIR0_OP2_SHIFT), 459 - &ifc->ifc_nand.nand_fir0); 460 - iowrite32be(command << IFC_NAND_FCR0_CMD0_SHIFT, 461 - &ifc->ifc_nand.nand_fcr0); 462 - iowrite32be(column, &ifc->ifc_nand.row3); 456 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 457 + (IFC_FIR_OP_UA << IFC_NAND_FIR0_OP1_SHIFT) | 458 + (timing << IFC_NAND_FIR0_OP2_SHIFT), 459 + &ifc->ifc_nand.nand_fir0); 460 + ifc_out32(command << IFC_NAND_FCR0_CMD0_SHIFT, 461 + &ifc->ifc_nand.nand_fcr0); 462 + ifc_out32(column, &ifc->ifc_nand.row3); 463 463 464 464 /* 465 465 * although currently it's 8 bytes for READID, we always read 466 466 * the maximum 256 bytes(for PARAM) 467 467 */ 468 - iowrite32be(256, &ifc->ifc_nand.nand_fbcr); 468 + ifc_out32(256, &ifc->ifc_nand.nand_fbcr); 469 469 ifc_nand_ctrl->read_bytes = 256; 470 470 471 471 set_addr(mtd, 0, 0, 0); ··· 480 480 481 481 /* ERASE2 uses the block and page address from ERASE1 */ 482 482 case NAND_CMD_ERASE2: 483 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 484 - (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP1_SHIFT) | 485 - (IFC_FIR_OP_CMD1 << IFC_NAND_FIR0_OP2_SHIFT), 486 - &ifc->ifc_nand.nand_fir0); 483 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 484 + (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP1_SHIFT) | 485 + (IFC_FIR_OP_CMD1 << IFC_NAND_FIR0_OP2_SHIFT), 486 + &ifc->ifc_nand.nand_fir0); 487 487 488 - iowrite32be((NAND_CMD_ERASE1 << IFC_NAND_FCR0_CMD0_SHIFT) | 489 - (NAND_CMD_ERASE2 << IFC_NAND_FCR0_CMD1_SHIFT), 490 - &ifc->ifc_nand.nand_fcr0); 488 + ifc_out32((NAND_CMD_ERASE1 << IFC_NAND_FCR0_CMD0_SHIFT) | 489 + (NAND_CMD_ERASE2 << IFC_NAND_FCR0_CMD1_SHIFT), 490 + &ifc->ifc_nand.nand_fcr0); 491 491 492 - iowrite32be(0, &ifc->ifc_nand.nand_fbcr); 492 + ifc_out32(0, &ifc->ifc_nand.nand_fbcr); 493 493 ifc_nand_ctrl->read_bytes = 0; 494 494 fsl_ifc_run_command(mtd); 495 495 return; ··· 506 506 (NAND_CMD_STATUS << IFC_NAND_FCR0_CMD1_SHIFT) | 507 507 (NAND_CMD_PAGEPROG << IFC_NAND_FCR0_CMD2_SHIFT); 508 508 509 - iowrite32be( 510 - (IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 511 - (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 512 - (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 513 - (IFC_FIR_OP_WBCD << IFC_NAND_FIR0_OP3_SHIFT) | 514 - (IFC_FIR_OP_CMD2 << IFC_NAND_FIR0_OP4_SHIFT), 515 - &ifc->ifc_nand.nand_fir0); 516 - iowrite32be( 517 - (IFC_FIR_OP_CW1 << IFC_NAND_FIR1_OP5_SHIFT) | 518 - (IFC_FIR_OP_RDSTAT << 519 - IFC_NAND_FIR1_OP6_SHIFT) | 520 - (IFC_FIR_OP_NOP << IFC_NAND_FIR1_OP7_SHIFT), 521 - &ifc->ifc_nand.nand_fir1); 509 + ifc_out32( 510 + (IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 511 + (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP1_SHIFT) | 512 + (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP2_SHIFT) | 513 + (IFC_FIR_OP_WBCD << IFC_NAND_FIR0_OP3_SHIFT) | 514 + (IFC_FIR_OP_CMD2 << IFC_NAND_FIR0_OP4_SHIFT), 515 + &ifc->ifc_nand.nand_fir0); 516 + ifc_out32( 517 + (IFC_FIR_OP_CW1 << IFC_NAND_FIR1_OP5_SHIFT) | 518 + (IFC_FIR_OP_RDSTAT << IFC_NAND_FIR1_OP6_SHIFT) | 519 + (IFC_FIR_OP_NOP << IFC_NAND_FIR1_OP7_SHIFT), 520 + &ifc->ifc_nand.nand_fir1); 522 521 } else { 523 522 nand_fcr0 = ((NAND_CMD_PAGEPROG << 524 523 IFC_NAND_FCR0_CMD1_SHIFT) | ··· 526 527 (NAND_CMD_STATUS << 527 528 IFC_NAND_FCR0_CMD3_SHIFT)); 528 529 529 - iowrite32be( 530 + ifc_out32( 530 531 (IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 531 532 (IFC_FIR_OP_CMD2 << IFC_NAND_FIR0_OP1_SHIFT) | 532 533 (IFC_FIR_OP_CA0 << IFC_NAND_FIR0_OP2_SHIFT) | 533 534 (IFC_FIR_OP_RA0 << IFC_NAND_FIR0_OP3_SHIFT) | 534 535 (IFC_FIR_OP_WBCD << IFC_NAND_FIR0_OP4_SHIFT), 535 536 &ifc->ifc_nand.nand_fir0); 536 - iowrite32be( 537 - (IFC_FIR_OP_CMD1 << IFC_NAND_FIR1_OP5_SHIFT) | 538 - (IFC_FIR_OP_CW3 << IFC_NAND_FIR1_OP6_SHIFT) | 539 - (IFC_FIR_OP_RDSTAT << 540 - IFC_NAND_FIR1_OP7_SHIFT) | 541 - (IFC_FIR_OP_NOP << IFC_NAND_FIR1_OP8_SHIFT), 542 - &ifc->ifc_nand.nand_fir1); 537 + ifc_out32( 538 + (IFC_FIR_OP_CMD1 << IFC_NAND_FIR1_OP5_SHIFT) | 539 + (IFC_FIR_OP_CW3 << IFC_NAND_FIR1_OP6_SHIFT) | 540 + (IFC_FIR_OP_RDSTAT << IFC_NAND_FIR1_OP7_SHIFT) | 541 + (IFC_FIR_OP_NOP << IFC_NAND_FIR1_OP8_SHIFT), 542 + &ifc->ifc_nand.nand_fir1); 543 543 544 544 if (column >= mtd->writesize) 545 545 nand_fcr0 |= ··· 553 555 column -= mtd->writesize; 554 556 ifc_nand_ctrl->oob = 1; 555 557 } 556 - iowrite32be(nand_fcr0, &ifc->ifc_nand.nand_fcr0); 558 + ifc_out32(nand_fcr0, &ifc->ifc_nand.nand_fcr0); 557 559 set_addr(mtd, column, page_addr, ifc_nand_ctrl->oob); 558 560 return; 559 561 } ··· 561 563 /* PAGEPROG reuses all of the setup from SEQIN and adds the length */ 562 564 case NAND_CMD_PAGEPROG: { 563 565 if (ifc_nand_ctrl->oob) { 564 - iowrite32be(ifc_nand_ctrl->index - 565 - ifc_nand_ctrl->column, 566 - &ifc->ifc_nand.nand_fbcr); 566 + ifc_out32(ifc_nand_ctrl->index - 567 + ifc_nand_ctrl->column, 568 + &ifc->ifc_nand.nand_fbcr); 567 569 } else { 568 - iowrite32be(0, &ifc->ifc_nand.nand_fbcr); 570 + ifc_out32(0, &ifc->ifc_nand.nand_fbcr); 569 571 } 570 572 571 573 fsl_ifc_run_command(mtd); 572 574 return; 573 575 } 574 576 575 - case NAND_CMD_STATUS: 576 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 577 - (IFC_FIR_OP_RB << IFC_NAND_FIR0_OP1_SHIFT), 578 - &ifc->ifc_nand.nand_fir0); 579 - iowrite32be(NAND_CMD_STATUS << IFC_NAND_FCR0_CMD0_SHIFT, 580 - &ifc->ifc_nand.nand_fcr0); 581 - iowrite32be(1, &ifc->ifc_nand.nand_fbcr); 577 + case NAND_CMD_STATUS: { 578 + void __iomem *addr; 579 + 580 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 581 + (IFC_FIR_OP_RB << IFC_NAND_FIR0_OP1_SHIFT), 582 + &ifc->ifc_nand.nand_fir0); 583 + ifc_out32(NAND_CMD_STATUS << IFC_NAND_FCR0_CMD0_SHIFT, 584 + &ifc->ifc_nand.nand_fcr0); 585 + ifc_out32(1, &ifc->ifc_nand.nand_fbcr); 582 586 set_addr(mtd, 0, 0, 0); 583 587 ifc_nand_ctrl->read_bytes = 1; 584 588 ··· 590 590 * The chip always seems to report that it is 591 591 * write-protected, even when it is not. 592 592 */ 593 + addr = ifc_nand_ctrl->addr; 593 594 if (chip->options & NAND_BUSWIDTH_16) 594 - setbits16(ifc_nand_ctrl->addr, NAND_STATUS_WP); 595 + ifc_out16(ifc_in16(addr) | (NAND_STATUS_WP), addr); 595 596 else 596 - setbits8(ifc_nand_ctrl->addr, NAND_STATUS_WP); 597 + ifc_out8(ifc_in8(addr) | (NAND_STATUS_WP), addr); 597 598 return; 599 + } 598 600 599 601 case NAND_CMD_RESET: 600 - iowrite32be(IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT, 601 - &ifc->ifc_nand.nand_fir0); 602 - iowrite32be(NAND_CMD_RESET << IFC_NAND_FCR0_CMD0_SHIFT, 603 - &ifc->ifc_nand.nand_fcr0); 602 + ifc_out32(IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT, 603 + &ifc->ifc_nand.nand_fir0); 604 + ifc_out32(NAND_CMD_RESET << IFC_NAND_FCR0_CMD0_SHIFT, 605 + &ifc->ifc_nand.nand_fcr0); 604 606 fsl_ifc_run_command(mtd); 605 607 return; 606 608 ··· 660 658 */ 661 659 if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { 662 660 offset = ifc_nand_ctrl->index++; 663 - return in_8(ifc_nand_ctrl->addr + offset); 661 + return ifc_in8(ifc_nand_ctrl->addr + offset); 664 662 } 665 663 666 664 dev_err(priv->dev, "%s: beyond end of buffer\n", __func__); ··· 682 680 * next byte. 683 681 */ 684 682 if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { 685 - data = in_be16(ifc_nand_ctrl->addr + ifc_nand_ctrl->index); 683 + data = ifc_in16(ifc_nand_ctrl->addr + ifc_nand_ctrl->index); 686 684 ifc_nand_ctrl->index += 2; 687 685 return (uint8_t) data; 688 686 } ··· 728 726 u32 nand_fsr; 729 727 730 728 /* Use READ_STATUS command, but wait for the device to be ready */ 731 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 732 - (IFC_FIR_OP_RDSTAT << IFC_NAND_FIR0_OP1_SHIFT), 733 - &ifc->ifc_nand.nand_fir0); 734 - iowrite32be(NAND_CMD_STATUS << IFC_NAND_FCR0_CMD0_SHIFT, 735 - &ifc->ifc_nand.nand_fcr0); 736 - iowrite32be(1, &ifc->ifc_nand.nand_fbcr); 729 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 730 + (IFC_FIR_OP_RDSTAT << IFC_NAND_FIR0_OP1_SHIFT), 731 + &ifc->ifc_nand.nand_fir0); 732 + ifc_out32(NAND_CMD_STATUS << IFC_NAND_FCR0_CMD0_SHIFT, 733 + &ifc->ifc_nand.nand_fcr0); 734 + ifc_out32(1, &ifc->ifc_nand.nand_fbcr); 737 735 set_addr(mtd, 0, 0, 0); 738 736 ifc_nand_ctrl->read_bytes = 1; 739 737 740 738 fsl_ifc_run_command(mtd); 741 739 742 - nand_fsr = ioread32be(&ifc->ifc_nand.nand_fsr); 740 + nand_fsr = ifc_in32(&ifc->ifc_nand.nand_fsr); 743 741 744 742 /* 745 743 * The chip always seems to report that it is ··· 831 829 uint32_t cs = priv->bank; 832 830 833 831 /* Save CSOR and CSOR_ext */ 834 - csor = ioread32be(&ifc->csor_cs[cs].csor); 835 - csor_ext = ioread32be(&ifc->csor_cs[cs].csor_ext); 832 + csor = ifc_in32(&ifc->csor_cs[cs].csor); 833 + csor_ext = ifc_in32(&ifc->csor_cs[cs].csor_ext); 836 834 837 835 /* chage PageSize 8K and SpareSize 1K*/ 838 836 csor_8k = (csor & ~(CSOR_NAND_PGS_MASK)) | 0x0018C000; 839 - iowrite32be(csor_8k, &ifc->csor_cs[cs].csor); 840 - iowrite32be(0x0000400, &ifc->csor_cs[cs].csor_ext); 837 + ifc_out32(csor_8k, &ifc->csor_cs[cs].csor); 838 + ifc_out32(0x0000400, &ifc->csor_cs[cs].csor_ext); 841 839 842 840 /* READID */ 843 - iowrite32be((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 844 - (IFC_FIR_OP_UA << IFC_NAND_FIR0_OP1_SHIFT) | 845 - (IFC_FIR_OP_RB << IFC_NAND_FIR0_OP2_SHIFT), 846 - &ifc->ifc_nand.nand_fir0); 847 - iowrite32be(NAND_CMD_READID << IFC_NAND_FCR0_CMD0_SHIFT, 848 - &ifc->ifc_nand.nand_fcr0); 849 - iowrite32be(0x0, &ifc->ifc_nand.row3); 841 + ifc_out32((IFC_FIR_OP_CW0 << IFC_NAND_FIR0_OP0_SHIFT) | 842 + (IFC_FIR_OP_UA << IFC_NAND_FIR0_OP1_SHIFT) | 843 + (IFC_FIR_OP_RB << IFC_NAND_FIR0_OP2_SHIFT), 844 + &ifc->ifc_nand.nand_fir0); 845 + ifc_out32(NAND_CMD_READID << IFC_NAND_FCR0_CMD0_SHIFT, 846 + &ifc->ifc_nand.nand_fcr0); 847 + ifc_out32(0x0, &ifc->ifc_nand.row3); 850 848 851 - iowrite32be(0x0, &ifc->ifc_nand.nand_fbcr); 849 + ifc_out32(0x0, &ifc->ifc_nand.nand_fbcr); 852 850 853 851 /* Program ROW0/COL0 */ 854 - iowrite32be(0x0, &ifc->ifc_nand.row0); 855 - iowrite32be(0x0, &ifc->ifc_nand.col0); 852 + ifc_out32(0x0, &ifc->ifc_nand.row0); 853 + ifc_out32(0x0, &ifc->ifc_nand.col0); 856 854 857 855 /* set the chip select for NAND Transaction */ 858 - iowrite32be(cs << IFC_NAND_CSEL_SHIFT, &ifc->ifc_nand.nand_csel); 856 + ifc_out32(cs << IFC_NAND_CSEL_SHIFT, &ifc->ifc_nand.nand_csel); 859 857 860 858 /* start read seq */ 861 - iowrite32be(IFC_NAND_SEQ_STRT_FIR_STRT, &ifc->ifc_nand.nandseq_strt); 859 + ifc_out32(IFC_NAND_SEQ_STRT_FIR_STRT, &ifc->ifc_nand.nandseq_strt); 862 860 863 861 /* wait for command complete flag or timeout */ 864 862 wait_event_timeout(ctrl->nand_wait, ctrl->nand_stat, ··· 868 866 printk(KERN_ERR "fsl-ifc: Failed to Initialise SRAM\n"); 869 867 870 868 /* Restore CSOR and CSOR_ext */ 871 - iowrite32be(csor, &ifc->csor_cs[cs].csor); 872 - iowrite32be(csor_ext, &ifc->csor_cs[cs].csor_ext); 869 + ifc_out32(csor, &ifc->csor_cs[cs].csor); 870 + ifc_out32(csor_ext, &ifc->csor_cs[cs].csor_ext); 873 871 } 874 872 875 873 static int fsl_ifc_chip_init(struct fsl_ifc_mtd *priv) ··· 886 884 887 885 /* fill in nand_chip structure */ 888 886 /* set up function call table */ 889 - if ((ioread32be(&ifc->cspr_cs[priv->bank].cspr)) & CSPR_PORT_SIZE_16) 887 + if ((ifc_in32(&ifc->cspr_cs[priv->bank].cspr)) & CSPR_PORT_SIZE_16) 890 888 chip->read_byte = fsl_ifc_read_byte16; 891 889 else 892 890 chip->read_byte = fsl_ifc_read_byte; ··· 900 898 chip->bbt_td = &bbt_main_descr; 901 899 chip->bbt_md = &bbt_mirror_descr; 902 900 903 - iowrite32be(0x0, &ifc->ifc_nand.ncfgr); 901 + ifc_out32(0x0, &ifc->ifc_nand.ncfgr); 904 902 905 903 /* set up nand options */ 906 904 chip->bbt_options = NAND_BBT_USE_FLASH; 907 905 chip->options = NAND_NO_SUBPAGE_WRITE; 908 906 909 - if (ioread32be(&ifc->cspr_cs[priv->bank].cspr) & CSPR_PORT_SIZE_16) { 907 + if (ifc_in32(&ifc->cspr_cs[priv->bank].cspr) & CSPR_PORT_SIZE_16) { 910 908 chip->read_byte = fsl_ifc_read_byte16; 911 909 chip->options |= NAND_BUSWIDTH_16; 912 910 } else { ··· 919 917 chip->ecc.read_page = fsl_ifc_read_page; 920 918 chip->ecc.write_page = fsl_ifc_write_page; 921 919 922 - csor = ioread32be(&ifc->csor_cs[priv->bank].csor); 920 + csor = ifc_in32(&ifc->csor_cs[priv->bank].csor); 923 921 924 922 /* Hardware generates ECC per 512 Bytes */ 925 923 chip->ecc.size = 512; ··· 1008 1006 static int match_bank(struct fsl_ifc_regs __iomem *ifc, int bank, 1009 1007 phys_addr_t addr) 1010 1008 { 1011 - u32 cspr = ioread32be(&ifc->cspr_cs[bank].cspr); 1009 + u32 cspr = ifc_in32(&ifc->cspr_cs[bank].cspr); 1012 1010 1013 1011 if (!(cspr & CSPR_V)) 1014 1012 return 0; ··· 1094 1092 1095 1093 dev_set_drvdata(priv->dev, priv); 1096 1094 1097 - iowrite32be(IFC_NAND_EVTER_EN_OPC_EN | 1098 - IFC_NAND_EVTER_EN_FTOER_EN | 1099 - IFC_NAND_EVTER_EN_WPER_EN, 1100 - &ifc->ifc_nand.nand_evter_en); 1095 + ifc_out32(IFC_NAND_EVTER_EN_OPC_EN | 1096 + IFC_NAND_EVTER_EN_FTOER_EN | 1097 + IFC_NAND_EVTER_EN_WPER_EN, 1098 + &ifc->ifc_nand.nand_evter_en); 1101 1099 1102 1100 /* enable NAND Machine Interrupts */ 1103 - iowrite32be(IFC_NAND_EVTER_INTR_OPCIR_EN | 1104 - IFC_NAND_EVTER_INTR_FTOERIR_EN | 1105 - IFC_NAND_EVTER_INTR_WPERIR_EN, 1106 - &ifc->ifc_nand.nand_evter_intr_en); 1101 + ifc_out32(IFC_NAND_EVTER_INTR_OPCIR_EN | 1102 + IFC_NAND_EVTER_INTR_FTOERIR_EN | 1103 + IFC_NAND_EVTER_INTR_WPERIR_EN, 1104 + &ifc->ifc_nand.nand_evter_intr_en); 1107 1105 priv->mtd.name = kasprintf(GFP_KERNEL, "%llx.flash", (u64)res.start); 1108 1106 if (!priv->mtd.name) { 1109 1107 ret = -ENOMEM;
+50
include/linux/fsl_ifc.h
··· 841 841 842 842 u32 nand_stat; 843 843 wait_queue_head_t nand_wait; 844 + bool little_endian; 844 845 }; 845 846 846 847 extern struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev; 847 848 849 + static inline u32 ifc_in32(void __iomem *addr) 850 + { 851 + u32 val; 852 + 853 + if (fsl_ifc_ctrl_dev->little_endian) 854 + val = ioread32(addr); 855 + else 856 + val = ioread32be(addr); 857 + 858 + return val; 859 + } 860 + 861 + static inline u16 ifc_in16(void __iomem *addr) 862 + { 863 + u16 val; 864 + 865 + if (fsl_ifc_ctrl_dev->little_endian) 866 + val = ioread16(addr); 867 + else 868 + val = ioread16be(addr); 869 + 870 + return val; 871 + } 872 + 873 + static inline u8 ifc_in8(void __iomem *addr) 874 + { 875 + return ioread8(addr); 876 + } 877 + 878 + static inline void ifc_out32(u32 val, void __iomem *addr) 879 + { 880 + if (fsl_ifc_ctrl_dev->little_endian) 881 + iowrite32(val, addr); 882 + else 883 + iowrite32be(val, addr); 884 + } 885 + 886 + static inline void ifc_out16(u16 val, void __iomem *addr) 887 + { 888 + if (fsl_ifc_ctrl_dev->little_endian) 889 + iowrite16(val, addr); 890 + else 891 + iowrite16be(val, addr); 892 + } 893 + 894 + static inline void ifc_out8(u8 val, void __iomem *addr) 895 + { 896 + iowrite8(val, addr); 897 + } 848 898 849 899 #endif /* __ASM_FSL_IFC_H */