Revision d1bc75d7595b237f78b594509ea7cc159f98cae9 authored by WANG Xuerui on 26 July 2022, 15:57:20 UTC, committed by Huacai Chen on 29 July 2022, 10:22:32 UTC
Support for the syntactic sugar is present in upstream binutils port
from the beginning. Use it for shorter lines and better consistency.
Generated code should be identical.

Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent d47b2dc
Raw File
prcc.h
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __PRCC_H
#define __PRCC_H

#define PRCC_NUM_PERIPH_CLUSTERS 6
#define PRCC_PERIPHS_PER_CLUSTER 32

/* CLKRST4 is missing making it hard to index things */
enum clkrst_index {
	CLKRST1_INDEX = 0,
	CLKRST2_INDEX,
	CLKRST3_INDEX,
	CLKRST5_INDEX,
	CLKRST6_INDEX,
	CLKRST_MAX,
};

#endif
back to top