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>
This commit is contained in:
Andre Przywara 2017-12-04 02:05:10 +00:00 committed by Simon Glass
parent 971a54193c
commit b2267e8a22
4 changed files with 27 additions and 27 deletions

View file

@ -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,