diff options
author | Xu Ziyuan <xzy.xu@rock-chips.com> | 2016-08-01 08:46:19 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-08-05 17:56:08 -0600 |
commit | 1c62d999528da1f052cb4b07cbb540b148c52537 (patch) | |
tree | 3546f5b3635046cdf21b4795c57853a18789a4de /board/rockchip | |
parent | aff8795c01c39318eb07b4bf0cd7f170ff67d591 (diff) | |
download | u-boot-1c62d999528da1f052cb4b07cbb540b148c52537.tar.gz |
rockchip: add support for rk3288 miniarm board
Miniarm is a rockchip rk3288 based development board, which has lots of
interface such as HDMI, USB, micro-SD card, Audio etc.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/rockchip')
-rw-r--r-- | board/rockchip/miniarm_rk3288/Kconfig | 15 | ||||
-rw-r--r-- | board/rockchip/miniarm_rk3288/MAINTAINERS | 6 | ||||
-rw-r--r-- | board/rockchip/miniarm_rk3288/Makefile | 7 | ||||
-rw-r--r-- | board/rockchip/miniarm_rk3288/miniarm-rk3288.c | 15 |
4 files changed, 43 insertions, 0 deletions
diff --git a/board/rockchip/miniarm_rk3288/Kconfig b/board/rockchip/miniarm_rk3288/Kconfig new file mode 100644 index 0000000000..529c09f2c8 --- /dev/null +++ b/board/rockchip/miniarm_rk3288/Kconfig @@ -0,0 +1,15 @@ +if TARGET_MINIARM_RK3288 + +config SYS_BOARD + default "miniarm_rk3288" + +config SYS_VENDOR + default "rockchip" + +config SYS_CONFIG_NAME + default "miniarm_rk3288" + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + +endif diff --git a/board/rockchip/miniarm_rk3288/MAINTAINERS b/board/rockchip/miniarm_rk3288/MAINTAINERS new file mode 100644 index 0000000000..7537b8fbf9 --- /dev/null +++ b/board/rockchip/miniarm_rk3288/MAINTAINERS @@ -0,0 +1,6 @@ +MINIARM-RK3288 +M: Lin Huang <hl@rock-chips.com> +S: Maintained +F: board/rockchip/miniarm_rk3288 +F: include/configs/miniarm_rk3288.h +F: configs/miniarm-rk3288_defconfig diff --git a/board/rockchip/miniarm_rk3288/Makefile b/board/rockchip/miniarm_rk3288/Makefile new file mode 100644 index 0000000000..9419b91ea0 --- /dev/null +++ b/board/rockchip/miniarm_rk3288/Makefile @@ -0,0 +1,7 @@ +# +# (C) Copyright 2016 Rockchip Electronics Co., Ltd +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += miniarm-rk3288.o diff --git a/board/rockchip/miniarm_rk3288/miniarm-rk3288.c b/board/rockchip/miniarm_rk3288/miniarm-rk3288.c new file mode 100644 index 0000000000..aad74ef109 --- /dev/null +++ b/board/rockchip/miniarm_rk3288/miniarm-rk3288.c @@ -0,0 +1,15 @@ +/* + * (C) Copyright 2016 Rockchip Electronics Co., Ltd + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <spl.h> + +void board_boot_order(u32 *spl_boot_list) +{ + /* eMMC prior to sdcard */ + spl_boot_list[0] = BOOT_DEVICE_MMC2; + spl_boot_list[1] = BOOT_DEVICE_MMC1; +} |