diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-06-17 23:56:50 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-06-17 23:56:50 +0200 |
| commit | 19ffdc8218284937b1ac4fc8ef9a19a536b4a887 (patch) | |
| tree | 6226d6c04f169b5f54ab58034568aba7ed927c61 /src/hal/coreboot-flash-driver.c | |
| parent | d48a66377317771bb22c7b5e97661a91535be97f (diff) | |
fix: see below.
fix:
- match flash base address according to qemu `virt`.
- make use of correct offsets in the firmware's entrypoint.
refactor:
- rename flash.c to flash-driver.c
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/hal/coreboot-flash-driver.c')
| -rw-r--r-- | src/hal/coreboot-flash-driver.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hal/coreboot-flash-driver.c b/src/hal/coreboot-flash-driver.c new file mode 100644 index 0000000..d1b0907 --- /dev/null +++ b/src/hal/coreboot-flash-driver.c @@ -0,0 +1,10 @@ +/* ------------------------------------------- + +Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#include <lib/boot.h> +#include <lib/mp-bit.h> +#include <lib/partition-map.h> +#include <lib/pci-tree.h> |
