1 /* 2 * Copyright (C) 2011 Samsung Electronics Co.Ltd 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the 6 * Free Software Foundation; either version 2 of the License, or (at your 7 * option) any later version. 8 */ 9 10 #ifndef __PLAT_SAMSUNG_MFC_H 11 #define __PLAT_SAMSUNG_MFC_H __FILE__ 12 13 /** 14 * s5p_mfc_reserve_mem - function to early reserve memory for MFC driver 15 * @rbase: base address for MFC 'right' memory interface 16 * @rsize: size of the memory reserved for MFC 'right' interface 17 * @lbase: base address for MFC 'left' memory interface 18 * @lsize: size of the memory reserved for MFC 'left' interface 19 * 20 * This function reserves system memory for both MFC device memory 21 * interfaces and registers it to respective struct device entries as 22 * coherent memory. 23 */ 24 void __init s5p_mfc_reserve_mem(phys_addr_t rbase, unsigned int rsize, 25 phys_addr_t lbase, unsigned int lsize); 26 27 #endif /* __PLAT_SAMSUNG_MFC_H */ 28