mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-20 08:52:12 +01:00
firmware: scmi: Cleanup the SCMI MISC ID
SCMI_IMX_PROTOCOL_ID_MISC was never used, so drop it. And move SCMI_PROTOCOL_ID_IMX_MISC out of enum scmi_std_protocol to scmi_nxp_protocols.h, because it is i.MX specific and following Linux Kernel style, use macro definition. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Alice Guo <alice.guo@nxp.com>
This commit is contained in:
parent
251dd6bf0e
commit
d1f1c98d84
@ -9,9 +9,7 @@
|
|||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
|
|
||||||
enum scmi_imx_protocol {
|
#define SCMI_PROTOCOL_ID_IMX_MISC 0x84
|
||||||
SCMI_IMX_PROTOCOL_ID_MISC = 0x84,
|
|
||||||
};
|
|
||||||
|
|
||||||
#define SCMI_PAYLOAD_LEN 100
|
#define SCMI_PAYLOAD_LEN 100
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,6 @@ enum scmi_std_protocol {
|
|||||||
SCMI_PROTOCOL_ID_RESET_DOMAIN = 0x16,
|
SCMI_PROTOCOL_ID_RESET_DOMAIN = 0x16,
|
||||||
SCMI_PROTOCOL_ID_VOLTAGE_DOMAIN = 0x17,
|
SCMI_PROTOCOL_ID_VOLTAGE_DOMAIN = 0x17,
|
||||||
SCMI_PROTOCOL_ID_PINCTRL = 0x19,
|
SCMI_PROTOCOL_ID_PINCTRL = 0x19,
|
||||||
SCMI_PROTOCOL_ID_IMX_MISC = 0x84,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum scmi_status_code {
|
enum scmi_status_code {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user