aboutsummaryrefslogtreecommitdiffstats
path: root/env
AgeCommit message (Expand)AuthorFilesLines
2020-11-03env: sf: fix init function behaviourHeiko Schocher2-3/+7
2020-10-30env: Access Environment in SPI flashes before relocationHeiko Schocher2-3/+105
2020-10-30env: split env_import_redund() into 2 functionsHeiko Schocher1-10/+32
2020-10-14env/ext4.c: allow loading from an EXT4 partition on the MMC boot deviceDavid Woodhouse2-0/+18
2020-10-14mmc: remove duplicate mmc_get_env_dev() implementationsDavid Woodhouse2-14/+0
2020-10-09Kconfig: Move VERSION_VARIABLE under environmentSimon Glass1-0/+9
2020-09-23env: kconfig: Add default option for ARCH_ZYNQMichal Simek1-1/+1
2020-08-27env: Kconfig: Add missing dependency for ENV_IS_IN_EXT4Michal Simek1-0/+1
2020-08-08Convert CONFIG_SYS_MMC_ENV_DEV et al to KconfigTom Rini2-4/+19
2020-07-31env: Add support for explicit write access listMarek Vasut2-11/+59
2020-07-31env: Add option to only ever append environmentMarek Vasut2-0/+11
2020-07-31env: Discern environment coming from external storageMarek Vasut13-22/+23
2020-07-31env: Add H_DEFAULT flagMarek Vasut1-1/+2
2020-07-31env: Warn on force access if ENV_ACCESS_IGNORE_FORCE setMarek Vasut1-1/+3
2020-07-31env: ext4: add support of command env erasePatrick Delaunay1-0/+19
2020-07-31env: ext4: introduce new function env_ext4_save_bufferPatrick Delaunay1-8/+20
2020-07-31cmd: env: add env select commandPatrick Delaunay1-0/+42
2020-07-31cmd: env: add env load commandPatrick Delaunay1-0/+28
2020-07-31env: the ops driver load becomes mandatory in struct env_driverPatrick Delaunay1-3/+0
2020-07-31env: nowhere: add .load opsPatrick Delaunay1-0/+17
2020-07-31env: correctly handle env_load_prioPatrick Delaunay1-3/+4
2020-07-31env: sf: avoid space in backend namePatrick Delaunay1-1/+1
2020-07-31env: ext4: set gd->env_validPatrick Delaunay1-1/+8
2020-07-31env: add absolute path at CONFIG_ENV_EXT4_FILEPatrick Delaunay1-1/+1
2020-07-28Convert CONFIG_ENV_OVERWRITE to KconfigAdam Ford1-0/+6
2020-07-26env: mmc: add redundancy support in mmc_offset_try_partitionPatrick Delaunay1-3/+3
2020-07-26env: mmc: correct the offset returned by mmc_offset_try_partitionPatrick Delaunay1-2/+2
2020-07-26env: mmc: allow support of mmc_get_env_dev with OF_CONTROLPatrick Delaunay1-6/+12
2020-07-26env: add failing trace in env_savePatrick Delaunay1-3/+7
2020-07-26env: correct overflow check of env_has_init sizePatrick Delaunay1-1/+1
2020-07-26env/fat.c: allow loading from a FAT partition on the MMC boot deviceDavid Woodhouse2-2/+34
2020-06-29spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*Lukasz Majewski1-1/+1
2020-06-15env: Kconfig: cosmetics: update comment for SYS_RELOC_GD_ENV_ADDRPatrick Delaunay1-1/+1
2020-06-01env: sf: Free the old env_flashJagan Teki1-7/+6
2020-05-25env: Convert ENV_ACCESS_IGNORE_FORCE to KconfigMarek Vasut1-0/+7
2020-05-18common: Drop linux/bitops.h from common headerSimon Glass1-0/+1
2020-05-18common: Drop linux/bug.h from common headerSimon Glass1-0/+1
2020-05-18common: Drop log.h from common headerSimon Glass3-0/+3
2020-05-18common: Drop bootstage.h from common headerSimon Glass1-0/+1
2020-05-18common: Drop part.h from common headerSimon Glass2-3/+4
2020-05-18part: Drop disk_partition_t typedefSimon Glass3-5/+5
2020-05-18common: Drop net.h from common headerSimon Glass2-0/+2
2020-05-18common: Drop flash.h from common headerSimon Glass1-0/+2
2020-05-15env: Convert CONFIG_DELAY_ENVIRONMENT to KconfigOvidiu Panait1-0/+12
2020-05-08env/sf.c: honour CONFIG_SPL_SAVEENVRasmus Villemoes1-1/+1
2020-04-24env/sf.c: drop private CMD_SAVEENV logicRasmus Villemoes1-11/+1
2020-04-24env/ext4.c: remove CONFIG_CMD_SAVEENV ifdefRasmus Villemoes1-3/+1
2020-04-24env/fat.c: remove private CMD_SAVEENV logicRasmus Villemoes1-8/+1
2020-04-24env: add SAVEENV as an alias of the CMD_SAVEENV symbolRasmus Villemoes1-0/+3
2020-04-24make env_entry::callback conditional on !CONFIG_SPL_BUILDRasmus Villemoes2-1/+2
2020-04-24env: remove callback.o for an SPL buildRasmus Villemoes1-1/+1
2020-04-17env: make file-scope env_ptr variables staticRasmus Villemoes2-3/+3
2020-04-06env: Make mmc as default option for CONFIG_ENV_FAT_INTERFACEMichal Simek1-2/+1
2020-04-06env: Kconfig: Adding default values for MicroblazeVaralaxmi Bingi1-0/+2
2020-03-09env: Update env_addr for mmc environment driverPankit Garg1-0/+5
2020-01-30env: Enable SPI flash env for rockchipJagan Teki1-0/+3
2020-01-30env: kconfig: Restrict rockchip env for MMCJagan Teki1-2/+3
2020-01-22env: another attempt at fixing SPL build failuresRasmus Villemoes2-8/+8
2020-01-17common: Move flash_perror() to flash.hSimon Glass1-0/+1
2019-12-04mtd: ensure UBI is compiled when ENV_IS_IN_UBI is selectedMiquel Raynal1-0/+2
2019-12-02common: Move old EEPROM functions into a new headerSimon Glass1-0/+1
2019-12-02common: Move sorting functions to their own header fileSimon Glass1-0/+1
2019-12-02crc32: Use the crc.h header for crc functionsSimon Glass7-0/+7
2019-11-20env: Finish migration of common ENV optionsTom Rini5-18/+30
2019-11-20env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND checkTom Rini5-23/+1
2019-11-20env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbolTom Rini1-0/+6
2019-11-12defconfigs: Migrate CONFIG_SYS_REDUNDAND_ENVIRONMENTTom Rini1-7/+11
2019-10-16ubi: env: fix redundand managementPhilippe Reynes1-0/+6
2019-10-08env: Kconfig: Add environment default offset in versalT Karthik Reddy1-2/+3
2019-10-04Revert "env: solve compilation error in SPL"Tom Rini1-6/+1
2019-08-11env: Rename environment.h to env_internal.hSimon Glass18-18/+18
2019-08-11env: Drop the ACTION typedefSimon Glass2-2/+2
2019-08-11env: Rename the redundancy flagsSimon Glass3-16/+18
2019-08-11env: Drop the ENTRY typedefSimon Glass3-9/+9
2019-08-11env: Move env_valid to env.hSimon Glass2-0/+2
2019-08-11env: Rename environment to embedded_environmentSimon Glass1-1/+1
2019-08-11env: Move get/set_default_env() to env.hSimon Glass8-23/+30
2019-08-11env: Move set_default_vars to env.hSimon Glass1-1/+1
2019-08-11env: Move env_get() to env.hSimon Glass3-0/+3
2019-08-11env: Move env_set() to env.hSimon Glass1-0/+1
2019-08-11env: Move env_relocate() to env.hSimon Glass1-0/+1
2019-08-11env: Move env_init() to env.hSimon Glass1-0/+1
2019-07-18env: mmc: add erase-functionFrank Wunderlich1-0/+51
2019-07-18env: register erase commandFrank Wunderlich1-0/+30
2019-07-12stm32mp1: move CONFIG_ENV in KconfigPatrick Delaunay1-3/+2
2019-07-09env: ubi: support configurable VID offsetHamish Guthrie2-4/+20
2019-07-09at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigsMarkus Klotzbuecher1-4/+7
2019-07-09env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUNDMarkus Klotzbuecher1-0/+6
2019-06-17Merge branch 'master' of git://git.denx.de/u-boot-spiTom Rini1-1/+1
2019-06-13Kconfig: Add SPI / SPI_FLASH as dependenciesTom Rini1-1/+1
2019-06-06env: allow ENV_IS_NOWHERE with other storage targetPatrice Chotard1-12/+6
2019-06-06env: ext4: Allow overriding interface, device and partitionPatrice Chotard1-13/+21
2019-05-23env: solve compilation error in SPLPatrick Delaunay1-1/+6
2019-05-23stm32mp1: Move ENV_SIZE and ENV_OFFSET to KconfigPatrick Delaunay1-1/+1
2019-05-09env: spi: Fix incorrect entry descriptionMarek Vasut1-2/+2
2019-04-12env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL buildMartyn Welch1-1/+1
2019-04-09fs: ext4: Add support for the creation of symbolic linksJean-Jacques Hiblot1-1/+1
2019-03-25Convert CONFIG_ENV_SPI_* to KconfigPatrick Delaunay2-20/+46
2019-03-13Revert "env: add spi_flash_read_env function"Heiko Schocher1-45/+11
2019-01-26Merge branch '2019-01-25-master-imports'Tom Rini2-8/+21
2019-01-26env: Fix saving environment to "bad CRC" locationSam Protsenko1-6/+19
2019-01-26env: common: Return specific error code on bad CRCSam Protsenko1-2/+2
2019-01-25ARC: Move ENV_SIZE and ENV_OFFSET to KconfigAlexey Brodkin1-1/+3
2019-01-21Revert "env: sf: fix environment in SPI NOR"Tom Rini1-1/+1
2019-01-18env: sf: fix environment in SPI NORHeiko Schocher1-1/+1
2019-01-16env: add spi_flash_read_env functionHoratiu Vultur1-11/+45
2019-01-15common: command: Add support for $ auto-completionBoris Brezillon1-4/+48
2019-01-09env: sata: Fix saveenv issueYe Li1-1/+1
2019-01-09env: sata: Add missed env location for SATA bootYe Li1-0/+3
2018-12-04env: sf: define API to override sf environment addressRajesh Bhagat1-1/+8
2018-12-04env: allow flash and nand env driver to compile togetherRajesh Bhagat2-10/+8
2018-10-16arm64: versal: Add support for new Xilinx Versal ACAPsMichal Simek1-2/+2
2018-09-19fix: env: Fix the SPI flash device setup for DM modeKonstantin Porotchkin1-1/+2
2018-08-24env: ubi: Add missing ENV_NAMEMarek Vasut1-0/+1
2018-08-19env: Merge Rockchip, Sunxi, Zynq and ZynqMPMichal Simek1-49/+15
2018-08-10env: Don't show "Failed" error messageSam Protsenko1-5/+9
2018-07-30u-boot: remove driver lookup loop from env_save()Nicholas Faustini1-18/+16
2018-07-21env: Simplify Makefile using $(SPL_TPL_)York Sun2-29/+126
2018-07-21env: typo in description of ENV_IS_IN_REMOTEHeinrich Schuchardt1-1/+1
2018-07-20env: add the same prefix to error messages to make it detectable by testsQuentin Schulz1-1/+2
2018-07-19env: common: accept flags on reset to default envYaniv Levinsky8-33/+29
2018-07-19cmd: nvedit: set H_INTERACTIVE in do_env_defaultYaniv Levinsky1-1/+1
2018-07-19cmd: nvedit: propagate envflag to set_default_varsYaniv Levinsky1-2/+3
2018-07-19env: Added support to save env to spi through KconfigVipul Kumar1-0/+28
2018-06-13env: Add !ENV_IS_IN_EXT4 dependency to ENV_IS_NOWHEREAlex Kiernan1-0/+1
2018-06-13u-boot: Fix several typosShyam Saini1-3/+3
2018-05-07SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini20-41/+20
2018-04-27Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTRTom Rini3-6/+0
2018-04-16env: mmc/fat/ext4: undefined reference to `mmc_initialize'Heinrich Schuchardt2-0/+4
2018-04-16env: Relocate env drivers if manual reloc is requiredSiva Durga Prasad Paladugu2-0/+22
2018-04-08Migrate CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to KconfigAlex Kiernan1-0/+7
2018-04-06env: Properly check for BLK supportSjoerd Simons1-1/+1
2018-04-06Allow providing default environment from fileRasmus Villemoes1-0/+18
2018-04-06common: env_embedded: allow fine placement of environment objectChristophe Leroy1-4/+4
2018-04-04Merge git://git.denx.de/u-boot-sunxiTom Rini1-1/+0
2018-04-04sunxi: disable direct MMC environmentAndre Przywara1-1/+0
2018-03-24Convert CONFIG_UBI_SILENCE_MSG to KconfigPetr Vorel1-5/+0
2018-03-24Convert CONFIG_UBIFS_SILENCE_MSG to KconfigPetr Vorel1-1/+0
2018-02-20env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before us...Faiz Abbas3-0/+8
2018-02-16env: restore old env_get_char() behaviourGoldschmidt Simon3-28/+15
2018-02-16env: Fix env_load_locationYork Sun1-5/+3
2018-02-12Fix misaligned buffer in env_fat_saveAlex Kiernan1-1/+1
2018-02-01env: sf: use env_import_redund to simplify env_sf_loadSimon Goldschmidt1-59/+8
2018-02-01env: make env drivers propagate env_import return valueSimon Goldschmidt10-23/+10
2018-02-01env: move more common code to env_import_redundSimon Goldschmidt4-50/+34
2018-01-31env: make env_import(_redund) return 0 on success, not 1Simon Goldschmidt3-8/+8
2018-01-27env: sunxi: Enable FAT-based environment support by defaultMaxime Ripard1-0/+4
2018-01-27env: Mark env_get_location as weakMaxime Ripard1-1/+2
2018-01-27env: Allow to build multiple environments in KconfigMaxime Ripard1-33/+32
2018-01-27env: mmc: depends on the MMC frameworkMaxime Ripard1-0/+1
2018-01-27env: Initialise all the environmentsMaxime Ripard1-7/+29
2018-01-27env: Support multiple environmentsMaxime Ripard1-32/+53
2018-01-27env: common: Make the debug messages play a little nicerMaxime Ripard1-1/+1
2018-01-27env: mmc: Make the debug messages play a little nicerMaxime Ripard1-1/+0
2018-01-27env: fat: Make the debug messages play a little nicerMaxime Ripard1-5/+20
2018-01-27env: Make it explicit where we're loading our environment fromMaxime Ripard1-7/+11
2018-01-27env: Make the env save message a bit more explicitMaxime Ripard1-1/+2
2018-01-27env: Pass additional parameters to the env lookup functionMaxime Ripard1-49/+108
2018-01-27env: Rename env_driver_lookup_default and env_get_default_locationMaxime Ripard1-9/+9
2018-01-27cmd: nvedit: Get rid of the env lookupMaxime Ripard1-1/+3
2018-01-22env: ENV_IS_IN_FAT improvementsTuomas Tynkkynen1-3/+1
2018-01-17Merge git://git.denx.de/u-boot-fsl-qoriqTom Rini1-0/+21
2018-01-17env: sf: Add support for env init for QSPI-NORAshish Kumar1-0/+21
2018-01-15env: enable accessing the environment in an EXT4 partitionJorge Ramirez-Ortiz3-12/+59
2017-12-18rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to KconfigKlaus Goger1-0/+18
2017-11-29env: suppress a spurious warning with GCC 7.1Philipp Tomsich1-1/+1
2017-11-21env: Remove CONFIG_ENV_AES supportTom Rini2-69/+0
2017-11-17env: Save environment at the end of an MMC partitionJorge Ramirez-Ortiz1-4/+58
2017-10-27env: x86: braswell: Set ENV_IS_IN_SPI_FLASH as defaultBin Meng1-0/+1
2017-10-16env: Drop CONFIG_ENV_IS_IN_DATAFLASHTuomas Tynkkynen4-94/+1
2017-10-15ARM: uniphier: switch to CONFIG_ENV_IS_NOWHEREMasahiro Yamada1-1/+0
2017-10-04treewide: replace with error() with pr_err()Masahiro Yamada2-5/+5
2017-09-08env: Migrate CONFIG_ENV_AES to Kconfig and deprecateTom Rini1-0/+8
2017-09-02Kconfig: Add EEPROM options to Kconfig when I2C_EEPROM is setAdam Ford1-30/+0
2017-08-20env: Replace all open-coded gd->env_valid values with ENV_ flagsSimon Glass6-18/+18
2017-08-20env: Allow env_load() to detect errorsSimon Glass1-1/+1
2017-08-20env: Correct case of no sub-init functionTom Rini2-1/+14
2017-08-20env: Sort selection of default choicesAndy Shevchenko1-3/+3
2017-08-16env: Adjust the load() method to return an errorSimon Glass13-41/+80
2017-08-16env: Adjust the get_char() method to return an intSimon Glass3-3/+3
2017-08-16env: Rename some other getenv()-related functionsSimon Glass2-2/+2
2017-08-16env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()Simon Glass1-1/+1
2017-08-16env: Rename getenv/_f() to env_get()Simon Glass3-7/+7
2017-08-15env: Drop saveenv() in favour of env_save()Simon Glass1-6/+0
2017-08-15env: Drop env_relocate_spec() in favour of env_load()Simon Glass2-6/+1
2017-08-15env: Drop env_get_char_spec()Simon Glass2-20/+3
2017-08-15env: Drop env_init_new()Simon Glass1-5/+1
2017-08-15env: Drop unused env_ptr variablesSimon Glass8-21/+0
2017-08-15env: Drop the env_name_spec globalSimon Glass15-27/+14
2017-08-15env: Drop common init() functionsSimon Glass12-127/+10
2017-08-15env: Switch over to use environment location driversSimon Glass15-114/+128
2017-08-15env: Add a new implementation of environment accessSimon Glass2-1/+146
2017-08-15env: Convert CONFIG_ENV_IS_IN... to a choiceSimon Glass1-6/+41
2017-08-15env: Create a location driver for each locationSimon Glass14-7/+176
2017-08-15env: Rename nand env_location to nand_env_locationSimon Glass1-3/+3
2017-08-15env: Add an enum for environment stateSimon Glass13-69/+70
2017-08-15env: common: Drop env_get_char_memory()Simon Glass1-7/+0
2017-08-15env: common: Drop env_get_char_init()Simon Glass1-6/+1
2017-08-15env: common: Factor out the common env_valid checkSimon Glass1-11/+6
2017-08-15env: common: Drop env_get_addr()Simon Glass1-8/+3