Changeset 1931
- Timestamp:
- 05/09/07 10:43:38 (6 years ago)
- File:
-
- 1 edited
-
trunk/src/target/kernel/patches/hxd8-core.patch (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/kernel/patches/hxd8-core.patch
r1883 r1931 30 30 --- /dev/null 31 31 +++ linux-2.6.21-moko/arch/arm/mach-s3c2440/mach-hxd8.c 32 @@ -0,0 +1, 430@@32 @@ -0,0 +1,393 @@ 33 33 +/* linux/arch/arm/mach-s3c2440/mach-hxd8.c 34 34 + * … … 162 162 +}; 163 163 + 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 +198 164 +static struct s3c2410_nand_set hxd8_nand_sets[] = { 199 165 + [0] = { 200 166 + .name = "hxd8-nand", 201 167 + .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,205 168 + }, 206 169 +}; … … 450 413 +} 451 414 + 452 +MACHINE_START( S3C2440, "HXD8")415 +MACHINE_START(HXD8, "HXD8") 453 416 + /* Maintainer: Harald Welte <laforge@openmoko.org> */ 454 417 + .phys_io = S3C2410_PA_UART,
Note: See TracChangeset
for help on using the changeset viewer.
