]> git.ipfire.org Git - people/ms/u-boot.git/commit
exports: rewrite jump table init
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 Nov 2009 21:34:42 +0000 (16:34 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 2 Dec 2009 21:53:51 +0000 (22:53 +0100)
commitbf44f3f327acddba202ff67f70192926ea47dfd1
treee67ad63c7710f0815d7d9401559f612953bffa26
parent57bf140ac66f95c9c36c494e4d027551b5477b01
exports: rewrite jump table init

The current jump table init fails to initialize a bunch of exported
symbols (forceenv/do_reset/etc...).  Rather than fix just these few
missing pieces, rewrite the code to utilize the existing list of
exported symbols -- _exports.h.  Since every exported symbol has to
be listed in this header, it makes sense to use it so that we only
ever have one list that needs to be updated and things can't fall
out of sync again.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/exports.c