common: Simplify get_clocks() #ifdef
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 30 Oct 2015 09:30:02 +0000 (17:30 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 23:13:19 +0000 (18:13 -0500)
commit7664846bbbccee0d5fa6b5f9d4a8ad0f07ff29d7
tree762798d8218a64c5aff27161eb60060a0b0d9b62
parent755324c432f62306487786f89efce96398291a03
common: Simplify get_clocks() #ifdef

get_clocks is wrapped by CONFIG_FSL_CLK and CONFIG_M68K in seperate
piece code. They can be merged into one snippet.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: "angelo@sysam.it" <angelo@sysam.it>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: "Andreas Bießmann" <andreas.devel@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Angelo Dureghello <angelo@sysam.it>
common/board_f.c