Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of deprecated interfaces #613

Closed
soby-mathew opened this issue Aug 16, 2018 · 7 comments
Closed

Removal of deprecated interfaces #613

soby-mathew opened this issue Aug 16, 2018 · 7 comments
Labels

Comments

@soby-mathew
Copy link

soby-mathew commented Aug 16, 2018

We are planning to remove support for deprecated platform interfaces from TF-A codebase and make a release in the coming months. This will help to sanitize the code and shed some of the baggage we are carrying to maintain compatibility (See here for an example).

This is an early heads-up and for most deprecated interfaces, replacing them with the non-deprecated ones should be straightforward. The deprecated interfaces can be flagged up by setting ERROR_DEPRECATED build flag to 1.

Comments welcome.

@ghost ghost added the info label Aug 16, 2018
@ghost
Copy link

ghost commented Aug 17, 2018

I've examined all platforms. At least, the following changes are needed:

HiKey (hikey, hikey960), @hzhuang1:

  • Migrate from legacy GIC driver.

i.MX 8, @Anson-Huang:

  • Migrate from legacy GIC driver.

Layerscape, @qoriq-open-source:

  • Migrate from legacy GIC driver.

Marvell, @kostapr: (done in ARM-software/arm-trusted-firmware#1531)

  • Replace bl31_early_platform_setup by bl31_early_platform_setup2.
  • Replace bl2_early_platform_setup by bl2_early_platform_setup2.

MediaTek, @mtk09422:

  • Migrate from legacy GIC driver.
  • Stop using ENABLE_PLAT_COMPAT=1.

NVidia, @vwadekar:

  • Migrate from legacy GIC driver.
  • Also, update documentation to reflect that t186 is a supported SoC.

QEMU, @jenswi-linaro: (done in ARM-software/arm-trusted-firmware#1558)

  • Replace bl31_early_platform_setup by bl31_early_platform_setup2.
  • Replace bl2_early_platform_setup by bl2_early_platform_setup2.

RockChip, @TonyXie06, @rockchip-linux:

  • Migrate from legacy GIC driver.

Raspberry Pi 3: (done in ARM-software/arm-trusted-firmware#1530)

  • I'm taking care of the changes myself.

@ghost
Copy link

ghost commented Aug 17, 2018

I've done the migration for the Raspberry Pi 3 here: ARM-software/arm-trusted-firmware#1530

@soby-mathew
Copy link
Author

The porting guide/firmware design documentation needs to be updated for blx_early_platform_setup2 APIs. This will be done internally and pushed out soon.

@soby-mathew
Copy link
Author

Please note that regarding the MULTI_CONSOLE_API, although the old console API is marked out as deprecated, we will not remove it for the upcoming release.

@ghost
Copy link

ghost commented Sep 25, 2018

This PR is the one that removes the deprecated interfaces: ARM-software/arm-trusted-firmware#1587

@soby-mathew
Copy link
Author

closed via ARM-software/arm-trusted-firmware#1587

@ghost
Copy link

ghost commented Oct 2, 2018

I've created two issues to track the remaining platforms: #633 #634

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant