• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/cfe/cfe/arch/arm/board/bcm947xx/include/
1/*
2** Copyright 2000, 2001  Broadcom Corporation
3** All Rights Reserved
4**
5** No portions of this material may be reproduced in any form
6** without the written permission of:
7**
8**   Broadcom Corporation
9**   16215 Alton Parkway
10**   P.O. Box 57013
11**   Irvine, CA  92619-7013
12**
13** All information contained in this document is Broadcom
14** Corporation company private proprietary, and trade secret.
15**
16** ----------------------------------------------------------
17**
18**
19**  $Id:: ddr40_phy_custom.h 1306 2012-06-21 14:10:10Z jeung      $:
20**  $Rev::file =  : Global SVN Revision = 1780                    $:
21**
22*/
23
24#ifndef __DDR40_PHY_CUSTOM_H__
25#define __DDR40_PHY_CUSTOM_H__
26
27
28#ifndef DDR40_TYPES__
29#define DDR40_TYPES__
30typedef unsigned long	ddr40_addr_t;
31typedef uint32	uint32_t;
32typedef uint32	ddr40_uint32_t;
33#endif /* DDR40_TYPES__ */
34
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)
41
42#define FUNC_PROTOTYPE_PREFIX inline
43#define FUNC_PROTOTYPE_SUFFIX
44#define FUNC_PREFIX inline
45#define FUNC_SUFFIX
46#endif /* __DDR40_PHY_CUSTOM_H__ */
47
48
49/*
50**
51** $Log: $
52**
53*/
54