scripts: use sep-char for hash nodes
U-Boot with enabled secure-boot will not boot images with the
@-character used for hash node-names.
Use the existing separation character configurable for each device.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 2b133ab19c)
			
			
This commit is contained in:
		| @@ -103,10 +103,10 @@ if [ -n "${DTB}" ]; then | |||||||
| 			${DTADDR:+load = <${DTADDR}>;} | 			${DTADDR:+load = <${DTADDR}>;} | ||||||
| 			arch = \"${ARCH}\"; | 			arch = \"${ARCH}\"; | ||||||
| 			compression = \"none\"; | 			compression = \"none\"; | ||||||
| 			hash@1 { | 			hash${REFERENCE_CHAR}1 { | ||||||
| 				algo = \"crc32\"; | 				algo = \"crc32\"; | ||||||
| 			}; | 			}; | ||||||
| 			hash@2 { | 			hash${REFERENCE_CHAR}2 { | ||||||
| 				algo = \"${HASH}\"; | 				algo = \"${HASH}\"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| @@ -123,10 +123,10 @@ if [ -n "${INITRD}" ]; then | |||||||
| 			type = \"ramdisk\"; | 			type = \"ramdisk\"; | ||||||
| 			arch = \"${ARCH}\"; | 			arch = \"${ARCH}\"; | ||||||
| 			os = \"linux\"; | 			os = \"linux\"; | ||||||
| 			hash@1 { | 			hash${REFERENCE_CHAR}1 { | ||||||
| 				algo = \"crc32\"; | 				algo = \"crc32\"; | ||||||
| 			}; | 			}; | ||||||
| 			hash@2 { | 			hash${REFERENCE_CHAR}2 { | ||||||
| 				algo = \"${HASH}\"; | 				algo = \"${HASH}\"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| @@ -145,10 +145,10 @@ if [ -n "${ROOTFS}" ]; then | |||||||
| 			type = \"filesystem\"; | 			type = \"filesystem\"; | ||||||
| 			arch = \"${ARCH}\"; | 			arch = \"${ARCH}\"; | ||||||
| 			compression = \"none\"; | 			compression = \"none\"; | ||||||
| 			hash@1 { | 			hash${REFERENCE_CHAR}1 { | ||||||
| 				algo = \"crc32\"; | 				algo = \"crc32\"; | ||||||
| 			}; | 			}; | ||||||
| 			hash@2 { | 			hash${REFERENCE_CHAR}2 { | ||||||
| 				algo = \"${HASH}\"; | 				algo = \"${HASH}\"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| @@ -174,10 +174,10 @@ OVCONFIGS="" | |||||||
| 			type = \"flat_dt\"; | 			type = \"flat_dt\"; | ||||||
| 			arch = \"${ARCH}\"; | 			arch = \"${ARCH}\"; | ||||||
| 			compression = \"none\"; | 			compression = \"none\"; | ||||||
| 			hash@1 { | 			hash${REFERENCE_CHAR}1 { | ||||||
| 				algo = \"crc32\"; | 				algo = \"crc32\"; | ||||||
| 			}; | 			}; | ||||||
| 			hash@2 { | 			hash${REFERENCE_CHAR}2 { | ||||||
| 				algo = \"${HASH}\"; | 				algo = \"${HASH}\"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| @@ -209,10 +209,10 @@ DATA="/dts-v1/; | |||||||
| 			compression = \"${COMPRESS}\"; | 			compression = \"${COMPRESS}\"; | ||||||
| 			load = <${LOAD_ADDR}>; | 			load = <${LOAD_ADDR}>; | ||||||
| 			entry = <${ENTRY_ADDR}>; | 			entry = <${ENTRY_ADDR}>; | ||||||
| 			hash@1 { | 			hash${REFERENCE_CHAR}1 { | ||||||
| 				algo = \"crc32\"; | 				algo = \"crc32\"; | ||||||
| 			}; | 			}; | ||||||
| 			hash@2 { | 			hash${REFERENCE_CHAR}2 { | ||||||
| 				algo = \"$HASH\"; | 				algo = \"$HASH\"; | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Bauer
					David Bauer