From 71249617bdf991e96d5b684f961ce0650731ab57 Mon Sep 17 00:00:00 2001 From: Eli Burch Date: Thu, 1 May 2025 07:38:08 -0700 Subject: [PATCH] Add getline, write and erase functions for cm500 --- profiledef.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiledef.c b/profiledef.c index e438ce7..9316e60 100644 --- a/profiledef.c +++ b/profiledef.c @@ -1447,12 +1447,15 @@ struct bcm2_profile bcm2_profiles[] = { .magic = { 0x83f8cc28, "2.5.0alpha8" }, .printf = 0x83f8a0f4, .sscanf = 0x83f8aac8, + .getline = 0x83f89e2c, .rwcode = 0x86000000, .buffer = 0x87000000, .spaces = { { .name = "flash", .read = { 0x83f8128c, BCM2_READ_FUNC_OBL }, + .write = { 0x83f810b0, 0 }, + .erase = { 0x83f814d4, BCM2_ERASE_FUNC_OL }, } }, },