Change Details
package/uboot-xburst/files/drivers/mmc/jz_mmc.c |
29 | 29 | #include <asm/jz4740.h> |
30 | 30 | #include "jz_mmc.h" |
31 | 31 | |
32 | | #define CFG_MMC_BASE 0x80600000 |
33 | 32 | static int sd2_0 = 0; |
34 | | static uchar mmc_buf[1024]; |
35 | 33 | static int mmc_ready = 0; |
36 | 34 | static int use_4bit; /* Use 4-bit data bus */ |
37 | 35 | /* |
scripts/build |
32 | 32 | fi |
33 | 33 | |
34 | 34 | echo "This script will move previous builds to bak/!" |
35 | | echo "This script will reset modifications you made" |
36 | | echo " to files which are part of the repository!" |
| 35 | echo "This script will compile base on last commit" |
| 36 | echo " your modifications will backup by git stash" |
| 37 | echo " those modifications will apply again after compile" |
37 | 38 | echo "This script comes without any kind of warranty!" |
38 | 39 | echo " " |
39 | 40 | echo "Are you brave, dude? [NO/yes]" |
... | ... | |
58 | 59 | mkdir xburst |
59 | 60 | |
60 | 61 | echo "updating git repo..." |
61 | | git diff > bak/modify_${DATE_TIME}.patch |
62 | | git checkout -f |
| 62 | git stash |
63 | 63 | git checkout tracking_backfire |
64 | 64 | git pull > /dev/null |
65 | 65 | if [ "$?" != "0" ]; then |
... | ... | |
122 | 122 | exit 1 |
123 | 123 | fi |
124 | 124 | |
| 125 | git stash pop |
| 126 | |
125 | 127 | cp .config xburst/config |
126 | 128 | cp bin/xburst/* xburst/ 2>/dev/null |
127 | 129 | mkdir xburst/files |
Download the corresponding diff file