]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: ti: Factor out call to 'args_mmc' into MMC common environment
authorAndrew F. Davis <afd@ti.com>
Fri, 10 Jan 2020 19:35:19 +0000 (14:35 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commite77777b2ffb0e189ae29e5f7c6004aa3c4bd7951
treea8aec9cc8a5837cf44a454b1e193268b89dec8db
parentfb03b77a469167d1287187a23bcb7f08dab2e624
configs: ti: Factor out call to 'args_mmc' into MMC common environment

Both 'loadfit' and 'mmcloados' start with a call to 'args_mmc' so this
can be factored out to before eithers only call site. This also allows us
to remove that call from 'loadfit', which should not have been calling it
anyway as that command should not be MMC specific. Without the call to
'args_mmc' the command 'loadfit' becomes just a call to 'run_fit' so
remove the indirection and call 'run_fit' directly, this removes the need
for 'loadfit' command (which was misnamed anyway). Drop it.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/ti_armv7_common.h
include/environment/ti/mmc.h