Lines Matching +full:flash +full:- +full:led
1 /* SPDX-License-Identifier: GPL-2.0+ */
16 #include <generated/asm-offsets.h>
74 .macro led, num macro
95 * BANK0: FLASH/ROM (SW5, J16), BANK1: OnBoard SDRAM.
98 led 0x01
116 /* 32-bit mode */
121 /* 16-bit mode */
131 led 0x02
137 led 0x03
143 led 0x04
145 led 0x05
147 led 0x06
150 led 0x07
154 led 0x08
158 led 0x09
162 led 0x0a
172 led 0x10
175 led 0x1f
178 led 0x20
183 #ifdef __NDS32_N1213_43U1H__ /* NDS32 V0 ISA - AG101 Only */
193 led 0x1a
198 led 0x1b
212 * Doing memory remap is essential for preparing some non-OS or RTOS
215 * This is also a must on ADP-AG101 board.
216 * The reason is because the ROM/FLASH circuit on PCB board.
217 * AG101-A0 board has 2 jumpers MA17 and SW5 to configure which
218 * ROM/FLASH is used to boot.
221 * and the FLASH is connected to BANK1.
223 * and the FLASH is connected to BANK0.
224 * It will occur problem when doing flash probing if the flash is at
227 * Other board like ADP-AG101P may not enable this since there is only
228 * a FLASH connected to bank0.
230 led 0x11
250 * - use it to map writeable memory at 0x00000000, in place of flash
251 * - before remap: flash/rom 0x00000000, sdram: 0x10000000-0x4fffffff
252 * - after remap: flash/rom 0x80000000, sdram: 0x00000000
254 led 0x1c
257 li $r5, CONFIG_SYS_TEXT_BASE /* flash base address */
258 add $r11, $r11, $r5 /* add flash address offset for ret */