From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 14 Nov 2020 09:17:04 -0600 Subject: [PATCH 02/18] common: board_f: Use IS_ENABLED(CONFIG_TIMER_EARLY) in initf_dm In-Reply-To: <20201105090955.29641-3-ovidiu.panait@windriver.com> References: <20201105090955.29641-1-ovidiu.panait@windriver.com> <20201105090955.29641-3-ovidiu.panait@windriver.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 5 Nov 2020 at 03:10, Ovidiu Panait wrote: > > Use IS_ENABLED(CONFIG_TIMER_EARLY) instead of #ifdef in initf_dm. Also, > move timer code to the main ifdef, so that ret is defined. > > Signed-off-by: Ovidiu Panait > --- > common/board_f.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > Reviewed-by: Simon Glass