📄 jnand_msm.h
字号:
#ifndef __JNAND_MSM_H__
#define __JNAND_MSM_H__
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
GENERAL DESCRIPTION
This file includes the correct hardware specific include files so that
the definitions for accessing the NAND controller will be satisfied
correctly on the target MSM
Copyright (c) 2003 by QUALCOMM Incorporated. All Rights Reserved.
*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
/*===========================================================================
EDIT HISTORY FOR MODULE
This section contains comments describing changes made to the module.
Notice that changes are listed in reverse chronological order.
$Header: //depot/asic/msm6250/tools/jnand/jnand_msm.h#2 $ $DateTime: 2003/07/28 15:17:29 $ $Author: dionh $
when who what, where, why
-------- --- ----------------------------------------------------------
07/24/03 drh Put HWIO version back in, problem is in CMM init files.
Get HWIO header file from DMSS, do not use local copy
07/01/03 drh Put hardcoded KICK_WATCHDOG macro in until we can debug
why HWIO version does not work.
06/18/03 drh Temporarily disable KICK_WATCHDOG macro for Jaguar
02/06/03 pg Moved from ASWP402 server to ASWP401 server.
07/06/02 drh Created.
===========================================================================*/
#include "msmhwio.h"
extern uint32 clk_regime_get_NAND_wait_states (void);
/*---------------------------------------------------------------------------
MACRO KICK_WATCHDOG
This macro resets the watchdog timer circuit.
---------------------------------------------------------------------------*/
#define KICK_WATCHDOG() \
HWIO_OUT(SLEEP_CTL, HWIO_FMSK(SLEEP_CTL,WATCH_DOG)); \
HWIO_OUT(SLEEP_CTL, 0)
#endif /* __JNAND_MSM_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -