From 701e2a38fef4fce862eaeb21fc97874a6387a569 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 1 Aug 2014 21:56:31 +0000 Subject: brcm63xx: add working lzma-loader and use it for initramfs Add a working lzma loader and use it for generating initramfs kernels to allow easily netbooting elf kernels on devices with a 4 MiB CFE size limit. Based on ar71xx's lzma-loader. Signed-off-by: Jonas Gorski SVN-Revision: 41940 --- target/linux/brcm63xx/image/lzma-loader/src/cache.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/cache.h (limited to 'target/linux/brcm63xx/image/lzma-loader/src/cache.h') diff --git a/target/linux/brcm63xx/image/lzma-loader/src/cache.h b/target/linux/brcm63xx/image/lzma-loader/src/cache.h new file mode 100644 index 0000000000..506a235884 --- /dev/null +++ b/target/linux/brcm63xx/image/lzma-loader/src/cache.h @@ -0,0 +1,17 @@ +/* + * LZMA compressed kernel loader for Atheros AR7XXX/AR9XXX based boards + * + * Copyright (C) 2011 Gabor Juhos + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + * + */ + +#ifndef __CACHE_H +#define __CACHE_H + +void flush_cache(unsigned long start_addr, unsigned long size); + +#endif /* __CACHE_H */ -- cgit v1.2.3