u-boot/common
Joel Stanley 93af80f3e8 image-fit: Fix FIT_CIPHER linking
When CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n is there is no
implementation of image_get_host_blob for mkimage/dumpimage:

 /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data':
 image-cipher.c:(.text+0x9a): undefined reference to `image_get_host_blob'

Move the implementation to a common file so it can be shaed between
image-cipher.c and image-fit-sig.c.

Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-01-22 16:17:52 -05:00
..
eeprom SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
init CONFIG_NR_DRAM_BANKS: Remove unreferenced code as its always defined 2020-08-26 09:19:16 +02:00
spl common: spl: spl_fit.c: report an error on hash check fail 2021-01-16 14:49:09 -05:00
android_ab.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
autoboot.c Add optional salt to AUTOBOOT_STOP_STR_SHA256 2021-01-16 14:49:09 -05:00
avb_verify.c avb: Make AVB independent of fastboot 2020-08-24 14:11:13 -04:00
bedbug.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
bloblist.c bloblist: Allow custom alignment for blobs 2020-10-06 09:07:54 -06:00
board_f.c common: board_f: Use IS_ENABLED(CONFIG_OF_EMBED) in reserve_fdt, reloc_fdt 2021-01-15 14:36:11 -05:00
board_info.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
board_r.c common: board_r: Drop arch-specific ifdefs around initr_trap 2021-01-15 14:36:12 -05:00
boot_fit.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootm.c bootm: Support string substitution in bootargs 2020-12-04 19:48:29 -05:00
bootm_os.c efi_loader: returning from UEFI FIT images 2020-07-22 12:32:42 +02:00
bootretry.c common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
bootstage.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bouncebuf.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cli.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cli_hush.c cmd: Kconfig: migrate CONFIG_SYS_PROMPT_HUSH_PS2 2020-12-01 14:12:28 -05:00
cli_readline.c cli_readline: Only insert printable chars 2021-01-16 14:49:09 -05:00
cli_simple.c cli: Support macro processing with a fixed-size buffer 2020-12-04 16:10:01 -05:00
command.c common: always compile fixup_cmdtable() 2021-01-16 14:49:09 -05:00
common_fit.c common: fit: add missing newline 2020-11-19 09:45:49 -05:00
console.c console: cosmetics: remove #if 0 2021-01-16 14:49:09 -05:00
cros_ec.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ddr_spd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dlmalloc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dlmalloc.src Consolidate bool type 2013-04-01 16:33:52 -04:00
edid.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
exports.c common: board_r: Drop initr_jumptable wrapper 2021-01-15 14:36:12 -05:00
fdt_region.c lib: libfdt: fdt_region: avoid NULL pointer access 2020-07-25 14:46:57 -06:00
fdt_support.c fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
flash.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
hash.c common: hash: Remove a debug printf statement 2020-06-16 11:36:30 -04:00
hwconfig.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
image-android-dt.c common: image-android-dt: Fix logic in print fdt info routine 2019-08-07 15:31:05 -04:00
image-android.c image: android: fix abootimg support 2020-06-02 13:06:12 -04:00
image-cipher.c fit: cipher: aes: allow to read the IV in the FIT image 2020-10-12 21:30:38 -04:00
image-fdt.c Common:fdt: Check for error return value 2020-12-22 20:39:25 -07:00
image-fit-sig.c image-fit: Fix FIT_CIPHER linking 2021-01-22 16:17:52 -05:00
image-fit.c image-fit: Fix FIT_CIPHER linking 2021-01-22 16:17:52 -05:00
image-sig.c Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
image.c tools: mkimage: Add Allwinner eGON support 2021-01-11 23:19:33 +00:00
iomux.c IOMUX: Stop dropped consoles 2021-01-15 14:38:00 -05:00
iotrace.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
Kconfig common: Kconfig: Introduce CONFIG_CONSOLE_RECORD_INIT_F 2021-01-15 14:36:11 -05:00
Kconfig.boot Add optional salt to AUTOBOOT_STOP_STR_SHA256 2021-01-16 14:49:09 -05:00
kgdb.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
kgdb_stubs.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
lcd.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lcd_console.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lcd_console_rotation.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lcd_simplefb.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
log.c log: call vsnprintf only when it is needed to emit trace 2021-01-15 14:36:11 -05:00
log_console.c log: Add a flag to enable log drivers 2020-10-10 16:50:11 -04:00
log_syslog.c log: syslog: Handle errors in net_init 2020-10-10 16:50:12 -04:00
lynxkdi.c Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR 2018-04-27 14:54:48 -04:00
main.c efi_loader: capsule: add capsule_on_disk support 2020-12-03 21:22:49 +01:00
Makefile common: Makefile: drop duplicated line 2021-01-16 14:49:09 -05:00
malloc_simple.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
memsize.c common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
menu.c menu: add support for client defined statusline function 2020-05-07 09:01:42 -04:00
miiphyutil.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
s_record.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
splash.c splash: Fix build warning on 64 bits CPU 2020-06-28 01:03:09 +02:00
splash_source.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stdio.c console: rename search_device() to console_search_dev() 2021-01-15 14:38:00 -05:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c common: update: fix an "unused" warning against update_flash() 2020-12-03 21:22:49 +01:00
usb.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
usb_hub.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
usb_kbd.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
usb_storage.c Xilinx changes for v2021.04 2021-01-06 07:57:33 -05:00
xyzModem.c common: rename getc() to getchar() 2020-10-22 09:54:53 -04:00