yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /* |
| 2 | * drivers/mtd/nand/zftl_barrier.c |
| 3 | * |
| 4 | * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <linux/mtd/partition_guard.h> |
| 13 | |
| 14 | |
| 15 | /* |
| 16 | *************************************************************************************** |
| 17 | * zftl used partition for phone |
| 18 | *************************************************************************************** |
| 19 | */ |
| 20 | //const unsigned char *zftl_partition_name[] = {{"nvfac"},{"nvro"},{"nvrw"},{"nvrwo"},{"fotaflag"},{"sms"},{0}}; |
| 21 | #ifdef CONFIG_ZX297520V3_MDL_AB |
| 22 | const unsigned char *read_only_partition_name[] = {{"zloader"},{"uboot"},{"uboot2"},{"flags"},{0}}; |
| 23 | #else |
| 24 | const unsigned char *read_only_partition_name[] = {{"zloader"}, {"uboot"},{0}}; |
| 25 | #endif |
| 26 | |