summaryrefslogtreecommitdiffstats
path: root/platforms/flash.in
blob: 3c6506c5ab74f3693d669fb680e470bad6efd246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
menu "flash                         "

comment ""
comment "Partition sizes can be in decimal or in hex (0x) with"
comment "an optional k|M for kilobytes or megabytes"
comment "A partition size of 0 means that the remaining space"
comment "is used for a partition"
comment ""

config FLASH_START
	string
	prompt "flash start"
	default "0xff000000"

config FLASH_SIZE
	string
	prompt "flash size"
	default "16M"

config FLASH_BLOCKSIZE
	string
	prompt "flash block size"
	default "128k"

comment "----------"
comment "partitions"
comment "----------"

config FLASH_BLOCKSIZE
	string
	default "128k"

config FLASH_PART1_SIZE
	string
	prompt "partition 1 size"
	default "256k"

config FLASH_PART1_NAME
	string
	prompt "partition 1 name"
	default "ubootl"

config FLASH_PART2_SIZE
	string
	depends on FLASH_PART1_SIZE != ""
	prompt "partition 2 size"
	default "1792k"

config FLASH_PART2_NAME
	string
	depends on FLASH_PART1_SIZE != ""
	prompt "partition 2 name"
	default "kernel"

config FLASH_PART3_SIZE
	string
	depends on FLASH_PART2_SIZE != ""
	prompt "partition 3 size"
	default "13312k"

config FLASH_PART3_NAME
	string
	depends on FLASH_PART2_SIZE != ""
	prompt "partition 3 name"
	default "jffs2"

config FLASH_PART4_SIZE
	string
	depends on FLASH_PART3_SIZE != ""
	prompt "partition 4 size"
	default "256k"

config FLASH_PART4_NAME
	string
	depends on FLASH_PART3_SIZE != ""
	prompt "partition 4 name"
	default "uboot"

config FLASH_PART5_SIZE
	string
	depends on FLASH_PART4_SIZE != ""
	prompt "partition 5 size"
	default "128k"

config FLASH_PART5_NAME
	string
	depends on FLASH_PART4_SIZE != ""
	prompt "partition 5 name"
	default "oftree"

config FLASH_PART6_SIZE
	string
	depends on FLASH_PART5_SIZE != ""
	prompt "partition 6 size"
	default ""

config FLASH_PART6_NAME
	string
	depends on FLASH_PART5_SIZE != ""
	prompt "partition 6 name"
	default "space"
endmenu