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

[CFL] Optimize Gpio Cfg Data input #255

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

stalamudupula
Copy link
Contributor

PinOffset information like PadNum, GrpIdx for a GPIO can be
adjusted in the fields available in DW1, where as ChipsetId
can be determined dynamically. This reduces the config data
size significantly. So, we can remove PinOffset info i.e. the
first dword in the GpioTableData.

Moved static definitions to top of the file in Stage2 board init.

Signed-off-by: Sai Talamudupula sai.kiran.talamudupula@intel.com

@stalamudupula stalamudupula requested a review from a team as a code owner August 7, 2019 23:32
PinOffset information like PadNum, GrpIdx for a GPIO can be
adjusted in the fields available in DW1, where as ChipsetId
can be determined dynamically. This reduces the config data
size significantly. So, we can remove PinOffset info i.e. the
first dword in the GpioTableData.

Moved static definitions to top of the file in Stage2 board init.

Signed-off-by: Sai Talamudupula <sai.kiran.talamudupula@intel.com>
//
// GPIO_PAD Fileds
//
typedef struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe move them into header file instead

Copy link
Contributor

Choose a reason for hiding this comment

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

Never mind, it is already in H file.

@mauricema mauricema merged commit cabe4ff into slimbootloader:master Aug 8, 2019
@stalamudupula stalamudupula deleted the CFL_GpioCln branch August 15, 2019 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants