summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * | common: Move reset_misc() function to arch headerSimon Glass2020-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | This function is only used on ARM devices. Move it out of the common file and to a arch-specific header. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move get_tbclk() to time.hSimon Glass2020-01-242-1/+2
| | | | | | | | | | | | | | | | | | | | | This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move clock functions into a new fileSimon Glass2020-01-242-5/+14
| | | | | | | | | | | | | | | | | | | | | These three clock functions don't use driver model and should be migrated. In the meantime, create a new file to hold them. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move upmconfig() to ppc.hSimon Glass2020-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | This file is only used by PowerPC so move it to an arch-specific header file. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move ll_boot_init() to init.hSimon Glass2020-01-242-7/+7
| | | | | | | | | | | | | | | | | | This is an init-related function so belongs in that file. Move it. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: arm: Move s_init() to an ARM-specific headerSimon Glass2020-01-241-2/+0
| | | | | | | | | | | | | | | | | | | | | This function is only used on ARM devices so does not belong in the global common header file. Move it to an ARM header. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move device-tree setup functions to fdt_support.hSimon Glass2020-01-242-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | These functions relate to setting up the device tree for booting the OS. The fdt_support.h header file supports similar functions, so move these there. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move type declarations to linux/types.hSimon Glass2020-01-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This file already has lots of type declarations so it seems better to put all of them there. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Drop the symbol_lookup() declarationSimon Glass2020-01-241-3/+0
| | | | | | | | | | | | | | | | | | | | | This function is not called anywhere so we can drop the declaration. If it is needed one day, it should be added in its own header file. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Drop CONFIG_HAS_POSTSimon Glass2020-01-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | This only exists to control whether the post/ directory is build. It is just as easy to check this in the Makefile. Remove CONFIG_HAS_POST and use an ifdef in the Makefile instead. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Drop CONFIG_POST_STD/ALT_LISTSimon Glass2020-01-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | These CONFIG options are not used anymore. CONFIG_POST_ALT_LIST just causes CONFIG_POST_STD_LIST to be set and it causes tests.c to be compiled. So just make compiling tests.c unconditional. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move CONFIG_SYS_DEF_EEPROM_ADDR out of common.hSimon Glass2020-01-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This define seems better suited to the eeprom header file, particularly as it is only used in the eeprom.c file. Move it. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move reset_phy() to net.hSimon Glass2020-01-242-3/+8
| | | | | | | | | | | | | | | | | | This is a network function so let's move it into that header. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Drop floppy disk supportSimon Glass2020-01-242-234/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This seems pretty old now. It has not been converted to driver model and is not used by any boards. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move jumptable_init() out of common.hSimon Glass2020-01-242-3/+3
| | | | | | | | | | | | | | | | | | | | | This function is defined in exports.c so move it to its header file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | common: Move relocate_code() to init.hSimon Glass2020-01-242-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move functions for loading from fat/ext2 to fs.hSimon Glass2020-01-242-6/+22
| | | | | | | | | | | | | | | | | | | | | These are filesystem functions and belong in the filesystem header file. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move do_tftpb() to net.hSimon Glass2020-01-242-3/+11
| | | | | | | | | | | | | | | | | | This function belongs in the network header file. Move it. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move embedded fdt location to fdtdec.hSimon Glass2020-01-242-3/+3
| | | | | | | | | | | | | | | | | | | | | These declarations are only used in fdtdec.c so move them to its header file. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Drop checkflash() and checkdram()Simon Glass2020-01-241-2/+0
| | | | | | | | | | | | | | | | | | These functions are not used in U-Boot. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move flash_perror() to flash.hSimon Glass2020-01-242-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | This function belongs more in flash.h than common.h so move it. Also remove the space before the bracket in some calls. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | common: Move main_loop() to init.hSimon Glass2020-01-242-3/+7
| | | | | | | | | | | | | | | | | | | | | Move this function out of common.h and into a better place. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * | common: Drop mdm_init()Simon Glass2020-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
* | | Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriqTom Rini2020-01-255-7/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | Updates and fixes for ls1028a, lx2160a, ls1012a, ls1021a, ls2080a, ls1088a platforms: - lx2-rev2 pcie support, enetc related updates, layerscape-pcie fixes
| * | | lx2160: Correct default environment variableMeenakshi Aggarwal2020-01-243-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create separate "boot_scripts" and "boot_script_hdr" environment variable for LX2160A RDB and QDS board. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * | | include/configs: ls1012afrwy: adjust kernel_addr_rBiwen Li2020-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux kernel Image is growing quite quickly, if kernel Image size grow beyond 36 MB then kernel Image at load address 0x81000000 overlaps with the reserved memory region at 0x83400000. Adjust kernel load address(kernel_addr_r) from 0x81000000 to 0x96000000 to avoid kernel Image overlapping with reserved memory region. This change fixes the below U-Boot error while booting uncompressed kernel Image through booti command, ERROR: reserving fdt memory region failed (addr=83400000 size=c00000) Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * | | include/configs: ls1012ardb: adjust kernel_addr_rBiwen Li2020-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux kernel Image is growing quite quickly, if kernel Image size grow beyond 36 MB then kernel Image at load address 0x81000000 overlaps with the reserved memory region at 0x83400000. Adjust kernel load address(kernel_addr_r) from 0x81000000 to 0x96000000 to avoid kernel Image overlapping with reserved memory region. This change fixes the below U-Boot error while booting uncompressed kernel Image through booti command, ERROR: reserving fdt memory region failed (addr=83400000 size=c00000) Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | mtd: add prototypes for weak functionPatrick Delaunay2020-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a prototype for the weak function board_mtdparts_default(). It solves one warning when compiling with W=1 on stm32mp1 board: board/st/stm32mp1/stm32mp1.c: warning: no previous prototype for 'board_mtdparts_default' [-Wmissing-prototypes] void board_mtdparts_default(const char **mtdids, const char **mtdparts) ^~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* | | | common: blk: fix comment about blkcache_read return valueEric Nelson2020-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The blkcache_read() routine returns 1 (true) to indicate that a block was found in the cache and returned, or 0 if not. Signed-off-by: Eric Nelson <eric@nelint.com>
* | | | common: add blkcache initAngelo Durgehello2020-01-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On m68k, block_cache list is relocated, but next and prev list pointers are not adjusted to the relocated struct list_head address, so the first iteration over the block_cache list hangs. This patch initializes the block_cache list after relocation. Signed-off-by: Angelo Durgehello <angelo.dureghello@timesys.com> Reviewed-by: Eric Nelson <eric@nelint.com>
* | | | configs: mt8518: set global variables for fastbootmingming lee2020-01-251-1/+5
|/ / / | | | | | | | | | | | | | | | set common fastboot variables for mt8518 Signed-off-by: mingming lee <mingming.lee@mediatek.com>
* | | qemu-arm: set CONFIG_SYS_BOOTM_LEN to SZ_64MDhananjay Phadke2020-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | FIT image contents can be larger than default bootm limit 8M with initrd. Raise limit to 64MB which is commonly used elsewhere. Signed-off-by: Dhananjay Phadke <dphadke@linux.microsoft.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
* | | arm/km: remove unmaintained board kmsuv31Holger Brunck2020-01-231-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This target is out of maintenance and can be removed. Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> CC: Valentin Longchamp <valentin.longchamp@ch.abb.com> CC: Stefan Roese <sr@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
* | | arm/km: remove unmaintained board SUGP1Holger Brunck2020-01-231-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This target is out of maintenance and can be removed. Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> CC: Valentin Longchamp <valentin.longchamp@ch.abb.com> CC: Stefan Roese <sr@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
* | | arm/km: add support for SUSE2Holger Brunck2020-01-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is similar to SUV31, but the FPGA is reset concept is quite different. Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> CC: Valentin Longchamp <valentin.longchamp@ch.abb.com> CC: Stefan Roese <sr@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
* | | KM/kmp204x: qrio and i2c deblock code moved to commonHolger Brunck2020-01-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This patch moves the qrio and i2c deblocking code to keymile/common as it will also be used by the upcoming CENT2 board. Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> CC: Priyanka Jain <priyanka.jain@nxp.com>
* | | removing fdt_high from default set of variables for, dragonboard410c configMatthias Schoepfer2020-01-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using fitImage in AARCH64, the fdt is only 4 byte aligned. According to linux kernel -> Documentation/arm64/booting.txt, the fdt *must* be 8 byte aligned. Therefore, it is somewhat random, if you build a kernel that the fdt is 4 or 8 byte aligned. Removing fdt_high (or changing it to a valid 8 byte aligned address) solves this issue. Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> CC: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
* | | bcm968360bg: add initial supportPhilippe Reynes2020-01-231-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add the initial support of the broadcom reference board bcm968360bg with a bcm68360 SoC. This board has 512 MB of RAM, 256 MB of flash (nand), 2 USB port, 1 UART, and 4 ethernet ports. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
* | | board: Add new Samsung "stemmy" board based on ST-Ericsson U8500Stephan Gerhold2020-01-221-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ST-Ericsson U8500 SoC has been used in mass-production for some Android smartphones released around 2012. In particular, Samsung has released more than 5 different smartphones based on U8500, e.g. - Samsung Galaxy S III mini (GT-I8190) "golden" - Samsung Galaxy S Advance (GT-I9070) "janice" - Samsung Galaxy Xcover 2 (GT-S7710) "skomer" and a few others. Mainline Linux has great support for the Ux500 SoC, so these smartphones can also run Linux mainline quite well. Unfortunately, the original Samsung bootloader used on these devices has limitations that prevent booting Linux mainline directly. It keeps the L2 cache enabled, which causes Linux to crash very early, shortly after decompressing the kernel. Using U-Boot allows to circumvent these limitations. We can let the Samsung bootloader chain-load U-Boot and U-Boot locks the L2 cache before booting into Linux. U-Boot has several other advantages - it supports device-trees directly and we are no longer limited to flashing Android boot images through Samsung's proprietary download mode. The Samsung "stemmy" board covers all Samsung devices based on U8500. Add minimal support for "stemmy". For now only UART is supported but this will be extended later. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
* | | arm: dts: Import device tree for ST-Ericsson Ux500Stephan Gerhold2020-01-223-0/+111
| |/ |/| | | | | | | | | | | | | | | | | | | from https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git/ tag "ux500-armsoc-v5.6-2" commit 224bf0fe7292 ("ARM: dts: ux500: samsung-golden: Add Bluetooth") (queued for merge in Linux 5.6) Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
* | Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvellTom Rini2020-01-211-0/+152
|\ \ | | | | | | | | | | | | - Clearfog: Add run-time board detection with TLV EEPROM support (Baruch)
| * | cmd: add tlv_eeprom commandBaruch Siach2020-01-211-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for read/write of ONIE "Tlvinfo" EEPROM data format. TLV stands for Type-Length-Value. The data format is described here: https://opencomputeproject.github.io/onie/design-spec/hw_requirements.html#board-eeprom-information-format Based on U-Boot patch from the Open Compute project: https://github.com/opencomputeproject/onie/blob/ec87e872d46b9805565d2c6124b2f701ef1c07b1/patches/u-boot/common/feature-sys-eeprom-tlv-common.patch Keep only I2C EEPROM support. Use the generic eeprom driver. Fix checkpatch issues. Add support for multiple EEPROM TLV stores on the same system. This is useful in case of SOM and carrier that both provide ID and hardware configuration information. Add option to enable for SPL. This allows selection of RAM configuration based on EEPROM stored board identification. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
* | | Merge tag 'u-boot-imx-20200121' of ↵Tom Rini2020-01-216-11/+119
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-imx --------------------------------- imx8: cleanup, fix warnings imx6ull: add VisionSOM SoM and EVK mx7ulp: fix warning due network, cleanup mx7dsabre: Fix dm probe pmic imx6: fixed for vining2000 Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/639512296
| * | | spl: Add prototype to function spl_board_boot_device()Alifer Moraes2020-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add prototype to function spl_board_boot_device to fix the following sparse warning: board/freescale/imx8mm_evk/spl.c:26:5: warning: no previous prototype for ‘spl_board_boot_device’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
| * | | imx: fix typo in header fileFlavio Suligoi2020-01-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
| * | | fsl: fix typo in header fileFlavio Suligoi2020-01-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
| * | | ARM: imx: mx6ull: Add iMX6ULL VisionSOM SoM and EVKArkadiusz Karas2020-01-201-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add iMX6ULL VisionSOM SoM and VisionCB-RT-STD evaluation board support. The SoM has an iMX6ULL, 512 MiB of DRAM and microSD slot. The carrier board has Ethernet, USB host port, USB OTG port. Signed-off-by: Arkadiusz Karas <arkadiusz.karas@somlabs.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
| * | | ARM: imx: vining2000: Enable SPL SDP by defaultMarek Vasut2020-01-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable SPL SDP fallback boot option in default build. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Stefano Babic <sbabic@denx.de>
| * | | Merge branch 'master' of git://git.denx.de/u-bootStefano Babic2020-01-207-16/+146
| |\ \ \ | | | |/ | | |/| | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * | | mx7ulp: Move SoC base address to a common fileFabio Estevam2020-01-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SoC base addresses should better go into a common SoC file instead of repeating the definition in each board file. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>