diff options
| author | Holger Brunck <[email protected]> | 2022-12-02 18:22:38 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-12 16:48:33 -0500 |
| commit | 0cc0c098c8fbbf61378081df9681e660829c48eb (patch) | |
| tree | a59f99c95d0b8abb10e923faa436b59025322bfb /include/environment | |
| parent | 553d7607c681806a40550696d56e15dcd9a2b0e6 (diff) | |
km/powerpc: migrate to env.txt file
Use already present common.env file and add a powerpc specific env
so that we can move all the environment defines to text files.
Signed-off-by: Holger Brunck <[email protected]>
Diffstat (limited to 'include/environment')
| -rw-r--r-- | include/environment/pg-wcom/powerpc.env | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/environment/pg-wcom/powerpc.env b/include/environment/pg-wcom/powerpc.env new file mode 100644 index 00000000000..a57fd93092d --- /dev/null +++ b/include/environment/pg-wcom/powerpc.env @@ -0,0 +1,14 @@ +arch=ppc_82xx +bootm_mapsize=CONFIG_SYS_BOOTM_LEN +checkfdt=true +set_fdthigh=true + +update=protect off BOOTFLASH_START +${filesize} && + erase BOOTFLASH_START +${filesize} && + cp.b ${load_addr_r} BOOTFLASH_START ${filesize} && + protect on BOOTFLASH_START +${filesize} + +newenv=prot off CONFIG_ENV_ADDR +0x40000 && + era CONFIG_ENV_ADDR +0x40000 + +unlock=yes |
