2 ** Copyright 2000, 2001 Broadcom Corporation
5 ** No portions of this material may be reproduced in any form
6 ** without the written permission of:
8 ** Broadcom Corporation
11 ** Irvine, CA 92619-7013
13 ** All information contained in this document is Broadcom
14 ** Corporation company private proprietary, and trade secret.
16 ** ----------------------------------------------------------
19 ** $Id:: ddr40_phy_custom.h 1306 2012-06-21 14:10:10Z jeung $:
20 ** $Rev::file = : Global SVN Revision = 1780 $:
24 #ifndef __DDR40_PHY_CUSTOM_H__
25 #define __DDR40_PHY_CUSTOM_H__
30 typedef unsigned long ddr40_addr_t
;
31 typedef uint32
uint32_t;
32 typedef uint32 ddr40_uint32_t
;
33 #endif /* DDR40_TYPES__ */
35 #define DDR40_PHY_RegWr(addr, value) tb_w(addr, value)
36 #define DDR40_PHY_RegRd(addr) tb_r(addr)
37 #define DDR40_PHY_Print(args...) print_log(args)
38 #define DDR40_PHY_Error(args...) error_log(args)
39 #define DDR40_PHY_Fatal(args...) fatal_log(args)
40 #define DDR40_PHY_Timeout(args...) OSL_DELAY(args)
42 #define FUNC_PROTOTYPE_PREFIX inline
43 #define FUNC_PROTOTYPE_SUFFIX
44 #define FUNC_PREFIX inline
46 #endif /* __DDR40_PHY_CUSTOM_H__ */