1. add cvitek folders to u-boot-2021.10 2. add cv183x/cv182x part 3. add cv181x/cv180x part Change-Id: I6dc2e5ff509dbab16bd60bfb3fd61852da5e01f6
12 lines
261 B
C
12 lines
261 B
C
#ifndef _CVI_REG_H_
|
|
#define _CVI_REG_H_
|
|
|
|
#include <asm/io.h>
|
|
|
|
#define _reg_read(addr) readl((void __iomem *)addr)
|
|
#define _reg_write(addr, data) writel(data, (void __iomem *)addr)
|
|
|
|
void _reg_write_mask(uintptr_t addr, u32 mask, u32 data);
|
|
|
|
#endif //_CVI_REG_H_
|