diff options
author | Andre Przywara | 2017-12-04 02:05:10 +0000 |
---|---|---|
committer | Simon Glass | 2018-01-15 18:29:21 -0700 |
commit | b2267e8a22bd662fff00d3ba9751cfef5773a4b6 (patch) | |
tree | 114121e8cb73ae391b816c6db92785902f1fc52b /tools | |
parent | 971a54193c9a90a6651064c4a7879e3568e9e7b8 (diff) |
fix incorrect usage of DT node unit address in comments
The DT spec demands a unit-address in a node name to match the "reg"
property in that node. Newer dtc versions will throw warnings if this is
not the case.
Fix all occurences in the tree where node names were mentioned in
comments, to not give bad examples to the reader.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/image-host.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/image-host.c b/tools/image-host.c index 2c0030b5e23..8a7469e5383 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -270,16 +270,16 @@ static int fit_image_process_sig(const char *keydir, void *keydest, * * Input component image node structure: * - * o image@1 (at image_noffset) + * o image-1 (at image_noffset) * | - data = [binary data] - * o hash@1 + * o hash-1 * |- algo = "sha1" * * Output component image node structure: * - * o image@1 (at image_noffset) + * o image-1 (at image_noffset) * | - data = [binary data] - * o hash@1 + * o hash-1 * |- algo = "sha1" * |- value = sha1(data) * @@ -321,7 +321,7 @@ int fit_image_add_verification_data(const char *keydir, void *keydest, /* * Check subnode name, must be equal to "hash" or "signature". * Multiple hash nodes require unique unit node - * names, e.g. hash@1, hash@2, signature@1, etc. + * names, e.g. hash-1, hash-2, signature-1, etc. */ node_name = fit_get_name(fit, noffset, NULL); if (!strncmp(node_name, FIT_HASH_NODENAME, |