mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
83d290c56f
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
39 lines
885 B
C
39 lines
885 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2015-2016 Freescale Semiconductor, Inc.
|
|
* Copyright 2017 NXP
|
|
*/
|
|
|
|
#ifndef _BMU_H_
|
|
#define _BMU_H_
|
|
|
|
#define BMU_VERSION 0x000
|
|
#define BMU_CTRL 0x004
|
|
#define BMU_UCAST_CONFIG 0x008
|
|
#define BMU_UCAST_BASE_ADDR 0x00c
|
|
#define BMU_BUF_SIZE 0x010
|
|
#define BMU_BUF_CNT 0x014
|
|
#define BMU_THRES 0x018
|
|
#define BMU_INT_SRC 0x020
|
|
#define BMU_INT_ENABLE 0x024
|
|
#define BMU_ALLOC_CTRL 0x030
|
|
#define BMU_FREE_CTRL 0x034
|
|
#define BMU_FREE_ERR_ADDR 0x038
|
|
#define BMU_CURR_BUF_CNT 0x03c
|
|
#define BMU_MCAST_CNT 0x040
|
|
#define BMU_MCAST_ALLOC_CTRL 0x044
|
|
#define BMU_REM_BUF_CNT 0x048
|
|
#define BMU_LOW_WATERMARK 0x050
|
|
#define BMU_HIGH_WATERMARK 0x054
|
|
#define BMU_INT_MEM_ACCESS 0x100
|
|
|
|
struct bmu_cfg {
|
|
u32 baseaddr;
|
|
u32 count;
|
|
u32 size;
|
|
};
|
|
|
|
#define BMU1_BUF_SIZE LMEM_BUF_SIZE_LN2
|
|
#define BMU2_BUF_SIZE DDR_BUF_SIZE_LN2
|
|
|
|
#endif /* _BMU_H_ */
|