Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
154bdbf3e99416aab881b3aea89fcb560b305f16
/
env
/
sf.c
c8dec27
env: sf: report malloc error to caller
by Ralph Siemsen
· Fri Jan 19 16:32:17 2024 -0500
063c938
Audit <flash.h> inclusion
by Tom Rini
· Sat Jul 23 13:05:03 2022 -0400
05b1aa6
spi: spi_flash_probe_bus_cs() rely on DT for spi speed and mode
by Patrice Chotard
· Wed Mar 30 09:33:14 2022 +0200
db64efd
env: sf: Allow to use env_sf_init_addr() at any stage
by Pali Rohár
· Wed Mar 02 12:47:51 2022 +0100
c33f42f
env: sf: Put ENV_INVALID into gd->env_valid on CRC failure
by Marek Behún
· Fri Oct 22 15:47:14 2021 +0200
792f237
env: sf: Use ENV_VALID enum names instead of literals
by Marek Behún
· Fri Oct 22 15:47:13 2021 +0200
1de1de4
env: sf: Cosmetic fix in env_sf_init_addr()
by Marek Behún
· Fri Oct 22 15:47:12 2021 +0200
625dd91
env: sf: remove the static env_flash variable
by Patrick Delaunay
· Wed Feb 24 11:52:36 2021 +0100
a1b3eef
env: sf: add missing spi_flash_free
by Patrick Delaunay
· Wed Feb 24 11:52:35 2021 +0100
b1096c3
env: sf: add support of command env erase
by Patrick Delaunay
· Tue Feb 09 11:48:52 2021 +0100
5c7c2d0
env: sf: update the use of macro ENV_SAVE_PTR
by Patrick Delaunay
· Tue Feb 09 11:48:51 2021 +0100
61374b0
env: increment redund flag on read fail
by Brandon Maier
· Thu Dec 17 17:19:18 2020 -0600
e535f5b
env: add CONFIG_ENV_SECT_SIZE_AUTO
by Rasmus Villemoes
· Wed Apr 14 20:51:43 2021 +0200
1ee1984
env/sf.c: use a variable to hold the sector size
by Rasmus Villemoes
· Wed Apr 14 20:51:42 2021 +0200
3ba929a
common: Drop asm/global_data.h from common header
by Simon Glass
· Fri Oct 30 21:38:53 2020 -0600
480b6e6
env: sf: cosmetic: remove unnecessary space
by Patrick Delaunay
· Mon Jan 04 14:41:31 2021 +0100
8ba7b61
env: sf: fix init function behaviour
by Heiko Schocher
· Tue Nov 03 15:22:36 2020 +0100
704d21c
env: Access Environment in SPI flashes before relocation
by Heiko Schocher
· Sat Oct 10 10:28:05 2020 +0200
dfe4b7e
env: Discern environment coming from external storage
by Marek Vasut
· Tue Jul 07 20:51:35 2020 +0200
a4433de
env: sf: avoid space in backend name
by Patrick Delaunay
· Tue Jul 28 11:51:16 2020 +0200
76f44298
spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*
by Lukasz Majewski
· Thu Jun 04 23:11:53 2020 +0800
9017309
env: sf: Free the old env_flash
by Jagan Teki
· Wed May 13 16:32:42 2020 +0530
274e0b0
common: Drop net.h from common header
by Simon Glass
· Sun May 10 11:39:56 2020 -0600
8e20188
common: Drop flash.h from common header
by Simon Glass
· Sun May 10 11:39:54 2020 -0600
fcff09a
env/sf.c: honour CONFIG_SPL_SAVEENV
by Rasmus Villemoes
· Fri Mar 27 00:02:00 2020 +0100
4886ebc
env/sf.c: drop private CMD_SAVEENV logic
by Rasmus Villemoes
· Wed Feb 19 09:47:43 2020 +0000
48b6c6b
crc32: Use the crc.h header for crc functions
by Simon Glass
· Thu Nov 14 12:57:16 2019 -0700
5cd7ece
env: Finish migration of common ENV options
by Tom Rini
· Mon Nov 18 20:02:10 2019 -0500
9d1f619
env: Rename environment.h to env_internal.h
by Simon Glass
· Fri Aug 02 09:44:25 2019 -0600
4686d8f
env: Rename the redundancy flags
by Simon Glass
· Thu Aug 01 09:47:08 2019 -0600
9738586
env: Move get/set_default_env() to env.h
by Simon Glass
· Thu Aug 01 09:47:00 2019 -0600
f8e932e
Convert CONFIG_ENV_SPI_* to Kconfig
by Patrick Delaunay
· Wed Feb 27 15:20:38 2019 +0100
f45775c
Revert "env: add spi_flash_read_env function"
by Heiko Schocher
· Wed Mar 13 12:15:45 2019 +0100
f92421c
Revert "env: sf: fix environment in SPI NOR"
by Tom Rini
· Mon Jan 21 11:57:58 2019 -0500
6a6c75e
env: sf: fix environment in SPI NOR
by Heiko Schocher
· Fri Jan 18 10:45:56 2019 +0100
5e7fae7
env: add spi_flash_read_env function
by Horatiu Vultur
· Tue Dec 11 10:13:56 2018 +0100
9a90cc9
env: sf: define API to override sf environment address
by Rajesh Bhagat
· Mon Nov 05 18:01:15 2018 +0000
0be67b2
fix: env: Fix the SPI flash device setup for DM mode
by Konstantin Porotchkin
· Wed Aug 29 16:34:52 2018 +0300
b2bb9bc
env: common: accept flags on reset to default env
by Yaniv Levinsky
· Sun Jun 24 19:16:57 2018 +0300
10e4779
SPDX: Convert all of our single license tags to Linux Kernel style
by Tom Rini
· Sun May 06 17:58:06 2018 -0400
8f9ce3a
env: sf: use env_import_redund to simplify env_sf_load
by Simon Goldschmidt
· Wed Jan 31 14:47:13 2018 +0100
32c3eb5
env: make env_import(_redund) return 0 on success, not 1
by Simon Goldschmidt
· Wed Jan 31 14:47:10 2018 +0100
a7bf68a
env: sf: Add support for env init for QSPI-NOR
by Ashish Kumar
· Thu Dec 14 17:37:08 2017 +0530
81e1042
treewide: replace with error() with pr_err()
by Masahiro Yamada
· Sat Sep 16 14:10:41 2017 +0900
9977849
env: Adjust the load() method to return an error
by Simon Glass
· Thu Aug 03 12:22:17 2017 -0600
d8273ed
env: Drop the env_name_spec global
by Simon Glass
· Thu Aug 03 12:22:03 2017 -0600
d40d804
env: Drop common init() functions
by Simon Glass
· Thu Aug 03 12:22:02 2017 -0600
082af92
env: Switch over to use environment location drivers
by Simon Glass
· Thu Aug 03 12:22:01 2017 -0600
c10a88e
env: Create a location driver for each location
by Simon Glass
· Thu Aug 03 12:21:58 2017 -0600
4bc2ad2
env: Add an enum for environment state
by Simon Glass
· Thu Aug 03 12:21:56 2017 -0600
547cb40
Move environment files from common/ to env/
by Simon Glass
· Thu Aug 03 12:21:49 2017 -0600
[Renamed from common/env_sf.c]
11c89f3
dm: Use dm.h header when driver mode is used
by Simon Glass
· Wed May 17 17:18:03 2017 -0600
df70191
env_sf: use DIV_ROUND_UP to calculate number of sectors to erase
by Andreas Fenkart
· Sat Apr 08 11:59:34 2017 +0200
a2c6585
env_sf: re-order error handling in single-buffer env_relocate_spec
by Andreas Fenkart
· Sat Apr 08 11:59:33 2017 +0200
a2d1883
enf_sf: reuse setup_flash_device instead of open coding it
by Andreas Fenkart
· Sat Apr 08 11:59:32 2017 +0200
52b9444
env_sf: factor out prepare_flash_device
by Andreas Fenkart
· Sat Apr 08 11:59:31 2017 +0200
464eee1
common: env_sf: Use CONFIG_SF_DEFAULT_xxx as the default value for CONFIG_ENV_SPI_xxx
by Jean-Jacques Hiblot
· Wed Feb 01 14:51:47 2017 +0100
ae56979
dm: spi: Read default speed and mode values from DT
by Vignesh R
· Wed Jul 06 10:04:28 2016 +0530
3e21c72
common: env_sf: Add exclamation mark
by Peng Fan
· Mon Mar 28 17:26:27 2016 +0800
6d85a60
dm: env_sf: fix saveenv() to use driver model
by Gong Qianyu
· Tue Jan 26 15:06:42 2016 +0800
20d93fc
env: use cache line aligned memory for flash read
by Ravi Babu
· Mon Aug 17 13:29:49 2015 +0530
12f1a54
env_sf: Fix recovery default
by Mario Schuknecht
· Tue Mar 24 08:59:00 2015 +0100
def9215
dm: Add spi.h header to a few files
by Simon Glass
· Mon Oct 13 23:41:55 2014 -0600
d73c129
env: Add env_export() wrapper
by Marek Vasut
· Wed Mar 05 19:59:50 2014 +0100
354846f
SPL: P2020RDB: fix the problem booting from spi flash
by Ying Zhang
· Fri Jan 24 15:50:07 2014 +0800
b1df922
cmd_sf|env_sf: Fix code cleanup
by Jagannadha Sutradharudu Teki
· Mon Jul 29 22:12:52 2013 +0530
d79de1d
Add GPL-2.0+ SPDX-License-Identifier to source files
by Wolfgang Denk
· Mon Jul 08 09:37:19 2013 +0200
a840b8e
Revert "env: fix potential stack overflow in environment functions"
by Tom Rini
· Fri Apr 05 14:55:21 2013 -0400
04cae82
env: fix potential stack overflow in environment functions
by Rob Herring
· Fri Mar 22 11:26:21 2013 +0000
79a905e
env: Hide '.' variables in env print by default
by Joe Hershberger
· Tue Dec 11 22:16:23 2012 -0600
76c02dc
env: factor out the env_get_char_spec() function
by Igor Grinberg
· Mon Dec 26 03:33:10 2011 +0000
c3c1bed
env: clean env_sf.c checkpatch and code style
by Igor Grinberg
· Mon Nov 07 01:14:08 2011 +0000
6d67c73
env: move extern default_environment[] to environment.h
by Igor Grinberg
· Mon Nov 07 01:13:57 2011 +0000
1e3cdf3
env: allow to export only selected variables
by Wolfgang Denk
· Sun Nov 06 22:49:44 2011 +0100
97dfdcf
fix redundant environment for serial flash
by thomas.langer@lantiq.com
· Tue Mar 29 02:35:14 2011 +0000
92d7a99
hashtable: drop all non-reentrant versions
by Mike Frysinger
· Wed Dec 08 06:26:04 2010 -0500
5e26a1f
env_sf: remove warning introduced with last patch
by Stefano Babic
· Fri Oct 29 11:49:45 2010 +0200
5f6c286
env_sf: updated to the new environment code
by Stefano Babic
· Wed Oct 27 11:06:20 2010 +0200
460a9ff
New implementation for internal handling of environment variables.
by Wolfgang Denk
· Sun Jun 20 23:33:59 2010 +0200
0cae3d4
add redundant environment for env_sf.c
by Wolfgang Wegner
· Fri Apr 23 17:22:55 2010 +0200
09304f5
env: kill off default_environment_size
by Mike Frysinger
· Fri Jul 24 17:51:27 2009 -0400
9af10d5
env_sf: support embedded environments
by Mike Frysinger
· Thu Dec 11 06:23:37 2008 -0500
7e1cda6
rename CFG_ENV macros to CONFIG_ENV
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:48:06 2008 +0200
1b3c7e8
env_sf: Move conditional compilation to Makefile
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:48:00 2008 +0200
4539b1c
rename CFG_ENV_IS_IN_SPI_FLASH in CONFIG_ENV_IS_IN_SPI_FLASH
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:48:00 2008 +0200
08792d7
Change CFG_ENV_SIZE to CFG_ENV_SECT_SIZE for SPI sector erase
by TsiChung Liew
· Wed Aug 06 19:37:17 2008 -0500
eb8951c
Add support for environment in SPI flash
by Haavard Skinnemoen
· Fri May 16 11:10:35 2008 +0200