[PATCH 11/11] configs: add new defconfig for mt8395_evk_ufs

Julien Stephan jstephan at baylibre.com
Wed Mar 18 09:59:06 CET 2026


Le mar. 17 mars 2026 à 23:03, David Lechner <dlechner at baylibre.com> a écrit :
>
> On 3/17/26 9:24 AM, Julien Stephan wrote:
> > This new defconfig is based on mt8395_evk, where we remove the mmc
>
> We will still want MMC enabled here for the SD card slot. The
> target OS could be on an SD card even when booting from UFS.
>
fair enough

> > configs and add all the ufs related ones.
> >
> > Signed-off-by: Julien Stephan <jstephan at baylibre.com>
> > ---
> >  board/mediatek/MAINTAINERS       |  3 ++-
> >  configs/mt8395_evk_ufs_defconfig | 33 +++++++++++++++++++++++++++++++++
> >  2 files changed, 35 insertions(+), 1 deletion(-)
> >
> > diff --git a/board/mediatek/MAINTAINERS b/board/mediatek/MAINTAINERS
> > index 4f371592059..dba620e57d5 100644
> > --- a/board/mediatek/MAINTAINERS
> > +++ b/board/mediatek/MAINTAINERS
> > @@ -21,7 +21,8 @@ M:  Macpaul Lin <Macpaul.Lin at mediatek.com>
> >  S:   Maintained
> >  F:   configs/mt8390_evk_defconfig
> >
> > -MT8395 EVK
> > +MT8395 EVK (UFS)
>
> I think saying "(UFS)" here is a bit confusing. It is still the same
> board (just different dip switch setting). I would not change this line.
>
> >  M:   Macpaul Lin <Macpaul.Lin at mediatek.com>
> >  S:   Maintained
> >  F:   configs/mt8395_evk_defconfig
> > +F:   configs/mt8395_evk_ufs_defconfig
> > diff --git a/configs/mt8395_evk_ufs_defconfig b/configs/mt8395_evk_ufs_defconfig
> > new file mode 100644
> > index 00000000000..9a9de689953
> > --- /dev/null
> > +++ b/configs/mt8395_evk_ufs_defconfig
> > @@ -0,0 +1,33 @@
> > +CONFIG_ARM=y
> > +CONFIG_COUNTER_FREQUENCY=13000000
> > +CONFIG_POSITION_INDEPENDENT=y
> > +CONFIG_ARCH_MEDIATEK=y
> > +CONFIG_TEXT_BASE=0x4c000000
> > +CONFIG_NR_DRAM_BANKS=1
> > +CONFIG_DEFAULT_DEVICE_TREE="mediatek/mt8395-genio-1200-evk-ufs"
> > +CONFIG_TARGET_MT8195=y
> > +CONFIG_SYS_LOAD_ADDR=0x60000000
> > +CONFIG_IDENT_STRING=" mt8395-evk"
> > +# CONFIG_BOARD_INIT is not set
> > +CONFIG_CMD_CLK=y
> > +CONFIG_CMD_GPT=y
> > +CONFIG_CMD_PART=y
> > +CONFIG_CMD_UFS=y
> > +CONFIG_OF_UPSTREAM=y
> > +CONFIG_CLK=y
> > +CONFIG_PHY=y
> > +CONFIG_PINCTRL=y
> > +CONFIG_PINCONF=y
> > +CONFIG_PINCTRL_MT8195=y
> > +CONFIG_DM_PMIC=y
> > +CONFIG_DM_PMIC_MTK_PWRAP=y
> > +CONFIG_DM_REGULATOR=y
> > +CONFIG_DM_REGULATOR_MT6359=y
> > +CONFIG_SCSI=y
> > +CONFIG_BAUDRATE=921600
> > +CONFIG_DM_SERIAL=y
> > +CONFIG_MTK_SERIAL=y
> > +CONFIG_UFS=y
> > +CONFIG_UFS_MEDIATEK=y
> > +CONFIG_WDT=y
> > +CONFIG_WDT_MTK=y
> >
>
> Can we make a .config file and #include it here so that we aren't
> duplicating so much of mt8395_evk_defconfig?
>
Sure!


More information about the U-Boot mailing list