From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 17 Mar 2021 01:28:49 +0000 Subject: [PATCH v4 08/42] dm: core: Skip adding uclasses with OF_PLATDATA_INST In-Reply-To: <20210315172537.v4.8.Icde748d3063580acf92b185f675701c077b72ba8@changeid> References: <20210315172537.v4.8.Icde748d3063580acf92b185f675701c077b72ba8@changeid> <20210315042553.1932494-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de There is no need to ever add new uclasses since these are set up at build time. Update the code to return an error if this is attempted. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/uclass.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!