mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
Blackfin: bf526-ezbrd/bf527-ezkit: add NAND partition for u-boot
Since these boards can boot out of NAND, make sure we give u-boot its own partition by default to avoid clobbering it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
46284cd6bf
commit
5cc1c567c1
2 changed files with 10 additions and 2 deletions
|
@ -137,8 +137,12 @@ static struct platform_device ezbrd_flash_device = {
|
|||
#if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE)
|
||||
static struct mtd_partition partition_info[] = {
|
||||
{
|
||||
.name = "linux kernel(nand)",
|
||||
.name = "bootloader(nand)",
|
||||
.offset = 0,
|
||||
.size = 0x40000,
|
||||
}, {
|
||||
.name = "linux kernel(nand)",
|
||||
.offset = MTDPART_OFS_APPEND,
|
||||
.size = 4 * 1024 * 1024,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -222,8 +222,12 @@ static struct platform_device ezkit_flash_device = {
|
|||
#if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE)
|
||||
static struct mtd_partition partition_info[] = {
|
||||
{
|
||||
.name = "linux kernel(nand)",
|
||||
.name = "bootloader(nand)",
|
||||
.offset = 0,
|
||||
.size = 0x40000,
|
||||
}, {
|
||||
.name = "linux kernel(nand)",
|
||||
.offset = MTDPART_OFS_APPEND,
|
||||
.size = 4 * 1024 * 1024,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue