Commit 9541511
committed
arm: dts: ni-vb: declare partitions in device tree
We've been sending NAND partition information from u-boot to the kernel
via cmdline:
mtdparts=xilinx_nand:128k(fsbl)ro,512k(u-boot)ro,40M(boot-config),-(root)
Shipping versions of the bootloader have a bug that restricts the kernel
cmdline to 256 bytes, so that space is at a premium. There exists a
perfectly good mechanism for declaring partitions via the device tree
instead-- by doing it this way we can free up 74 characters of cmdline
space.
Verified that /proc/mtd lists the same partitions on a VB-8034 before
this change as it does after the change with the `mtdparts` variable
removed from the cmdline.
Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Acked-by: Gratian Crisan <gratian.crisan@ni.com>1 parent 1e22025 commit 9541511
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
103 | 125 | | |
104 | 126 | | |
105 | 127 | | |
| |||
0 commit comments