Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
c753694ee396d9e8de1255e3a1878bf16e50738c
/
env
/
nand.c
385518c
env: nand: Put ENV_INVALID into gd->env_valid if default environment
by Marek Behún
· Fri Oct 22 15:47:15 2021 +0200
3ba929a
common: Drop asm/global_data.h from common header
by Simon Glass
· Fri Oct 30 21:38:53 2020 -0600
dfe4b7e
env: Discern environment coming from external storage
by Marek Vasut
· Tue Jul 07 20:51:35 2020 +0200
48b6c6b
crc32: Use the crc.h header for crc functions
by Simon Glass
· Thu Nov 14 12:57:16 2019 -0700
f4bdf1b
env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check
by Tom Rini
· Mon Nov 18 20:02:07 2019 -0500
9d1f619
env: Rename environment.h to env_internal.h
by Simon Glass
· Fri Aug 02 09:44:25 2019 -0600
9738586
env: Move get/set_default_env() to env.h
by Simon Glass
· Thu Aug 01 09:47:00 2019 -0600
da9647c
env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build
by Martyn Welch
· Mon Feb 25 15:32:59 2019 +0000
0e9fe16
env: allow flash and nand env driver to compile together
by Rajesh Bhagat
· Mon Nov 05 18:01:10 2018 +0000
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
35b4c32
env: make env drivers propagate env_import return value
by Simon Goldschmidt
· Wed Jan 31 14:47:12 2018 +0100
e07096e
env: move more common code to env_import_redund
by Simon Goldschmidt
· Wed Jan 31 14:47:11 2018 +0100
1f39d0b
env: Replace all open-coded gd->env_valid values with ENV_ flags
by Simon Glass
· Sun Aug 20 04:45:15 2017 -0600
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
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
a37a7c4
env: Rename nand env_location to nand_env_location
by Simon Glass
· Thu Aug 03 12:21:57 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_nand.c]
0a2e176
env: Switch env_nand, env_mmc and env_ubi to env_import_redund
by Fiach Antaw
· Wed Jan 25 18:53:12 2017 +1000
2cf7ab7
common: env_nand: use get_nand_dev_by_index()
by Grygorii Strashko
· Mon Jun 26 19:12:52 2017 -0500
bc8571d
common: env_nand: Ensure that we have nand_info[0] prior to use
by Tom Rini
· Mon Aug 15 13:02:15 2016 -0400
2c1b7e1
nand: Embed mtd_info in struct nand_chip
by Scott Wood
· Mon May 30 13:57:55 2016 -0500
08364d9
mtd: nand: Remove nand_info_t typedef
by Scott Wood
· Mon May 30 13:57:54 2016 -0500
2dd337a
Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header
by Simon Glass
· Wed Sep 02 17:24:58 2015 -0600
c9a6d6f
env_nand: use nand_spl_load_image for readenv if SPL
by Tim Harvey
· Thu May 14 11:48:04 2015 -0700
db20464
linux/kernel.h: sync min, max, min3, max3 macros with Linux
by Masahiro Yamada
· Fri Nov 07 03:03:31 2014 +0900
1313039
env_nand: make local functions static
by Jeroen Hofstee
· Wed Oct 08 22:57:35 2014 +0200
d73c129
env: Add env_export() wrapper
by Marek Vasut
· Wed Mar 05 19:59:50 2014 +0100
bd8ec7e
Coding Style cleanup: remove trailing white space
by Wolfgang Denk
· Mon Oct 07 13:07:26 2013 +0200
c0d0ef4
env_nand.c: support falling back to redundant env when writing
by Phil Sutter
· Fri Jul 19 12:20:26 2013 +0200
d79de1d
Add GPL-2.0+ SPDX-License-Identifier to source files
by Wolfgang Denk
· Mon Jul 08 09:37:19 2013 +0200
32d9618
nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters
by Tom Rini
· Thu Mar 14 05:32:50 2013 +0000
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
3c51a85
common/env_nand.c: calculate crc only when readenv was OK
by Phil Sutter
· Thu Feb 21 18:21:56 2013 +0100
190e58a
env_nand.c: clarify log messages when env reading fails
by Phil Sutter
· Thu Feb 21 18:21:55 2013 +0100
79a905e
env: Hide '.' variables in env print by default
by Joe Hershberger
· Tue Dec 11 22:16:23 2012 -0600
f6c92cd
env_nand: fix incorrect size parameter to ALLOC_CACHE_ALIGN_BUFFER
by Stephen Warren
· Fri Sep 07 09:15:33 2012 +0000
1150ff8
env_nand: align NAND buffers
by Stephen Warren
· Mon Jul 30 07:38:38 2012 +0000
76c02dc
env: factor out the env_get_char_spec() function
by Igor Grinberg
· Mon Dec 26 03:33:10 2011 +0000
1cd368d
env_nand: Remove DEBUG definition
by Thomas Weber
· Mon Dec 05 22:19:36 2011 +0000
90f2ca8
env: clean env_nand.c checkpatch and code style
by Igor Grinberg
· Mon Nov 07 01:14:10 2011 +0000
23b54b9
env: move extern environment[] to environment.h
by Igor Grinberg
· Thu Nov 17 06:07:23 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
201e7a2
env_nand: zero-initialize variable nand_erase_options
by Daniel Hobi
· Wed May 18 15:21:08 2011 +0200
00eed7f
NAND: env: remember the flags used in the previous environment
by Scott Wood
· Tue Feb 08 15:25:02 2011 -0600
2da3ce4
NAND: Fix saving of redundand environment
by Alexander Holler
· Thu Jan 20 02:17:48 2011 +0100
92d7a99
hashtable: drop all non-reentrant versions
by Mike Frysinger
· Wed Dec 08 06:26:04 2010 -0500
c5e84fa
env_nand: Use nand_read_skip_bad instead of nand_read
by Steve Sakoman
· Fri Dec 03 13:25:43 2010 +0000
460a9ff
New implementation for internal handling of environment variables.
by Wolfgang Denk
· Sun Jun 20 23:33:59 2010 +0200
3dc4ccd
env_nand: return error when no device is found
by Mike Frysinger
· Wed Aug 11 23:42:26 2010 -0400
0268da0
NAND: formatting cleanups from env.oob support
by Scott Wood
· Mon Jul 12 18:17:40 2010 -0500
5fc8b7f
NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)
by Ben Gardiner
· Mon Jul 05 13:27:07 2010 -0400
d9f22d1
shannon/INFERNO: fix special handling of environment configuration
by Wolfgang Denk
· Sun Jun 20 21:26:20 2010 +0200
be14eb1
env_nand.c: print error message and fail gracefully
by Wolfgang Denk
· Sat Jan 16 21:50:26 2010 -0700
09304f5
env: kill off default_environment_size
by Mike Frysinger
· Fri Jul 24 17:51:27 2009 -0400
9866305
Remove legacy NAND and disk on chip code.
by Scott Wood
· Wed Apr 01 15:02:13 2009 -0500
fad2444
nand_spl: read environment early, when booting from NAND using nand_spl
by Guennadi Liakhovetski
· Mon May 18 16:07:22 2009 +0200
a68e058
env_nand: remove unused variable.
by Guennadi Liakhovetski
· Mon May 18 16:06:45 2009 +0200
78dcaf4
rename CONFIG_CMD_ENV to CONFIG_CMD_SAVEENV
by Mike Frysinger
· Wed Jan 28 19:08:14 2009 -0500
4904385
env_nand: fix env memory release
by derek@siconix.com
· Mon Jan 26 14:08:17 2009 -0700
7e1cda6
rename CFG_ENV macros to CONFIG_ENV
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:48:06 2008 +0200
b0ba065
env_nand: Move conditional compilation to Makefile
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:47:59 2008 +0200
dda84dd
rename CFG_ENV_IS_IN_NAND in CONFIG_ENV_IS_IN_NAND
by Jean-Christophe PLAGNIOL-VILLARD
· Wed Sep 10 22:47:58 2008 +0200
0c40ae94
NAND: Do not write or read a whole block if it is larger than the environment
by Guennadi Liakhovetski
· Thu Jul 31 12:38:26 2008 +0200
4ba6929
Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flash
by Wolfgang Denk
· Thu Jul 10 00:59:04 2008 +0200
72eb50a
Remove code duplication for setting the default environment
by Harald Welte
· Mon Jul 07 15:40:39 2008 +0800
f5e21f6
NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.
by Marcel Ziswiler
· Sun Jun 22 16:13:46 2008 +0200
41df50a
Coding Style Cleanup
by Wolfgang Denk
· Sat Jun 28 23:34:37 2008 +0200
8c57e9a
NAND: Add missing declaration to non-redundant saveenv().
by Philip Balister
· Mon Jun 16 08:58:07 2008 -0400
37e1144
env_nand.c: Added bad block management for environment variables
by Stuart Wood
· Fri May 30 16:05:28 2008 -0400
3ab2ad5
Cleanup nand_info[] declaration.
by Stelian Pop
· Tue May 13 17:31:24 2008 +0200
a1be476
Big white-space cleanup.
by Wolfgang Denk
· Tue May 20 16:00:29 2008 +0200
3bdeb7c
Fix warning in env_nand.c if compiled for DaVinci Schmoogie
by dirk.behme@googlemail.com
· Wed Apr 30 18:02:59 2008 +0200
43ab1dd
common/env_nand.c: fix one more incompatible pointer type issue
by Wolfgang Denk
· Tue Apr 29 23:32:20 2008 +0200
9a11ccd
NAND: fix some strict-aliasing compiler warnings
by Wolfgang Denk
· Mon Apr 28 12:08:18 2008 +0200
aea6856
fix comments with new drivers organization
by Marcel Ziswiler
· Sun Dec 30 03:30:46 2007 +0100
d704d91
common/: Remove lingering references to CFG_CMD_* symbols.
by Jon Loeliger
· Tue Jul 10 11:02:44 2007 -0500
052fc84
common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS
by Jon Loeliger
· Sun Jul 08 18:10:08 2007 -0500
e4ea796
common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
by Jon Loeliger
· Mon Jun 11 19:02:05 2007 -0500
bbfcbb7
Add NAND environment support for PPC440EPx Sequoia NAND boot config
by Stefan Roese
· Tue Sep 12 20:19:10 2006 +0200
6405a15
GCC-4.x fixes: clean up global data pointer initialization for all boards.
by Wolfgang Denk
· Fri Mar 31 18:32:53 2006 +0200
ffe7ef5
Merge with http://www.denx.de/git/u-boot.git
by Markus Klotzbuecher
· Fri Mar 24 15:43:16 2006 +0100
5d113e0
Support for redundant environment in NAND Flash.
by Markus Klotzbuecher
· Mon Mar 20 18:02:44 2006 +0100
7fa6e90
Some code cleanup for GCC 4.x
by Wolfgang Denk
· Sat Mar 11 22:53:33 2006 +0100
be8ebab
Some minor fixes to environment in NAND code.
by Markus Klotzbuecher
· Wed Mar 08 00:04:04 2006 +0100
582f1a3
Re-factoring the legacy NAND code (legacy NAND now only in board-specific
by Bartlomiej Sieka
· Sun Mar 05 18:57:33 2006 +0100
6493420
Remove unneeded #include <malloc.h> Patch by Ladislav Michl, 22 Feb 2005
by Wolfgang Denk
· Sun Sep 25 17:02:27 2005 +0200
9e930b6
Patch by Josef Wagner, 04 Jun 2004:
by wdenk
· Sat Jun 19 21:19:10 2004 +0000
79b5937
Patch by Jian Zhang, 20 May 2004: add support for environment in NAND flash
by wdenk
· Wed Jun 09 14:58:14 2004 +0000