[3/4] configs: pcm051: Use DEFAULT_LINUX_BOOT_ENV instead of hardcoded values

Message ID 20180602172228.10664-3-matwey.kornilov@gmail.com
State Accepted
Commit ccad5e86e28f769d2307b9b9e5c883e39c9599bc
Headers show
Series
  • [1/4] configs: pcm051: Support distro bootcmds
Related show

Commit Message

Matwey V. Kornilov June 2, 2018, 5:22 p.m.
It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board.

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
---
 include/configs/pcm051.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Tom Rini June 13, 2018, 3:42 p.m. | #1
On Sat, Jun 02, 2018 at 08:22:27PM +0300, Matwey V. Kornilov wrote:

> It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board.

> 

> Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>


Applied to u-boot/master, thanks!

-- 
Tom

Patch

diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h
index 3bdd30d84f..0475d80666 100644
--- a/include/configs/pcm051.h
+++ b/include/configs/pcm051.h
@@ -57,10 +57,8 @@ 
 #include <environment/ti/mmc.h>
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
+	DEFAULT_LINUX_BOOT_ENV \
 	DEFAULT_MMC_TI_ARGS \
-	"loadaddr=0x80007fc0\0" \
-	"fdtaddr=0x80000000\0" \
-	"rdaddr=0x81000000\0" \
 	"bootfile=uImage\0" \
 	"fdtfile=pcm051.dtb\0" \
 	"console=ttyO0,115200n8\0" \