| Index: include/configs/tegra2-common.h
|
| diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
|
| index 073495d9c1e7f73431ed33ee39c1ccf2301c97b0..415e4e628833b388fbe2d639bb77c3ff2b2cccc1 100644
|
| --- a/include/configs/tegra2-common.h
|
| +++ b/include/configs/tegra2-common.h
|
| @@ -137,6 +137,16 @@
|
|
|
| #define TEGRAPARTS_DEFAULT "system:3680:2bc0:800"
|
| #define TEGRABOOT_DEFAULT "nand"
|
| +
|
| +/* make sure the following 2 defines have the same values (_STR is the string of TEGRA_LP0_DEFAULT_ADDR) */
|
| +#define TEGRA_LP0_DEFAULT_ADDR 0x1C406000 /* inside carveout memory region */
|
| +#define TEGRA_LP0_DEFAULT_ADDR_STR "0x1C406000" /* inside carveout memory region */
|
| +
|
| +/* make sure the following 2 defines have the same values (_STR is the string of TEGRA_LP0_SIZE) */
|
| +#define TEGRA_LP0_SIZE 0x2000 /* 8KB */
|
| +#define TEGRA_LP0_SIZE_STR "0x2000" /* 8KB */
|
| +
|
| +
|
| #undef CONFIG_YAFFS2 /* YAFFS2 Support */
|
| #define CONFIG_YAFFS2_TAG_NO_ECC /* Disable YAFFS2 ECC calculation */
|
| /* This is required in order to reduce nand
|
| @@ -216,7 +226,9 @@
|
| "console=ttyS0,115200n8\0" \
|
| "mem=" TEGRA2_SYSMEM "\0" \
|
| "smpflag=smp\0" \
|
| - "videospec=tegrafb\0"
|
| + "videospec=tegrafb\0" \
|
| + "lp0addr=" TEGRA_LP0_DEFAULT_ADDR_STR "\0" \
|
| + "lp0size=" TEGRA_LP0_SIZE_STR "\0"
|
|
|
| #define CONFIG_IPADDR 10.0.0.2
|
| #define CONFIG_SERVERIP 10.0.0.1
|
| @@ -272,6 +284,7 @@
|
| "console=${console} " \
|
| "usbcore.old_scheme_first=1 " \
|
| "tegraboot=${tegraboot} " \
|
| + "lp0_vec=${lp0size}@${lp0addr} " \
|
| "tegrap earlyprintk; "\
|
| "bootm ${loadaddr}\0" \
|
| "nandboot=setenv bootcmd " \
|
| @@ -287,6 +300,7 @@
|
| "console=${console} " \
|
| "usbcore.old_scheme_first=1 " \
|
| "tegraboot=${tegraboot} " \
|
| + "lp0_vec=${lp0size}@${lp0addr} " \
|
| "tegrap earlyprintk; "\
|
| "bootm ${loadaddr}\0" \
|
| "nfsboot=setenv bootcmd " \
|
|
|