]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx35: generic: Let get_reset_cause be defined only when CONFIG_DISPLAY_CPUINFO is...
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 10 Feb 2012 05:34:03 +0000 (05:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commitec0919f54bfe30d992034f78b09b41f9bfb77426
tree98e36a2d90863aa367ffdc378297fc2b030c9ab2
parented9d21696df61df113ede200f36b4183d86313b2
mx35: generic: Let get_reset_cause be defined only when CONFIG_DISPLAY_CPUINFO is selected

get_reset_cause() function is only used inside print_cpuinfo(), so let it be
defined only when CONFIG_DISPLAY_CPUINFO is selected.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/mx35/generic.c