Skip to content

Commit

Permalink
sama5d2_xplained: ensure proper bootargs are defined
Browse files Browse the repository at this point in the history
The sama5d2_xplained doesn't have a NAND flash and the rootfs always end up
on the MMC. Ensure we always try to boot from there.

Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
alexandrebelloni committed Aug 9, 2016
1 parent b6ec6a6 commit c9f6a36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/configs/sama5d2_xplained.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@
#undef CONFIG_BOOTARGS
#define CONFIG_BOOTARGS \
"console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rootwait"

#else
#undef CONFIG_BOOTARGS
#define CONFIG_BOOTARGS \
"console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p1 rw rootwait"
#endif

/* SPL */
Expand Down

0 comments on commit c9f6a36

Please sign in to comment.