Skip to content

Commit 44d467b

Browse files
committed
Merge up to 4d4c45c from upstream
Change-Id: I95fcf109522a5630d641bc88e40e80ee29f153da
2 parents 1aebdf8 + 4d4c45c commit 44d467b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2178
-1000
lines changed

doc/openocd.texi

+20-6
Original file line numberDiff line numberDiff line change
@@ -7901,15 +7901,29 @@ locked, but can still mass erase the whole flash.
79017901
@end deffn
79027902
@end deffn
79037903

7904-
@deffn {Flash Driver} {rp2040}
7905-
Supports RP2040 "Raspberry Pi Pico" microcontroller.
7906-
RP2040 is a dual-core device with two CM0+ cores. Both cores share the same
7907-
Flash/RAM/MMIO address space. Non-volatile storage is achieved with an
7908-
external QSPI flash; a Boot ROM provides helper functions.
7904+
@deffn {Flash Driver} {rp2xxx}
7905+
Supports RP2040 "Raspberry Pi Pico" microcontroller and RP2350 Pico 2
7906+
RP2040 is a dual-core device with two CM0+ cores.
7907+
RP2350 is a dual-core device with two slots switched to either Cortex-M33
7908+
or Hazard3 RISC-V core.
7909+
Both cores share the same Flash/RAM/MMIO address space.
7910+
Non-volatile storage is achieved with an external QSPI flash;
7911+
a Boot ROM provides helper functions.
79097912

79107913
@example
7911-
flash bank $_FLASHNAME rp2040_flash $_FLASHBASE $_FLASHSIZE 1 32 $_TARGETNAME
7914+
flash bank $_FLASHNAME rp2xxx $_FLASHBASE $_FLASHSIZE 0 0 $_TARGETNAME
79127915
@end example
7916+
7917+
@deffn {Command} {rp2xxx rom_api_call} fc [p0 [p1 [p2 [p3]]]]
7918+
A utility for calling ROM API function with two characters lookup code
7919+
@var{fc} and up to 4 optional parameters @var{p0 p1 p2 p3}.
7920+
The call is supported on the target where the flash bank is configured
7921+
(core0).
7922+
@end deffn
7923+
7924+
@deffn {Command} {rp2xxx _switch_target} old_target new_target
7925+
A command used internally by rp2350.cfg when the core type is switched.
7926+
@end deffn
79137927
@end deffn
79147928

79157929
@deffn {Flash Driver} {rsl10}

src/flash/nor/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ NOR_DRIVERS = \
5959
%D%/psoc6.c \
6060
%D%/qn908x.c \
6161
%D%/renesas_rpchf.c \
62-
%D%/rp2040.c \
62+
%D%/rp2xxx.c \
6363
%D%/rsl10.c \
6464
%D%/sfdp.c \
6565
%D%/sh_qspi.c \

src/flash/nor/driver.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ extern const struct flash_driver psoc5lp_nvl_flash;
289289
extern const struct flash_driver psoc6_flash;
290290
extern const struct flash_driver qn908x_flash;
291291
extern const struct flash_driver renesas_rpchf_flash;
292-
extern const struct flash_driver rp2040_flash;
292+
extern const struct flash_driver rp2xxx_flash;
293293
extern const struct flash_driver rsl10_flash;
294294
extern const struct flash_driver sh_qspi_flash;
295295
extern const struct flash_driver sim3x_flash;

src/flash/nor/drivers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static const struct flash_driver * const flash_drivers[] = {
6666
&psoc6_flash,
6767
&qn908x_flash,
6868
&renesas_rpchf_flash,
69-
&rp2040_flash,
69+
&rp2xxx_flash,
7070
&sh_qspi_flash,
7171
&sim3x_flash,
7272
&stellaris_flash,

0 commit comments

Comments
 (0)