forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/powerpc/include/asm/prom.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _POWERPC_PROM_H
23 #define _POWERPC_PROM_H
34 #ifdef __KERNEL__
....@@ -9,11 +10,6 @@
910 * Copyright (C) 1996-2005 Paul Mackerras.
1011 *
1112 * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp.
12
- *
13
- * This program is free software; you can redistribute it and/or
14
- * modify it under the terms of the GNU General Public License
15
- * as published by the Free Software Foundation; either version
16
- * 2 of the License, or (at your option) any later version.
1713 */
1814 #include <linux/types.h>
1915 #include <asm/irq.h>
....@@ -121,6 +117,7 @@
121117 #define OV1_PPC_2_07 0x01 /* set if we support PowerPC 2.07 */
122118
123119 #define OV1_PPC_3_00 0x80 /* set if we support PowerPC 3.00 */
120
+#define OV1_PPC_3_1 0x40 /* set if we support PowerPC 3.1 */
124121
125122 /* Option vector 2: Open Firmware options supported */
126123 #define OV2_REAL_MODE 0x20 /* set if we want OF in real mode */