Advertisement
DerArtem

2.6.36 tegra folio 100 diff

Apr 3rd, 2011
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.58 KB | None | 0 0
  1. Here is how to compile kernel 2.6.36 for toshiba folio 100:
  2.  
  3. git clone http://git.chromium.org/git/kernel-next.git
  4. git checkout origin/chromeos-tegra-2.6.36
  5.  
  6. apply the diff:
  7.  
  8. artem@gandalf ~/bin/new-kernel/chrome/kernel-next $ git diff
  9. diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c
  10. index 2fe1059..ccdef3d 100644
  11. --- a/arch/arm/mach-tegra/board-harmony.c
  12. +++ b/arch/arm/mach-tegra/board-harmony.c
  13. @@ -413,3 +413,14 @@ MACHINE_START(HARMONY, "harmony")
  14.         .map_io         = tegra_map_common_io,
  15.         .timer          = &tegra_timer,
  16.  MACHINE_END
  17. +
  18. +MACHINE_START(TEGRA_LEGACY, "tegra_legacy")
  19. +        .boot_params  = 0x00000100,
  20. +        .phys_io        = IO_APB_PHYS,
  21. +        .io_pg_offst    = ((IO_APB_VIRT) >> 18) & 0xfffc,
  22. +        .fixup          = tegra_harmony_fixup,
  23. +        .init_irq       = tegra_init_irq,
  24. +        .init_machine   = tegra_harmony_init,
  25. +        .map_io         = tegra_map_common_io,
  26. +        .timer          = &tegra_timer,
  27. +MACHINE_END
  28. diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
  29. index db7d798..e537352 100644
  30. --- a/arch/arm/tools/mach-types
  31. +++ b/arch/arm/tools/mach-types
  32. @@ -3276,3 +3276,4 @@ gfs_spm                   MACH_GFS_SPM            GFS_SPM                 3289
  33.  cm_t3730               MACH_CM_T3730           CM_T3730                3290
  34.  isc3                   MACH_ISC3               ISC3                    3291
  35.  rascal                 MACH_RASCAL             RASCAL                  3292
  36. +tegra_legacy           MACH_TEGRA_LEGACY       TEGRA_LEGACY            3333
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement