Make i945/raminit.c:fsbclk() return u16 rather than int
authorPeter Stuge <peter@stuge.se>
Fri, 1 Oct 2010 10:02:33 +0000 (10:02 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Fri, 1 Oct 2010 10:02:33 +0000 (10:02 +0000)
commit76d914391cb0a25af0962d0a5e615d551e44a777
tree67a1757692657896922530a25998eb5f3cb410a6
parent6f56ad2d2ef6fbf9564123c5a9b64f05d006b2d7
Make i945/raminit.c:fsbclk() return u16 rather than int

This is needed for Gentoo gcc-4.1.2 to build the i945 code. A warning is
thrown because the comparison in the last hunk is between u16 and -1 and
can never be true.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5895 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/northbridge/intel/i945/raminit.c