summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test: py: Use global pytestmark for hush testsMichal Simek2017-06-051-4/+2
| | | | | | | | | | All tests in test_hush_if_test depends on hush parser to be present. This patch simplify test dependencies by using global pytestmark. Reported-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stephen Warren <swarren@nvidia.com>
* arm: am57xx: cl-som-am57x: adjust default env to the installation systemUri Mashiach2017-06-051-2/+4
| | | | | | | | | | The SD card automatic installation system depends on the default environment of the previous U-Boot. Add the missing environment variables. Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
* ARM: am57xx: cl-som-am57x: support for AM5718Uri Mashiach2017-06-051-0/+5
| | | | | | | | Disable SDRAM controller EMIF2 for single core SOC Set SDRAM size size to 1GB Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
* arm: am57xx: cl-som-am57x: change the shell promptUri Mashiach2017-06-051-0/+1
| | | | | | | Change the shell prompt to "U-Boot# ". Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
* arm: am57xx: cl-som-am57x: support for FS bootUri Mashiach2017-06-052-3/+4
| | | | | | | | | | | Supported boot devices are raw QSPI and raw SD card. Add support for a FAT16/32 file system for SD card. The SOC's boot ROM only supports FAT file system. Therefore remove the SPL support for the EXT file system. Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
* common: microblaze: Drop arch-specific declarationsSimon Glass2017-06-051-5/+0
| | | | | | These are not needed and should not be in common.h. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: arm: freescale: layerscape: Move header files out of common.hSimon Glass2017-06-0514-12/+33
| | | | | | | We should not have an arch-specific header file in common.h. Adjust the board files a little so it is not needed, and drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: arm: davinci: Move header file out of commonSimon Glass2017-06-059-4/+20
| | | | | | | | | We should not have an arch-specific header file in common.h. Instead, use the asm/hardware.h header to provide the required declarations, and drop the common.h changes. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* common: ep93xx: Move arch-specific declarations out of commonSimon Glass2017-06-052-11/+1
| | | | | | | These declarations should not be in common. Remove those that are not needed and move the others to an arch-specific location. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: freescale: Move arch-specific imx code to arch-imxSimon Glass2017-06-052-9/+7
| | | | | | | These declarations should not be in common.h. Move them to an arch-specific header. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: freescale: Move arch-specific declarationsSimon Glass2017-06-0523-95/+135
| | | | | | | | | The declarations should not be in common.h. Move them to the arch-specific headers. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)] Signed-off-by: Tom Rini <trini@konsulko.com>
* common: powerpc: Move arch-specific headersSimon Glass2017-06-056-43/+72
| | | | | | | | Set up a new asm/ppc.h header file to hold this arch-specific stuff. It should not be in common.h. It probably should be refactored to use asm/arch instead, but that is a job for the maintainer. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Move PPC4xx_SYS_INFO() et al to arch-specific headerSimon Glass2017-06-052-6/+4
| | | | | | | These definitions should not be in common.h. Move them to an arch-specific header file. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Drop determine_sysper() and determine_pci_clock_per()Simon Glass2017-06-051-6/+0
| | | | | | These arch-specific declarations should not be in common.h. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Drop cpu_init_f() declarationsSimon Glass2017-06-051-11/+0
| | | | | | These arch-specific functions are not needed here. Signed-off-by: Simon Glass <sjg@chromium.org>
* arm: Remove include files from common.hSimon Glass2017-06-052-6/+3
| | | | | | | With a small tweak we can avoid including these files for all boards. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* arm: Include asm/setup.h explictlySimon Glass2017-06-0511-0/+12
| | | | | | Include this header where needed so we do not need to rely on common.h. Signed-off-by: Simon Glass <sjg@chromium.org>
* arm: Add declarations to avoid needing to include headersSimon Glass2017-06-053-0/+4
| | | | | | | At present common.h includes various ARM-specific headers. In preparation for dropping this, add a few explicit declarations. Signed-off-by: Simon Glass <sjg@chromium.org>
* arm: Add explicit include of <asm/mach-types.h>Simon Glass2017-06-0555-0/+55
| | | | | | | | Rather than relying on common.h to provide this include, which is going away at some point, include it explicitly in each file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* nds32: Remove include files from common.hSimon Glass2017-06-053-5/+3
| | | | | | | With a few tweaks we can avoid including these files, which are only needed by two C files. Signed-off-by: Simon Glass <sjg@chromium.org>
* x86: Don't include asm/u-boot.h in commonSimon Glass2017-06-052-4/+3
| | | | | | | With a small fixup to u-boot-x86.h, this is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* sandbox: Don't include asm/u-boot.h in commonSimon Glass2017-06-051-3/+0
| | | | | | This is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* mips: Don't include asm/u-boot.h in commonSimon Glass2017-06-051-3/+0
| | | | | | | This is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* arc: Don't include asm/u-boot.h in commonSimon Glass2017-06-051-3/+0
| | | | | | This is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* nds32: Make u-boot-nds32.h a private headerSimon Glass2017-06-052-1/+3
| | | | | | | Rather than including this arch-specific header file in common.h, include it from within nds32's u-boot.h header. Signed-off-by: Simon Glass <sjg@chromium.org>
* mips: Make u-boot-mips.h a private headerSimon Glass2017-06-052-1/+2
| | | | | | | | Rather than including this arch-specific header file in common.h, include it from within mips's u-boot.h header. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* arm: Make u-boot-arm.h a private headerSimon Glass2017-06-053-1/+6
| | | | | | | | | | Rather than including this arch-specific header file in common.h, include it from within arm's u-boot.h header. Also drop the comment about something to be fixed. It has been there forever and it is not clear what it means. Signed-off-by: Simon Glass <sjg@chromium.org>
* x86: Make u-boot-x86.h a private headerSimon Glass2017-06-052-2/+3
| | | | | | | | | | Rather than including this arch-specific header file in common.h, include it from within x86's u-boot.h header. Also drop the comment about something to be fixed. It is not clear what needs fixing. Signed-off-by: Simon Glass <sjg@chromium.org>
* sandbox: Make u-boot-sandbox.h a private headerSimon Glass2017-06-052-1/+2
| | | | | | | | | Rather than including this arch-specific header file in common.h, include it from within sandbox's u-boot.h header. Also drop the comment about something to be fixed. Signed-off-by: Simon Glass <sjg@chromium.org>
* arc: Make u-boot-arc.h a private headerSimon Glass2017-06-052-1/+2
| | | | | | | Rather than including this arch-specific header file in common.h, include it from within arc's u-boot.h header. Signed-off-by: Simon Glass <sjg@chromium.org>
* samsung: Drop more references fo s3c24x0Simon Glass2017-06-055-58/+0
| | | | | | This is dead code now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* samsung: nand: Drop s3c2410_nand driverSimon Glass2017-06-052-176/+0
| | | | | | This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* samsung: usb: Drop ohci-s3c24xx driverSimon Glass2017-06-054-2100/+1
| | | | | | This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* samsung: mmc: Drop s3c_sdi driverSimon Glass2017-06-053-325/+0
| | | | | | | This is no-longer used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
* samsung: Drop s3c24x0 arch-specific codeSimon Glass2017-06-0513-1961/+0
| | | | | | This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* gpio: samsung: Drop s3c2440_gpio driverSimon Glass2017-06-052-89/+0
| | | | | | This is no longer used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* api: Add a header for api_init()Simon Glass2017-06-053-3/+14
| | | | | | Put this in its own header instead of using common.h. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Move get_OPB_freq() and get_PCI_freq() to PPC headerSimon Glass2017-06-052-4/+3
| | | | | | These should not be in common.h. Move the to an arch-specific header. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Move pcie_setup_hoses() to PPC headerSimon Glass2017-06-052-8/+1
| | | | | | Only one board needs this definition. Move it to an arch-specific header. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Drop pci_master_init()Simon Glass2017-06-051-3/+0
| | | | | | This should not be in common.h. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Move pci_target_init() to PPC headerSimon Glass2017-06-052-3/+1
| | | | | | Only one boards needs this definition. Move it to an arch-specific header. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Drop pci_pre_init() and is_pci_host()Simon Glass2017-06-051-5/+0
| | | | | | | These should not be in common.h. They are used in some legacy PowerPC code. Just drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
* common: Drop inclusion of pci.hSimon Glass2017-06-052-3/+1
| | | | | | | This should not be in common.h - remove it and update the only file that needs it. Signed-off-by: Simon Glass <sjg@chromium.org>
* t81xx: Migrate TI81XX/TI816X/TI814X symbols to KconfigTom Rini2017-06-059-17/+38
| | | | | | | | | | The symbol CONFIG_TI81XX is used for the parts that are common to the TI816x and TI814x SoCs and are not part of CONFIG_ARCH_OMAP2PLUS nor CONFIG_AM33XX. It however has so few uses that we can just modify the code to check for both and drop the symbol. The symbols CONFIG_TI816X and CONFIG_TI814X are for the repective SoCs. Signed-off-by: Tom Rini <trini@konsulko.com>
* ti816x: Modernize the defconfigTom Rini2017-06-053-49/+28
| | | | | | | | | | | | - Switch to using <configs/ti_armv7_omap.h> and family. This lets us drop lots of custom defines. - Ensure that our default environment uses DEFAULT_LINUX_BOOT_ENV so that Linux will boot correctly. - Enable CONFIG_DISTRO_DEFAULTS - Switch to using CONFIG_OF_CONTROL - Various other cleanups to match other SoCs in the family line. Signed-off-by: Tom Rini <trini@konsulko.com>
* ti816x: Import dts files from Linux Kernel v4.11Tom Rini2017-06-054-0/+944
| | | | | | | This brings in the required dts/dtsi files for the TI8168-EVM from the Linux Kernel v4.11 release. Signed-off-by: Tom Rini <trini@konsulko.com>
* ti816x: Enable NANDTom Rini2017-06-053-4/+62
| | | | | | | The TI8168-EVM comes with NAND on board. Enable it and move environment over there. Signed-off-by: Tom Rini <trini@konsulko.com>
* ti816x_evm: Disable CONFIG_USE_PRIVATE_LIBGCCTom Rini2017-06-051-0/+1
| | | | | | | | | On this platform, we can trace a general failure to boot to enabling / disabling this option. When this is enabled, we go off into the weeds during SPL and are unable to talk with the SD card and mmc_initialize() fails. Signed-off-by: Tom Rini <trini@konsulko.com>
* ti816x: Rework DDR initialization sequenceTom Rini2017-06-0511-266/+260
| | | | | | | | | | | | | | | | | | The ti816x/am389x SoC is the first generation in what U-Boot calls the "am33xx" family. In the first generation of this family the DDR initialization sequence is quite different from all of the subsequent generations. Whereas with ti814x (second generation) we can easily work the minor differenced between that and am33xx (third generation), our attempts to do this for ti816x weren't sufficient. Rather than add a large amount of #ifdef logic to make this different sequence work we add a new file, ti816x_emif4.c to handle the various required undocumented register writes and sequence and leverage what we can from arch/arm/mach-omap2/am33xx/ddr.c still. As DDR2 has similar problems today but I am unable to test it, we drop the DDR2 defines from the code rather than imply that it works by leaving it. We also remove a bunch of other untested code about changing the speed the DDR runs at. Signed-off-by: Tom Rini <trini@konsulko.com>
* armv7: Mark the default lowlevel_init function as weakTom Rini2017-06-052-3/+9
| | | | | | | | | | Rather than have a long and if check in the Makefile, mark the default lowlevel_init function as weak (as we do on armv8) so that SoCs can override it if needed, and it will still be discarded if unused. Provide a weak s_init as well to allow for this to link and be discarded. Signed-off-by: Tom Rini <trini@konsulko.com>