Aw: [PATCH v3 04/11] reset: add basic reset controller for pciesys

Frank Wunderlich frank-w at public-files.de
Thu Aug 20 12:52:58 CEST 2020


> Gesendet: Donnerstag, 20. August 2020 um 11:55 Uhr
> Von: "Frank Wunderlich" <linux at fw-web.de>
> +static int mt7622_pciesys_bind(struct udevice *dev)
> +{
> +	int ret = 0;
> +
> +	if (IS_ENABLED(CONFIG_RESET_MEDIATEK)) {
> +//	PCIESYS uses in linux also 0x34 = ETHSYS reset controller

sorry, squashed change to wrong commit...will fix it soon

> +	ret = mediatek_reset_bind(dev, ETHSYS_HIFSYS_RST_CTRL_OFS, 1);
> +	if (ret)
> +		debug("Warning: failed to bind reset controller\n");
> +	}
> +
> +	return ret;
> +}


More information about the U-Boot mailing list