Commit 2231911
board: stm32mp2: Fix fwu-mdata node update for NOR boot
The fwu-mdata devicetree node was incorrectly updated for NOR boot.
The previous implementation wrote the memory node path as a string
to the fwu-mdata-store property, but the FWU metadata driver expects
a phandle reference, causing the driver to fail loading the metadata.
Fix this by using a proper phandle ID instead of a string path.
Also add the mdata-parts property to specify the metadata partition
location within the NOR memory, as required by the FWU driver.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Change-Id: I62dbfebcd94224ebc04014304957697ba0c63663
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/543885
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>1 parent 08422c6 commit 2231911
1 file changed
Lines changed: 41 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
822 | 845 | | |
823 | 846 | | |
824 | 847 | | |
825 | 848 | | |
826 | 849 | | |
827 | 850 | | |
| 851 | + | |
828 | 852 | | |
829 | 853 | | |
830 | 854 | | |
| |||
844 | 868 | | |
845 | 869 | | |
846 | 870 | | |
847 | | - | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
848 | 879 | | |
| 880 | + | |
849 | 881 | | |
850 | 882 | | |
851 | 883 | | |
| |||
881 | 913 | | |
882 | 914 | | |
883 | 915 | | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
884 | 920 | | |
885 | 921 | | |
886 | 922 | | |
887 | 923 | | |
888 | 924 | | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
889 | 929 | | |
890 | 930 | | |
891 | 931 | | |
| |||
0 commit comments