diff options
author | Michal Simek | 2016-05-17 14:03:50 +0200 |
---|---|---|
committer | Michal Simek | 2016-05-24 13:17:59 +0200 |
commit | 62afc601883e788f3f22291202d5b2a23c1a8b06 (patch) | |
tree | c5d12c83cb1f46ed08de698494885de63f2f329a /include/image.h | |
parent | b733c278d7adc48c71bd06faf359db3d9e385185 (diff) |
image: Add boot_get_fpga() to load fpga with bootm
Add function boot_get_fpga() which find and load bitstream to
programmable logic if fpga entry is present.
Function is supported on Xilinx devices for full and partial bitstreams
in BIN and BIT format.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Remove additional blankline in image.h
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index e2a90ca202b..a8f6bd16f69 100644 --- a/include/image.h +++ b/include/image.h @@ -496,6 +496,8 @@ int genimg_get_format(const void *img_addr); int genimg_has_config(bootm_headers_t *images); ulong genimg_get_image(ulong img_addr); +int boot_get_fpga(int argc, char * const argv[], bootm_headers_t *images, + uint8_t arch, const ulong *ld_start, ulong * const ld_len); int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images, uint8_t arch, ulong *rd_start, ulong *rd_end); |