summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Prepare v2019.10-rc2v2019.10-rc2Tom Rini2019-08-131-1/+1
| | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvellWIP/12Aug2019Tom Rini2019-08-1233-1020/+554
|\ | | | | | | | | | | | | | | | | - Various improvements to Keymile boards - mostly DT conversation (Pascal & Holger) - Removal of now unsupported Keymile boards (Pascal & Holger) - Small MVEBU PCI fix (Marek) - Turris Omnia defconfig update (Marek) - Misc Allied Telesis defconfig updates (Chris)
| * pci: pci_mvebu: set BAR0 after memory space is setMarek Behún2019-08-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-DM version of this driver used to set BAR0 register after the calls to pci_set_region. I found out that for some strange reason the ath10k driver in kernel fails to work if this is done the other way around. I know that Linux's driver should not depend on how U-Boot does things, but for some strange reason it does and this seems to be the simplest solution. Fix it since it caused regressions on Omnia. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Phil Sutter <phil@nwl.cc> Cc: VlaoMao <vlaomao@gmail.com> Tested-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * arm: mvebu: turris_omnia: update defconfigMarek Behún2019-08-121-0/+3
| | | | | | | | | | | | | | | | | | | | Add Macronis SPI flash support - some Omnia routers are shipped with this SPI flash chip. Also add the memtest command to defconfig. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * ARM: configs: Enable DM_ETH for SBx81LIFKW and SBx81LIFXCATChris Packham2019-08-122-0/+6
| | | | | | | | | | | | | | | | The mvgbe driver supports DM_ETH so switch these boards to using it. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * powerpc/km: remove unmaintained board KMLION1Holger Brunck2019-08-125-473/+390
| | | | | | | | | | | | | | | | | | This board is unmaintained and can be removed. This also allows us to remove kmp204x-common.h and integrate it in kmp204x.h. Signed-off-by: Valentin Longchamp <valentin.longchamp@ch.abb.com> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * powerpc/km: remove unmaintained target KMVECT1Holger Brunck2019-08-128-348/+0
| | | | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@ch.abb.com> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km/arm: remove unmaintained target PORTL2Pascal Linder2019-08-124-53/+0
| | | | | | | | | | | | | | | | | | Remove the PORTL2 board and all its dependencies as it is no longer supported by the company. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km/rgmii: port Ethernet interface of KM Kirkwood boards to driver modelPascal Linder2019-08-122-0/+2
| | | | | | | | | | | | | | | | | | | | Activate the driver model for the Ethernet interface (RGMII) in the KM Kirkwood Kconfig file. Additionally, raise the auto negotiation timeout to eight seconds as more time is required for those boards. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km/uart: port UART interface of KM Kirkwood boards to driver modelPascal Linder2019-08-123-9/+2
| | | | | | | | | | | | | | | | | | | | | | Activate the driver model for the serial interface in the KM Kirkwood Kconfig file. The associated preprocessor definitions could be removed from the header file. However, the clock of 200 MHz needs to be declared in the device tree. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km: fixed typo in KM Kirkwood header filePascal Linder2019-08-121-1/+1
| | | | | | | | | | | | | | | | | | A typo in the km_kirkwood.h header prevented to undefine the initialization of the Kirkwood PCIe interface. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km: clean up header files for KM Kirkwood boardsPascal Linder2019-08-123-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove unused preprocessor definitions and comments of already eliminated code. The Ethernet driver configuration is already declared in arch/arm/mach-kirkwood/include/mach/config.h and, therefore, superfluous. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km: remove obsolete definitions in KM header filesPascal Linder2019-08-129-109/+0
| | | | | | | | | | | | | | | | | | | | After moving the KM specific configurations to Kconfig, the associated preprocessor definitions can now be removed in the headers. Moreover, the whitelist has been adapted correspondingly. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * km: add Kconfig menus for KM boardsPascal Linder2019-08-1214-14/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To execute the conversion away from board specific header files, Kconfig menus have been implemented for all KM boards and additionally for those having an ARM architecture. For the moment, the preprocessor definitions stay in the headers. The boolean types, however, needed a modification (#define CONFIG_* 1). The default configuration files of some boards required an update in order to not change the currently defined values of the configurations. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge tag 'u-boot-amlogic-20190812' of ↵Tom Rini2019-08-1212-0/+1063
|\ \ | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic - amlogic: add support for the SEI Robotic SEI510
| * | configs: sei510: disable PSCI_RESET to support fastboot reboot_flagNeil Armstrong2019-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | Disable the PSCI_RESET reboot handler to permit handling the reboot flag and calling the PSCI handler with the flag in parameter. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | ARM: meson: Add support for fastboot_set_reboot_flag()Neil Armstrong2019-08-121-0/+33
| | | | | | | | | | | | | | | | | | | | | Add support for fastboot_set_reboot_flag() by storing the reboot flag in the common code to be used by the custom PSCI reboot handler. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | boards: meson: add g12a sei510Jerome Brunet2019-08-126-0/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SEI510 board is based on the Amlogic S905X2 SoC from the Amlogic G12A SoC family. The board has the following specifications : - Amlogic S905X2 ARM Cortex-A53 quad-core SoC - XGB DDR4 SDRAM - 10/100 Ethernet (Internal PHY) - 1 x USB 3.0 Host - eMMC - SDcard - Infrared receiver - SDIO WiFi Module The board default behaviour is for booting Android and triggers fastboot on recovery or reboot mode. USB vendor ID (used by fastboot) is 0x18d1 (Google) for default udev rules for existing android users work out of the box. Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | arm: meson: add sm command to retrieve the reboot reasonNeil Armstrong2019-08-122-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Secure Monitor offers multiple services, like returning the SoC unique serial number, and can provide the "reboot reason" as set by the previous booted system. This extends the Amlogic specific "sm" cmd with a "reboot_reason" subcommand to print or set a specified environment variable with the reboot reason in human readable format. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | arm: meson: add sm cmd to retrieve SoC serialNeil Armstrong2019-08-121-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Secure Monitor offers multiple services, like returning the SoC unique serial number, already used to generate an unique MAC address. This adds a new, Amlogic specific, "sm" cmd with a "serial" subcommand to write the SoC unique serial to memory. This "cm" command will be extended in further patches. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | configs: meson64: permit redefining ENV_SIZENeil Armstrong2019-08-121-0/+2
| | | | | | | | | | | | | | | | | | Permit redefining ENV_SIZE for board specific configs. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
| * | ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1Neil Armstrong2019-08-122-0/+503
| |/ | | | | | | | | | | | | Import Linux 5.2-rc1 sei510 DT from 5f9e832c1370 ("Linus 5.3-rc1") for the meson-g12a-sei510 board. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | Merge branch '2019-08-11-ti-imports'Tom Rini2019-08-1247-59/+2850
|\ \ | | | | | | | | | | | | | | | | | | - More DaVinci updates and fixes - PCIe support on am65x - Watchdog converted to DM - Assorted other bugfixes
| * | arm: K3: sysfw-loader: Do not require full printf() for version infoWIP/2019-08-11-ti-importsAndreas Dannenberg2019-08-121-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous commit... commit 2a51e16bd57a ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be default") ...causes the System Firmware version string during SPL boot to no longer getting printed to the console as expected. To fix this issue rework the handling of that string to only use basic printf() syntax rather than for example disabling CONFIG_USE_TINY_PRINTF on affected devices, this way maintaining most of the memory size benefit the initial patch brings when it comes to SPL. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * | firmware: ti_sci: Parse all resource ranges even if some is not availableVignesh Raghavendra2019-08-121-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not fail if any of the requested subtypes are not available, but set the number of resources to 0 and continue parsing the resource ranges. Based on Linux kernel patch by Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NORAdam Ford2019-08-122-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Historically there have been various boot options, SPI flash, NAND or NOR. The NOR flash is mutually exclusive with MMC, but it isn't mutually exclusive with NAND or SPI Flash, so this patch enables both NAND flash and SPI Flash when booting from NOR. Signed-off-by: Adam Ford <aford173@gmail.com>
| * | ARM: da850-evm: Enable filesystem commands when booting from NORAdam Ford2019-08-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The configuration with NOR is mutually exclusive with MMC, and as such, the filesystem commands were disabled. With the USB host enabled, this patch enables the file system command which can be executed on storage devices attached to the USB. Signed-off-by: Adam Ford <aford173@gmail.com>
| * | ARM: da850-evm: Increase environment NOR partition offsetAdam Ford2019-08-122-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current size allocated to U-Boot is 384k, but U-Boot has grown to 436K which means that saving the environmental variables wipes out part of the U-Boot source and the board ceases to function. Due to the sector and erase size for the NOR part and a desire to not have to change partition sizes often, this patch moves the U-Boot environmental variables to an offset of 1M so saveenv does not brick the board. This patch also sets up MTDIDS and MTDPARTS to clearly show where U-Boot and U-Boot's environmental variables are located. Signed-off-by: Adam Ford <aford173@gmail.com>
| * | ARM: da850-evm: Fix Lowlevel initAdam Ford2019-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous patch for enabling the NAND config set a flag called CONFIG_SKIP_LOWLEVEL_INIT when it should have been called CONFIG_SKIP_LOWLEVEL_INIT_ONLY. The affect this had was creating a delay on startup for the NOR version which is XIP and doesn't have SPL, so the lowlevel initialization functions need to operate. This delay was not really noticeable at first, but the delays have been getting longer, finally reached the point of nearly seven seconds before the board would appear to start. This patch sets the CONFIG_SKIP_LOWLEVEL_INIT_ONLY instead which means "The normal CP15 init (such as enabling the instruction cache) is still performed" per the README. It doesn't appear to have any adverse behavior on the SPI Flash or the NAND flash boards which use SPL. Fixes: 93f3362762f0 ("ARM: configs: Add da850evm_nand to boot from NAND") Signed-off-by: Adam Ford <aford173@gmail.com>
| * | configs: am65x_evm_a53: enable support for PCIe ethernet cardsSekhar Nori2019-08-121-1/+3
| | | | | | | | | | | | | | | | | | | | | Enable support for Intel E1000 based PCIe ethernet cards that can be used to test PCIe RC functionality on AM65x EVM. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | arm: dts: k3-am65: add support for PCIe and SERDESSekhar Nori2019-08-123-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | configs: am65x_evm_a53: enable PCIe supportSekhar Nori2019-08-121-0/+6
| | | | | | | | | | | | | | | | | | | | | Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | phy: add support for AM654x SERDESSekhar Nori2019-08-123-0/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new SERDES driver for TI's AM654x SoC which configures the SERDES only for PCIe. Support fo USB3 can be added later. SERDES in am654x has three input clocks (left input, external reference clock and right input) and two output clocks (left output and right output) in addition to a PLL mux clock which the SERDES uses for Clock Multiplier Unit (CMU refclock). The PLL mux clock can select from one of the three input clocks. The right output can select between left input and external reference clock while the left output can select between the right input and external reference clock. The driver has support to select PLL mux and left/right output mux as specified in device tree. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | pcie: ti: add driver for AM65x PCIe RCSekhar Nori2019-08-123-0/+732
| | | | | | | | | | | | | | | | | | | | | Add driver supporting PCIe root-complex available on TI's AM65x SoC. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | dm: core: add support for getting register address and sizeSekhar Nori2019-08-125-4/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current dev_read_*() API lacks support to get address and size of a "reg" property by name or index. Add support for the same. Livetree support has been added but not tested on real hardware. The existing unit tests testing reading address from device-tree have been updated to test address as well as size. Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | clk: add support for clk_is_match()Sekhar Nori2019-08-123-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Also add a unit test for the new API. Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| * | power: domain: ti-sci-power-domain: Add device ID info to get/set_device failureNishanth Menon2019-08-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure log for ti_sci_power_domain_on/off is as below: "ti_sci_power_domain_on: get/set_device failed (-19)" The above information is useless for debug without information on what specific device access failed. So add that information as well. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | board/BuR/brsmarc1: initial commitHannes Schmelzer2019-08-1212-0/+1112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the B&R brsmarc1 SoM. The SoM is based on TI's AM335x SoC. Mainly vxWorks 6.9.4.x is running on the board, doing some PLC stuff on various carrier boards. Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
| * | watchdog: omap_wdt: Disable DM watchdog support in SPLSuniel Mahesh2019-08-124-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch disables DM watchdog support for SPL builds and uses the legacy omap watchdog driver on TI AM335x chipsets. The following build error is reported if DM watchdog support was enabled in SPL: CC spl/drivers/usb/gadget/rndis.o LD spl/drivers/usb/gadget/built-in.o LD spl/drivers/usb/musb-new/built-in.o LD spl/drivers/built-in.o LD spl/u-boot-spl arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram arm-linux-ld.bfd: region .sram overflowed by 440 bytes make[1]: *** [spl/u-boot-spl] Error 1 make: *** [spl/u-boot-spl] Error 2 Adjusted WATCHDOG_RESET macro accordingly. Earlier it was pointing to hw_watchdog_reset. Since CONFIG_WATCHDOG replaces CONFIG_HW_WATCHDOG, now WATCHDOG_RESET macro points to watchdog_reset. This watchdog_reset is not defined anywhere for am33xx/omap2 and needs to be defined. Fixed this by simply calling hw_watchdog_reset in watchdog_reset. Built and tested on AM335x device (BeagleboneBlack), compile tested for all other AM33xx/omap2 based boards. Signed-off-by: Suniel Mahesh <sunil.m@techveda.org> [trini: Fix watchdog.h logic] Signed-off-by: Tom Rini <trini@konsulko.com>
| * | watchdog: omap_wdt: Convert watchdog driver to use DT and DMSuniel Mahesh2019-08-125-1/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds device tree and driver model watchdog support, converts the legacy omap watchdog driver to driver model for TI AM335x chipsets. The following compile warning is removed: ===================== WARNING ====================== This board does not use CONFIG_WDT (DM watchdog support). Please update the board to use CONFIG_WDT before the v2019.10 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== CONFIG_HW_WATCHDOG is no more a default option for AM33XX devices after DT/DM conversion, adjusted kconfig accordingly. DM watchdog support is enabled by default in SPL. The SPL image doesn't fit into SRAM because of size constraints and build breaks with an overflow. For this reason DM watchdog support should be disabled in SPL, driver code should be adjusted accordingly to serve this purpose. Built and tested on AM335x device (BeagleboneBlack), compile tested for all other AM33xx based boards. Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
| * | ARM: omap3: overo: Fix MMC init for SPLAnselm Busse2019-08-122-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SPL for the Overo board does not initialise the MMC. Hence, it cannot load the main boot loader from the SD card susequently. This patch moves the initialisation code for the MMC so it gets included in the SPL. [trini: Add missing header] Signed-off-by: Tom Rini <trini@konsulko.com>
| * | board: siemens: extend factoryset reading for giedi and deneb boardsAnatolij Gustschin2019-08-112-15/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | giedi and deneb are i.MX8X based and have additional data with WLAN MAC in factoryset container. Enable building for these boards and adapt factoryset functions to set WLAN MAC and dtb name in environment. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | board: siemens: adapt factoryset reading for DM_I2C enabled boardsAnatolij Gustschin2019-08-111-2/+43
| |/ | | | | | | | | | | | | For new boards we always enable DM_I2C. Extend factoryset functions to support EEPROM reading on these boards. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Merge branch '2019-08-11-master-imports'Tom Rini2019-08-12519-1570/+4986
|\ \ | | | | | | | | | | | | | | | - environment cleanup - HiKey 960 support - Some PCI fixes
| * | common: Add a note about the effort to reduce common.hWIP/2019-08-11-master-importsSimon Glass2019-08-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file has quite a lot of general definitions and include files. Add a note about our intent to remove more of this. The file should ultimately include the configuration and perhaps a very other very common things used by most U-Boot files. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | Drop PCMCIASimon Glass2019-08-1118-862/+1
| | | | | | | | | | | | | | | | | | | | | This is no-longer used in U-Boot and has not been converted to driver model. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
| * | env: Rename environment.h to env_internal.hSimon Glass2019-08-1175-77/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file contains lots of internal details about the environment. Most code can include env.h instead, calling the functions there as needed. Rename this file and add a comment at the top to indicate its internal nature. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> [trini: Fixup apalis-tk1.c] Signed-off-by: Tom Rini <trini@konsulko.com>
| * | env: Drop environment.h header file where not neededSimon Glass2019-08-11116-116/+1
| | | | | | | | | | | | | | | | | | | | | | | | This header file is now only used by files that access internal environment features. Drop it from various places where it is not needed. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
| * | env: Move TOTAL_MALLOC_LEN to environment.hSimon Glass2019-08-113-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This declaration is only used in three files. Although it relates to malloc() it is actually only used during malloc() init. It uses CONFIG options including CONFIG_ENV_ADDR which are defined only in environment.h so this header must be included anyway, for TOTAL_MALLOC_LEN to be correct. Nove it to environment.h to simplify the common file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * | env: Drop the double underscores in search.hSimon Glass2019-08-111-28/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There doesn't seem to be any good reason for using __ in the arguments in this header file. A double underscore is usually reserved for compiler features. Drop these and remove the unnecessary 'extern' as well. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>