Changeset 1931


Ignore:
Timestamp:
05/09/07 10:43:38 (6 years ago)
Author:
laforge
Message:
  • HXD8: remove static nand partition table, u-boot generates mtdparts commandline
  • HXD8: fix machine type
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/kernel/patches/hxd8-core.patch

    r1883 r1931  
    3030--- /dev/null 
    3131+++ linux-2.6.21-moko/arch/arm/mach-s3c2440/mach-hxd8.c 
    32 @@ -0,0 +1,430 @@ 
     32@@ -0,0 +1,393 @@ 
    3333+/* linux/arch/arm/mach-s3c2440/mach-hxd8.c 
    3434+ * 
     
    162162+}; 
    163163+ 
    164 +/* NAND partitions.  Once we use dynpart, this goes away */ 
    165 +static struct mtd_partition hxd8_default_nand_part[] = { 
    166 +       [0] = { 
    167 +               .name   = "U-Boot", 
    168 +               .size   = 0x100000, 
    169 +               .offset = 0, 
    170 +       }, 
    171 +       [1] = { 
    172 +               .name   = "kernel", 
    173 +               .offset = 0x100000, 
    174 +               .size   = SZ_2M, 
    175 +       }, 
    176 +       [2] = { 
    177 +               .name   = "update", 
    178 +               .offset = 0x300000, 
    179 +               .size   = SZ_2M, 
    180 +       }, 
    181 +       [3] = { 
    182 +               .name   = "splash", 
    183 +               .offset = 0x500000, 
    184 +               .size   = SZ_1M, 
    185 +       }, 
    186 +       [4] = { 
    187 +               .name   = "jffs2", 
    188 +               .offset = 0x600000, 
    189 +               .size   = SZ_2M * 10, 
    190 +       }, 
    191 +       [5] = { 
    192 +               .name   = "temp", 
    193 +               .offset = 0x1a00000, 
    194 +               .size   = 0x30000000, 
    195 +       }, 
    196 +}; 
    197 + 
    198164+static struct s3c2410_nand_set hxd8_nand_sets[] = { 
    199165+       [0] = { 
    200166+               .name           = "hxd8-nand", 
    201167+               .nr_chips       = 1, 
    202 +               /* FIXME: the static partition table should be removed soon */ 
    203 +               .nr_partitions  = ARRAY_SIZE(hxd8_default_nand_part), 
    204 +               .partitions     = hxd8_default_nand_part, 
    205168+       }, 
    206169+}; 
     
    450413+} 
    451414+ 
    452 +MACHINE_START(S3C2440, "HXD8") 
     415+MACHINE_START(HXD8, "HXD8") 
    453416+       /* Maintainer: Harald Welte <laforge@openmoko.org> */ 
    454417+       .phys_io        = S3C2410_PA_UART, 
Note: See TracChangeset for help on using the changeset viewer.