mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
fdt_support: add partitions fixup in mtd node
Allow overwriting defined partitions in the device tree blob using partition info defined in the 'mtdparts' environment variable. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
d611295032
commit
3c950e2ebf
11
include/mtd_node.h
Normal file
11
include/mtd_node.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _NODE_INFO
|
||||
#define _NODE_INFO
|
||||
|
||||
/*
|
||||
* Info we use to search for a flash node in DTB.
|
||||
*/
|
||||
struct node_info {
|
||||
const char *compat; /* compatible string */
|
||||
int type; /* mtd flash type */
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user