Page MenuHomePhabricator

Dummy platform files
Closed, ResolvedPublic

Description

./platform/ext/target/<target_name>/dummy_boot_seed.c
./platform/ext/target/<target_name>/dummy_crypto_keys.c
./platform/ext/target/<target_name>/dummy_device_id.c
./platform/ext/target/<target_name>/dummy_nv_counters.c
./platform/ext/target/<target_name>/attest_hal.c

Dummy platform files are intended for testing only and provide a quick way of starting to test TF-M even when the platform files are not yet ported to the platform that the customer using.

They are identical and duplicated for all existing targets.

We propose to remove the mentioned dummy files from each target and put them in a single folder (./platform/ext/target/template).

This simplifies maintenance of the files and also provides a single location of those files that are being used as a platform independent component.

Related Objects

Event Timeline

RobertRostohar triaged this task as High priority.Oct 4 2019, 11:56 AM
RobertRostohar created this task.
RobertRostohar lowered the priority of this task from High to Normal.Oct 4 2019, 12:22 PM
davidhuziji closed this task as Resolved.Dec 17 2019, 5:52 AM