[PATCH] powerpc/mpc85xx: use board env file for socrates board
Tom Rini
trini at konsulko.com
Thu Jan 26 15:30:35 CET 2023
On Thu, Jan 26, 2023 at 08:46:21AM +0100, Heiko Schocher wrote:
> as Tom suggested get rid of CFG_EXTRA_ENV_SETTINGS and
> enable CONFIG_ENV_SOURCE_FILE and use text file
>
> board/socrates/socrates.env
>
> which contains the default environment. While at it,
> cleanup the default Environment.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Suggested-by: Tom Rini <trini at konsulko.com>
[snip]
> +baudrate=CONFIG_BAUDRATE
[snip]
> +bootcmd=CONFIG_BOOTCOMMAND
> +bootdelay=CONFIG_BOOTDELAY
[snip]
> +mtdids=CONFIG_MTDIDS_DEFAULT
> +mtdparts=CONFIG_MTDPARTS_DEFAULT
These aren't needed as they're in env_default.h
> @@ -70,6 +70,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=fe000000.nor_flash,nand0=socrates_nand"
> CONFIG_MTDPARTS_DEFAULT="mtdparts=fe000000.nor_flash:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot);socrates_nand:256M(ubi-data1),-(ubi-data2)"
> # CONFIG_CMD_IRQ is not set
> CONFIG_OF_CONTROL=y
> +CONFIG_ENV_SOURCE_FILE="socrates"
> CONFIG_ENV_IS_NOWHERE=y
> CONFIG_ENV_IS_IN_FLASH=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
And that shouldn't be needed as it's the default name I believe.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230126/1c4a9bbc/attachment.sig>
More information about the U-Boot
mailing list