]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Adjusted default environment for cam5200 board.
authorReinhard Thies <Reinhard.Thies@web.de>
Wed, 10 Jan 2007 13:41:14 +0000 (14:41 +0100)
committerDetlev Zundel <dzu@denx.de>
Wed, 10 Jan 2007 15:51:05 +0000 (16:51 +0100)
include/configs/TQM5200.h

index 15906a0a379550d03daf15acbc1b6dfe7fc92829..7069b35ad60ad7864f11d375bf27a0793f1790c1 100644 (file)
                "protect on FC000000 +${filesize}\0"
 #endif
 
+#ifndef CONFIG_CAM5200
+#define CUSTOM_ENV_SETTINGS                                            \
+       "bootfile=/tftpboot/tqm5200/uImage\0"                           \
+       "u-boot=/tftpboot/tqm5200/u-boot.bin\0"
+#else
+#define CUSTOM_ENV_SETTINGS                                            \
+       "bootfile=cam5200/uImage\0"                                     \
+       "u-boot=cam5200/u-boot.bin\0"                                   \
+       "setup=tftp 200000 cam5200/setup.img; autoscr 200000\0"
+#endif
+
 #define CONFIG_EXTRA_ENV_SETTINGS                                      \
        "netdev=eth0\0"                                                 \
        "rootpath=/opt/eldk/ppc_6xx\0"                                  \
                "bootm ${kernel_addr}\0"                                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addcons;"    \
                "bootm\0"                                               \
-       "bootfile=/tftpboot/tqm5200/uImage\0"                           \
-       "u-boot=/tftpboot/tqm5200/u-boot.bin\0"                         \
+       CUSTOM_ENV_SETTINGS                                             \
        "load=tftp 200000 ${u-boot}\0"                                  \
        ENV_UPDT                                                        \
        ""