mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-02 19:03:20 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Some places use __ASSEMBLER__ instead which does not work since the Makefile does not define it. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
27 lines
448 B
C
27 lines
448 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Freescale i.MX27 RTC Register Definitions
|
|
*
|
|
* Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr>
|
|
*/
|
|
|
|
#ifndef __MX27_REGS_RTC_H__
|
|
#define __MX27_REGS_RTC_H__
|
|
|
|
#ifndef __ASSEMBLY__
|
|
struct rtc_regs {
|
|
u32 hourmin;
|
|
u32 seconds;
|
|
u32 alrm_hm;
|
|
u32 alrm_sec;
|
|
u32 rtcctl;
|
|
u32 rtcisr;
|
|
u32 rtcienr;
|
|
u32 stpwch;
|
|
u32 dayr;
|
|
u32 dayalarm;
|
|
};
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __MX28_REGS_RTC_H__ */
|