The first patch fixes the TZ enabling in the case of a first activation of the secure options: The secure options cannot be written before TZEN has actually been set.
The second patch is an optimization: Since the RDP regression automatically involves a mass-erase of the user flash, there is not need to erase before the RDP regression.
The first patch fixes the TZ enabling in the case of a first activation of the secure options: The secure options cannot be written before TZEN has actually been set.
The second patch is an optimization: Since the RDP regression automatically involves a mass-erase of the user flash, there is not need to erase before the RDP regression.