sifive / freedom-metal

Bare Metal Compatibility Library for the Freedom Platform
Other
154 stars 47 forks source link

Header file "sifive_l2pf0.h" updated according to "U74 L2 Hardware Prefetcher" document #420

Closed YGaude closed 3 years ago

YGaude commented 3 years ago

The structure "sifive_l2pf0_config" in "sifive_l2pf0.h" header file was not matching "U74 L2 Hardware Prefetcher" document, revision dated of 01/28/2021. Naming and addresses of registers were not accurate any more. Their bits description were not accurate.

paul-walmsley-sifive commented 3 years ago

Hi @YGaude , could you please fix the pull request title and description for this one ? thanks

paul-walmsley-sifive commented 3 years ago

Also, looks like this is failing the coding style test. Could you please fix that also? @YGaude