From 9c286ad9618d93841d114fd9c8e51c53a2fa4412 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 16 Mar 2009 16:51:21 +0000 Subject: [PATCH] Compile pstrcpy_targphys on CONFIG_DM too This was accidentally turned off during the merge. Signed-off-by: Ian Jackson --- loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader.c b/loader.c index de5c6230e..519da5212 100644 --- a/loader.c +++ b/loader.c @@ -124,8 +124,6 @@ int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes) return dst_addr - dst_begin; } -#ifndef CONFIG_DM - /* return the size or -1 if error */ int load_image_targphys(const char *filename, target_phys_addr_t addr, int max_sz) @@ -160,6 +158,8 @@ void pstrcpy_targphys(target_phys_addr_t dest, int buf_size, } } +#ifndef CONFIG_DM + /* A.OUT loader */ struct exec -- 2.39.5