diff options
| author | Weijie Gao <[email protected]> | 2025-01-23 16:55:05 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-30 14:35:14 -0600 |
| commit | c80a3fb96135394d4724bbd2c887c8a372b8f5ee (patch) | |
| tree | c217fe5303f576abf835f3cb73a625a20a4d37bd /board/mediatek | |
| parent | 2d6962e0618aab4cf91784aae4ea06d8f88128e2 (diff) | |
board: mediatek: add MT7987 reference boards
This patch adds general board files based on MT7987 SoC.
MT7987 uses one mmc controller for booting from both SD and eMMC, and the
pins of mmc controller are also shared with one spi controller.
So three configs are need for these boot types:
1. mt7987_rfb_defconfig - SPI-NOR (spi2) and SPI-NAND (spi0)
2. mt7987_emmc_rfb_defconfig - eMMC + SPI-NOR (spi2)
3. mt7987_sd_rfb_defconfig - SD + SPI-NOR (spi2)
Note: spi2 also supports booting from SPI-NAND, but not the default option.
Signed-off-by: Sam Shih <[email protected]>
Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'board/mediatek')
| -rw-r--r-- | board/mediatek/mt7987/MAINTAINERS | 8 | ||||
| -rw-r--r-- | board/mediatek/mt7987/Makefile | 3 | ||||
| -rw-r--r-- | board/mediatek/mt7987/mt7987_rfb.c | 10 |
3 files changed, 21 insertions, 0 deletions
diff --git a/board/mediatek/mt7987/MAINTAINERS b/board/mediatek/mt7987/MAINTAINERS new file mode 100644 index 00000000000..c257d0b09df --- /dev/null +++ b/board/mediatek/mt7987/MAINTAINERS @@ -0,0 +1,8 @@ +MT7987 +M: Sam Shih <[email protected]> +S: Maintained +F: board/mediatek/mt7987 +F: include/configs/mt7987.h +F: configs/mt7987_rfb_defconfig +F: configs/mt7987_emmc_rfb_defconfig +F: configs/mt7987_sd_rfb_defconfig diff --git a/board/mediatek/mt7987/Makefile b/board/mediatek/mt7987/Makefile new file mode 100644 index 00000000000..9f3f493f3c9 --- /dev/null +++ b/board/mediatek/mt7987/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-y += mt7987_rfb.o diff --git a/board/mediatek/mt7987/mt7987_rfb.c b/board/mediatek/mt7987/mt7987_rfb.c new file mode 100644 index 00000000000..fcb844deed8 --- /dev/null +++ b/board/mediatek/mt7987/mt7987_rfb.c @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2025 MediaTek Inc. + * Author: Sam Shih <[email protected]> + */ + +int board_init(void) +{ + return 0; +} |
