MIPS: bootm.c: separate environment initialization
authorGabor Juhos <juhosg@openwrt.org>
Mon, 7 Jan 2013 02:53:41 +0000 (02:53 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 16 Jan 2013 09:52:07 +0000 (10:52 +0100)
commit0ea7213f63f580aa679a36795831dabd35d786aa
tree7052cd366046b15a0701d4a8a8b5a1d5b3c38814
parente08634c7bfdb5fcda2541a8845d44888538d6178
MIPS: bootm.c: separate environment initialization

Move the environment initialization code into a
separate function. This make the code reusable
for bootm subcommands.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/lib/bootm.c