forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/arch/mips/include/asm/netlogic/psb-bootinfo.h
....@@ -77,21 +77,6 @@
7777 uint64_t avail_mem_map;
7878 };
7979
80
-enum {
81
- NETLOGIC_IO_SPACE = 0x10,
82
- PCIX_IO_SPACE,
83
- PCIX_CFG_SPACE,
84
- PCIX_MEMORY_SPACE,
85
- HT_IO_SPACE,
86
- HT_CFG_SPACE,
87
- HT_MEMORY_SPACE,
88
- SRAM_SPACE,
89
- FLASH_CONTROLLER_SPACE
90
-};
91
-
92
-#define NLM_MAX_ARGS 64
93
-#define NLM_MAX_ENVS 32
94
-
9580 /* This is what netlboot passes and linux boot_mem_map is subtly different */
9681 #define NLM_BOOT_MEM_MAP_MAX 32
9782 struct nlm_boot_mem_map {
....@@ -102,6 +87,7 @@
10287 uint32_t type; /* type of memory segment */
10388 } map[NLM_BOOT_MEM_MAP_MAX];
10489 };
90
+#define NLM_BOOT_MEM_RAM 1
10591
10692 /* Pointer to saved boot loader info */
10793 extern struct psb_info nlm_prom_info;