From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 5 Jan 2013 09:12:47 +0100 Subject: [U-Boot] [RFC PATCH 14/44] image: Export fit_conf_get_prop_node() In-Reply-To: <1357350734-13737-15-git-send-email-sjg@chromium.org> References: <1357350734-13737-1-git-send-email-sjg@chromium.org> <1357350734-13737-15-git-send-email-sjg@chromium.org> Message-ID: <201301050912.47484.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, > This function will be needed by signature checking code, so export it, > and also add docs. > > Signed-off-by: Simon Glass [...] > +/** > + * fit_conf_get_prop_node() - Get node refered to by a configuration > + * > + * The conf@ nodes contain references to other nodes, using properties > + * like 'kernel = "kernel at 1"'. Given such a property name (e.g. "kernel"), > + * return the offset of the node referred to (e.g. offset of node > + * "/images/kernel at 1". > + * > + * @fit: FIT to check > + * @noffset: Offset of conf at xxx node to check > + * @prop_name: Property to read from the conf node This parameter list is swapped with the description. > + */ > +int fit_conf_get_prop_node(const void *fit, int noffset, > + const char *prop_name); > + > void fit_conf_print(const void *fit, int noffset, const char *p); > > int fit_check_ramdisk(const void *fit, int os_noffset, Best regards, Marek Vasut