diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2023-07-19 12:17:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-03 16:40:50 +0300 |
commit | bc4adc97cfb4aa239aba3abd39ff5d7827af0218 (patch) | |
tree | b96dad1e8fac2d65a6be63d5c520902beff06ea2 /board | |
parent | 96b381e7bb71b3415cc27fab1b13e04dca784d7f (diff) | |
download | u-boot-bc4adc97cfb4aa239aba3abd39ff5d7827af0218.tar.xz |
board: mediatek: add MT7988 reference boards
This patch adds general board files based on MT7988 SoCs.
MT7988 uses one mmc controller for booting from both SD and eMMC,
and the pins of mmc controller booting from SD are also shared with
one of spi controllers.
So two configs are need for these boot types:
1. mt7988_rfb_defconfig - SPI-NOR, SPI-NAND and eMMC
2. mt7988_sd_rfb_defconfig - SPI-NAND and SD
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/mediatek/mt7988/MAINTAINERS | 7 | ||||
-rw-r--r-- | board/mediatek/mt7988/Makefile | 3 | ||||
-rw-r--r-- | board/mediatek/mt7988/mt7988_rfb.c | 10 |
3 files changed, 20 insertions, 0 deletions
diff --git a/board/mediatek/mt7988/MAINTAINERS b/board/mediatek/mt7988/MAINTAINERS new file mode 100644 index 0000000000..a45bfff26c --- /dev/null +++ b/board/mediatek/mt7988/MAINTAINERS @@ -0,0 +1,7 @@ +MT7988 +M: Sam Shih <sam.shih@mediatek.com> +S: Maintained +F: board/mediatek/mt7988 +F: include/configs/mt7988.h +F: configs/mt7988_rfb_defconfig +F: configs/mt7988_sd_rfb_defconfig diff --git a/board/mediatek/mt7988/Makefile b/board/mediatek/mt7988/Makefile new file mode 100644 index 0000000000..f1249ab371 --- /dev/null +++ b/board/mediatek/mt7988/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-y += mt7988_rfb.o diff --git a/board/mediatek/mt7988/mt7988_rfb.c b/board/mediatek/mt7988/mt7988_rfb.c new file mode 100644 index 0000000000..846c715ca0 --- /dev/null +++ b/board/mediatek/mt7988/mt7988_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; +} |