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

plat-hikey: define DRAM1_BASE for defining the size of TA's secure memory when building OP-TEE #6123

Closed
wants to merge 1 commit into from

Conversation

TaihuLight
Copy link

@TaihuLight TaihuLight commented Jun 17, 2023

plat-hikey: make DRAM1_BASE configurable
Adds CFG_DRAM1_BASE configuration switch in the platform to allow one to tune DRAM1_SIZE.

#5146
#4768
#6160

Signed-off-by: Loonloon cloudiot@126.com

Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the commit message:

plat-hikey: define DRAM1 and CPU count for HiKey-960
...

The changes apply for both hikey and hikey960. Should use ifeq ($(PLATFORM_FLAVOR),hikey960)?

@TaihuLight TaihuLight changed the title Fix: set the size of TA's secure memory when building OP-TEE. plat-hikey: define DRAM1_BASE for defining the size of TA's secure memory when building OP-TEE Jun 18, 2023
@TaihuLight
Copy link
Author

@etienne-lms Thank you for your review. I fixed the commit, the define could work for both Hikey 960 and HiKey.

Copy link
Contributor

@jenswi-linaro jenswi-linaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a sentence in the commit message describing the purpose of this change. The two links are good references, but it's good to have something directly in the commit message too.

Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me but the commit message should be updated to something like:

plat-hikey: make DRAM1_BASE configurable

Adds CFG_DRAM1_BASE configuration switch in the platform to allow
one to tune DRAM1_SIZE.

Signed-off-by: ...

Please use your full name in your Signed-off-by tag.

@TaihuLight
Copy link
Author

@etienne-lms I have fixed the commit message.

Adds CFG_DRAM1_BASE configuration switch in the platform to allow
one to tune DRAM1_SIZE.

#5146
#4768

Signed-off-by: Loonloon <cloudiot@126.com>
@github-actions
Copy link

This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.

@github-actions github-actions bot added the Stale label Aug 12, 2023
@github-actions github-actions bot closed this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants