Commit Graph

20 Commits

Author SHA1 Message Date
Nathaniel Mitchell e46b856359 Update test_cpu to match changes in cpu hal
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-29 13:42:02 -08:00
Nathaniel Mitchell 1259e568de Change all HAL objects in cs.hals to be lowercase
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-12-09 13:49:37 -08:00
Nathaniel Mitchell 874e550090 Undo intel/cpu changes.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-09-02 10:20:38 -07:00
brentholtsclaw 92cfae82fb dev/chipsec2 fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2025-09-02 10:20:38 -07:00
BrentHoltsclaw 513fa89384 dev/chipsec2 hal.cpu hal.spi registers.mm_msgbus fixes (#2520)
* dev/chipsec2 hal.cpu hal.spi registers.mm_msgbus fixes

Found the following updates needed when using the framework

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>

* Fix test_cpu unit test

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>

---------

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-07-09 09:18:08 -07:00
Nathaniel Mitchell 439c1a4d09 General update to chipsec2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-04-18 12:00:31 -07:00
Nathaniel Mitchell bea2860e8e Update device functions and port register.read*/write* functions
Updated the device.get_obj/objlist functions to match the other types e.g. "get_list_by_name" and "get_instance_by_name".

Updated register.read/read_field/write/write_field functions to first get the register objects, then read*/write* from there.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-03-18 16:29:21 -07:00
Nathaniel Mitchell de6ffa0409 Update smbus hal, cmd and unit tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-03-17 09:07:19 -07:00
Nathaniel Mitchell db92baec59 Fix up unit tests part 1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-03-10 09:06:35 -07:00
Nathaniel Mitchell 74818ec960 Fix up more modules. Adl now matching legacy run
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-03-07 21:08:24 -08:00
Nathaniel Mitchell f0fb769d70 Move acpi_tables to library from hal
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-03-04 22:15:21 -08:00
Nathaniel Mitchell 831841ff1a Update some of the unit tests to run
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-02-25 11:01:06 -08:00
Nathaniel Mitchell 89488d514e Fix up rtclock and smm_dma modules and cpu hal+unit tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-02-25 10:37:52 -08:00
Nathaniel Mitchell a032f04630 Update haldata and msr hal/cmd/tests
Change haldata to use cpuid mfgstr
Update MSR hal/cmd/tests

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-02-18 12:53:25 -08:00
Dan Scott ac1966ec85 Add hal/smbus.py unit tests
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-02-18 10:37:41 -08:00
Nathaniel Mitchell aaaa9e58a2 Update hal references to use cs.hals
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-12-10 12:22:31 -08:00
Nathaniel Mitchell f7409804b4 HAL Update - Enable multitenant HALs
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-12-03 12:50:36 -08:00
Dan Scott 9095a9bb59 Add unit tests for acpi_tables.py
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-10-30 12:54:57 -07:00
Dan Scott a933b1337d Update references to functions in new library files 2024-03-22 14:26:59 -07:00
Frinzell, Aaron 54789d6f51 Add cpu.py unit tests
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-05-24 16:37:35 -07:00