summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/powerpc' into masterSascha Hauer2020-09-2524-118/+58
|\
| * powerpc: Add function prototypes for exception handlersSascha Hauer2020-09-151-0/+8
| | | | | | | | | | | | | | The exception handlers lead to -Wmissing-prototypes warnings. Add prototypes for them to avoid these warnings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * powerpc: Remove unused functionsSascha Hauer2020-09-154-90/+0
| | | | | | | | | | | | | | Some functions are unused in the code base and do not have a prototype in any header file. Remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * powerpc: Add prototypes for functions called from assemblySascha Hauer2020-09-154-0/+12
| | | | | | | | | | | | | | | | Some functions are called from assembly only. There's no prototype for them so this leads to -Wmissing-prototypes warnings. Add a prototype right aboce the functions to avoid these warnings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * powerpc: Make locally used functions staticSascha Hauer2020-09-158-18/+19
| | | | | | | | | | | | | | Make only locally used functions static to avoid -Wmissing-prototypes warnings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * powerpc: Add missing includesSascha Hauer2020-09-157-0/+9
| | | | | | | | | | | | Add missing includes to avoid -Wmissing-prototypes warnings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * powerpc: Add prototypes to header fileSascha Hauer2020-09-154-10/+10
| | | | | | | | | | | | | | | | | | | | This adds prototypes of the board specific functions fsl_ddr_board_options() and fsl_ddr_board_info() to a header file. Including this header file from the board files reveals that the prototypes are different across the different implementations, so harmonize them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | restart: give all restart handlers a descriptive nameAhmad Fatoum2020-09-152-2/+2
|/ | | | | | | | | | | | | With incoming changes to choose a specific reset method, give all currently unnamed "default" reset handlers a name: - soc reset via SoC-specific means - soc-wdt reset via SoC watchdog timer - vector reset via jump to reset vector - efi reset via EFI firmware Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: mpc5xxx: delete dead codeAhmad Fatoum2020-07-144-670/+0
| | | | | | | | These files had never been built since being added. At least the C file doesn't compile due to missing headers. Remove them. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2020-06-111-33/+2
|\
| * arch: include <asm-generic/int-ll64.h> from <asm/types.h>Masahiro Yamada2020-05-181-33/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many architectures duplicate the same fixed type definitions as in <asm-generic/int-ll64.h>. Include <asm-generic/int-ll64.h> from <asm/types.h>, and remove the duplicated code. Note: Linux commit 0c79a8e29b5f ("asm/types.h: Remove include/asm-generic/int-l64.h") unified the kernel space definition into int-ll64.h. Barebox also adopts int-ll64. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | powerpc: move ddr-8xxx/ to the relevant MakefileMasahiro Yamada2020-05-252-2/+2
|/ | | | | | | | | | Directory descending upward is ugly. Move it to the correct Makefile. No functional change is intended because FSL_DDR{2,3} depend on ARCH_MPC85XX. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2020-05-1439-116/+0
|
* Merge branch 'for-next/kconfig'Sascha Hauer2020-05-141-13/+0
|
* arch: remove KBUILD_SRC checks from arch MakefileMasahiro Yamada2020-05-121-4/+0
| | | | | | | You can always add $(srctree)/ to the mach include path. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: rename arch/ppc/ to arch/powerpc/Masahiro Yamada2020-05-04158-0/+18854
In old days, Linux supported PowerPC with two arch directories, arch/ppc/ and arch/ppc64/. Linux commit 564ee7a5668e ("[PATCH] powerpc: Move arch/ppc*/kernel/vecemu.c to arch/powerpc") started the migration to arch/powerpc/, and commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc") finished it. This commit aligns the directory name with the current Linux. I did 'git mv arch/ppc/ arch/powerpc/', and fixed up some hard-coded arch/ppc paths. Barebox has stuck to arch/ppc/ for a long time. To keep the backward compatibility, I added the following to the top Makefile. # Support ARCH=ppc for backward compatibility ifeq ($(ARCH),ppc) SRCARCH := powerpc endif Both ARCH=ppc and ARCH=powerpc work in the same way. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>