From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 7 May 2016 16:32:11 -0600 Subject: [U-Boot] [PATCH 49/60] ARM: tegra: convert boards to new hooks In-Reply-To: <1461099580-3866-50-git-send-email-swarren@wwwdotorg.org> References: <1461099580-3866-1-git-send-email-swarren@wwwdotorg.org> <1461099580-3866-50-git-send-email-swarren@wwwdotorg.org> 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 19 April 2016 at 14:59, Stephen Warren wrote: > From: Stephen Warren > > Implementations of the following functions are converted to use the new > standardized hooks: gpio_early_init, gpio_early_init_uart, pinmux_init, > board_init_uart_f. This simplifies the core board files. > > SPL UART configuration is moved out of config headers and into board code. > This removes logic from the board configuration files. > > The now-unused board_init_uart_f() implementation is deleted, simplifying > the core board files and removing code that's hard to port to future SoCs. > > Whitespace was removed from tegra_board_early_init_f() to save space and > be consistent between boards. > > Signed-off-by: Stephen Warren > --- > arch/arm/mach-tegra/Makefile | 1 + > arch/arm/mach-tegra/board.c | 114 ------------------------------ > arch/arm/mach-tegra/board2.c | 15 ---- > arch/arm/mach-tegra/cpu.h | 2 - > arch/arm/mach-tegra/include/mach/board.h | 7 -- > arch/arm/mach-tegra/spl.c | 5 -- > board/avionic-design/common/tamonten-ng.c | 22 ++++-- > board/avionic-design/common/tamonten.c | 12 +++- > board/compal/paz00/paz00.c | 8 +++ > board/compulab/trimslice/trimslice.c | 10 ++- > board/nvidia/cardhu/cardhu.c | 18 ++--- > board/nvidia/dalmore/dalmore.c | 21 +++--- > board/nvidia/e2220-1170/e2220-1170.c | 10 +-- > board/nvidia/harmony/harmony.c | 8 +++ > board/nvidia/jetson-tk1/jetson-tk1.c | 21 +++--- > board/nvidia/nyan-big/nyan-big.c | 14 ++-- > board/nvidia/p2371-0000/p2371-0000.c | 10 +-- > board/nvidia/p2371-2180/p2371-2180.c | 10 +-- > board/nvidia/p2571/p2571.c | 10 +-- > board/nvidia/seaboard/seaboard.c | 12 ++-- > board/nvidia/venice2/venice2.c | 14 ++-- > board/nvidia/whistler/whistler.c | 10 ++- > board/toradex/apalis_t30/apalis_t30.c | 20 +++--- > board/toradex/colibri_t20/colibri_t20.c | 8 +++ > board/toradex/colibri_t30/colibri_t30.c | 14 ++-- > include/configs/apalis_t30.h | 5 +- > include/configs/cardhu.h | 6 +- > include/configs/colibri_t20.h | 6 +- > include/configs/colibri_t30.h | 5 +- > include/configs/dalmore.h | 6 +- > include/configs/e2220-1170.h | 5 +- > include/configs/harmony.h | 12 +--- > include/configs/jetson-tk1.h | 6 +- > include/configs/nyan-big.h | 6 +- > include/configs/p2371-0000.h | 5 +- > include/configs/p2371-2180.h | 5 +- > include/configs/p2571.h | 6 +- > include/configs/paz00.h | 6 +- > include/configs/seaboard.h | 4 -- > include/configs/tec-ng.h | 5 +- > include/configs/tec.h | 6 +- > include/configs/trimslice.h | 7 +- > include/configs/venice2.h | 6 +- > include/configs/whistler.h | 7 +- > 44 files changed, 174 insertions(+), 336 deletions(-) Reviewed-by: Simon Glass