bootm: Move to using a function pointer table for the boot os function
authorKumar Gala <galak@kernel.crashing.org>
Tue, 21 Oct 2008 22:25:44 +0000 (17:25 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 28 Oct 2008 23:57:31 +0000 (00:57 +0100)
commitbe08315933537f061bc1ce61f33a29c56458bbad
treeec8caca1688b4935cfd9dd9111e28def987824d6
parentd35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b
bootm: Move to using a function pointer table for the boot os function

This removes a bit of code and makes it easier for the upcoming sub bootm
command support to call into the proper OS specific handler.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_bootm.c