diff options
| author | mattis fjallstrom <mattis@acm.org> | 2015-03-24 15:55:42 -0700 |
|---|---|---|
| committer | mattis fjallstrom <mattis@acm.org> | 2015-03-24 15:55:42 -0700 |
| commit | a7046b81e6bdf9ccedb32437ec840deedd42808f (patch) | |
| tree | 60071aaff5c937d39b69791f245fbb89f77ba4d8 | |
| parent | 312aa9479917f56e319e57c12a6e6e1c3ea22d87 (diff) | |
| download | olio-uboot-2014.01-a7046b81e6bdf9ccedb32437ec840deedd42808f.tar.xz olio-uboot-2014.01-a7046b81e6bdf9ccedb32437ec840deedd42808f.zip | |
Adding some environment variables which makes the life of a kernel programmer easier.
Change-Id: Ib1bcee870336c9f971ed561bd2a1c0af2d2edc78
| -rw-r--r-- | include/configs/omap3_h1.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/omap3_h1.h b/include/configs/omap3_h1.h index e32af6690..b406bde99 100644 --- a/include/configs/omap3_h1.h +++ b/include/configs/omap3_h1.h @@ -204,11 +204,18 @@ "mpurate=${mpurate}; nandecc hw; " \ "nand read 0x80200000 0x280000 0x500000; " \ "nand read 0x81000000 0x780000 0xa00000; " \ - "bootm 0x80200000 0x81000000\0" + "bootm 0x80200000 0x81000000\0" \ + "kernelmem=0x280000 0x500000\0" \ + "kernelerase=nand erase ${kernelmem}\0" \ + "kernelwrite=nand write 0x81000000 ${kernelmem}\0" \ + "kernelupdate=run kernelerase; run kernelwrite\0" \ + "rootfsmem=0x780000 0xa00000\0" \ + "rootfserase=nand erase ${rootfsmem} \0" \ + "rootfswrite=nand write 0x81000000 ${rootfsmem}\0" \ + "rootfsupdate=run rootfserase; run rootfswrite\0" #define CONFIG_BOOTCMD "run ramfsboot" - #define CONFIG_AUTO_COMPLETE 1 /* * Miscellaneous configurable options |