summaryrefslogtreecommitdiffstats
path: root/arch/ppc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* PPC: discard unused functionsSascha Hauer2016-04-081-0/+1
| | | | | | | Use --gc-sections to discard unused functions. This makes the image smaller. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: Freescale P1010 SoC supportRenaud Barbier2014-07-281-0/+1
| | | | | | | | | | Add support for the Freescale P1010 including errata for this CPU, SoC frequency calculation and GPIO settings. The mpc85xx configuration options file is re-ordered to facilitate board option selection. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: P1022DS: update Kconfig and MakefileRenaud Barbier2014-03-191-0/+1
| | | | | | | | Kconfig and make files are updated to build the Freescale P1022DS image. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: mpc85xx: use common linker scriptRenaud Barbier2014-01-161-0/+4
| | | | | | | | Updates to use a common linker script for all mpc85xx boards, avoiding duplication. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: mpc85xx: build directivesRenaud Barbier2013-11-061-0/+1
| | | | | | | | Add the Kconfig and Makefile directives to build barebox for the GEIP DA923RC board. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Minimal P2020RDB platform support and configuration fileRenaud Barbier2012-05-171-0/+1
| | | | | | | | | | | | | This is limited board support for the Freescale P2020RDB in single CPU mode. The DDR is configured for a memory bus running at 667Mhz. The system boots from NOR flash and provides the console at 115200 bauds, no other drivers are included. Finally, the PPC Kconfig and make file make the building of the P2020RDB platform firmware possible. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 85xx core support build filesRenaud Barbier2012-05-171-0/+7
| | | | | | | | Kconfig and Makefile allow to include the 85xx cpu support in the compilation process. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Preparation stage to support multiple PPC architecturesRenaud Barbier2012-05-021-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arch/ppc/Kconfig is reworked to make the configuration environment architecture neutral. All MPC5200 configuration is moved to the MPC5200 architecture specific configuration file. These modifications are reflected in the PCM030 board support. arch/ppc/Makefile compilation directives are updated in preparation for the introduction of future cpus/machines. lib/time.c is moved to the architecture specific directory and the building instructions updated in the Make files. The file is cleaned up of unused code. The definition of L1_CACHE_... is updated and CACHELINE_SIZE is defined in ppc/include/asm/cache.h for future use by the mpc85xx. The file mach-mpc5xxx/pci_mpc5200.c and mach-mpc5xxx/start.S are updated accordingly. The declaration of search_exception_table is moved in include/asm/common.h because it is used across architectures. mach-mpc5xxx/traps.c is also updated to reflect this change. The definition of exception in asm/ppc_asm.tmpl is updated for future use by the mpc85xx. The file starts.S in mach-mpc5xxx is updated accordingly. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Only pass -P to cpp when generating ld scriptsLoïc Minier2011-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | When building sandbox with ccache, one would hit warnings such as: warning: 'struct mmsghdr' declared inside parameter list on random files; a way to reproduce this issue is to build a simple file doing just: #include <sys/socket.h> int main(void) { return 0; } gcc -Wall -P -c -o foo foo.c But actually the -P flag is only useful when generating non-C files, such as linker scripts in the case of barebox. Removing the -P flag from all the gcc invocations, except when generating .lds files makes the warning go away. It turns out that this is what linux/scripts/Makefile.build also does nowadays. Signed-off-by: Loïc Minier <loic.minier@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move boards to arch/<architecure>/boardsJean-Christophe PLAGNIOL-VILLARD2010-07-231-1/+1
| | | | | | | | | | | | this will allow each arch to handle the boards more simply and depending on there need the env var BOARD will refer to the current board dirent for sandbox as we have only one board the board dirent is arch/sandbox/board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove/adjust erroneous references to CONFIG_MODULE.Robert P. J. Day2009-12-211-1/+1
| | | | | | | | The correct config variable is CONFIG_MODULES, so tweak any references to the incorrect CONFIG_MODULE. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-18/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* PPC: Add cleanup flagsSascha Hauer2008-08-131-0/+5
| | | | | | | Add cleanup flags to Makefile to let the linker throw away unneeded objects. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [kbuild] remove -Wstritct-prototypes from arch/ppc/Makefile. It'sSascha Hauer2008-06-031-1/+1
| | | | already in toplevel Makefile
* [kbuild] move -pipe from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] remove -Wall from architecture Makefiles. It's alreadySascha Hauer2008-06-031-1/+1
| | | | in toplevel CFLAGS
* [kbuild] move -nostdinc from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -ffreestanding from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -fno-builtin from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -Os flag from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+0
| | | | Makefile
* [kbuild] change architecture Makefiles not to overwriteSascha Hauer2008-06-031-1/+1
| | | | | CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS
* remove -isystem with empty argumentMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | This patch removes the "-isystem $(gccincdir)" from the arch/*/Makefile because gccindir is empty. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* don't against link libgccMarc Kleine-Budde2007-11-281-1/+0
| | | | | | We don't want to link against libgcc. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Using correct board names all over the placeJuergen Beisert2007-11-081-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Linking: Remove linker scripts from (arm based-) boards and addsascha2007-10-171-0/+2
| | | | | | | | a generic linker script to arch/arm/lib/u-boot.lds.S. If a board wants to overwrite a linker script it can do so using CONFIG_BOARD_LINKER_SCRIPT. There is no generic linker script for ppc and blackfin yet, so still use the board specific one.
* add powerpc specific bits for modulesSascha Hauer2007-10-011-1/+1
|
* add CONFIG_RELOCATABLESascha Hauer2007-07-121-1/+5
|
* svn_rev_683Sascha Hauer2007-07-051-0/+1
| | | | more cleanups, fix compiler warnings
* svn_rev_672Sascha Hauer2007-07-051-1/+1
|
* svn_rev_619Sascha Hauer2007-07-051-2/+2
| | | | no need for relocatable code anymore. saves ~10k space
* svn_rev_550Sascha Hauer2007-07-051-1/+1
| | | | linux->uboot
* svn_rev_233Sascha Hauer2007-07-051-2/+2
|
* svn_rev_173Sascha Hauer2007-07-051-1/+1
| | | | WIP
* svn_rev_155Sascha Hauer2007-07-051-46/+56
| | | | on the way to compile powerpc
* svn_rev_154Sascha Hauer2007-07-051-0/+46
move lib_ppc to arch/ppc