[U-Boot] [PATCH v2 16/17] x86: Split init functions out of board.c

Simon Glass sjg at chromium.org
Thu Jan 12 06:03:55 CET 2012


On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ <graeme.russ at gmail.com> wrote:
> This patch moves towards reducing board.c to simply a set of init cores for
> the three initialisation phases (Flash, Flash/RAM, and RAM), a set of three
> init function arrays and a init function array processing function
>
> Signed-off-by: Graeme Russ <graeme.russ at gmail.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
> Changes for v2:
>  - Changes patch title
>  - Tweak commit message
>
>  arch/x86/include/asm/init_helpers.h  |   39 +++++
>  arch/x86/include/asm/init_wrappers.h |   42 +++++
>  arch/x86/lib/Makefile                |    2 +
>  arch/x86/lib/board.c                 |  297 +++++++++-------------------------
>  arch/x86/lib/init_helpers.c          |  142 ++++++++++++++++
>  arch/x86/lib/init_wrappers.c         |  137 ++++++++++++++++
>  6 files changed, 438 insertions(+), 221 deletions(-)
>  create mode 100644 arch/x86/include/asm/init_helpers.h
>  create mode 100644 arch/x86/include/asm/init_wrappers.h
>  create mode 100644 arch/x86/lib/init_helpers.c
>  create mode 100644 arch/x86/lib/init_wrappers.c
>


More information about the U-Boot mailing list