| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) Copyright 2010 | 2 * (C) Copyright 2010 |
| 3 * NVIDIA Corporation <www.nvidia.com> | 3 * NVIDIA Corporation <www.nvidia.com> |
| 4 * | 4 * |
| 5 * See file CREDITS for list of people who contributed to this | 5 * See file CREDITS for list of people who contributed to this |
| 6 * project. | 6 * project. |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or | 8 * This program is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU General Public License as | 9 * modify it under the terms of the GNU General Public License as |
| 10 * published by the Free Software Foundation; either version 2 of | 10 * published by the Free Software Foundation; either version 2 of |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #ifdef CONFIG_TEGRA2_LP0 | 60 #ifdef CONFIG_TEGRA2_LP0 |
| 61 #define TEGRA_LP0_DEFAULT_ADDR 0x1C406000 | 61 #define TEGRA_LP0_DEFAULT_ADDR 0x1C406000 |
| 62 #define TEGRA_LP0_SIZE 0x2000 | 62 #define TEGRA_LP0_SIZE 0x2000 |
| 63 | 63 |
| 64 #define CONFIG_PLATFORM_EXTRAS_ARCH \ | 64 #define CONFIG_PLATFORM_EXTRAS_ARCH \ |
| 65 "lp0_vec=" QUOTE(TEGRA_LP0_SIZE) "@" QUOTE(TEGRA_LP0_DEFAULT_ADDR) | 65 "lp0_vec=" QUOTE(TEGRA_LP0_SIZE) "@" QUOTE(TEGRA_LP0_DEFAULT_ADDR) |
| 66 #endif | 66 #endif |
| 67 | 67 |
| 68 #define CONFIG_LOADADDR 0x40C000 | 68 #define CONFIG_LOADADDR 0x40C000 |
| 69 #define CONFIG_BOOTDELAY 2 /* 2s to break to prompt */ | 69 #define CONFIG_BOOTDELAY 2 /* 2s to break to prompt */ |
| 70 #define CONFIG_EXTRA_ENV_SETTINGS_ARCH \ | |
| 71 "scriptaddr=0x408000\0" \ | |
| 72 "script_img=/u-boot/boot.scr.uimg\0" \ | |
| 73 "mmc0_boot=setenv devnum 0; run mmc_boot;\0" \ | |
| 74 "mmc1_boot=setenv devnum 1; run mmc_boot;\0" \ | |
| 75 "usb0_boot=usb start 0; run usb_boot;\0" \ | |
| 76 "usb1_boot=usb start 1; run usb_boot;\0" \ | |
| 77 "scr_boot=fatload ${devtype} ${devnum}:c ${scriptaddr} ${script_img};" \ | |
| 78 "source ${scriptaddr};" \ | |
| 79 "read ${devtype} ${devnum}:${kernelpart} ${scriptaddr} 0 10;" \ | |
| 80 "source ${scriptaddr};\0" \ | |
| 81 "mmc_boot=mmc init ${devnum};" \ | |
| 82 "setenv devtype mmc;" \ | |
| 83 "setenv devname mmcblk${devnum}p;" \ | |
| 84 "run scr_boot;\0" \ | |
| 85 "usb_boot=setenv devtype usb;" \ | |
| 86 "setenv devnum 0;" \ | |
| 87 "setenv devname sda;" \ | |
| 88 "run scr_boot;\0" | |
| 89 | 70 |
| 90 #define CONFIG_SYS_LOAD_ADDR 0xA00800 | 71 #define CONFIG_SYS_LOAD_ADDR 0xA00800 |
| 91 | 72 |
| 92 #define CONFIG_SYS_HZ 1000 | 73 #define CONFIG_SYS_HZ 1000 |
| 93 | 74 |
| 94 /*----------------------------------------------------------------------- | 75 /*----------------------------------------------------------------------- |
| 95 * Stack sizes | 76 * Stack sizes |
| 96 * | 77 * |
| 97 * The stack sizes are set up in start.S using the settings below | 78 * The stack sizes are set up in start.S using the settings below |
| 98 */ | 79 */ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 114 #include <configs/chromeos/tegra2/parts/gpio.h> | 95 #include <configs/chromeos/tegra2/parts/gpio.h> |
| 115 #include <configs/chromeos/tegra2/parts/i2c.h> | 96 #include <configs/chromeos/tegra2/parts/i2c.h> |
| 116 #include <configs/chromeos/tegra2/parts/lcd.h> | 97 #include <configs/chromeos/tegra2/parts/lcd.h> |
| 117 #include <configs/chromeos/tegra2/parts/mmc.h> | 98 #include <configs/chromeos/tegra2/parts/mmc.h> |
| 118 #include <configs/chromeos/tegra2/parts/nand.h> | 99 #include <configs/chromeos/tegra2/parts/nand.h> |
| 119 #include <configs/chromeos/tegra2/parts/uart.h> | 100 #include <configs/chromeos/tegra2/parts/uart.h> |
| 120 | 101 |
| 121 #define CONFIG_DISPLAY_BOARDINFO 1 | 102 #define CONFIG_DISPLAY_BOARDINFO 1 |
| 122 | 103 |
| 123 #endif /*__configs_chromeos_tegra2_common_h__*/ | 104 #endif /*__configs_chromeos_tegra2_common_h__*/ |
| OLD | NEW |