Created
June 12, 2014 06:24
-
-
Save maks/ff1edf02484f2c09474f to your computer and use it in GitHub Desktop.
fix-flatfish-uboot-spl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h | |
| index 1fdab59..2544278 100755 | |
| --- a/include/configs/sun6i.h | |
| +++ b/include/configs/sun6i.h | |
| @@ -33,7 +33,7 @@ | |
| #define CONFIG_ALLWINNER /* It's a Allwinner chip */ | |
| #define CONFIG_SUNXI /* which is sunxi family */ | |
| #define CONFIG_SUN6I /* which is sun6i */ | |
| -//#define CONFIG_SUN6I_FPGA /* working with fpga board */ | |
| +/*#define CONFIG_SUN6I_FPGA */ /* working with fpga board */ | |
| #undef CONFIG_SUN6I_FPGA | |
| #define CONFIG_CMD_BOOTA | |
| #include <asm/arch/cpu.h> /* get chip and board defs */ | |
| @@ -84,7 +84,7 @@ | |
| #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE /* SDRAM Bank #1 */ | |
| #define PHYS_SDRAM_1_SIZE (2 << 30) /* 0x40000000, 1 GB Bank #1 */ | |
| -//#define CONFIG_SYS_MONITOR_BASE 0x00000000 | |
| +/* #define CONFIG_SYS_MONITOR_BASE 0x00000000 */ | |
| /* Nand config */ | |
| #define CONFIG_NAND | |
| @@ -105,7 +105,7 @@ | |
| #define CONFIG_CMD_MMC | |
| #define CONFIG_MMC_SUNXI | |
| #define CONFIG_MMC_SUNXI_SLOT 2 /* which mmc slot to use, could be 0,1,2,3 */ | |
| -//#define CONFIG_MMC_SUNXI_USE_DMA | |
| +/* #define CONFIG_MMC_SUNXI_USE_DMA */ | |
| #define CONFIG_ENV_IS_IN_MMC | |
| #define CONFIG_SYS_MMC_ENV_DEV mmc_card_no | |
| #define CONFIG_STORAGE_EMMC | |
| @@ -141,8 +141,9 @@ | |
| #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE | |
| /* memtest works on */ | |
| +#define CONFIG_SYS_ALT_MEMTEST 1 | |
| #define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE | |
| -#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 256<<20) /* 256M */ | |
| +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + (1<<28)) /* 256M */ | |
| #define CONFIG_SYS_LOAD_ADDR 0x50000000 /* default load address */ | |
| #define CONFIG_SYS_HZ 1000 | |
| diff --git a/include/configs/sun6i_mmc.h b/include/configs/sun6i_mmc.h | |
| index c9439fc..5ec2aab 100755 | |
| --- a/include/configs/sun6i_mmc.h | |
| +++ b/include/configs/sun6i_mmc.h | |
| @@ -114,7 +114,7 @@ | |
| #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20)) | |
| #define CONFIG_FASTBOOT | |
| -//#define CONFIG_STORAGE_NAND | |
| +/* #define CONFIG_STORAGE_NAND */ | |
| #define FASTBOOT_TRANSFER_BUFFER 0x41000000 | |
| #define FASTBOOT_TRANSFER_BUFFER_SIZE 256 << 20 /* 256M */ | |
| @@ -159,7 +159,7 @@ | |
| #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* 256 KB */ | |
| #define CONFIG_IDENT_STRING " Allwinner Technology " | |
| -//#define CONFIG_ENV_IS_IN_NAND_SUNXI /* we store env in one partition of our nand */ | |
| +/* #define CONFIG_ENV_IS_IN_NAND_SUNXI */ /* we store env in one partition of our nand */ | |
| #define CONFIG_SUNXI_ENV_PARTITION "env" /* the partition name */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment