From: Patrick DELAUNAY Date: Tue, 16 Jun 2020 09:18:01 +0000 Subject: [PATCH 1/2] board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes In-Reply-To: <20200605092427.1.I393865d4202eca31c111da33b792596f130b73d2@changeid> References: <20200605092427.1.I393865d4202eca31c111da33b792596f130b73d2@changeid> 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 Hi, > From: Patrick DELAUNAY > Sent: vendredi 5 juin 2020 09:24 > > From: Etienne Carriere > > Fix the sequence in stm32mp1 fdt.c that disables OP-TEE resources defined in > FDT when U-boot detects OP-TEE firmware is not present. > > Before this change, helper function stm32_fdt_disable_optee() set property status > to "disabled" for the OP-TEE reserved memory nodes but this has no impact since > Linux kernel does not consider the status property for reserved-memory > subnodes. This change make U-Boot to attempt to delete the node instead. > > Fixes: 4a1b975dac02 ("board: stm32mp1: reserve memory for OP-TEE in device > tree") > Signed-off-by: Etienne Carriere > Signed-off-by: Patrick Delaunay > --- > Applied to u-boot-stm/master, thanks! Regards Patrick