From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 22 Aug 2017 08:15:18 -0700 Subject: [U-Boot] [PATCH 13/14] sandbox: Add a dummy invalidate_dcache_range() function In-Reply-To: <1503414919-30820-1-git-send-email-bmeng.cn@gmail.com> References: <1503414919-30820-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1503414919-30820-14-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This adds invalidate_dcache_range() so that some drivers can build without error on sandbox. Signed-off-by: Bin Meng --- arch/sandbox/cpu/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index eefed2e..0199104 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -100,6 +100,10 @@ void flush_dcache_range(unsigned long start, unsigned long stop) { } +void invalidate_dcache_range(unsigned long start, unsigned long stop) +{ +} + int sandbox_read_fdt_from_file(void) { struct sandbox_state *state = state_get_current(); -- 2.9.2