r2796 - trunk/src/target/u-boot/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Wed Aug 22 20:43:51 CEST 2007
Author: laforge
Date: 2007-08-22 20:43:21 +0200 (Wed, 22 Aug 2007)
New Revision: 2796
Modified:
trunk/src/target/u-boot/patches/bbt-create-optional.patch
trunk/src/target/u-boot/patches/boot-from-ram-and-nand.patch
trunk/src/target/u-boot/patches/boot-menu.patch
trunk/src/target/u-boot/patches/cmd-unzip.patch
trunk/src/target/u-boot/patches/default-env.patch
trunk/src/target/u-boot/patches/dynenv-harden.patch
trunk/src/target/u-boot/patches/enable-splash-bmp.patch
trunk/src/target/u-boot/patches/ext2load_hex.patch
trunk/src/target/u-boot/patches/nand-createbbt.patch
trunk/src/target/u-boot/patches/nand-dynamic_partitions.patch
trunk/src/target/u-boot/patches/nand-read_write_oob.patch
trunk/src/target/u-boot/patches/neo1973-chargefast.patch
trunk/src/target/u-boot/patches/preboot-override.patch
trunk/src/target/u-boot/patches/raise-limits.patch
trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch
trunk/src/target/u-boot/patches/uboot-20061030-qt2410.patch
trunk/src/target/u-boot/patches/uboot-arm920_s3c2410_irq_demux.patch
trunk/src/target/u-boot/patches/uboot-arm920t-gd_in_irq.patch
trunk/src/target/u-boot/patches/uboot-dfu.patch
trunk/src/target/u-boot/patches/uboot-gta02.patch
trunk/src/target/u-boot/patches/uboot-hxd8.patch
trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch
trunk/src/target/u-boot/patches/uboot-neo1973-resume.patch
trunk/src/target/u-boot/patches/uboot-s3c2410_fb.patch
trunk/src/target/u-boot/patches/uboot-s3c2443.patch
trunk/src/target/u-boot/patches/uboot-smdk2440.patch
trunk/src/target/u-boot/patches/uboot-smdk2443.patch
trunk/src/target/u-boot/patches/wakeup-reason-nand-only.patch
Log:
cosmetic: re-sync all patches with current upstream code, making sure no line
offset or fuzzy hunks remain.
Modified: trunk/src/target/u-boot/patches/bbt-create-optional.patch
===================================================================
--- trunk/src/target/u-boot/patches/bbt-create-optional.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/bbt-create-optional.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -11,11 +11,11 @@
Index: u-boot/cpu/arm920t/s3c24x0/nand.c
===================================================================
---- u-boot.orig/cpu/arm920t/s3c24x0/nand.c 2007-02-16 23:53:29.000000000 +0100
-+++ u-boot/cpu/arm920t/s3c24x0/nand.c 2007-02-16 23:53:54.000000000 +0100
-@@ -169,7 +169,7 @@
+--- u-boot.orig/cpu/arm920t/s3c24x0/nand.c
++++ u-boot/cpu/arm920t/s3c24x0/nand.c
+@@ -209,7 +209,7 @@
+ #endif
- nand->eccmode = NAND_ECC_SOFT;
#ifdef CONFIG_S3C2410_NAND_BBT
- nand->options = NAND_USE_FLASH_BBT;
+ nand->options = NAND_USE_FLASH_BBT | NAND_DONT_CREATE_BBT;
@@ -24,8 +24,8 @@
#endif
Index: u-boot/drivers/nand/nand_bbt.c
===================================================================
---- u-boot.orig/drivers/nand/nand_bbt.c 2007-02-16 23:53:36.000000000 +0100
-+++ u-boot/drivers/nand/nand_bbt.c 2007-02-16 23:53:54.000000000 +0100
+--- u-boot.orig/drivers/nand/nand_bbt.c
++++ u-boot/drivers/nand/nand_bbt.c
@@ -678,7 +678,8 @@
}
create:
@@ -38,8 +38,8 @@
/* Create the table in memory by scanning the chip(s) */
Index: u-boot/include/linux/mtd/nand.h
===================================================================
---- u-boot.orig/include/linux/mtd/nand.h 2007-02-16 23:53:08.000000000 +0100
-+++ u-boot/include/linux/mtd/nand.h 2007-02-16 23:53:54.000000000 +0100
+--- u-boot.orig/include/linux/mtd/nand.h
++++ u-boot/include/linux/mtd/nand.h
@@ -187,7 +187,8 @@
* This can only work if we have the ecc bytes directly behind the
* data bytes. Applies for DOC and AG-AND Renesas HW Reed Solomon generators */
Modified: trunk/src/target/u-boot/patches/boot-from-ram-and-nand.patch
===================================================================
--- trunk/src/target/u-boot/patches/boot-from-ram-and-nand.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/boot-from-ram-and-nand.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -51,7 +51,7 @@
+relocate: /* relocate U-Boot to RAM */
ldr r1, _TEXT_BASE /* test if we run from flash or RAM */
cmp r0, r1 /* don't reloc during debug */
- beq stack_setup
+ beq done_relocate
@@ -273,10 +281,13 @@
ldr pc, _done_relocate /* jump to relocated code */
_done_relocate:
Modified: trunk/src/target/u-boot/patches/boot-menu.patch
===================================================================
--- trunk/src/target/u-boot/patches/boot-menu.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/boot-menu.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -151,7 +151,7 @@
===================================================================
--- u-boot.orig/board/neo1973/gta01/gta01.c
+++ u-boot/board/neo1973/gta01/gta01.c
-@@ -229,10 +229,15 @@ int board_late_init(void)
+@@ -229,10 +229,15 @@
extern unsigned char booted_from_nand;
unsigned char tmp;
char buf[32];
@@ -167,7 +167,7 @@
if (!booted_from_nand)
goto woken_by_reset;
-@@ -242,45 +247,41 @@ int board_late_init(void)
+@@ -242,45 +247,41 @@
setenv("pcf50606_int1", buf);
if (tmp & PCF50606_INT1_ALARM) {
@@ -235,7 +235,7 @@
continue_boot:
jbt6k74_init();
-@@ -304,6 +305,11 @@ continue_boot:
+@@ -304,6 +305,11 @@
}
#endif
@@ -247,7 +247,7 @@
return 0;
}
-@@ -369,7 +375,17 @@ void neo1973_vibrator(int on)
+@@ -369,7 +375,17 @@
#endif
}
@@ -270,7 +270,7 @@
===================================================================
--- u-boot.orig/board/neo1973/gta01/Makefile
+++ u-boot/board/neo1973/gta01/Makefile
-@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
+@@ -25,7 +25,7 @@
LIB = lib$(BOARD).a
@@ -283,7 +283,7 @@
===================================================================
--- u-boot.orig/board/neo1973/common/neo1973.h
+++ u-boot/board/neo1973/common/neo1973.h
-@@ -29,4 +29,10 @@ int neo1973_911_key_pressed(void);
+@@ -29,4 +29,10 @@
const char *neo1973_get_charge_status(void);
int neo1973_set_charge_mode(enum neo1973_charger_cmd cmd);
@@ -298,7 +298,7 @@
===================================================================
--- u-boot.orig/common/console.c
+++ u-boot/common/console.c
-@@ -160,8 +160,12 @@ void fprintf (int file, const char *fmt,
+@@ -160,8 +160,12 @@
/** U-Boot INITIAL CONSOLE-COMPATIBLE FUNCTION *****************************/
@@ -311,7 +311,7 @@
if (gd->flags & GD_FLG_DEVINIT) {
/* Get from the standard input */
return fgetc (stdin);
-@@ -171,7 +175,7 @@ int getc (void)
+@@ -171,7 +175,7 @@
return serial_getc ();
}
@@ -320,7 +320,7 @@
{
if (gd->flags & GD_FLG_DEVINIT) {
/* Test the standard input */
-@@ -182,6 +186,16 @@ int tstc (void)
+@@ -182,6 +186,16 @@
return serial_tstc ();
}
@@ -354,7 +354,7 @@
===================================================================
--- u-boot.orig/common/Makefile
+++ u-boot/common/Makefile
-@@ -50,7 +50,8 @@ COBJS = main.o ACEX1K.o altera.o bedbug.
+@@ -50,7 +50,8 @@
memsize.o miiphybb.o miiphyutil.o \
s_record.o serial.o soft_i2c.o soft_spi.o spartan2.o spartan3.o \
usb.o usb_kbd.o usb_storage.o \
@@ -769,7 +769,7 @@
===================================================================
--- u-boot.orig/include/configs/neo1973_gta01.h
+++ u-boot/include/configs/neo1973_gta01.h
-@@ -155,6 +155,8 @@
+@@ -148,6 +148,8 @@
/* valid baudrates */
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
Modified: trunk/src/target/u-boot/patches/cmd-unzip.patch
===================================================================
--- trunk/src/target/u-boot/patches/cmd-unzip.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/cmd-unzip.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -7,7 +7,7 @@
===================================================================
--- u-boot.orig/common/cmd_mem.c
+++ u-boot/common/cmd_mem.c
-@@ -1148,6 +1148,34 @@ int do_mem_crc (cmd_tbl_t *cmdtp, int fl
+@@ -1149,6 +1149,34 @@
}
#endif /* CONFIG_CRC32_VERIFY */
@@ -42,7 +42,7 @@
/**************************************************/
#if defined(CONFIG_CMD_MEMORY)
U_BOOT_CMD(
-@@ -1251,5 +1279,13 @@ U_BOOT_CMD(
+@@ -1252,5 +1280,13 @@
);
#endif /* CONFIG_MX_CYCLIC */
Modified: trunk/src/target/u-boot/patches/default-env.patch
===================================================================
--- trunk/src/target/u-boot/patches/default-env.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/default-env.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -10,7 +10,7 @@
===================================================================
--- u-boot.orig/common/env_common.c
+++ u-boot/common/env_common.c
-@@ -202,6 +202,25 @@ uchar *env_get_addr (int index)
+@@ -195,6 +195,25 @@
}
}
@@ -36,7 +36,7 @@
void env_relocate (void)
{
DEBUGF ("%s[%d] offset = 0x%lx\n", __FUNCTION__,__LINE__,
-@@ -245,23 +264,8 @@ void env_relocate (void)
+@@ -238,23 +257,8 @@
gd->env_valid = 0;
#endif
@@ -66,7 +66,7 @@
===================================================================
--- u-boot.orig/common/env_nand.c
+++ u-boot/common/env_nand.c
-@@ -313,19 +313,7 @@ void env_relocate_spec (void)
+@@ -313,19 +313,7 @@
static void use_default()
{
puts ("*** Warning - bad CRC or NAND, using default environment\n\n");
@@ -91,7 +91,7 @@
===================================================================
--- u-boot.orig/include/environment.h
+++ u-boot/include/environment.h
-@@ -107,4 +107,7 @@ typedef struct environment_s {
+@@ -107,4 +107,7 @@
unsigned char data[ENV_SIZE]; /* Environment data */
} env_t;
Modified: trunk/src/target/u-boot/patches/dynenv-harden.patch
===================================================================
--- trunk/src/target/u-boot/patches/dynenv-harden.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/dynenv-harden.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -13,7 +13,7 @@
===================================================================
--- u-boot.orig/common/cmd_nand.c
+++ u-boot/common/cmd_nand.c
-@@ -100,7 +100,7 @@ static inline int str2long(char *p, ulon
+@@ -92,7 +92,7 @@
return (*p != '\0' && *endptr == '\0') ? 1 : 0;
}
@@ -72,7 +72,7 @@
#include <asm/errno.h>
#if defined(CFG_ENV_OFFSET_OOB)
-@@ -39,8 +40,8 @@ int do_dynenv(cmd_tbl_t *cmdtp, int flag
+@@ -39,8 +40,8 @@
if (!buf)
return -ENOMEM;
@@ -82,7 +82,7 @@
if (buf[0] == 'E' && buf[1] == 'N' &&
buf[2] == 'V' && buf[3] == '0')
-@@ -49,7 +50,8 @@ int do_dynenv(cmd_tbl_t *cmdtp, int flag
+@@ -49,7 +50,8 @@
printf("No dynamic environment marker in OOB block 0\n");
} else if (!strcmp(cmd, "set")) {
@@ -92,7 +92,7 @@
if (argc < 3)
goto usage;
-@@ -57,7 +59,23 @@ int do_dynenv(cmd_tbl_t *cmdtp, int flag
+@@ -57,7 +59,23 @@
buf[1] = 'N';
buf[2] = 'V';
buf[3] = '0';
@@ -117,7 +117,7 @@
memcpy(buf+4, &addr, 4);
printf("%02x %02x %02x %02x - %02x %02x %02x %02x\n",
-@@ -65,6 +83,8 @@ int do_dynenv(cmd_tbl_t *cmdtp, int flag
+@@ -65,6 +83,8 @@
buf[4], buf[5], buf[6], buf[7]);
ret = mtd->write_oob(mtd, 8, size, (size_t *) &size, (u_char *) buf);
@@ -126,7 +126,7 @@
} else
goto usage;
-@@ -72,8 +92,9 @@ int do_dynenv(cmd_tbl_t *cmdtp, int flag
+@@ -72,8 +92,9 @@
return ret;
usage:
Modified: trunk/src/target/u-boot/patches/enable-splash-bmp.patch
===================================================================
--- trunk/src/target/u-boot/patches/enable-splash-bmp.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/enable-splash-bmp.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -10,7 +10,7 @@
===================================================================
--- u-boot.orig/drivers/cfb_console.c
+++ u-boot/drivers/cfb_console.c
-@@ -191,6 +191,7 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the
+@@ -191,6 +191,7 @@
#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#include <watchdog.h>
#include <bmp_layout.h>
@@ -22,15 +22,15 @@
===================================================================
--- u-boot.orig/include/configs/neo1973_gta01.h
+++ u-boot/include/configs/neo1973_gta01.h
-@@ -86,6 +86,7 @@
- #define CONFIG_CMD_IRQ
+@@ -81,6 +81,7 @@
+ #define CONFIG_CMD_ENV
#define CONFIG_CMD_BOOTD
#define CONFIG_CMD_CONSOLE
+#define CONFIG_CMD_BMP
#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_RUN
#define CONFIG_CMD_ECHO
-@@ -244,19 +245,21 @@
+@@ -237,19 +238,21 @@
/* we have a board_late_init() function */
#define BOARD_LATE_INIT 1
@@ -53,4 +53,4 @@
-#endif
#define CONFIG_S3C2410_NAND_BBT 1
-
+ #define CONFIG_S3C2410_NAND_HWECC 1
Modified: trunk/src/target/u-boot/patches/ext2load_hex.patch
===================================================================
--- trunk/src/target/u-boot/patches/ext2load_hex.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/ext2load_hex.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -2,11 +2,11 @@
Signed-off-by: Harald Welte <laforge at openmoko.org>
-Index: u-boot.git/common/cmd_ext2.c
+Index: u-boot/common/cmd_ext2.c
===================================================================
---- u-boot.git.orig/common/cmd_ext2.c 2007-01-02 18:26:17.000000000 +0100
-+++ u-boot.git/common/cmd_ext2.c 2007-01-02 18:26:27.000000000 +0100
-@@ -279,7 +279,7 @@
+--- u-boot.orig/common/cmd_ext2.c
++++ u-boot/common/cmd_ext2.c
+@@ -245,7 +245,7 @@
/* Loading ok, update default load address */
load_addr = addr;
Modified: trunk/src/target/u-boot/patches/nand-createbbt.patch
===================================================================
--- trunk/src/target/u-boot/patches/nand-createbbt.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/nand-createbbt.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -11,9 +11,9 @@
Index: u-boot/common/cmd_nand.c
===================================================================
---- u-boot.orig/common/cmd_nand.c 2007-02-16 23:53:28.000000000 +0100
-+++ u-boot/common/cmd_nand.c 2007-02-16 23:53:57.000000000 +0100
-@@ -163,6 +163,17 @@
+--- u-boot.orig/common/cmd_nand.c
++++ u-boot/common/cmd_nand.c
+@@ -162,6 +162,17 @@
return 0;
}
@@ -31,7 +31,7 @@
int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
int i, dev, ret;
-@@ -228,7 +239,8 @@
+@@ -227,7 +238,8 @@
strncmp(cmd, "read", 4) != 0 && strncmp(cmd, "write", 5) != 0 &&
strcmp(cmd, "scrub") != 0 && strcmp(cmd, "markbad") != 0 &&
strcmp(cmd, "biterr") != 0 &&
@@ -41,7 +41,7 @@
goto usage;
/* the following commands operate on the current device */
-@@ -283,13 +295,23 @@
+@@ -282,13 +294,23 @@
"are sure of what you are doing!\n"
"\nReally scrub this NAND flash? <y/N>\n");
@@ -66,7 +66,7 @@
ret = nand_erase_opts(nand, &opts);
printf("%s\n", ret ? "ERROR" : "OK");
-@@ -458,6 +480,33 @@
+@@ -457,6 +479,33 @@
return 0;
}
@@ -100,7 +100,7 @@
usage:
printf("Usage:\n%s\n", cmdtp->usage);
return 1;
-@@ -478,7 +527,8 @@
+@@ -477,7 +526,8 @@
"nand markbad off - mark bad block at offset (UNSAFE)\n"
"nand biterr off - make a bit error at offset (UNSAFE)\n"
"nand lock [tight] [status] - bring nand to lock state or display locked pages\n"
@@ -112,8 +112,8 @@
ulong offset, ulong addr, char *cmd)
Index: u-boot/drivers/nand/nand_bbt.c
===================================================================
---- u-boot.orig/drivers/nand/nand_bbt.c 2007-02-16 23:53:54.000000000 +0100
-+++ u-boot/drivers/nand/nand_bbt.c 2007-02-16 23:53:57.000000000 +0100
+--- u-boot.orig/drivers/nand/nand_bbt.c
++++ u-boot/drivers/nand/nand_bbt.c
@@ -795,7 +795,8 @@
len = mtd->size >> (this->bbt_erase_shift + 2);
Modified: trunk/src/target/u-boot/patches/nand-dynamic_partitions.patch
===================================================================
--- trunk/src/target/u-boot/patches/nand-dynamic_partitions.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/nand-dynamic_partitions.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -118,7 +118,7 @@
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_SAVES
#define CONFIG_CMD_NAND
-@@ -202,13 +203,13 @@
+@@ -199,13 +200,13 @@
#define CONFIG_FAT 1
#define CONFIG_SUPPORT_VFAT
@@ -135,7 +135,7 @@
#endif
/* ATAG configuration */
-@@ -248,4 +249,9 @@
+@@ -245,4 +246,9 @@
#define CONFIG_DRIVER_PCF50606 1
#define CONFIG_RTC_PCF50606 1
@@ -343,7 +343,7 @@
===================================================================
--- u-boot.orig/include/configs/qt2410.h
+++ u-boot/include/configs/qt2410.h
-@@ -278,5 +278,7 @@
+@@ -275,5 +275,7 @@
#define MTDIDS_DEFAULT "nand0=qt2410-nand"
#define MTPARTS_DEFAULT "qt2410-nand:192k(u-boot),8k(u-boot_env),2M(kernel),2M(splash),-(jffs2)"
Modified: trunk/src/target/u-boot/patches/nand-read_write_oob.patch
===================================================================
--- trunk/src/target/u-boot/patches/nand-read_write_oob.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/nand-read_write_oob.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -2,11 +2,11 @@
that used to exist with the legacy NAND code
Signed-off-by: Harald Welte <laforge at openmoko.org>
-Index: u-boot.git/common/cmd_nand.c
+Index: u-boot/common/cmd_nand.c
===================================================================
---- u-boot.git.orig/common/cmd_nand.c 2007-01-26 15:41:13.000000000 +0100
-+++ u-boot.git/common/cmd_nand.c 2007-01-26 15:49:37.000000000 +0100
-@@ -351,6 +351,14 @@
+--- u-boot.orig/common/cmd_nand.c
++++ u-boot/common/cmd_nand.c
+@@ -343,6 +343,14 @@
opts.quiet = quiet;
ret = nand_write_opts(nand, &opts);
}
Modified: trunk/src/target/u-boot/patches/neo1973-chargefast.patch
===================================================================
--- trunk/src/target/u-boot/patches/neo1973-chargefast.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/neo1973-chargefast.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -2,7 +2,7 @@
===================================================================
--- u-boot.orig/drivers/usbtty.c
+++ u-boot/drivers/usbtty.c
-@@ -53,7 +53,7 @@
+@@ -54,7 +54,7 @@
/*
* Defines
*/
@@ -11,7 +11,7 @@
#define MAX_INTERFACES 2
#define NUM_ENDPOINTS 3
#define ACM_TX_ENDPOINT 3
-@@ -179,8 +179,7 @@
+@@ -180,8 +180,7 @@
#endif
.bConfigurationValue = 1,
.iConfiguration = STR_CONFIG,
@@ -21,7 +21,7 @@
.bMaxPower = USBTTY_MAXPOWER
},
/* Interface 1 */
-@@ -281,6 +280,120 @@
+@@ -282,6 +281,120 @@
.func_dfu = DFU_FUNC_DESC,
#endif
},
@@ -142,7 +142,7 @@
};
static struct rs232_emu rs232_desc={
-@@ -317,8 +430,7 @@
+@@ -318,8 +431,7 @@
.bNumInterfaces = NUM_GSERIAL_INTERFACES,
.bConfigurationValue = 1,
.iConfiguration = STR_CONFIG,
@@ -152,7 +152,7 @@
.bMaxPower = USBTTY_MAXPOWER
},
.interface_desc = {
-@@ -371,6 +483,68 @@
+@@ -372,6 +484,68 @@
},
},
},
@@ -221,7 +221,7 @@
};
/*
-@@ -674,12 +848,14 @@
+@@ -675,12 +849,14 @@
bus_instance->maxpacketsize = 64;
bus_instance->serial_number_str = serial_number;
@@ -242,7 +242,7 @@
/* interface instance */
memset (interface_instance, 0,
-@@ -962,9 +1138,17 @@
+@@ -963,9 +1139,17 @@
usbtty_configured_flag = 0;
break;
case DEVICE_CONFIGURED:
@@ -265,7 +265,7 @@
===================================================================
--- u-boot.orig/drivers/usbtty.h
+++ u-boot/drivers/usbtty.h
-@@ -58,7 +58,7 @@
+@@ -59,7 +59,7 @@
#define USBTTY_DEVICE_CLASS COMMUNICATIONS_DEVICE_CLASS
#define USBTTY_BCD_DEVICE 0x00
Modified: trunk/src/target/u-boot/patches/preboot-override.patch
===================================================================
--- trunk/src/target/u-boot/patches/preboot-override.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/preboot-override.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -17,7 +17,7 @@
===================================================================
--- u-boot.orig/cpu/arm920t/start.S
+++ u-boot/cpu/arm920t/start.S
-@@ -77,6 +77,14 @@ _fiq: .word fiq
+@@ -79,6 +79,14 @@
*************************************************************************
*/
@@ -36,7 +36,7 @@
===================================================================
--- u-boot.orig/include/configs/neo1973_gta01.h
+++ u-boot/include/configs/neo1973_gta01.h
-@@ -207,6 +207,7 @@
+@@ -198,6 +198,7 @@
#define CFG_ENV_IS_IN_NAND 1
#define CFG_ENV_SIZE 0x4000 /* 16k Total Size of Environment Sector */
#define CFG_ENV_OFFSET_OOB 1 /* Location of ENV stored in block 0 OOB */
@@ -48,7 +48,7 @@
===================================================================
--- u-boot.orig/common/main.c
+++ u-boot/common/main.c
-@@ -85,6 +85,11 @@ int do_mdm_init = 0;
+@@ -91,6 +91,11 @@
extern void mdm_init(void); /* defined in board.c */
#endif
@@ -60,7 +60,7 @@
/***************************************************************************
* Watch for 'delay' seconds for autoboot stop or autoboot delay string.
* returns: 0 - no key string, allow autoboot
-@@ -306,8 +311,8 @@ void main_loop (void)
+@@ -284,8 +289,8 @@
char *s;
int bootdelay;
#endif
@@ -71,7 +71,7 @@
#endif
#ifdef CONFIG_BOOTCOUNT_LIMIT
unsigned long bootcount = 0;
-@@ -364,8 +369,23 @@ void main_loop (void)
+@@ -342,8 +347,23 @@
install_auto_complete();
#endif
@@ -96,7 +96,7 @@
# ifdef CONFIG_AUTOBOOT_KEYED
int prev = disable_ctrlc(1); /* disable Control C checking */
# endif
-@@ -381,7 +401,7 @@ void main_loop (void)
+@@ -359,7 +379,7 @@
disable_ctrlc(prev); /* restore Control C checking */
# endif
}
@@ -109,9 +109,9 @@
===================================================================
--- u-boot.orig/common/env_common.c
+++ u-boot/common/env_common.c
-@@ -37,6 +37,10 @@
- # define SHOW_BOOT_PROGRESS(arg)
- #endif
+@@ -30,6 +30,10 @@
+ #include <linux/stddef.h>
+ #include <malloc.h>
+#ifdef CFG_PREBOOT_OVERRIDE
+extern char *preboot_override;
@@ -120,9 +120,9 @@
DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_AMIGAONEG3SE
-@@ -234,7 +238,14 @@ void env_relocate (void)
+@@ -227,7 +231,14 @@
puts ("*** Warning - bad CRC, using default environment\n\n");
- SHOW_BOOT_PROGRESS (-1);
+ show_boot_progress (-60);
#endif
+ }
+
Modified: trunk/src/target/u-boot/patches/raise-limits.patch
===================================================================
--- trunk/src/target/u-boot/patches/raise-limits.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/raise-limits.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -10,7 +10,7 @@
===================================================================
--- u-boot.orig/include/configs/neo1973_gta01.h
+++ u-boot/include/configs/neo1973_gta01.h
-@@ -54,7 +54,8 @@
+@@ -51,7 +51,8 @@
/*
* Size of malloc() pool
*/
@@ -20,7 +20,7 @@
#define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
/*
-@@ -142,7 +143,7 @@
+@@ -129,7 +130,7 @@
#endif
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
#define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
Modified: trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -8,7 +8,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2056,6 +2056,14 @@
+@@ -2172,6 +2172,14 @@
sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
@@ -48,8 +48,8 @@
===================================================================
--- u-boot.orig/drivers/Makefile
+++ u-boot/drivers/Makefile
-@@ -50,6 +50,7 @@
- usbdcore.o usbdcore_ep0.o usbdcore_omap1510.o usbtty.o \
+@@ -52,6 +52,7 @@
+ usbtty.o \
videomodes.o w83c553f.o \
ks8695eth.o \
+ pcf50606.o \
Modified: trunk/src/target/u-boot/patches/uboot-20061030-qt2410.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-20061030-qt2410.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-20061030-qt2410.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -7,7 +7,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2056,6 +2056,9 @@
+@@ -2172,6 +2172,9 @@
sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
Modified: trunk/src/target/u-boot/patches/uboot-arm920_s3c2410_irq_demux.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-arm920_s3c2410_irq_demux.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-arm920_s3c2410_irq_demux.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -1,10 +1,10 @@
This patch adds a IRQ demultiplexer callback to the arm920 cpu core code,
plus a stub implementation of it for the S3C2410.
-Index: u-boot.git/cpu/arm920t/interrupts.c
+Index: u-boot/cpu/arm920t/interrupts.c
===================================================================
---- u-boot.git.orig/cpu/arm920t/interrupts.c 2007-02-05 22:49:11.000000000 +0100
-+++ u-boot.git/cpu/arm920t/interrupts.c 2007-02-05 23:19:01.000000000 +0100
+--- u-boot.orig/cpu/arm920t/interrupts.c
++++ u-boot/cpu/arm920t/interrupts.c
@@ -161,11 +161,16 @@
void do_irq (struct pt_regs *pt_regs)
@@ -23,10 +23,10 @@
#else
printf ("interrupt request\n");
show_regs (pt_regs);
-Index: u-boot.git/cpu/arm920t/s3c24x0/interrupts.c
+Index: u-boot/cpu/arm920t/s3c24x0/interrupts.c
===================================================================
---- u-boot.git.orig/cpu/arm920t/s3c24x0/interrupts.c 2007-02-05 22:49:11.000000000 +0100
-+++ u-boot.git/cpu/arm920t/s3c24x0/interrupts.c 2007-02-05 23:21:35.000000000 +0100
+--- u-boot.orig/cpu/arm920t/s3c24x0/interrupts.c
++++ u-boot/cpu/arm920t/s3c24x0/interrupts.c
@@ -216,4 +216,13 @@
/*NOTREACHED*/
}
@@ -41,11 +41,11 @@
+#endif /* USE_IRQ */
+
#endif /* defined(CONFIG_S3C2400) || defined (CONFIG_S3C2410) || defined (CONFIG_TRAB) */
-Index: u-boot.git/include/common.h
+Index: u-boot/include/common.h
===================================================================
---- u-boot.git.orig/include/common.h 2007-02-05 22:49:11.000000000 +0100
-+++ u-boot.git/include/common.h 2007-02-05 23:19:01.000000000 +0100
-@@ -452,6 +452,8 @@
+--- u-boot.orig/include/common.h
++++ u-boot/include/common.h
+@@ -480,6 +480,8 @@
ulong get_PCI_freq (void);
#endif
#if defined(CONFIG_S3C2400) || defined(CONFIG_S3C2410) || defined(CONFIG_LH7A40X)
Modified: trunk/src/target/u-boot/patches/uboot-arm920t-gd_in_irq.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-arm920t-gd_in_irq.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-arm920t-gd_in_irq.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -6,9 +6,9 @@
Index: u-boot/cpu/arm920t/start.S
===================================================================
---- u-boot.orig/cpu/arm920t/start.S 2007-02-24 02:35:38.000000000 +0100
-+++ u-boot/cpu/arm920t/start.S 2007-02-24 02:36:01.000000000 +0100
-@@ -474,12 +474,12 @@
+--- u-boot.orig/cpu/arm920t/start.S
++++ u-boot/cpu/arm920t/start.S
+@@ -415,12 +415,12 @@
.macro irq_save_user_regs
sub sp, sp, #S_FRAME_SIZE
stmia sp, {r0 - r12} @ Calling r0-r12
Modified: trunk/src/target/u-boot/patches/uboot-dfu.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-dfu.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-dfu.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -1233,7 +1233,7 @@
===================================================================
--- u-boot.orig/drivers/usbtty.c
+++ u-boot/drivers/usbtty.c
-@@ -30,6 +30,8 @@
+@@ -31,6 +31,8 @@
#include "usbtty.h"
#include "usb_cdc_acm.h"
#include "usbdescriptors.h"
@@ -1242,7 +1242,7 @@
#include <config.h> /* If defined, override Linux identifiers with
* vendor specific ones */
-@@ -105,7 +107,7 @@
+@@ -106,7 +108,7 @@
static unsigned short rx_endpoint = 0;
static unsigned short tx_endpoint = 0;
static unsigned short interface_count = 0;
@@ -1251,7 +1251,7 @@
/* USB Descriptor Strings */
static u8 wstrLang[4] = {4,USB_DT_STRING,0x9,0x4};
-@@ -156,6 +158,10 @@
+@@ -157,6 +159,10 @@
struct usb_interface_descriptor data_class_interface;
struct usb_endpoint_descriptor
data_endpoints[NUM_ENDPOINTS-1] __attribute__((packed));
@@ -1262,7 +1262,7 @@
} __attribute__((packed));
static struct acm_config_desc acm_configuration_descriptors[NUM_CONFIGS] = {
-@@ -166,7 +172,11 @@
+@@ -167,7 +173,11 @@
.bDescriptorType = USB_DT_CONFIG,
.wTotalLength =
cpu_to_le16(sizeof(struct acm_config_desc)),
@@ -1274,7 +1274,7 @@
.bConfigurationValue = 1,
.iConfiguration = STR_CONFIG,
.bmAttributes =
-@@ -265,6 +275,11 @@
+@@ -266,6 +276,11 @@
.bInterval = 0xFF,
},
},
@@ -1286,7 +1286,7 @@
},
};
-@@ -377,7 +392,7 @@
+@@ -378,7 +393,7 @@
void usbtty_poll (void);
/* utility function for converting char* to wide string used by USB */
@@ -1295,7 +1295,7 @@
{
int i;
for (i = 0; i < strlen (str) && str[i]; i++){
-@@ -647,6 +662,9 @@
+@@ -648,6 +663,9 @@
device_instance->bus = bus_instance;
device_instance->configurations = NUM_CONFIGS;
device_instance->configuration_instance_array = config_instance;
@@ -1582,7 +1582,7 @@
===================================================================
--- u-boot.orig/drivers/usbtty.h
+++ u-boot/drivers/usbtty.h
-@@ -69,4 +69,10 @@
+@@ -70,4 +70,10 @@
#define STR_CTRL_INTERFACE 0x06
#define STR_COUNT 0x07
@@ -1994,7 +1994,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -262,6 +262,12 @@
+@@ -267,6 +267,12 @@
$(obj)u-boot.bin: $(obj)u-boot
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2064,6 +2064,10 @@
+@@ -2178,6 +2178,10 @@
sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
Modified: trunk/src/target/u-boot/patches/uboot-hxd8.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-hxd8.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-hxd8.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2075,6 +2075,9 @@
+@@ -2189,6 +2189,9 @@
qt2410_config : unconfig
@./mkconfig $(@:_config=) arm arm920t qt2410 NULL s3c24x0
Modified: trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-neo1973-defaultenv.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -1,9 +1,9 @@
Index: u-boot/include/configs/neo1973_gta01.h
===================================================================
---- u-boot.orig/include/configs/neo1973_gta01.h 2007-02-27 00:43:16.000000000 +0100
-+++ u-boot/include/configs/neo1973_gta01.h 2007-02-27 00:47:49.000000000 +0100
-@@ -115,8 +115,8 @@
- #include <cmd_confdefs.h>
+--- u-boot.orig/include/configs/neo1973_gta01.h
++++ u-boot/include/configs/neo1973_gta01.h
+@@ -103,8 +103,8 @@
+ #define CONFIG_CMD_EXT2
#define CONFIG_BOOTDELAY 3
-#define CONFIG_BOOTARGS "rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200 console=tty0 loglevel=8"
@@ -13,7 +13,7 @@
#define CONFIG_DOS_PARTITION 1
-@@ -181,11 +181,14 @@
+@@ -173,11 +173,14 @@
#define CONFIG_USBD_PRODUCTID_CDCACM 0x5119 /* CDC ACM */
#define CONFIG_USBD_MANUFACTURER "OpenMoko, Inc"
#define CONFIG_USBD_PRODUCT_NAME "Neo1973 Bootloader " U_BOOT_VERSION
Modified: trunk/src/target/u-boot/patches/uboot-neo1973-resume.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-neo1973-resume.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-neo1973-resume.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -4,9 +4,9 @@
Index: u-boot/cpu/arm920t/start.S
===================================================================
---- u-boot.orig/cpu/arm920t/start.S 2007-02-28 03:51:24.000000000 +0100
-+++ u-boot/cpu/arm920t/start.S 2007-03-01 02:43:47.000000000 +0100
-@@ -158,18 +158,68 @@
+--- u-boot.orig/cpu/arm920t/start.S
++++ u-boot/cpu/arm920t/start.S
+@@ -223,18 +223,68 @@
str r1, [r0]
# endif
@@ -75,9 +75,9 @@
#endif
-#endif
- #ifndef CONFIG_SKIP_RELOCATE_UBOOT
- adr r0, _start /* r0 <- current position of code */
-@@ -202,9 +252,33 @@
+ #ifdef CONFIG_AT91RM9200
+ #ifdef CONFIG_BOOTBINFUNC
+@@ -292,9 +342,33 @@
#ifdef CONFIG_S3C2410_NAND_BOOT
nand_load:
Modified: trunk/src/target/u-boot/patches/uboot-s3c2410_fb.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-s3c2410_fb.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-s3c2410_fb.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -2,7 +2,7 @@
===================================================================
--- u-boot.orig/drivers/Makefile
+++ u-boot/drivers/Makefile
-@@ -52,7 +52,7 @@
+@@ -54,7 +54,7 @@
ks8695eth.o \
pxa_pcmcia.o mpc8xx_pcmcia.o tqm8xx_pcmcia.o \
rpx_pcmcia.o \
Modified: trunk/src/target/u-boot/patches/uboot-s3c2443.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-s3c2443.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-s3c2443.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -9,9 +9,9 @@
+#elif defined(CONFIG_S3C2443)
+#include <s3c2443.h>
#endif
-
-
-@@ -169,9 +171,15 @@
+ #if defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF)
+ #include <led.h>
+@@ -234,9 +236,15 @@
#endif
# define CLKDIVN_val 7 /* FCLK:HCLK:PCLK = 1:3:6 */
# define CAMDIVN 0x4C000018
@@ -28,7 +28,7 @@
ldr r0, =pWTCON
mov r1, #0x0
str r1, [r0]
-@@ -182,7 +190,7 @@
+@@ -247,7 +255,7 @@
mov r1, #0xffffffff
ldr r0, =INTMSK
str r1, [r0]
@@ -37,7 +37,7 @@
ldr r1, =INTSUBMSK_val
ldr r0, =INTSUBMSK
str r1, [r0]
-@@ -201,6 +209,43 @@
+@@ -266,6 +274,43 @@
mcr p15, 0, r1, c1, c0, 0
@@ -81,7 +81,7 @@
#define LOCKTIME 0x4c000000
#define UPLLCON 0x4c000008
-@@ -228,6 +273,7 @@
+@@ -293,6 +338,7 @@
ldr r0, =CLKDIVN
mov r1, #CLKDIVN_val
str r1, [r0]
@@ -89,7 +89,7 @@
#if 1
/* enable uart */
-@@ -254,7 +300,7 @@
+@@ -319,7 +365,7 @@
str r1, [r0, #0x28]
#endif
Modified: trunk/src/target/u-boot/patches/uboot-smdk2440.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-smdk2440.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-smdk2440.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2084,6 +2084,9 @@
+@@ -2198,6 +2198,9 @@
smdk2410_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
Modified: trunk/src/target/u-boot/patches/uboot-smdk2443.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-smdk2443.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/uboot-smdk2443.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -2,7 +2,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2094,6 +2094,9 @@
+@@ -2208,6 +2208,9 @@
smdk2440_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t smdk2440 NULL s3c24x0
Modified: trunk/src/target/u-boot/patches/wakeup-reason-nand-only.patch
===================================================================
--- trunk/src/target/u-boot/patches/wakeup-reason-nand-only.patch 2007-08-22 18:41:44 UTC (rev 2795)
+++ trunk/src/target/u-boot/patches/wakeup-reason-nand-only.patch 2007-08-22 18:43:21 UTC (rev 2796)
@@ -41,7 +41,7 @@
===================================================================
--- u-boot.orig/cpu/arm920t/start.S
+++ u-boot/cpu/arm920t/start.S
-@@ -77,6 +77,14 @@
+@@ -79,6 +79,14 @@
*************************************************************************
*/
@@ -56,7 +56,7 @@
_TEXT_BASE:
.word TEXT_BASE
-@@ -281,6 +289,9 @@
+@@ -371,6 +379,9 @@
#endif
1: b 1b
done_nand_read:
More information about the commitlog
mailing list