This patch adds functionality required for cache maintenance. Signed-off-by: Ley Foon Tan <lftan@altera.com>