Message ID | 1596434946-12630-4-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Accepted |
Commit | ff8e88a6d7e2497f74ebd3779eac6a9c7793950d |
Delegated to: | Andes |
Headers | show |
Series | [1/6] riscv: Call spl_board_init_f() in the generic SPL board_init_f() | expand |
> From: Bin Meng [mailto:bmeng.cn@gmail.com] > Sent: Monday, August 03, 2020 2:09 PM > To: Rick Jian-Zhi Chen(陳建志); Pragnesh Patel; U-Boot Mailing List > Cc: Bin Meng > Subject: [PATCH 4/6] riscv: sifive/fu540: kconfig: Move FU540 driver related options to the SoC level > > From: Bin Meng <bin.meng@windriver.com> > > All FU540 driver related options should be in the SoC level Kconfig. > > Signed-off-by: Bin Meng <bin.meng@windriver.com> > --- > > arch/riscv/cpu/fu540/Kconfig | 22 ++++++++++++++++++++++ > board/sifive/fu540/Kconfig | 22 ---------------------- > 2 files changed, 22 insertions(+), 22 deletions(-) Reviewed-by: Rick Chen <rick@andestech.com>
>-----Original Message----- >From: Bin Meng <bmeng.cn@gmail.com> >Sent: 03 August 2020 11:39 >To: Rick Chen <rick@andestech.com>; Pragnesh Patel ><pragnesh.patel@sifive.com>; U-Boot Mailing List <u-boot@lists.denx.de> >Cc: Bin Meng <bin.meng@windriver.com> >Subject: [PATCH 4/6] riscv: sifive/fu540: kconfig: Move FU540 driver related >options to the SoC level > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >From: Bin Meng <bin.meng@windriver.com> > >All FU540 driver related options should be in the SoC level Kconfig. > >Signed-off-by: Bin Meng <bin.meng@windriver.com> >--- > > arch/riscv/cpu/fu540/Kconfig | 22 ++++++++++++++++++++++ > board/sifive/fu540/Kconfig | 22 ---------------------- > 2 files changed, 22 insertions(+), 22 deletions(-) > Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com> Tested-by: Pragnesh Patel <pragnesh.patel@sifive.com>
diff --git a/arch/riscv/cpu/fu540/Kconfig b/arch/riscv/cpu/fu540/Kconfig index 2dcad8e..53e1963 100644 --- a/arch/riscv/cpu/fu540/Kconfig +++ b/arch/riscv/cpu/fu540/Kconfig @@ -5,6 +5,9 @@ config SIFIVE_FU540 bool select ARCH_EARLY_INIT_R + select SUPPORT_SPL + select RAM + select SPL_RAM if SPL imply CPU imply CPU_RISCV imply RISCV_TIMER @@ -13,6 +16,25 @@ config SIFIVE_FU540 imply SPL_CPU_SUPPORT imply SPL_OPENSBI imply SPL_LOAD_FIT + imply SMP + imply CLK_SIFIVE + imply CLK_SIFIVE_FU540_PRCI + imply SIFIVE_SERIAL + imply MACB + imply MII + imply SPI + imply SPI_SIFIVE + imply MMC + imply MMC_SPI + imply MMC_BROKEN_CD + imply CMD_MMC + imply DM_GPIO + imply SIFIVE_GPIO + imply CMD_GPIO + imply MISC + imply SIFIVE_OTP + imply DM_PWM + imply PWM_SIFIVE if ENV_IS_IN_SPI_FLASH diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index f3217f6..fc28120 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -26,10 +26,7 @@ config SPL_OPENSBI_LOAD_ADDR config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select SIFIVE_FU540 - select SUPPORT_SPL select ENV_IS_IN_SPI_FLASH - select RAM - select SPL_RAM if SPL imply CMD_DHCP imply CMD_EXT2 imply CMD_EXT4 @@ -40,34 +37,15 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply CMD_NET imply CMD_PING imply CMD_SF - imply CLK_SIFIVE - imply CLK_SIFIVE_FU540_PRCI imply DOS_PARTITION imply EFI_PARTITION imply IP_DYN imply ISO_PARTITION - imply MACB - imply MII imply NET_RANDOM_ETHADDR imply PHY_LIB imply PHY_MSCC - imply SIFIVE_SERIAL - imply SPI - imply SPI_SIFIVE imply SPI_FLASH imply SPI_FLASH_ISSI - imply MMC - imply MMC_SPI - imply MMC_BROKEN_CD - imply CMD_MMC - imply DM_GPIO - imply SIFIVE_GPIO - imply CMD_GPIO - imply SMP - imply MISC - imply SIFIVE_OTP - imply DM_PWM - imply PWM_SIFIVE imply SYSRESET imply SYSRESET_GPIO