Commit Graph

2 Commits

Author SHA1 Message Date
Ted Pudlik
357f75ee59 pw_boot: Add missing backend multiplexer
We refer to it from targets/default_config.BUILD, but were missing a
definition.

Bug: 225027388
Change-Id: I494ffeb7e21b776573ca74c6a7fb5f328d96e73e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/113570
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
2022-10-11 22:16:31 +00:00
Scott James Remnant
fa7f123ed9 pw_boot: Create pw_boot facade
Move the header file out of pw_boot_armv7m to serve as a public API
for the facade, making pw_boot_armv7m the implementation.

This allows targets to provide an alternate implementation of
pw_boot_Entry.

This is not possible today due to the implementation dependency in
pw_malloc_freelist which, with this change, is moved to the facade
instead.

Update includes in existing targets to use the new path and dependency,
they were already setting pw_boot_BACKEND.

Change-Id: I88f921df0efea58536349e04fe09d1b580a7e733
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54022
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Scott James Remnant <keybuk@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-07-23 01:26:58 +00:00