diff options
author | Weijie Gao | 2022-09-09 19:59:16 +0800 |
---|---|---|
committer | Tom Rini | 2022-09-23 15:09:15 -0400 |
commit | e053ccf6ef45c0d803d4435d1f3e7fca6e14981e (patch) | |
tree | cf7d870cf1e4cb7fd74d38a9b36dd5b6f19cdf57 /board/mediatek/mt7981 | |
parent | 389ba6986bf3559d26564e4a770cab0a7503fd2f (diff) |
board: mediatek: add MT7981 reference boards
This patch adds general board files based on MT7981 SoCs.
MT7981 uses one mmc controller for booting from both SD and eMMC, and the
pins of mmc controller are also shared with spi controller.
So three configs are need for these boot types:
1. mt7981_rfb_defconfig - SPI-NOR and SPI-NAND
2. mt7981_emmc_rfb_defconfig - eMMC only
3. mt7981_sd_rfb_defconfig - SD only
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'board/mediatek/mt7981')
-rw-r--r-- | board/mediatek/mt7981/MAINTAINERS | 10 | ||||
-rw-r--r-- | board/mediatek/mt7981/Makefile | 3 | ||||
-rw-r--r-- | board/mediatek/mt7981/mt7981_rfb.c | 10 |
3 files changed, 23 insertions, 0 deletions
diff --git a/board/mediatek/mt7981/MAINTAINERS b/board/mediatek/mt7981/MAINTAINERS new file mode 100644 index 00000000000..e7592a7a548 --- /dev/null +++ b/board/mediatek/mt7981/MAINTAINERS @@ -0,0 +1,10 @@ +MT7981 +M: Sam Shih <sam.shih@mediatek.com> +S: Maintained +F: board/mediatek/mt7981 +F: include/configs/mt7981.h +F: configs/mt7981_emmc_rfb_defconfig +F: configs/mt7981_rfb_defconfig +F: configs/mt7981_sd_rfb_defconfig +F: configs/mt7981_spim_nand_rfb_defconfig +F: configs/mt7981_spim_nor_rfb_defconfig diff --git a/board/mediatek/mt7981/Makefile b/board/mediatek/mt7981/Makefile new file mode 100644 index 00000000000..fa5990ffb2c --- /dev/null +++ b/board/mediatek/mt7981/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-y += mt7981_rfb.o diff --git a/board/mediatek/mt7981/mt7981_rfb.c b/board/mediatek/mt7981/mt7981_rfb.c new file mode 100644 index 00000000000..846c715ca05 --- /dev/null +++ b/board/mediatek/mt7981/mt7981_rfb.c @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022 MediaTek Inc. + * Author: Sam Shih <sam.shih@mediatek.com> + */ + +int board_init(void) +{ + return 0; +} |