summaryrefslogtreecommitdiffhomepage
path: root/lib/boot.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-06-17 23:56:50 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-06-17 23:56:50 +0200
commit19ffdc8218284937b1ac4fc8ef9a19a536b4a887 (patch)
tree6226d6c04f169b5f54ab58034568aba7ed927c61 /lib/boot.h
parentd48a66377317771bb22c7b5e97661a91535be97f (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 'lib/boot.h')
-rw-r--r--lib/boot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/boot.h b/lib/boot.h
index a792a82..cf90766 100644
--- a/lib/boot.h
+++ b/lib/boot.h
@@ -93,7 +93,7 @@ typedef ptrtype_t size_t;
#define CB_BOOT_ADDR 0x1030000
#define CB_BOOT_ADDR_STR "0x1030000"
#define CB_FRAMEBUFFER_ADDR 0x40000000L
-#define CB_FLASH_BASE_ADDR 0x08000000
+#define CB_FLASH_BASE_ADDR 0x60000000
static inline void __sync_synchronize(void) {
/// leave it as is.