From 4e0e3fcfdb4f769121678d9bcc28ed3f77b5a36c Mon Sep 17 00:00:00 2001 From: that Date: Mon, 13 Apr 2015 19:52:49 +0200 Subject: bootloader: align with AOSP code - Define a minimal Volume structure so that AOSP code for handling /misc works in TWRP without major changes. - Remove set/get_bootloader_message_*_name Change-Id: Ifcee59568141a184adebb94b8ef8beca072a7942 --- bootloader.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'bootloader.h') diff --git a/bootloader.h b/bootloader.h index 15e0a5c99..b9d70edaa 100644 --- a/bootloader.h +++ b/bootloader.h @@ -61,19 +61,10 @@ struct bootloader_message { /* Read and write the bootloader command from the "misc" partition. * These return zero on success. */ -/* int get_bootloader_message(struct bootloader_message *out); int set_bootloader_message(const struct bootloader_message *in); -*/ - -void set_device_type(char new_type); -void set_device_name(const char* new_name); - -int get_bootloader_message_mtd_name(struct bootloader_message *out); -int set_bootloader_message_mtd_name(const struct bootloader_message *in, const char* mtd_name); -int get_bootloader_message_block_name(struct bootloader_message *out); -int set_bootloader_message_block_name(const struct bootloader_message *in, const char* block_name); +void set_misc_device(const char* type, const char* name); void get_args(int *argc, char ***argv); #ifdef __cplusplus -- cgit v1.2.3