Move dram_init_banksize() to a common header
authorSimon Glass <sjg@chromium.org>
Fri, 31 Mar 2017 14:40:33 +0000 (08:40 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2017 20:36:51 +0000 (16:36 -0400)
commit5e924a13e729c83351f76609d058c1db30746c9b
treed04cef6926175e075803dea107b974260c65a5f4
parent76b00aca4f1c13bc8f91a539e612abc70d0c692f
Move dram_init_banksize() to a common header

This is an weak function present on all archs so we should have it in the
common header file. Remove it from arch-specific headers and add a
function comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/u-boot-arm.h
arch/x86/include/asm/u-boot-x86.h
include/common.h