Logo
Explore Help
Sign In
linux-sunxi/u-boot-sunxi
1
0
Fork 0
You've already forked u-boot-sunxi
mirror of https://github.com/linux-sunxi/u-boot-sunxi.git synced 2024-02-12 11:16:03 +08:00
Code Issues Projects Releases Wiki Activity
Files
b432b1ebdf3422caa3b714ef5a417a4e8864fad6
u-boot-sunxi/arch/arm/mach-rockchip/rk3399-board.c

15 lines
218 B
C
Raw Normal View History

rockchip: make boot_mode related codes reused across all platforms setup_boot_mode function use the same logic but different mode register address across all the rockchip platforms, so it's better to make this function reused across all the platforms, and let the mode register address setting from the config file. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-10-11 15:00:16 +08:00
/*
* Copyright (c) 2017 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/arch/boot_mode.h>
int board_late_init(void)
{
setup_boot_mode();
return 0;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 910ms Template: 37ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API