arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro.Replace a number of array length calculations with the ARRAY_SIZE()macro, for clarity.Signed-off-by: Robert P. J. Day <rpjday@cr
arch/powerpc: Simplify some calculations using ARRAY_SIZE() macro.Replace a number of array length calculations with the ARRAY_SIZE()macro, for clarity.Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
usb: Rename ehci-fsl.h to ehci-ci.hMost of ehci-fsl header describe USB controllerdesigned by Chipidea and used by various SoC vendors.This patch renames it to a generic header: ehci-ci.hConten
usb: Rename ehci-fsl.h to ehci-ci.hMost of ehci-fsl header describe USB controllerdesigned by Chipidea and used by various SoC vendors.This patch renames it to a generic header: ehci-ci.hContents of file are not changed (so it contains severalreferences to freescale SoCs).Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>Acked-by: Marek Vasut <marex@denx.de>Tested-by: Simon Glass <sjg@chromium.org>
arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()Incorrect DDR law was created in case of B4860qds after commit2d2f490d. Return value of ffs64() differs from __ffs64(), eg.
arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()Incorrect DDR law was created in case of B4860qds after commit2d2f490d. Return value of ffs64() differs from __ffs64(), eg. ffs64(0x80000000) = 0x20 __ffs64(0x80000000) = 0x1fAs a result of this change, callers need to adjust the expectedreturn value by removing -1.Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
Add more SPDX-License-Identifier tagsIn a number of places we had wordings of the GPL (or LGPL in a fewcases) license text that were split in such a way that it wasn't caughtpreviously. Convert
Add more SPDX-License-Identifier tagsIn a number of places we had wordings of the GPL (or LGPL in a fewcases) license text that were split in such a way that it wasn't caughtpreviously. Convert all of these to the correct SPDX-License-Identifiertag.Signed-off-by: Tom Rini <trini@konsulko.com>
powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xxSigned-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
mpc83xx: Add strider boardThe gdsys strider board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x 10/100 M
mpc83xx: Add strider boardThe gdsys strider board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x 10/100 Mbit/s Ethernet (optional)- Lattice ECP3 FPGA connected via eLBCSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>[trini: Drop setting CONFIG_SYS_GENERIC_BOARD, this is always true now]Signed-off-by: Tom Rini <trini@konsulko.com>
powerpc: Finish updating u-boot*lds scripts for newer binutilsIn 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines inthe mpc85xx linker scripts as this is not required and breaks n
powerpc: Finish updating u-boot*lds scripts for newer binutilsIn 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines inthe mpc85xx linker scripts as this is not required and breaks newerbinutils. This commit cleans up the rest of the powerpc linker scripts.Signed-off-by: Tom Rini <trini@konsulko.com>
powerpc: Remove __ilog2_u64 and ffs4 from bitopsRemove __ilog2_u64 and ffs4 from powerpc bitops to align with thekernel implementation.Use the generic __ffs64 instead of a custom powerpc impleme
powerpc: Remove __ilog2_u64 and ffs4 from bitopsRemove __ilog2_u64 and ffs4 from powerpc bitops to align with thekernel implementation.Use the generic __ffs64 instead of a custom powerpc implementation.Cc: York Sun <yorksun@freescale.com>Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>Reviewed-by: Tom Rini <trini@konsulko.com>Reviewed-by: Heiko Schocher <hs@denx.de>Reviewed-by: Jagan Teki <jteki@openedev.com>
arch: Make board selection choices optionalBy making the board selections optional, every defconfig will includethe board selection when running savedefconfig so if a new board isadded to the top
arch: Make board selection choices optionalBy making the board selections optional, every defconfig will includethe board selection when running savedefconfig so if a new board isadded to the top of the list of choices the former top's defconfig willstill be correct.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Cc: Masahiro Yamada <yamada.masahiro@socionext.com>Acked-by: Stephen Warren <swarren@wwwdotorg.org>Cc: Tom Rini <trini@konsulko.com>
powerpc: add 2 common dcache assembly functionsThis patch defines the 2 flush_dcache_range and invalidate_dcache_rangefunctions for all the powerpc architecture. Their implementation isborrowed f
powerpc: add 2 common dcache assembly functionsThis patch defines the 2 flush_dcache_range and invalidate_dcache_rangefunctions for all the powerpc architecture. Their implementation isborrowed from the kernel's misc_32.S file and replace the ones frommpc86xx and ppc4xx since they were equivalent.This is a fix for the problem introduced by this patch:http://patchwork.ozlabs.org/patch/448849/Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>Reviewed-by: Tom Rini <trini@konsulko.com>Reviewed-by: York Sun <yorksun@freescale.com>
powerpc: ids8313: use "select" instead of default value in defconfigSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Acked-by: Simon Glass <sjg@chromium.org>
powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS supportThese boards are still non-generic boards.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Dave Liu <daveliu@freescale.com>
powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS supportThese boards are still non-generic boards.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Dave Liu <daveliu@freescale.com>Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
mpc83xx: Add gdsys hrcon boardThe gdsys hrcon board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x GbE (o
mpc83xx: Add gdsys hrcon boardThe gdsys hrcon board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x GbE (optional)- Lattice ECP3 FPGA connected via eLBC and PCIeSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>Signed-off-by: Stefan Roese <sr@denx.de>
powerpc/mpc83xx: Zero boot_flags arg for calling board_init_f()The argument boot_flags of board_init_f() is not used at all in thepowerpc specific board.c init sequence. Now with the generic init
powerpc/mpc83xx: Zero boot_flags arg for calling board_init_f()The argument boot_flags of board_init_f() is not used at all in thepowerpc specific board.c init sequence. Now with the generic initsequence, this boot_flags arg is used by board_init_f().This patch sets the r3 register that is used to pass the boot_flagsargument from the start.S board_init_f() call to 0 prior to the functioncall to avoid unknown content to end up in gd->flags.Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>Reviewed-by: York Sun <yorksun@freescale.com>
kconfig: add CONFIG_SUPPORT_SPLCONFIG_SPL should not be enabled for boards that do not have SPL.CONFIG_SUPPORT_SPL introduced by this commit should be "select"edby boards with SPL support and CON
kconfig: add CONFIG_SUPPORT_SPLCONFIG_SPL should not be enabled for boards that do not have SPL.CONFIG_SUPPORT_SPL introduced by this commit should be "select"edby boards with SPL support and CONFIG_SPL should depend on it.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
ppc: Zap Hymod boardRemove this board as this is the only one last user of eeprom_probe(),which is pretty non-standard stuff.This patch also removes all the PHP, SQL and CSS stuff from U-Boot,w
ppc: Zap Hymod boardRemove this board as this is the only one last user of eeprom_probe(),which is pretty non-standard stuff.This patch also removes all the PHP, SQL and CSS stuff from U-Boot,which probably makes U-Boot a bit less IoT ;-)Signed-off-by: Marek Vasut <marex@denx.de>Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Tom Rini <trini@ti.com>Cc: Wolfgang Denk <wd@denx.de>Cc: Simon Glass <sjg@chromium.org>Cc: Heiko Schocher <hs@denx.de>
powerpc: mpc83xx: remove board support for MERGERBOX and MVBLM7These boards have been orphaned for more than 6 months.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.This commit can be easily reproduced by the following command:find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ { N s/\n[[:space:]]*string//}'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
powerpc: remove redundant CPU definitionCONFIG_${CPU} is defined by Kconfig.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>Acked-by: Stefan Ro
powerpc: remove redundant CPU definitionCONFIG_${CPU} is defined by Kconfig.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>Acked-by: Stefan Roese <sr@denx.de>
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board(This commit was automatically generated by a conversion scriptbased on boards.cfg)In Linux Kernel, defconfig files are located underarch/${ARCH}/configs/ directory.It works in Linux Kernel since ARCH is always given from thecommand line for cross compile.But in U-Boot, ARCH is not given from the command line.Which means we cannot know ARCH until the board configuration is done.That is why all the "*_defconfig" files should be gathered into asingle directory ./configs/.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
qe: move immap_qe.h from arch directory into common directoryls1021 is arm-core and supports qe too.Move immap_qe.h into common directory for both arm and powerpc.Signed-off-by: Zhao Qiang <B454
qe: move immap_qe.h from arch directory into common directoryls1021 is arm-core and supports qe too.Move immap_qe.h into common directory for both arm and powerpc.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
mpc8313, bootcount: mpc8313 has no qe murammpc831x has no muram, so muram cannot be used for bootcounterfunction.Signed-off-by: Heiko Schocher <hs@denx.de>Signed-off-by: Kim Phillips <kim.phill
mpc8313, bootcount: mpc8313 has no qe murammpc831x has no muram, so muram cannot be used for bootcounterfunction.Signed-off-by: Heiko Schocher <hs@denx.de>Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Remove obsolete _LINUX_CONFIG_H macroCommit 643aae1406c93ddc64fcf8c136b47cdffd9c8ccddeleted include/linux/config.h but missed todelete _LINUX_CONFIG_H macro.It is no longer used at all.Signed-
Remove obsolete _LINUX_CONFIG_H macroCommit 643aae1406c93ddc64fcf8c136b47cdffd9c8ccddeleted include/linux/config.h but missed todelete _LINUX_CONFIG_H macro.It is no longer used at all.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
powerpc/83xx: Add support for get_svr() for 83xx devicesDefines get_svr() for 83xx devicesSigned-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>Reviewed-by: York Sun <yorksun@freescale.c
powerpc/83xx: Add support for get_svr() for 83xx devicesDefines get_svr() for 83xx devicesSigned-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
PowerPC: merge commonly-defined flagsPLATFORM_RELFLAGS += -meabiPLATFORM_CPPFLAGS += -ffixed-r2were defined in all arch/powerpc/${CPU}/config.mk.This commit moves them to arch/powerpc/config.mk
PowerPC: merge commonly-defined flagsPLATFORM_RELFLAGS += -meabiPLATFORM_CPPFLAGS += -ffixed-r2were defined in all arch/powerpc/${CPU}/config.mk.This commit moves them to arch/powerpc/config.mk.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
123456