[PATCH 2/4] NSA310S : Add DM USB, DM Ethernet, and DM SATA configs

Stefan Roese sr at denx.de
Thu Jul 1 10:14:34 CEST 2021


On 01.07.21 06:26, Tony Dinh wrote:
> Convert to Driver Model.
> 
> - Add DM USB, DM Ethernet, and DM SATA configs to nsa310s_defconfig
> - Add CONFIG_DEFAULT_DEVICE_TREE to nsa310s_defconfig
> - Move CONFIG_ENV_SECT_SIZE from board file to nsa310s_defconfig
> - Add CONFIG_IDENT_STRING, and CONFIG_NET_RANDOM_ETHADDR
> to nsa310s_defconfig
> 
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
> 
>   configs/nsa310s_defconfig | 12 +++++++++++-
>   1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig
> index e4cf1c470e..fac0322e2b 100644
> --- a/configs/nsa310s_defconfig
> +++ b/configs/nsa310s_defconfig
> @@ -7,14 +7,16 @@ CONFIG_NR_DRAM_BANKS=2
>   CONFIG_TARGET_NSA310S=y
>   CONFIG_ENV_SIZE=0x20000
>   CONFIG_ENV_OFFSET=0xE0000
> +CONFIG_ENV_SECT_SIZE=0x20000
> +CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s"
>   CONFIG_BOOTDELAY=3
>   CONFIG_USE_PREBOOT=y
>   # CONFIG_DISPLAY_BOARDINFO is not set
>   CONFIG_HUSH_PARSER=y
>   CONFIG_SYS_PROMPT="nsa310s => "
> +CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server"
>   CONFIG_CMD_BOOTZ=y
>   # CONFIG_CMD_FLASH is not set
> -CONFIG_CMD_IDE=y
>   CONFIG_CMD_NAND=y
>   CONFIG_CMD_USB=y
>   # CONFIG_CMD_SETEXPR is not set
> @@ -44,3 +46,11 @@ CONFIG_USB_STORAGE=y
>   CONFIG_LZMA=y
>   CONFIG_BZIP2=y
>   CONFIG_OF_LIBFDT=y
> +CONFIG_DM=y
> +CONFIG_BLK=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_DM_USB=y
> +CONFIG_DM_ETH=y
> +CONFIG_NET_RANDOM_ETHADDR=y
> +CONFIG_CMD_SATA=y
> +CONFIG_SATA_MV=y
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list