Re: [U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support
Sorry, for some reasons, I signed off with the wrong e-mail address. The second patch is the right one. -- David du Colombier ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support
Signed-off-by: David du Colombier <0in...@gmail.com> --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..5beb273 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -9,6 +9,8 @@ #ifndef _CONFIG_SHEEVAPLUG_H #define _CONFIG_SHEEVAPLUG_H +#define CONFIG_SYS_GENERIC_BOARD + /* * Version number information */ -- 1.8.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 1/1] ARM: sheevaplug: convert to generic board support
From: David du Colombier Signed-off-by: David du Colombier --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..5beb273 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -9,6 +9,8 @@ #ifndef _CONFIG_SHEEVAPLUG_H #define _CONFIG_SHEEVAPLUG_H +#define CONFIG_SYS_GENERIC_BOARD + /* * Version number information */ -- 1.8.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] env_onenand: set ONENAND_MAX_ENV_SIZE to CONFIG_ENV_SIZE
> This fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE > is not equal to 4096 bytes > It also prevents mtd->read and mtd->write to be incomplete when > the environment is larger than 4096 bytes. > > Signed-off-by: David du Colombier <0in...@gmail.com> > --- > common/env_onenand.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/env_onenand.c b/common/env_onenand.c > index 7197ab6..da35071 100644 > --- a/common/env_onenand.c > +++ b/common/env_onenand.c > @@ -39,7 +39,7 @@ > > char *env_name_spec = "OneNAND"; > > -#define ONENAND_MAX_ENV_SIZE 4096 > +#define ONENAND_MAX_ENV_SIZE CONFIG_ENV_SIZE > #define ONENAND_ENV_SIZE(mtd)(ONENAND_MAX_ENV_SIZE - > ENV_HEADER_SIZE) > DECLARE_GLOBAL_DATA_PTR; Could you please take a look? It fixes environment saving and restoring on IGEPv2. Thanks. -- David du Colombier ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] env_onenand: set ONENAND_MAX_ENV_SIZE to CONFIG_ENV_SIZE
This fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE is not equal to 4096 bytes It also prevents mtd->read and mtd->write to be incomplete when the environment is larger than 4096 bytes. Signed-off-by: David du Colombier <0in...@gmail.com> --- common/env_onenand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/env_onenand.c b/common/env_onenand.c index 7197ab6..da35071 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -39,7 +39,7 @@ char *env_name_spec = "OneNAND"; -#define ONENAND_MAX_ENV_SIZE 4096 +#define ONENAND_MAX_ENV_SIZE CONFIG_ENV_SIZE #define ONENAND_ENV_SIZE(mtd) (ONENAND_MAX_ENV_SIZE - ENV_HEADER_SIZE) DECLARE_GLOBAL_DATA_PTR; -- 1.7.6.5 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot