2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __PLATFORM_SUPPORT_H_INCLUDED__
16 #define __PLATFORM_SUPPORT_H_INCLUDED__
20 * Platform specific includes and functionality.
23 #include "storage_class.h"
24 #include <linux/delay.h>
25 #include <linux/kernel.h>
26 #include <linux/string.h>
28 /* For definition of hrt_sleep() */
29 #include "hive_isp_css_custom_host_hrt.h"
31 #define UINT16_MAX USHRT_MAX
32 #define UINT32_MAX UINT_MAX
33 #define UCHAR_MAX (255)
35 #define CSS_ALIGN(d, a) d __attribute__((aligned(a)))
38 * Put here everything __KERNEL__ specific not covered in
39 * "assert_support.h", "math_support.h", etc
42 #endif /* __PLATFORM_SUPPORT_H_INCLUDED__ */