diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Makefile | 36 | ||||
-rw-r--r-- | arch/arm/tools/Makefile | 2 | ||||
-rw-r--r-- | arch/kvx/Makefile | 12 | ||||
-rw-r--r-- | arch/mips/Makefile | 41 | ||||
-rw-r--r-- | arch/mips/boards/loongson-ls1b/include/board/debug_ll.h | 22 | ||||
-rw-r--r-- | arch/mips/boards/netgear-wg102/include/board/debug_ll.h | 21 | ||||
-rw-r--r-- | arch/mips/boards/qemu-malta/include/board/debug_ll.h | 18 | ||||
-rw-r--r-- | arch/mips/pbl/Makefile | 2 | ||||
-rw-r--r-- | arch/nios2/Makefile | 2 | ||||
-rw-r--r-- | arch/openrisc/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/Kbuild | 2 | ||||
-rw-r--r-- | arch/powerpc/Kconfig (renamed from arch/ppc/Kconfig) | 4 | ||||
-rw-r--r-- | arch/powerpc/Makefile (renamed from arch/ppc/Makefile) | 39 | ||||
-rw-r--r-- | arch/powerpc/boards/.gitignore (renamed from arch/ppc/boards/.gitignore) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/Makefile (renamed from arch/ppc/boards/freescale-p1010rdb/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/config.h (renamed from arch/ppc/boards/freescale-p1010rdb/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/ddr.c (renamed from arch/ppc/boards/freescale-p1010rdb/ddr.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init (renamed from arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config (renamed from arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/law.c (renamed from arch/ppc/boards/freescale-p1010rdb/law.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/p1010rdb.c (renamed from arch/ppc/boards/freescale-p1010rdb/p1010rdb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/p1010rdb.h (renamed from arch/ppc/boards/freescale-p1010rdb/p1010rdb.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1010rdb/tlb.c (renamed from arch/ppc/boards/freescale-p1010rdb/tlb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/Makefile (renamed from arch/ppc/boards/freescale-p1022ds/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/config.h (renamed from arch/ppc/boards/freescale-p1022ds/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/ddr.c (renamed from arch/ppc/boards/freescale-p1022ds/ddr.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init (renamed from arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config (renamed from arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/ics307_clk.c (renamed from arch/ppc/boards/freescale-p1022ds/ics307_clk.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/law.c (renamed from arch/ppc/boards/freescale-p1022ds/law.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/p1022ds.c (renamed from arch/ppc/boards/freescale-p1022ds/p1022ds.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/p1022ds.h (renamed from arch/ppc/boards/freescale-p1022ds/p1022ds.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p1022ds/tlb.c (renamed from arch/ppc/boards/freescale-p1022ds/tlb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/Makefile (renamed from arch/ppc/boards/freescale-p2020rdb/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/config.h (renamed from arch/ppc/boards/freescale-p2020rdb/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init (renamed from arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config (renamed from arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/law.c (renamed from arch/ppc/boards/freescale-p2020rdb/law.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c (renamed from arch/ppc/boards/freescale-p2020rdb/p2020rdb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/freescale-p2020rdb/tlb.c (renamed from arch/ppc/boards/freescale-p2020rdb/tlb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/Makefile (renamed from arch/ppc/boards/owc-da923rc/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/config.h (renamed from arch/ppc/boards/owc-da923rc/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/da923rc.c (renamed from arch/ppc/boards/owc-da923rc/da923rc.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/ddr.c (renamed from arch/ppc/boards/owc-da923rc/ddr.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/config (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/config) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/law.c (renamed from arch/ppc/boards/owc-da923rc/law.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/nand.c (renamed from arch/ppc/boards/owc-da923rc/nand.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/product_data.c (renamed from arch/ppc/boards/owc-da923rc/product_data.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/product_data.h (renamed from arch/ppc/boards/owc-da923rc/product_data.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/owc-da923rc/tlb.c (renamed from arch/ppc/boards/owc-da923rc/tlb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/Makefile (renamed from arch/ppc/boards/pcm030/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/barebox.lds.S (renamed from arch/ppc/boards/pcm030/barebox.lds.S) | 2 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/config.h (renamed from arch/ppc/boards/pcm030/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/eeprom.c (renamed from arch/ppc/boards/pcm030/eeprom.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/env/init/mtdparts-nor (renamed from arch/ppc/boards/pcm030/env/init/mtdparts-nor) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/env/nv/linux.bootargs.console (renamed from arch/ppc/boards/pcm030/env/nv/linux.bootargs.console) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/mt46v32m16-75.h (renamed from arch/ppc/boards/pcm030/mt46v32m16-75.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/boards/pcm030/pcm030.c (renamed from arch/ppc/boards/pcm030/pcm030.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/configs/owc_da923rc_defconfig (renamed from arch/ppc/configs/owc_da923rc_defconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/configs/p1010rdb_defconfig (renamed from arch/ppc/configs/p1010rdb_defconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/configs/p1022ds_defconfig (renamed from arch/ppc/configs/p1022ds_defconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/configs/p2020rdb_defconfig (renamed from arch/ppc/configs/p2020rdb_defconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/configs/pcm030_defconfig (renamed from arch/ppc/configs/pcm030_defconfig) | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/Makefile (renamed from arch/ppc/cpu-85xx/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/fixed_ivor.S (renamed from arch/ppc/cpu-85xx/fixed_ivor.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/mmu.c (renamed from arch/ppc/cpu-85xx/mmu.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/resetvec.S (renamed from arch/ppc/cpu-85xx/resetvec.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/start.S (renamed from arch/ppc/cpu-85xx/start.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/tlb.c (renamed from arch/ppc/cpu-85xx/tlb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/cpu-85xx/traps.c (renamed from arch/ppc/cpu-85xx/traps.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/Makefile (renamed from arch/ppc/ddr-8xxx/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/common_timing_params.h (renamed from arch/ppc/ddr-8xxx/common_timing_params.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/ctrl_regs.c (renamed from arch/ppc/ddr-8xxx/ctrl_regs.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/ddr.h (renamed from arch/ppc/ddr-8xxx/ddr.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/ddr2_dimm_params.c (renamed from arch/ppc/ddr-8xxx/ddr2_dimm_params.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/ddr3_dimm_params.c (renamed from arch/ppc/ddr-8xxx/ddr3_dimm_params.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/ddr_setctrl.c (renamed from arch/ppc/ddr-8xxx/ddr_setctrl.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/lc_common_dimm_params.c (renamed from arch/ppc/ddr-8xxx/lc_common_dimm_params.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/main.c (renamed from arch/ppc/ddr-8xxx/main.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/options.c (renamed from arch/ppc/ddr-8xxx/options.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/ddr-8xxx/util.c (renamed from arch/ppc/ddr-8xxx/util.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/atomic.h (renamed from arch/ppc/include/asm/atomic.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/bitops.h (renamed from arch/ppc/include/asm/bitops.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/bitsperlong.h (renamed from arch/ppc/include/asm/bitsperlong.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/byteorder.h (renamed from arch/ppc/include/asm/byteorder.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/cache.h (renamed from arch/ppc/include/asm/cache.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/common.h (renamed from arch/ppc/include/asm/common.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/config.h (renamed from arch/ppc/include/asm/config.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/dma.h (renamed from arch/ppc/include/asm/dma.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/elf.h (renamed from arch/ppc/include/asm/elf.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_dimm_params.h (renamed from arch/ppc/include/asm/fsl_ddr_dimm_params.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_sdram.h (renamed from arch/ppc/include/asm/fsl_ddr_sdram.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/fsl_ifc.h (renamed from arch/ppc/include/asm/fsl_ifc.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/fsl_law.h (renamed from arch/ppc/include/asm/fsl_law.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/fsl_lbc.h (renamed from arch/ppc/include/asm/fsl_lbc.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/io.h (renamed from arch/ppc/include/asm/io.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/mmu.h (renamed from arch/ppc/include/asm/mmu.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/module.h (renamed from arch/ppc/include/asm/module.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/pci_io.h (renamed from arch/ppc/include/asm/pci_io.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/posix_types.h (renamed from arch/ppc/include/asm/posix_types.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/ppc_asm.tmpl (renamed from arch/ppc/include/asm/ppc_asm.tmpl) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/ppc_defs.h (renamed from arch/ppc/include/asm/ppc_defs.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/processor.h (renamed from arch/ppc/include/asm/processor.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/ptrace.h (renamed from arch/ppc/include/asm/ptrace.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/sections.h (renamed from arch/ppc/include/asm/sections.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/sigcontext.h (renamed from arch/ppc/include/asm/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/signal.h (renamed from arch/ppc/include/asm/signal.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/status_led.h (renamed from arch/ppc/include/asm/status_led.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/string.h (renamed from arch/ppc/include/asm/string.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/swab.h (renamed from arch/ppc/include/asm/swab.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/types.h (renamed from arch/ppc/include/asm/types.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/include/asm/unaligned.h (renamed from arch/ppc/include/asm/unaligned.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/Makefile (renamed from arch/ppc/lib/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/asm-offsets.c (renamed from arch/ppc/lib/asm-offsets.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/bat_rw.c (renamed from arch/ppc/lib/bat_rw.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/board.c (renamed from arch/ppc/lib/board.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/crtsavres.S (renamed from arch/ppc/lib/crtsavres.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/extable.c (renamed from arch/ppc/lib/extable.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/kgdb.c (renamed from arch/ppc/lib/kgdb.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/misc.S (renamed from arch/ppc/lib/misc.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/module.c (renamed from arch/ppc/lib/module.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/ppclinux.c (renamed from arch/ppc/lib/ppclinux.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/ppcstring.S (renamed from arch/ppc/lib/ppcstring.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/reloc.S (renamed from arch/ppc/lib/reloc.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/ticks.S (renamed from arch/ppc/lib/ticks.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/Kconfig (renamed from arch/ppc/mach-mpc5xxx/Kconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/Makefile (renamed from arch/ppc/mach-mpc5xxx/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/cpu.c (renamed from arch/ppc/mach-mpc5xxx/cpu.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/cpu_init.c (renamed from arch/ppc/mach-mpc5xxx/cpu_init.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/firmware_sc_task.impl.S (renamed from arch/ppc/mach-mpc5xxx/firmware_sc_task.impl.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S (renamed from arch/ppc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/include/mach/clock.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/clock.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h) | 2 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/include/mach/sdma.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/sdma.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/io.S (renamed from arch/ppc/mach-mpc5xxx/io.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/loadtask.c (renamed from arch/ppc/mach-mpc5xxx/loadtask.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/pci_mpc5200.c (renamed from arch/ppc/mach-mpc5xxx/pci_mpc5200.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/reginfo.c (renamed from arch/ppc/mach-mpc5xxx/reginfo.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/speed.c (renamed from arch/ppc/mach-mpc5xxx/speed.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/start.S (renamed from arch/ppc/mach-mpc5xxx/start.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/time.c (renamed from arch/ppc/mach-mpc5xxx/time.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc5xxx/traps.c (renamed from arch/ppc/mach-mpc5xxx/traps.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/.gitignore (renamed from arch/ppc/mach-mpc85xx/.gitignore) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/Kconfig (renamed from arch/ppc/mach-mpc85xx/Kconfig) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/Makefile (renamed from arch/ppc/mach-mpc85xx/Makefile) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/barebox.lds.S (renamed from arch/ppc/mach-mpc85xx/barebox.lds.S) | 4 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/cpu.c (renamed from arch/ppc/mach-mpc85xx/cpu.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/cpu_init.c (renamed from arch/ppc/mach-mpc85xx/cpu_init.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/cpuid.c (renamed from arch/ppc/mach-mpc85xx/cpuid.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/eth-devices.c (renamed from arch/ppc/mach-mpc85xx/eth-devices.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/fdt.c (renamed from arch/ppc/mach-mpc85xx/fdt.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/fsl_gpio.c (renamed from arch/ppc/mach-mpc85xx/fsl_gpio.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/fsl_i2c.c (renamed from arch/ppc/mach-mpc85xx/fsl_i2c.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/fsl_law.c (renamed from arch/ppc/mach-mpc85xx/fsl_law.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/clock.h (renamed from arch/ppc/mach-mpc85xx/include/mach/clock.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/config_mpc85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/config_mpc85xx.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h (renamed from arch/ppc/mach-mpc85xx/include/mach/early_udelay.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/ffs64.h (renamed from arch/ppc/mach-mpc85xx/include/mach/ffs64.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/fsl_i2c.h (renamed from arch/ppc/mach-mpc85xx/include/mach/fsl_i2c.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/gianfar.h (renamed from arch/ppc/mach-mpc85xx/include/mach/gianfar.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/gpio.h (renamed from arch/ppc/mach-mpc85xx/include/mach/gpio.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/mmu.h (renamed from arch/ppc/mach-mpc85xx/include/mach/mmu.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/mpc85xx.h) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/speed.c (renamed from arch/ppc/mach-mpc85xx/speed.c) | 0 | ||||
-rw-r--r-- | arch/powerpc/mach-mpc85xx/time.c (renamed from arch/ppc/mach-mpc85xx/time.c) | 0 | ||||
-rw-r--r-- | arch/riscv/Makefile | 17 | ||||
-rw-r--r-- | arch/sandbox/Makefile | 12 | ||||
-rw-r--r-- | arch/sandbox/os/Makefile | 10 | ||||
-rw-r--r-- | arch/x86/Makefile | 34 | ||||
-rw-r--r-- | arch/x86/boot/Makefile | 2 |
173 files changed, 89 insertions, 199 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 29fd8e276c..6c7373c206 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -1,19 +1,19 @@ KBUILD_DEFCONFIG := qemu_virt64_defconfig -CPPFLAGS += -D__ARM__ -fno-strict-aliasing +KBUILD_CPPFLAGS += -D__ARM__ -fno-strict-aliasing # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: ifeq ($(CONFIG_CPU_V8),y) -CPPFLAGS +=$(call cc-option,-maarch64,) +KBUILD_CPPFLAGS +=$(call cc-option,-maarch64,) else -CPPFLAGS +=$(call cc-option,-marm,) +KBUILD_CPPFLAGS +=$(call cc-option,-marm,) endif ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) -CPPFLAGS += -mbig-endian +KBUILD_CPPFLAGS += -mbig-endian AS += -EB LD += -EB else -CPPFLAGS += -mlittle-endian +KBUILD_CPPFLAGS += -mlittle-endian AS += -EL LD += -EL endif @@ -23,14 +23,14 @@ endif # conservative and instruct the compiler not to generate any unaligned # accesses ifneq ($(CONFIG_CPU_V8),y) -CFLAGS += -mno-unaligned-access +KBUILD_CFLAGS += -mno-unaligned-access else -CFLAGS += -mstrict-align +KBUILD_CFLAGS += -mstrict-align endif # Prevent use of floating point and Advanced SIMD registers. ifeq ($(CONFIG_CPU_V8),y) -CFLAGS += -mgeneral-regs-only +KBUILD_CFLAGS += -mgeneral-regs-only endif # This selects which instruction set is used. @@ -70,12 +70,12 @@ AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb endif ifeq ($(CONFIG_CPU_V8), y) -CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -AFLAGS += -include asm/unified.h +KBUILD_CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) +KBUILD_AFLAGS += -include asm/unified.h export S64 = _64 else -CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float $(CFLAGS_THUMB2) -AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2) +KBUILD_CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float $(CFLAGS_THUMB2) +KBUILD_AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2) endif # Machine directory name. This list is sorted alphanumerically @@ -127,23 +127,19 @@ board-$(CONFIG_MACH_TINY6410) += friendlyarm-tiny6410 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) TEXT_BASE = $(CONFIG_TEXT_BASE) -CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) +KBUILD_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) # Add cleanup flags -CPPFLAGS += -fdata-sections -ffunction-sections +KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS_barebox += --gc-sections LDFLAGS_pbl += --gc-sections # early code often runs at addresses we are not linked at -CPPFLAGS += -fPIE +KBUILD_CPPFLAGS += -fPIE ifdef CONFIG_RELOCATABLE LDFLAGS_barebox += -pie diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile index 67ae9e701b..bff825e58a 100644 --- a/arch/arm/tools/Makefile +++ b/arch/arm/tools/Makefile @@ -7,4 +7,4 @@ include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types $(Q)$(kecho) ' Generating $@' $(Q)mkdir -p $(dir $@) - $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } + $(Q)$(AWK) -f $^ > $@ diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile index 81040f4e69..c97cff3456 100644 --- a/arch/kvx/Makefile +++ b/arch/kvx/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := generic_defconfig -CPPFLAGS += -fno-strict-aliasing +KBUILD_CPPFLAGS += -fno-strict-aliasing board-$(CONFIG_GENERIC) := generic @@ -13,12 +13,12 @@ endif DEFAULT_CFLAGS := -nostdlib -fno-builtin -fstrict-align -g DEFAULT_CFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE) -LIBGCC_PATH = $(dir $(shell $(CC) $(CFLAGS) --print-libgcc-file-name)) +LIBGCC_PATH = $(dir $(shell $(CC) $(KBUILD_CFLAGS) --print-libgcc-file-name)) -CFLAGS += $(DEFAULT_CFLAGS) -AFLAGS += $(DEFAULT_CFLAGS) +KBUILD_CFLAGS += $(DEFAULT_CFLAGS) +KBUILD_AFLAGS += $(DEFAULT_CFLAGS) -LDFLAGS += -m elf64kvx +KBUILD_LDFLAGS += -m elf64kvx archprepare: maketools @@ -30,7 +30,7 @@ common-$(CONFIG_OFTREE) += arch/kvx/dts/ lds-y += arch/kvx/cpu/barebox.lds -cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@ \ +cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \ -T $(BAREBOX_LDS) \ --start-group $(BAREBOX_OBJS) --end-group \ -L$(LIBGCC_PATH) -lgcc \ diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ee3364d27a..5604a0a10d 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -11,7 +11,7 @@ else 64bit-emul = elf64btsmip endif -CPPFLAGS += -D__MIPS__ -fno-strict-aliasing -fno-merge-constants +KBUILD_CPPFLAGS += -D__MIPS__ -fno-strict-aliasing -fno-merge-constants cflags-y += -G 0 -mno-abicalls -fno-pic -pipe cflags-y += -Wall -Wstrict-prototypes \ @@ -34,17 +34,17 @@ predef-le += -DMIPSEL -D_MIPSEL -D__MIPSEL -D__MIPSEL__ ifdef CONFIG_CPU_BIG_ENDIAN cflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB $(undef-all) $(predef-be)) -ldflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB ) +mips-ldflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB ) endif ifdef CONFIG_CPU_LITTLE_ENDIAN cflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL $(undef-all) $(predef-le)) -ldflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL ) +mips-ldflags-y += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL ) endif -LDFLAGS += $(ldflags-y) -m $(ld-emul) -LDFLAGS_barebox += $(ldflags-y) -LDFLAGS_pbl += $(ldflags-y) +KBUILD_LDFLAGS += $(mips-ldflags-y) -m $(ld-emul) +LDFLAGS_barebox += $(mips-ldflags-y) +LDFLAGS_pbl += $(mips-ldflags-y) # # CPU-dependent compiler/assembler options for optimization. @@ -55,11 +55,11 @@ cflags-$(CONFIG_CPU_MIPS64_R1) += $(call cc-option,-march=mips64,-mips64 -U_MIPS cflags-$(CONFIG_CPU_MIPS64_R2) += $(call cc-option,-march=mips64r2,-mips64r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) -Wa,-mips64r2 -Wa,--trap cflags-$(CONFIG_CPU_GS232) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) -Wa,-mips32r2 -Wa,--trap -CPPFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE) +KBUILD_CPPFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE) ifndef CONFIG_MODULES # Add cleanup flags -CPPFLAGS += -fdata-sections -ffunction-sections +KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS_barebox += -static --gc-sections --emit-relocs endif @@ -82,22 +82,7 @@ machine-$(CONFIG_MACH_MIPS_LOONGSON) := loongson machine-$(CONFIG_MACH_MIPS_XBURST) := xburst machdirs := $(patsubst %,arch/mips/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif - -ifeq ($(incdir-y),) -incdir-y := $(machine-y) -endif -INCDIR := arch-$(incdir-y) - -ifeq ($(KBUILD_SRC),) -CPPFLAGS += -I$(BOARD)/include -else -CPPFLAGS += -I$(srctree)/$(BOARD)/include -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) ifneq ($(machine-y),) MACH := arch/mips/mach-$(machine-y)/ @@ -105,19 +90,17 @@ else MACH := endif -common-y += $(BOARD) - common-y += $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/ common-y += arch/mips/boards/ -CPPFLAGS += $(cflags-y) -CFLAGS += $(cflags-y) +KBUILD_CPPFLAGS += $(cflags-y) +KBUILD_CFLAGS += $(cflags-y) lds-$(CONFIG_GENERIC_LINKER_SCRIPT) := arch/mips/lib/barebox.lds -cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@ \ +cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \ -T $(BAREBOX_LDS) \ --start-group $(BAREBOX_OBJS) --end-group \ $(filter-out $(BAREBOX_LDS) $(BAREBOX_OBJS) FORCE ,$^); \ diff --git a/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h b/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h deleted file mode 100644 index 05420f73a1..0000000000 --- a/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com> - */ - -/** @file - * This File contains declaration for early output support - */ -#ifndef __LOONGSON_TECH_LS1B_DEBUG_LL_H__ -#define __LOONGSON_TECH_LS1B_DEBUG_LL_H__ - -#include <asm/addrspace.h> -#include <mach/loongson1.h> - -#define DEBUG_LL_UART_ADDR KSEG1ADDR(LS1X_UART2_BASE) -#define DEBUG_LL_UART_SHIFT 0 - -#define DEBUG_LL_UART_CLK (83000000 / 16) -#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE -#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS) - -#endif /* __LOONGSON_TECH_LS1B_DEBUG_LL_H__ */ diff --git a/arch/mips/boards/netgear-wg102/include/board/debug_ll.h b/arch/mips/boards/netgear-wg102/include/board/debug_ll.h deleted file mode 100644 index cc3b1d74b0..0000000000 --- a/arch/mips/boards/netgear-wg102/include/board/debug_ll.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2013 Oleksij Rempel <linux@rempel-privat.de> - */ - -/** @file - * This File contains declaration for early output support - */ -#ifndef __NETGEAR_WG102_DEBUG_LL_H__ -#define __NETGEAR_WG102_DEBUG_LL_H__ - -#include <mach/ar2312_regs.h> - -#define DEBUG_LL_UART_ADDR KSEG1ADDR(AR2312_UART0) -#define DEBUG_LL_UART_SHIFT AR2312_UART_SHIFT - -#define DEBUG_LL_UART_CLK (45000000 / 16) -#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE -#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS) - -#endif /* __NETGEAR_WG102_DEBUG_LL_H__ */ diff --git a/arch/mips/boards/qemu-malta/include/board/debug_ll.h b/arch/mips/boards/qemu-malta/include/board/debug_ll.h deleted file mode 100644 index 5b112b8ae2..0000000000 --- a/arch/mips/boards/qemu-malta/include/board/debug_ll.h +++ /dev/null @@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> - */ - -#ifndef __INCLUDE_BOARD_DEBUG_LL_QEMU_MALTA_H__ -#define __INCLUDE_BOARD_DEBUG_LL_QEMU_MALTA_H__ - -#include <mach/hardware.h> - -#define DEBUG_LL_UART_ADDR MALTA_PIIX4_UART0 -#define DEBUG_LL_UART_SHIFT 0 - -#define DEBUG_LL_UART_CLK 1843200 -#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE -#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS) - -#endif /* __INCLUDE_BOARD_DEBUG_LL_QEMU_MALTA_H__ */ diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile index 8f9e9fe593..535bb4bf55 100644 --- a/arch/mips/pbl/Makefile +++ b/arch/mips/pbl/Makefile @@ -29,7 +29,7 @@ zbarebox-common := $(BAREBOX_PBL_OBJS) $(obj)/$(piggy_o) zbarebox-lds := $(obj)/zbarebox.lds quiet_cmd_zbarebox__ ?= LD $@ - cmd_zbarebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_zbarebox) -o $@ \ + cmd_zbarebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_zbarebox) -o $@ \ -T $(zbarebox-lds) \ --start-group $(zbarebox-common) --end-group \ $(filter-out $(zbarebox-lds) $(zbarebox-common) FORCE ,$^) diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 0dff0bed35..ef283f4143 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := generic_defconfig -CPPFLAGS += -fno-strict-aliasing -mno-hw-mul +KBUILD_CPPFLAGS += -fno-strict-aliasing -mno-hw-mul board-$(CONFIG_GENERIC) := generic diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile index 5394afb7f0..72d7fa3d53 100644 --- a/arch/openrisc/Makefile +++ b/arch/openrisc/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := generic_defconfig -CPPFLAGS += -D__OR1K__ -ffixed-r10 -mhard-mul -mhard-div +KBUILD_CPPFLAGS += -D__OR1K__ -ffixed-r10 -mhard-mul -mhard-div board-$(CONFIG_GENERIC) := generic diff --git a/arch/powerpc/Kbuild b/arch/powerpc/Kbuild new file mode 100644 index 0000000000..503ce631c0 --- /dev/null +++ b/arch/powerpc/Kbuild @@ -0,0 +1,2 @@ +obj-$(CONFIG_ARCH_MPC85XX) += cpu-85xx/ +obj-y += lib/ diff --git a/arch/ppc/Kconfig b/arch/powerpc/Kconfig index 798f342fa4..90ec7b1702 100644 --- a/arch/ppc/Kconfig +++ b/arch/powerpc/Kconfig @@ -18,5 +18,5 @@ config ARCH_MPC85XX bool "Freescale MPC85xx" endchoice -source "arch/ppc/mach-mpc5xxx/Kconfig" -source "arch/ppc/mach-mpc85xx/Kconfig" +source "arch/powerpc/mach-mpc5xxx/Kconfig" +source "arch/powerpc/mach-mpc85xx/Kconfig" diff --git a/arch/ppc/Makefile b/arch/powerpc/Makefile index 8b0c0b4758..aa76260496 100644 --- a/arch/ppc/Makefile +++ b/arch/powerpc/Makefile @@ -1,18 +1,18 @@ KBUILD_DEFCONFIG := p2020rdb_defconfig -CPPFLAGS += -ffixed-r14 -m32 \ - -meabi -D __PPC__ -D CONFIG_PPC \ +KBUILD_CPPFLAGS += -ffixed-r14 -m32 \ + -meabi -D __PPC__ \ -fno-strict-aliasing -CPPFLAGS += $(call cc-option,-mno-spe) -CPPFLAGS += $(call cc-option,-mspe=no) +KBUILD_CPPFLAGS += $(call cc-option,-mno-spe) +KBUILD_CPPFLAGS += $(call cc-option,-mspe=no) ifdef CONFIG_RELOCATABLE -CPPFLAGS += -fPIC -mrelocatable +KBUILD_CPPFLAGS += -fPIC -mrelocatable endif ifdef CONFIG_MPC85xx -CPPFLAGS += -Wa,-me500x2 -msoft-float -mno-string +KBUILD_CPPFLAGS += -Wa,-me500x2 -msoft-float -mno-string endif board-$(CONFIG_MACH_PHYCORE_MPC5200B_TINY) := pcm030 @@ -24,25 +24,19 @@ board-$(CONFIG_DA923RC) := owc-da923rc machine-$(CONFIG_ARCH_MPC5200) := mpc5xxx machine-$(CONFIG_ARCH_MPC85XX) := mpc85xx -cpu-$(CONFIG_ARCH_MPC85XX) := 85xx - TEXT_BASE = $(CONFIG_TEXT_BASE) -CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) +KBUILD_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) # Add cleanup flags ifndef CONFIG_MODULES -CPPFLAGS += -fdata-sections -ffunction-sections +KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS_barebox += --gc-sections endif -machdirs := $(patsubst %,arch/ppc/mach-%/,$(machine-y)) +machdirs := $(patsubst %,arch/powerpc/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) archprepare: maketools @@ -50,25 +44,18 @@ PHONY += maketools ifneq ($(board-y),) -BOARD := arch/ppc/boards/$(board-y)/ +BOARD := arch/powerpc/boards/$(board-y)/ else BOARD := endif ifneq ($(machine-y),) -MACH := arch/ppc/mach-$(machine-y)/ +MACH := arch/powerpc/mach-$(machine-y)/ else MACH := endif -ifneq ($(cpu-y),) -CPU := arch/ppc/cpu-$(cpu-y)/ -else -CPU := -endif - -common-y += $(BOARD) $(CPU) $(MACH) -common-y += arch/ppc/lib/ +common-y += $(BOARD) $(MACH) arch/powerpc/ ifdef CONFIG_MPC85xx lds-y += $(MACH)/barebox.lds diff --git a/arch/ppc/boards/.gitignore b/arch/powerpc/boards/.gitignore index d1165788c9..d1165788c9 100644 --- a/arch/ppc/boards/.gitignore +++ b/arch/powerpc/boards/.gitignore diff --git a/arch/ppc/boards/freescale-p1010rdb/Makefile b/arch/powerpc/boards/freescale-p1010rdb/Makefile index a7b64eef4d..a7b64eef4d 100644 --- a/arch/ppc/boards/freescale-p1010rdb/Makefile +++ b/arch/powerpc/boards/freescale-p1010rdb/Makefile diff --git a/arch/ppc/boards/freescale-p1010rdb/config.h b/arch/powerpc/boards/freescale-p1010rdb/config.h index 4f67183507..4f67183507 100644 --- a/arch/ppc/boards/freescale-p1010rdb/config.h +++ b/arch/powerpc/boards/freescale-p1010rdb/config.h diff --git a/arch/ppc/boards/freescale-p1010rdb/ddr.c b/arch/powerpc/boards/freescale-p1010rdb/ddr.c index 18069f4df1..18069f4df1 100644 --- a/arch/ppc/boards/freescale-p1010rdb/ddr.c +++ b/arch/powerpc/boards/freescale-p1010rdb/ddr.c diff --git a/arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init b/arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init index c0e04c1f2d..c0e04c1f2d 100644 --- a/arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init +++ b/arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init diff --git a/arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config b/arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config index bffd86882e..bffd86882e 100644 --- a/arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config +++ b/arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config diff --git a/arch/ppc/boards/freescale-p1010rdb/law.c b/arch/powerpc/boards/freescale-p1010rdb/law.c index 6edfbc2fb8..6edfbc2fb8 100644 --- a/arch/ppc/boards/freescale-p1010rdb/law.c +++ b/arch/powerpc/boards/freescale-p1010rdb/law.c diff --git a/arch/ppc/boards/freescale-p1010rdb/p1010rdb.c b/arch/powerpc/boards/freescale-p1010rdb/p1010rdb.c index b163327597..b163327597 100644 --- a/arch/ppc/boards/freescale-p1010rdb/p1010rdb.c +++ b/arch/powerpc/boards/freescale-p1010rdb/p1010rdb.c diff --git a/arch/ppc/boards/freescale-p1010rdb/p1010rdb.h b/arch/powerpc/boards/freescale-p1010rdb/p1010rdb.h index f325ff48fd..f325ff48fd 100644 --- a/arch/ppc/boards/freescale-p1010rdb/p1010rdb.h +++ b/arch/powerpc/boards/freescale-p1010rdb/p1010rdb.h diff --git a/arch/ppc/boards/freescale-p1010rdb/tlb.c b/arch/powerpc/boards/freescale-p1010rdb/tlb.c index 23ef0f2ade..23ef0f2ade 100644 --- a/arch/ppc/boards/freescale-p1010rdb/tlb.c +++ b/arch/powerpc/boards/freescale-p1010rdb/tlb.c diff --git a/arch/ppc/boards/freescale-p1022ds/Makefile b/arch/powerpc/boards/freescale-p1022ds/Makefile index 48867fa851..48867fa851 100644 --- a/arch/ppc/boards/freescale-p1022ds/Makefile +++ b/arch/powerpc/boards/freescale-p1022ds/Makefile diff --git a/arch/ppc/boards/freescale-p1022ds/config.h b/arch/powerpc/boards/freescale-p1022ds/config.h index 666b9ff987..666b9ff987 100644 --- a/arch/ppc/boards/freescale-p1022ds/config.h +++ b/arch/powerpc/boards/freescale-p1022ds/config.h diff --git a/arch/ppc/boards/freescale-p1022ds/ddr.c b/arch/powerpc/boards/freescale-p1022ds/ddr.c index 1944518c79..1944518c79 100644 --- a/arch/ppc/boards/freescale-p1022ds/ddr.c +++ b/arch/powerpc/boards/freescale-p1022ds/ddr.c diff --git a/arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init b/arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init index c0e04c1f2d..c0e04c1f2d 100644 --- a/arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init +++ b/arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init diff --git a/arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config b/arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config index bffd86882e..bffd86882e 100644 --- a/arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config +++ b/arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config diff --git a/arch/ppc/boards/freescale-p1022ds/ics307_clk.c b/arch/powerpc/boards/freescale-p1022ds/ics307_clk.c index f7c5bbde99..f7c5bbde99 100644 --- a/arch/ppc/boards/freescale-p1022ds/ics307_clk.c +++ b/arch/powerpc/boards/freescale-p1022ds/ics307_clk.c diff --git a/arch/ppc/boards/freescale-p1022ds/law.c b/arch/powerpc/boards/freescale-p1022ds/law.c index 167937a05a..167937a05a 100644 --- a/arch/ppc/boards/freescale-p1022ds/law.c +++ b/arch/powerpc/boards/freescale-p1022ds/law.c diff --git a/arch/ppc/boards/freescale-p1022ds/p1022ds.c b/arch/powerpc/boards/freescale-p1022ds/p1022ds.c index d80c234ea9..d80c234ea9 100644 --- a/arch/ppc/boards/freescale-p1022ds/p1022ds.c +++ b/arch/powerpc/boards/freescale-p1022ds/p1022ds.c diff --git a/arch/ppc/boards/freescale-p1022ds/p1022ds.h b/arch/powerpc/boards/freescale-p1022ds/p1022ds.h index cbc2aca644..cbc2aca644 100644 --- a/arch/ppc/boards/freescale-p1022ds/p1022ds.h +++ b/arch/powerpc/boards/freescale-p1022ds/p1022ds.h diff --git a/arch/ppc/boards/freescale-p1022ds/tlb.c b/arch/powerpc/boards/freescale-p1022ds/tlb.c index 86ab43aec0..86ab43aec0 100644 --- a/arch/ppc/boards/freescale-p1022ds/tlb.c +++ b/arch/powerpc/boards/freescale-p1022ds/tlb.c diff --git a/arch/ppc/boards/freescale-p2020rdb/Makefile b/arch/powerpc/boards/freescale-p2020rdb/Makefile index b2497f695c..b2497f695c 100644 --- a/arch/ppc/boards/freescale-p2020rdb/Makefile +++ b/arch/powerpc/boards/freescale-p2020rdb/Makefile diff --git a/arch/ppc/boards/freescale-p2020rdb/config.h b/arch/powerpc/boards/freescale-p2020rdb/config.h index e607ee7b46..e607ee7b46 100644 --- a/arch/ppc/boards/freescale-p2020rdb/config.h +++ b/arch/powerpc/boards/freescale-p2020rdb/config.h diff --git a/arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init b/arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init index 4d7b03e26d..4d7b03e26d 100644 --- a/arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init +++ b/arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init diff --git a/arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config b/arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config index 23e0ba2a5d..23e0ba2a5d 100644 --- a/arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config +++ b/arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config diff --git a/arch/ppc/boards/freescale-p2020rdb/law.c b/arch/powerpc/boards/freescale-p2020rdb/law.c index 420a69eeec..420a69eeec 100644 --- a/arch/ppc/boards/freescale-p2020rdb/law.c +++ b/arch/powerpc/boards/freescale-p2020rdb/law.c diff --git a/arch/ppc/boards/freescale-p2020rdb/p2020rdb.c b/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c index 555976578e..555976578e 100644 --- a/arch/ppc/boards/freescale-p2020rdb/p2020rdb.c +++ b/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c diff --git a/arch/ppc/boards/freescale-p2020rdb/tlb.c b/arch/powerpc/boards/freescale-p2020rdb/tlb.c index 9853673ff2..9853673ff2 100644 --- a/arch/ppc/boards/freescale-p2020rdb/tlb.c +++ b/arch/powerpc/boards/freescale-p2020rdb/tlb.c diff --git a/arch/ppc/boards/owc-da923rc/Makefile b/arch/powerpc/boards/owc-da923rc/Makefile index 4cf6c5cf3c..4cf6c5cf3c 100644 --- a/arch/ppc/boards/owc-da923rc/Makefile +++ b/arch/powerpc/boards/owc-da923rc/Makefile diff --git a/arch/ppc/boards/owc-da923rc/config.h b/arch/powerpc/boards/owc-da923rc/config.h index 3895324e95..3895324e95 100644 --- a/arch/ppc/boards/owc-da923rc/config.h +++ b/arch/powerpc/boards/owc-da923rc/config.h diff --git a/arch/ppc/boards/owc-da923rc/da923rc.c b/arch/powerpc/boards/owc-da923rc/da923rc.c index 2665a15091..2665a15091 100644 --- a/arch/ppc/boards/owc-da923rc/da923rc.c +++ b/arch/powerpc/boards/owc-da923rc/da923rc.c diff --git a/arch/ppc/boards/owc-da923rc/ddr.c b/arch/powerpc/boards/owc-da923rc/ddr.c index fc0c50cdcd..fc0c50cdcd 100644 --- a/arch/ppc/boards/owc-da923rc/ddr.c +++ b/arch/powerpc/boards/owc-da923rc/ddr.c diff --git a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot index ce7da18e63..ce7da18e63 100644 --- a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot +++ b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot diff --git a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init index 80cc2cffb3..80cc2cffb3 100644 --- a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init +++ b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init diff --git a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/config b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/config index 79e2606a71..79e2606a71 100644 --- a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/config +++ b/arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/config diff --git a/arch/ppc/boards/owc-da923rc/law.c b/arch/powerpc/boards/owc-da923rc/law.c index 3d32c7e677..3d32c7e677 100644 --- a/arch/ppc/boards/owc-da923rc/law.c +++ b/arch/powerpc/boards/owc-da923rc/law.c diff --git a/arch/ppc/boards/owc-da923rc/nand.c b/arch/powerpc/boards/owc-da923rc/nand.c index 550d790570..550d790570 100644 --- a/arch/ppc/boards/owc-da923rc/nand.c +++ b/arch/powerpc/boards/owc-da923rc/nand.c diff --git a/arch/ppc/boards/owc-da923rc/product_data.c b/arch/powerpc/boards/owc-da923rc/product_data.c index 5135afdd2a..5135afdd2a 100644 --- a/arch/ppc/boards/owc-da923rc/product_data.c +++ b/arch/powerpc/boards/owc-da923rc/product_data.c diff --git a/arch/ppc/boards/owc-da923rc/product_data.h b/arch/powerpc/boards/owc-da923rc/product_data.h index cbbb8d377f..cbbb8d377f 100644 --- a/arch/ppc/boards/owc-da923rc/product_data.h +++ b/arch/powerpc/boards/owc-da923rc/product_data.h diff --git a/arch/ppc/boards/owc-da923rc/tlb.c b/arch/powerpc/boards/owc-da923rc/tlb.c index 889e2743b7..889e2743b7 100644 --- a/arch/ppc/boards/owc-da923rc/tlb.c +++ b/arch/powerpc/boards/owc-da923rc/tlb.c diff --git a/arch/ppc/boards/pcm030/Makefile b/arch/powerpc/boards/pcm030/Makefile index 4e5dc4f57b..4e5dc4f57b 100644 --- a/arch/ppc/boards/pcm030/Makefile +++ b/arch/powerpc/boards/pcm030/Makefile diff --git a/arch/ppc/boards/pcm030/barebox.lds.S b/arch/powerpc/boards/pcm030/barebox.lds.S index 6c91ed6256..6fd8b43c6e 100644 --- a/arch/ppc/boards/pcm030/barebox.lds.S +++ b/arch/powerpc/boards/pcm030/barebox.lds.S @@ -31,7 +31,7 @@ SECTIONS { _text = .; _stext = .; - arch/ppc/mach-mpc5xxx/start.o (.text) + arch/powerpc/mach-mpc5xxx/start.o (.text) *(.text*) *(.got1*) . = ALIGN(16); diff --git a/arch/ppc/boards/pcm030/config.h b/arch/powerpc/boards/pcm030/config.h index 3fe1f286d9..3fe1f286d9 100644 --- a/arch/ppc/boards/pcm030/config.h +++ b/arch/powerpc/boards/pcm030/config.h diff --git a/arch/ppc/boards/pcm030/eeprom.c b/arch/powerpc/boards/pcm030/eeprom.c index aa00f361cd..aa00f361cd 100644 --- a/arch/ppc/boards/pcm030/eeprom.c +++ b/arch/powerpc/boards/pcm030/eeprom.c diff --git a/arch/ppc/boards/pcm030/env/init/mtdparts-nor b/arch/powerpc/boards/pcm030/env/init/mtdparts-nor index 44c07ead21..44c07ead21 100644 --- a/arch/ppc/boards/pcm030/env/init/mtdparts-nor +++ b/arch/powerpc/boards/pcm030/env/init/mtdparts-nor diff --git a/arch/ppc/boards/pcm030/env/nv/linux.bootargs.console b/arch/powerpc/boards/pcm030/env/nv/linux.bootargs.console index 31ce0e71eb..31ce0e71eb 100644 --- a/arch/ppc/boards/pcm030/env/nv/linux.bootargs.console +++ b/arch/powerpc/boards/pcm030/env/nv/linux.bootargs.console diff --git a/arch/ppc/boards/pcm030/mt46v32m16-75.h b/arch/powerpc/boards/pcm030/mt46v32m16-75.h index 60ea09eebc..60ea09eebc 100644 --- a/arch/ppc/boards/pcm030/mt46v32m16-75.h +++ b/arch/powerpc/boards/pcm030/mt46v32m16-75.h diff --git a/arch/ppc/boards/pcm030/pcm030.c b/arch/powerpc/boards/pcm030/pcm030.c index 05c1ce9ca8..05c1ce9ca8 100644 --- a/arch/ppc/boards/pcm030/pcm030.c +++ b/arch/powerpc/boards/pcm030/pcm030.c diff --git a/arch/ppc/configs/owc_da923rc_defconfig b/arch/powerpc/configs/owc_da923rc_defconfig index 183ddb15f9..183ddb15f9 100644 --- a/arch/ppc/configs/owc_da923rc_defconfig +++ b/arch/powerpc/configs/owc_da923rc_defconfig diff --git a/arch/ppc/configs/p1010rdb_defconfig b/arch/powerpc/configs/p1010rdb_defconfig index 73c02c2e7f..73c02c2e7f 100644 --- a/arch/ppc/configs/p1010rdb_defconfig +++ b/arch/powerpc/configs/p1010rdb_defconfig diff --git a/arch/ppc/configs/p1022ds_defconfig b/arch/powerpc/configs/p1022ds_defconfig index fce3eabaf9..fce3eabaf9 100644 --- a/arch/ppc/configs/p1022ds_defconfig +++ b/arch/powerpc/configs/p1022ds_defconfig diff --git a/arch/ppc/configs/p2020rdb_defconfig b/arch/powerpc/configs/p2020rdb_defconfig index 6cc0328727..6cc0328727 100644 --- a/arch/ppc/configs/p2020rdb_defconfig +++ b/arch/powerpc/configs/p2020rdb_defconfig diff --git a/arch/ppc/configs/pcm030_defconfig b/arch/powerpc/configs/pcm030_defconfig index bd83ff44f0..b97a8d5d0c 100644 --- a/arch/ppc/configs/pcm030_defconfig +++ b/arch/powerpc/configs/pcm030_defconfig @@ -6,7 +6,7 @@ CONFIG_AUTO_COMPLETE=y CONFIG_BOOTM_SHOW_TYPE=y CONFIG_PARTITION=y CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y -CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/ppc/boards/pcm030/env" +CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/powerpc/boards/pcm030/env" CONFIG_LONGHELP=y CONFIG_CMD_IOMEM=y CONFIG_CMD_MEMINFO=y diff --git a/arch/ppc/cpu-85xx/Makefile b/arch/powerpc/cpu-85xx/Makefile index c649c4ec25..c649c4ec25 100644 --- a/arch/ppc/cpu-85xx/Makefile +++ b/arch/powerpc/cpu-85xx/Makefile diff --git a/arch/ppc/cpu-85xx/fixed_ivor.S b/arch/powerpc/cpu-85xx/fixed_ivor.S index 0674c3fc14..0674c3fc14 100644 --- a/arch/ppc/cpu-85xx/fixed_ivor.S +++ b/arch/powerpc/cpu-85xx/fixed_ivor.S diff --git a/arch/ppc/cpu-85xx/mmu.c b/arch/powerpc/cpu-85xx/mmu.c index 6b93c3e8db..6b93c3e8db 100644 --- a/arch/ppc/cpu-85xx/mmu.c +++ b/arch/powerpc/cpu-85xx/mmu.c diff --git a/arch/ppc/cpu-85xx/resetvec.S b/arch/powerpc/cpu-85xx/resetvec.S index 29555d4a00..29555d4a00 100644 --- a/arch/ppc/cpu-85xx/resetvec.S +++ b/arch/powerpc/cpu-85xx/resetvec.S diff --git a/arch/ppc/cpu-85xx/start.S b/arch/powerpc/cpu-85xx/start.S index 82c2c0ad8c..82c2c0ad8c 100644 --- a/arch/ppc/cpu-85xx/start.S +++ b/arch/powerpc/cpu-85xx/start.S diff --git a/arch/ppc/cpu-85xx/tlb.c b/arch/powerpc/cpu-85xx/tlb.c index 3a5b413627..3a5b413627 100644 --- a/arch/ppc/cpu-85xx/tlb.c +++ b/arch/powerpc/cpu-85xx/tlb.c diff --git a/arch/ppc/cpu-85xx/traps.c b/arch/powerpc/cpu-85xx/traps.c index f8e5e42290..f8e5e42290 100644 --- a/arch/ppc/cpu-85xx/traps.c +++ b/arch/powerpc/cpu-85xx/traps.c diff --git a/arch/ppc/ddr-8xxx/Makefile b/arch/powerpc/ddr-8xxx/Makefile index 43ae3a41df..43ae3a41df 100644 --- a/arch/ppc/ddr-8xxx/Makefile +++ b/arch/powerpc/ddr-8xxx/Makefile diff --git a/arch/ppc/ddr-8xxx/common_timing_params.h b/arch/powerpc/ddr-8xxx/common_timing_params.h index 85a1e2868f..85a1e2868f 100644 --- a/arch/ppc/ddr-8xxx/common_timing_params.h +++ b/arch/powerpc/ddr-8xxx/common_timing_params.h diff --git a/arch/ppc/ddr-8xxx/ctrl_regs.c b/arch/powerpc/ddr-8xxx/ctrl_regs.c index e3d43ab09e..e3d43ab09e 100644 --- a/arch/ppc/ddr-8xxx/ctrl_regs.c +++ b/arch/powerpc/ddr-8xxx/ctrl_regs.c diff --git a/arch/ppc/ddr-8xxx/ddr.h b/arch/powerpc/ddr-8xxx/ddr.h index 2ef87f2776..2ef87f2776 100644 --- a/arch/ppc/ddr-8xxx/ddr.h +++ b/arch/powerpc/ddr-8xxx/ddr.h diff --git a/arch/ppc/ddr-8xxx/ddr2_dimm_params.c b/arch/powerpc/ddr-8xxx/ddr2_dimm_params.c index 22c05ca6da..22c05ca6da 100644 --- a/arch/ppc/ddr-8xxx/ddr2_dimm_params.c +++ b/arch/powerpc/ddr-8xxx/ddr2_dimm_params.c diff --git a/arch/ppc/ddr-8xxx/ddr3_dimm_params.c b/arch/powerpc/ddr-8xxx/ddr3_dimm_params.c index 4f44925ab9..4f44925ab9 100644 --- a/arch/ppc/ddr-8xxx/ddr3_dimm_params.c +++ b/arch/powerpc/ddr-8xxx/ddr3_dimm_params.c diff --git a/arch/ppc/ddr-8xxx/ddr_setctrl.c b/arch/powerpc/ddr-8xxx/ddr_setctrl.c index 115fb42070..115fb42070 100644 --- a/arch/ppc/ddr-8xxx/ddr_setctrl.c +++ b/arch/powerpc/ddr-8xxx/ddr_setctrl.c diff --git a/arch/ppc/ddr-8xxx/lc_common_dimm_params.c b/arch/powerpc/ddr-8xxx/lc_common_dimm_params.c index 9d90fb76db..9d90fb76db 100644 --- a/arch/ppc/ddr-8xxx/lc_common_dimm_params.c +++ b/arch/powerpc/ddr-8xxx/lc_common_dimm_params.c diff --git a/arch/ppc/ddr-8xxx/main.c b/arch/powerpc/ddr-8xxx/main.c index 99b877b5ca..99b877b5ca 100644 --- a/arch/ppc/ddr-8xxx/main.c +++ b/arch/powerpc/ddr-8xxx/main.c diff --git a/arch/ppc/ddr-8xxx/options.c b/arch/powerpc/ddr-8xxx/options.c index ccf5d5e9d8..ccf5d5e9d8 100644 --- a/arch/ppc/ddr-8xxx/options.c +++ b/arch/powerpc/ddr-8xxx/options.c diff --git a/arch/ppc/ddr-8xxx/util.c b/arch/powerpc/ddr-8xxx/util.c index 626b5f3f9b..626b5f3f9b 100644 --- a/arch/ppc/ddr-8xxx/util.c +++ b/arch/powerpc/ddr-8xxx/util.c diff --git a/arch/ppc/include/asm/atomic.h b/arch/powerpc/include/asm/atomic.h index af3c61a823..af3c61a823 100644 --- a/arch/ppc/include/asm/atomic.h +++ b/arch/powerpc/include/asm/atomic.h diff --git a/arch/ppc/include/asm/bitops.h b/arch/powerpc/include/asm/bitops.h index 2fdd57eff0..2fdd57eff0 100644 --- a/arch/ppc/include/asm/bitops.h +++ b/arch/powerpc/include/asm/bitops.h diff --git a/arch/ppc/include/asm/bitsperlong.h b/arch/powerpc/include/asm/bitsperlong.h index 6dc0bb0c13..6dc0bb0c13 100644 --- a/arch/ppc/include/asm/bitsperlong.h +++ b/arch/powerpc/include/asm/bitsperlong.h diff --git a/arch/ppc/include/asm/byteorder.h b/arch/powerpc/include/asm/byteorder.h index aa6cc4fac9..aa6cc4fac9 100644 --- a/arch/ppc/include/asm/byteorder.h +++ b/arch/powerpc/include/asm/byteorder.h diff --git a/arch/ppc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h index 147ceb6714..147ceb6714 100644 --- a/arch/ppc/include/asm/cache.h +++ b/arch/powerpc/include/asm/cache.h diff --git a/arch/ppc/include/asm/common.h b/arch/powerpc/include/asm/common.h index b91f51e462..b91f51e462 100644 --- a/arch/ppc/include/asm/common.h +++ b/arch/powerpc/include/asm/common.h diff --git a/arch/ppc/include/asm/config.h b/arch/powerpc/include/asm/config.h index ce6581a83f..ce6581a83f 100644 --- a/arch/ppc/include/asm/config.h +++ b/arch/powerpc/include/asm/config.h diff --git a/arch/ppc/include/asm/dma.h b/arch/powerpc/include/asm/dma.h index 27d269f491..27d269f491 100644 --- a/arch/ppc/include/asm/dma.h +++ b/arch/powerpc/include/asm/dma.h diff --git a/arch/ppc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index bb8762b385..bb8762b385 100644 --- a/arch/ppc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h diff --git a/arch/ppc/include/asm/fsl_ddr_dimm_params.h b/arch/powerpc/include/asm/fsl_ddr_dimm_params.h index 9e6f6b4d34..9e6f6b4d34 100644 --- a/arch/ppc/include/asm/fsl_ddr_dimm_params.h +++ b/arch/powerpc/include/asm/fsl_ddr_dimm_params.h diff --git a/arch/ppc/include/asm/fsl_ddr_sdram.h b/arch/powerpc/include/asm/fsl_ddr_sdram.h index f4732389f6..f4732389f6 100644 --- a/arch/ppc/include/asm/fsl_ddr_sdram.h +++ b/arch/powerpc/include/asm/fsl_ddr_sdram.h diff --git a/arch/ppc/include/asm/fsl_ifc.h b/arch/powerpc/include/asm/fsl_ifc.h index 8faff75033..8faff75033 100644 --- a/arch/ppc/include/asm/fsl_ifc.h +++ b/arch/powerpc/include/asm/fsl_ifc.h diff --git a/arch/ppc/include/asm/fsl_law.h b/arch/powerpc/include/asm/fsl_law.h index 7acb63c9de..7acb63c9de 100644 --- a/arch/ppc/include/asm/fsl_law.h +++ b/arch/powerpc/include/asm/fsl_law.h diff --git a/arch/ppc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h index 27d194ee74..27d194ee74 100644 --- a/arch/ppc/include/asm/fsl_lbc.h +++ b/arch/powerpc/include/asm/fsl_lbc.h diff --git a/arch/ppc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 025c06f3b7..025c06f3b7 100644 --- a/arch/ppc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h diff --git a/arch/ppc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index c691de1c77..c691de1c77 100644 --- a/arch/ppc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h diff --git a/arch/ppc/include/asm/module.h b/arch/powerpc/include/asm/module.h index 09c04402c5..09c04402c5 100644 --- a/arch/ppc/include/asm/module.h +++ b/arch/powerpc/include/asm/module.h diff --git a/arch/ppc/include/asm/pci_io.h b/arch/powerpc/include/asm/pci_io.h index 9b738c383f..9b738c383f 100644 --- a/arch/ppc/include/asm/pci_io.h +++ b/arch/powerpc/include/asm/pci_io.h diff --git a/arch/ppc/include/asm/posix_types.h b/arch/powerpc/include/asm/posix_types.h index 22cae6230c..22cae6230c 100644 --- a/arch/ppc/include/asm/posix_types.h +++ b/arch/powerpc/include/asm/posix_types.h diff --git a/arch/ppc/include/asm/ppc_asm.tmpl b/arch/powerpc/include/asm/ppc_asm.tmpl index 60c6caf53c..60c6caf53c 100644 --- a/arch/ppc/include/asm/ppc_asm.tmpl +++ b/arch/powerpc/include/asm/ppc_asm.tmpl diff --git a/arch/ppc/include/asm/ppc_defs.h b/arch/powerpc/include/asm/ppc_defs.h index fcdb38d4fd..fcdb38d4fd 100644 --- a/arch/ppc/include/asm/ppc_defs.h +++ b/arch/powerpc/include/asm/ppc_defs.h diff --git a/arch/ppc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 39a89a9d15..39a89a9d15 100644 --- a/arch/ppc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h diff --git a/arch/ppc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h index b4d599f43b..b4d599f43b 100644 --- a/arch/ppc/include/asm/ptrace.h +++ b/arch/powerpc/include/asm/ptrace.h diff --git a/arch/ppc/include/asm/sections.h b/arch/powerpc/include/asm/sections.h index 2b8c516038..2b8c516038 100644 --- a/arch/ppc/include/asm/sections.h +++ b/arch/powerpc/include/asm/sections.h diff --git a/arch/ppc/include/asm/sigcontext.h b/arch/powerpc/include/asm/sigcontext.h index 4bd66a707d..4bd66a707d 100644 --- a/arch/ppc/include/asm/sigcontext.h +++ b/arch/powerpc/include/asm/sigcontext.h diff --git a/arch/ppc/include/asm/signal.h b/arch/powerpc/include/asm/signal.h index b11a28efd1..b11a28efd1 100644 --- a/arch/ppc/include/asm/signal.h +++ b/arch/powerpc/include/asm/signal.h diff --git a/arch/ppc/include/asm/status_led.h b/arch/powerpc/include/asm/status_led.h index eb81f371c9..eb81f371c9 100644 --- a/arch/ppc/include/asm/status_led.h +++ b/arch/powerpc/include/asm/status_led.h diff --git a/arch/ppc/include/asm/string.h b/arch/powerpc/include/asm/string.h index 33d143f04e..33d143f04e 100644 --- a/arch/ppc/include/asm/string.h +++ b/arch/powerpc/include/asm/string.h diff --git a/arch/ppc/include/asm/swab.h b/arch/powerpc/include/asm/swab.h index 110488e641..110488e641 100644 --- a/arch/ppc/include/asm/swab.h +++ b/arch/powerpc/include/asm/swab.h diff --git a/arch/ppc/include/asm/types.h b/arch/powerpc/include/asm/types.h index 2d3ce0a283..2d3ce0a283 100644 --- a/arch/ppc/include/asm/types.h +++ b/arch/powerpc/include/asm/types.h diff --git a/arch/ppc/include/asm/unaligned.h b/arch/powerpc/include/asm/unaligned.h index a41fa8cb4a..a41fa8cb4a 100644 --- a/arch/ppc/include/asm/unaligned.h +++ b/arch/powerpc/include/asm/unaligned.h diff --git a/arch/ppc/lib/Makefile b/arch/powerpc/lib/Makefile index ba2f078b62..ba2f078b62 100644 --- a/arch/ppc/lib/Makefile +++ b/arch/powerpc/lib/Makefile diff --git a/arch/ppc/lib/asm-offsets.c b/arch/powerpc/lib/asm-offsets.c index bef280edd7..bef280edd7 100644 --- a/arch/ppc/lib/asm-offsets.c +++ b/arch/powerpc/lib/asm-offsets.c diff --git a/arch/ppc/lib/bat_rw.c b/arch/powerpc/lib/bat_rw.c index 3e8882eaf4..3e8882eaf4 100644 --- a/arch/ppc/lib/bat_rw.c +++ b/arch/powerpc/lib/bat_rw.c diff --git a/arch/ppc/lib/board.c b/arch/powerpc/lib/board.c index 3f13db9218..3f13db9218 100644 --- a/arch/ppc/lib/board.c +++ b/arch/powerpc/lib/board.c diff --git a/arch/ppc/lib/crtsavres.S b/arch/powerpc/lib/crtsavres.S index b0fbbfc997..b0fbbfc997 100644 --- a/arch/ppc/lib/crtsavres.S +++ b/arch/powerpc/lib/crtsavres.S diff --git a/arch/ppc/lib/extable.c b/arch/powerpc/lib/extable.c index 1e9ad1e63c..1e9ad1e63c 100644 --- a/arch/ppc/lib/extable.c +++ b/arch/powerpc/lib/extable.c diff --git a/arch/ppc/lib/kgdb.c b/arch/powerpc/lib/kgdb.c index 762cc7a88c..762cc7a88c 100644 --- a/arch/ppc/lib/kgdb.c +++ b/arch/powerpc/lib/kgdb.c diff --git a/arch/ppc/lib/misc.S b/arch/powerpc/lib/misc.S index bd06ff2062..bd06ff2062 100644 --- a/arch/ppc/lib/misc.S +++ b/arch/powerpc/lib/misc.S diff --git a/arch/ppc/lib/module.c b/arch/powerpc/lib/module.c index 9ec6095571..9ec6095571 100644 --- a/arch/ppc/lib/module.c +++ b/arch/powerpc/lib/module.c diff --git a/arch/ppc/lib/ppclinux.c b/arch/powerpc/lib/ppclinux.c index 05c29be7da..05c29be7da 100644 --- a/arch/ppc/lib/ppclinux.c +++ b/arch/powerpc/lib/ppclinux.c diff --git a/arch/ppc/lib/ppcstring.S b/arch/powerpc/lib/ppcstring.S index cce85e3252..cce85e3252 100644 --- a/arch/ppc/lib/ppcstring.S +++ b/arch/powerpc/lib/ppcstring.S diff --git a/arch/ppc/lib/reloc.S b/arch/powerpc/lib/reloc.S index 7ef2ea3340..7ef2ea3340 100644 --- a/arch/ppc/lib/reloc.S +++ b/arch/powerpc/lib/reloc.S diff --git a/arch/ppc/lib/ticks.S b/arch/powerpc/lib/ticks.S index a41fe8b781..a41fe8b781 100644 --- a/arch/ppc/lib/ticks.S +++ b/arch/powerpc/lib/ticks.S diff --git a/arch/ppc/mach-mpc5xxx/Kconfig b/arch/powerpc/mach-mpc5xxx/Kconfig index 180aa32ad1..180aa32ad1 100644 --- a/arch/ppc/mach-mpc5xxx/Kconfig +++ b/arch/powerpc/mach-mpc5xxx/Kconfig diff --git a/arch/ppc/mach-mpc5xxx/Makefile b/arch/powerpc/mach-mpc5xxx/Makefile index c532a6d1ee..c532a6d1ee 100644 --- a/arch/ppc/mach-mpc5xxx/Makefile +++ b/arch/powerpc/mach-mpc5xxx/Makefile diff --git a/arch/ppc/mach-mpc5xxx/cpu.c b/arch/powerpc/mach-mpc5xxx/cpu.c index ab58967aa4..ab58967aa4 100644 --- a/arch/ppc/mach-mpc5xxx/cpu.c +++ b/arch/powerpc/mach-mpc5xxx/cpu.c diff --git a/arch/ppc/mach-mpc5xxx/cpu_init.c b/arch/powerpc/mach-mpc5xxx/cpu_init.c index 1dae6c1e46..1dae6c1e46 100644 --- a/arch/ppc/mach-mpc5xxx/cpu_init.c +++ b/arch/powerpc/mach-mpc5xxx/cpu_init.c diff --git a/arch/ppc/mach-mpc5xxx/firmware_sc_task.impl.S b/arch/powerpc/mach-mpc5xxx/firmware_sc_task.impl.S index b668ee5cf8..b668ee5cf8 100644 --- a/arch/ppc/mach-mpc5xxx/firmware_sc_task.impl.S +++ b/arch/powerpc/mach-mpc5xxx/firmware_sc_task.impl.S diff --git a/arch/ppc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S b/arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S index 42d0e3ce08..42d0e3ce08 100644 --- a/arch/ppc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S +++ b/arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S diff --git a/arch/ppc/mach-mpc5xxx/include/mach/clock.h b/arch/powerpc/mach-mpc5xxx/include/mach/clock.h index b19686f18c..b19686f18c 100644 --- a/arch/ppc/mach-mpc5xxx/include/mach/clock.h +++ b/arch/powerpc/mach-mpc5xxx/include/mach/clock.h diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h b/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h index f2cae9097d..1e2e726355 100644 --- a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h +++ b/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h @@ -1,5 +1,5 @@ /* - * arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h + * arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h * * Prototypes, etc. for the Motorola MGT5xxx/MPC5xxx * embedded cpu chips diff --git a/arch/ppc/mach-mpc5xxx/include/mach/sdma.h b/arch/powerpc/mach-mpc5xxx/include/mach/sdma.h index 6a25d79fb6..6a25d79fb6 100644 --- a/arch/ppc/mach-mpc5xxx/include/mach/sdma.h +++ b/arch/powerpc/mach-mpc5xxx/include/mach/sdma.h diff --git a/arch/ppc/mach-mpc5xxx/io.S b/arch/powerpc/mach-mpc5xxx/io.S index 3ea9b3f0fc..3ea9b3f0fc 100644 --- a/arch/ppc/mach-mpc5xxx/io.S +++ b/arch/powerpc/mach-mpc5xxx/io.S diff --git a/arch/ppc/mach-mpc5xxx/loadtask.c b/arch/powerpc/mach-mpc5xxx/loadtask.c index 1458cf7218..1458cf7218 100644 --- a/arch/ppc/mach-mpc5xxx/loadtask.c +++ b/arch/powerpc/mach-mpc5xxx/loadtask.c diff --git a/arch/ppc/mach-mpc5xxx/pci_mpc5200.c b/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c index 99fa970dd0..99fa970dd0 100644 --- a/arch/ppc/mach-mpc5xxx/pci_mpc5200.c +++ b/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c diff --git a/arch/ppc/mach-mpc5xxx/reginfo.c b/arch/powerpc/mach-mpc5xxx/reginfo.c index e41d235a5d..e41d235a5d 100644 --- a/arch/ppc/mach-mpc5xxx/reginfo.c +++ b/arch/powerpc/mach-mpc5xxx/reginfo.c diff --git a/arch/ppc/mach-mpc5xxx/speed.c b/arch/powerpc/mach-mpc5xxx/speed.c index 76a3019637..76a3019637 100644 --- a/arch/ppc/mach-mpc5xxx/speed.c +++ b/arch/powerpc/mach-mpc5xxx/speed.c diff --git a/arch/ppc/mach-mpc5xxx/start.S b/arch/powerpc/mach-mpc5xxx/start.S index 291f6250a5..291f6250a5 100644 --- a/arch/ppc/mach-mpc5xxx/start.S +++ b/arch/powerpc/mach-mpc5xxx/start.S diff --git a/arch/ppc/mach-mpc5xxx/time.c b/arch/powerpc/mach-mpc5xxx/time.c index aaa4573f6f..aaa4573f6f 100644 --- a/arch/ppc/mach-mpc5xxx/time.c +++ b/arch/powerpc/mach-mpc5xxx/time.c diff --git a/arch/ppc/mach-mpc5xxx/traps.c b/arch/powerpc/mach-mpc5xxx/traps.c index 8441da2108..8441da2108 100644 --- a/arch/ppc/mach-mpc5xxx/traps.c +++ b/arch/powerpc/mach-mpc5xxx/traps.c diff --git a/arch/ppc/mach-mpc85xx/.gitignore b/arch/powerpc/mach-mpc85xx/.gitignore index d1165788c9..d1165788c9 100644 --- a/arch/ppc/mach-mpc85xx/.gitignore +++ b/arch/powerpc/mach-mpc85xx/.gitignore diff --git a/arch/ppc/mach-mpc85xx/Kconfig b/arch/powerpc/mach-mpc85xx/Kconfig index aa518b98fc..aa518b98fc 100644 --- a/arch/ppc/mach-mpc85xx/Kconfig +++ b/arch/powerpc/mach-mpc85xx/Kconfig diff --git a/arch/ppc/mach-mpc85xx/Makefile b/arch/powerpc/mach-mpc85xx/Makefile index de4f5efde2..de4f5efde2 100644 --- a/arch/ppc/mach-mpc85xx/Makefile +++ b/arch/powerpc/mach-mpc85xx/Makefile diff --git a/arch/ppc/mach-mpc85xx/barebox.lds.S b/arch/powerpc/mach-mpc85xx/barebox.lds.S index a09a01eba1..2b73fda4e6 100644 --- a/arch/ppc/mach-mpc85xx/barebox.lds.S +++ b/arch/powerpc/mach-mpc85xx/barebox.lds.S @@ -121,13 +121,13 @@ SECTIONS .bootpg RESET_VECTOR_ADDRESS - 0xffc : { _text = .; - arch/ppc/cpu-85xx/start.o (.bootpg) + arch/powerpc/cpu-85xx/start.o (.bootpg) } :text = 0xffff .resetvec RESET_VECTOR_ADDRESS : { KEEP(*(.resetvec)) - arch/ppc/cpu-85xx/resetvec.o (.resetvec) + arch/powerpc/cpu-85xx/resetvec.o (.resetvec) } :text = 0xffff . = RESET_VECTOR_ADDRESS + 0x4; diff --git a/arch/ppc/mach-mpc85xx/cpu.c b/arch/powerpc/mach-mpc85xx/cpu.c index 42464e810c..42464e810c 100644 --- a/arch/ppc/mach-mpc85xx/cpu.c +++ b/arch/powerpc/mach-mpc85xx/cpu.c diff --git a/arch/ppc/mach-mpc85xx/cpu_init.c b/arch/powerpc/mach-mpc85xx/cpu_init.c index 003a5f15b4..003a5f15b4 100644 --- a/arch/ppc/mach-mpc85xx/cpu_init.c +++ b/arch/powerpc/mach-mpc85xx/cpu_init.c diff --git a/arch/ppc/mach-mpc85xx/cpuid.c b/arch/powerpc/mach-mpc85xx/cpuid.c index 1f54a2b1c9..1f54a2b1c9 100644 --- a/arch/ppc/mach-mpc85xx/cpuid.c +++ b/arch/powerpc/mach-mpc85xx/cpuid.c diff --git a/arch/ppc/mach-mpc85xx/eth-devices.c b/arch/powerpc/mach-mpc85xx/eth-devices.c index ea5caff0c2..ea5caff0c2 100644 --- a/arch/ppc/mach-mpc85xx/eth-devices.c +++ b/arch/powerpc/mach-mpc85xx/eth-devices.c diff --git a/arch/ppc/mach-mpc85xx/fdt.c b/arch/powerpc/mach-mpc85xx/fdt.c index 1a2d780737..1a2d780737 100644 --- a/arch/ppc/mach-mpc85xx/fdt.c +++ b/arch/powerpc/mach-mpc85xx/fdt.c diff --git a/arch/ppc/mach-mpc85xx/fsl_gpio.c b/arch/powerpc/mach-mpc85xx/fsl_gpio.c index 468c780ff8..468c780ff8 100644 --- a/arch/ppc/mach-mpc85xx/fsl_gpio.c +++ b/arch/powerpc/mach-mpc85xx/fsl_gpio.c diff --git a/arch/ppc/mach-mpc85xx/fsl_i2c.c b/arch/powerpc/mach-mpc85xx/fsl_i2c.c index 51fcc64c26..51fcc64c26 100644 --- a/arch/ppc/mach-mpc85xx/fsl_i2c.c +++ b/arch/powerpc/mach-mpc85xx/fsl_i2c.c diff --git a/arch/ppc/mach-mpc85xx/fsl_law.c b/arch/powerpc/mach-mpc85xx/fsl_law.c index 38902e3be8..38902e3be8 100644 --- a/arch/ppc/mach-mpc85xx/fsl_law.c +++ b/arch/powerpc/mach-mpc85xx/fsl_law.c diff --git a/arch/ppc/mach-mpc85xx/include/mach/clock.h b/arch/powerpc/mach-mpc85xx/include/mach/clock.h index 0e68cf6667..0e68cf6667 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/clock.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/clock.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/config_mpc85xx.h b/arch/powerpc/mach-mpc85xx/include/mach/config_mpc85xx.h index fad2c47d11..fad2c47d11 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/config_mpc85xx.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/config_mpc85xx.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/early_udelay.h b/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h index b8dc501251..b8dc501251 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/early_udelay.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/ffs64.h b/arch/powerpc/mach-mpc85xx/include/mach/ffs64.h index 045498c513..045498c513 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/ffs64.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/ffs64.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/fsl_i2c.h b/arch/powerpc/mach-mpc85xx/include/mach/fsl_i2c.h index d187c6cf49..d187c6cf49 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/fsl_i2c.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/fsl_i2c.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/gianfar.h b/arch/powerpc/mach-mpc85xx/include/mach/gianfar.h index 660cb1e98f..660cb1e98f 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/gianfar.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/gianfar.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/gpio.h b/arch/powerpc/mach-mpc85xx/include/mach/gpio.h index b41ecc5214..b41ecc5214 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/gpio.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/gpio.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h b/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h index abcdb5c1e0..abcdb5c1e0 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/mmu.h b/arch/powerpc/mach-mpc85xx/include/mach/mmu.h index e2ecc62ef0..e2ecc62ef0 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/mmu.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/mmu.h diff --git a/arch/ppc/mach-mpc85xx/include/mach/mpc85xx.h b/arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h index 1d9993ace9..1d9993ace9 100644 --- a/arch/ppc/mach-mpc85xx/include/mach/mpc85xx.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h diff --git a/arch/ppc/mach-mpc85xx/speed.c b/arch/powerpc/mach-mpc85xx/speed.c index 610949443c..610949443c 100644 --- a/arch/ppc/mach-mpc85xx/speed.c +++ b/arch/powerpc/mach-mpc85xx/speed.c diff --git a/arch/ppc/mach-mpc85xx/time.c b/arch/powerpc/mach-mpc85xx/time.c index 9014fce194..9014fce194 100644 --- a/arch/ppc/mach-mpc85xx/time.c +++ b/arch/powerpc/mach-mpc85xx/time.c diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index fa8a173d8a..c71319507c 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := erizo_generic_defconfig -CPPFLAGS += -fno-strict-aliasing +KBUILD_CPPFLAGS += -fno-strict-aliasing ifeq ($(CONFIG_ARCH_RV32I),y) cflags-y += -march=rv32im @@ -10,17 +10,16 @@ cflags-y += -fno-pic -pipe cflags-y += -Wall -Wstrict-prototypes \ -Wno-uninitialized -Wno-format -Wno-main -mcmodel=medany -LDFLAGS += $(ldflags-y) LDFLAGS_barebox += -nostdlib machine-$(CONFIG_MACH_ERIZO) := erizo TEXT_BASE = $(CONFIG_TEXT_BASE) -CPPFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE) +KBUILD_CPPFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE) ifndef CONFIG_MODULES # Add cleanup flags -CPPFLAGS += -fdata-sections -ffunction-sections +KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS_barebox += -static --gc-sections endif @@ -28,11 +27,7 @@ KBUILD_BINARY := barebox.bin machdirs := $(patsubst %,arch/riscv/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) archprepare: maketools @@ -50,8 +45,8 @@ common-y += arch/riscv/lib/ common-$(CONFIG_OFTREE) += arch/riscv/dts/ -CPPFLAGS += $(cflags-y) -CFLAGS += $(cflags-y) +KBUILD_CPPFLAGS += $(cflags-y) +KBUILD_CFLAGS += $(cflags-y) lds-y := arch/riscv/lib/barebox.lds diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index b7470c3330..3d2eb5bc11 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := sandbox_defconfig -CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing -fvisibility=hidden +KBUILD_CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing -fvisibility=hidden machine-y := sandbox @@ -11,7 +11,7 @@ lds-y := $(BOARD)/barebox.lds TEXT_BASE = $(CONFIG_TEXT_BASE) -CFLAGS += -Dmalloc=barebox_malloc -Dcalloc=barebox_calloc \ +KBUILD_CFLAGS += -Dmalloc=barebox_malloc -Dcalloc=barebox_calloc \ -Dfree=barebox_free -Drealloc=barebox_realloc \ -Dread=barebox_read -Dwrite=barebox_write \ -Dopen=barebox_open -Dclose=barebox_close \ @@ -29,11 +29,7 @@ CFLAGS += -Dmalloc=barebox_malloc -Dcalloc=barebox_calloc \ machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) archprepare: maketools @@ -48,7 +44,7 @@ FTDI1_LIBS := $(shell pkg-config libftdi1 --libs) endif ifeq ($(CONFIG_KASAN),y) -CPPFLAGS += -fsanitize=address +KBUILD_CPPFLAGS += -fsanitize=address SANITIZER_LIBS += -fsanitize=address endif diff --git a/arch/sandbox/os/Makefile b/arch/sandbox/os/Makefile index 75baa34a83..c012c9cf01 100644 --- a/arch/sandbox/os/Makefile +++ b/arch/sandbox/os/Makefile @@ -2,15 +2,11 @@ machine-y := sandbox machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS := $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS = $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS = $(patsubst %,-I$(srctree)/%include,$(machdirs)) -CPPFLAGS += -DCONFIG_MALLOC_SIZE=$(CONFIG_MALLOC_SIZE) +KBUILD_CPPFLAGS += -DCONFIG_MALLOC_SIZE=$(CONFIG_MALLOC_SIZE) -CFLAGS := -Wall +KBUILD_CFLAGS := -Wall NOSTDINC_FLAGS := obj-y = common.o tap.o diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 4d471c2f8a..97f6d85f2f 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -1,6 +1,6 @@ KBUILD_DEFCONFIG := generic_defconfig -CPPFLAGS += -D__X86__ +KBUILD_CPPFLAGS += -D__X86__ board-$(CONFIG_MACH_X86_GENERIC) := x86_generic @@ -8,15 +8,15 @@ TEXT_BASE = $(CONFIG_TEXT_BASE) ifeq ($(CONFIG_X86_EFI),y) machine-y := efi -CFLAGS += -fpic -fshort-wchar -mno-sse -mno-mmx +KBUILD_CFLAGS += -fpic -fshort-wchar -mno-sse -mno-mmx ifeq ($(CONFIG_X86_32),y) TARGET = efi-app-ia32 else TARGET = efi-app-x86_64 endif else -CPPFLAGS += -fno-strict-aliasing -CPPFLAGS += -march=i386 -DTEXT_BASE=$(TEXT_BASE) \ +KBUILD_CPPFLAGS += -fno-strict-aliasing +KBUILD_CPPFLAGS += -march=i386 -DTEXT_BASE=$(TEXT_BASE) \ -fno-unwind-tables -fno-asynchronous-unwind-tables machine-y := i386 @@ -25,32 +25,28 @@ endif ifeq ($(CONFIG_X86_32),y) UTS_MACHINE := i386 biarch := $(call cc-option,-m32) - AFLAGS += $(biarch) - CFLAGS += $(biarch) - CPPFLAGS += $(biarch) + KBUILD_AFLAGS += $(biarch) + KBUILD_CFLAGS += $(biarch) + KBUILD_CPPFLAGS += $(biarch) else UTS_MACHINE := x86_64 - AFLAGS += -m64 - CFLAGS += -m64 -mno-red-zone - CPPFLAGS += -m64 + KBUILD_AFLAGS += -m64 + KBUILD_CFLAGS += -m64 -mno-red-zone + KBUILD_CPPFLAGS += -m64 endif ifndef CONFIG_MODULES # Add cleanup flags ifneq ($(CONFIG_X86_EFI),y) -CPPFLAGS += -fdata-sections -ffunction-sections +KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections LDFLAGS_barebox += -static --gc-sections endif endif machdirs := $(patsubst %,arch/x86/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else -CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif +KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) ifneq ($(board-y),) BOARD := arch/x86/boards/$(board-y)/ @@ -74,7 +70,7 @@ ifeq ($(CONFIG_X86_EFI),y) lds-$(CONFIG_X86_32) := arch/x86/mach-efi/elf_ia32_efi.lds lds-$(CONFIG_X86_64) := arch/x86/mach-efi/elf_x86_64_efi.lds -cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@ \ +cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \ -T $(lds-y) \ -shared -Bsymbolic -nostdlib -znocombreloc \ --start-group $(BAREBOX_OBJS) \ @@ -89,7 +85,7 @@ quiet_cmd_efi_image = EFI-IMG $@ KBUILD_BINARY := barebox -LDFLAGS := --no-undefined +KBUILD_LDFLAGS := --no-undefined barebox.efi: $(KBUILD_BINARY) FORCE $(call if_changed,efi_image) @@ -104,7 +100,7 @@ lds-$(CONFIG_BOARD_LINKER_SCRIPT) := $(BOARD)/barebox.lds endif -LDFLAGS += -m elf_$(UTS_MACHINE) +KBUILD_LDFLAGS += -m elf_$(UTS_MACHINE) CLEAN_FILES += $(lds-y) CLEAN_FILES += arch/x86/lib/barebox.lds barebox.map barebox.S diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index b92b4750fc..4a520a2a84 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -1,5 +1,5 @@ -CPPFLAGS += -D__I386__ -fno-strict-aliasing -m32 -g -Os -march=i386 \ +KBUILD_CPPFLAGS += -D__I386__ -fno-strict-aliasing -m32 -g -Os -march=i386 \ -mregparm=3 -fno-strict-aliasing -fomit-frame-pointer -ffreestanding \ -fno-toplevel-reorder -fno-unit-at-a-time -fno-stack-protector \ -mpreferred-stack-boundary=2 |