0001-cosmetic-kirkwood-style-fixes-in-kwbimage.cfg-files.patch 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. From 76a9fed9e5580945827a82963ac7315186fd0ebe Mon Sep 17 00:00:00 2001
  2. From: Luka Perkov <luka@openwrt.org>
  3. Date: Mon, 11 Nov 2013 06:45:44 +0100
  4. Subject: [PATCH 1/9] cosmetic: kirkwood: style fixes in kwbimage.cfg files
  5. When diffing through the changes only the relevant changes
  6. should be displayed.
  7. Signed-off-by: Luka Perkov <luka@openwrt.org>
  8. ---
  9. board/iomega/iconnect/kwbimage.cfg | 4 ++--
  10. board/raidsonic/ib62x0/kwbimage.cfg | 22 +++++++++++-----------
  11. 2 files changed, 13 insertions(+), 13 deletions(-)
  12. --- a/board/iomega/iconnect/kwbimage.cfg
  13. +++ b/board/iomega/iconnect/kwbimage.cfg
  14. @@ -20,7 +20,7 @@ NAND_PAGE_SIZE 0x0800
  15. # Configure RGMII-0 interface pad voltage to 1.8V
  16. DATA 0xffd100e0 0x1b1b1b9b
  17. -#Dram initalization for SINGLE x16 CL=5 @ 400MHz
  18. +# Dram initalization for SINGLE x16 CL=5 @ 400MHz
  19. DATA 0xffd01400 0x43000c30 # DDR Configuration register
  20. # bit13-0: 0xc30, (3120 DDR2 clks refresh rate)
  21. # bit23-14: 0x0,
  22. @@ -87,7 +87,7 @@ DATA 0xffd0141c 0x00000c52 # DDR Mode
  23. # bit6-4: 0x4, CL=5
  24. # bit7: 0x0, TestMode=0 normal
  25. # bit8: 0x0, DLL reset=0 normal
  26. -# bit11-9: 0x6, auto-precharge write recovery ????????????
  27. +# bit11-9: 0x6, auto-precharge write recovery
  28. # bit12: 0x0, PD must be zero
  29. # bit31-13: 0x0, required
  30. --- a/board/raidsonic/ib62x0/kwbimage.cfg
  31. +++ b/board/raidsonic/ib62x0/kwbimage.cfg
  32. @@ -11,7 +11,7 @@
  33. #
  34. # Boot Media configurations
  35. -BOOT_FROM nand # change from nand to uart if building UART image
  36. +BOOT_FROM nand
  37. NAND_ECC_MODE default
  38. NAND_PAGE_SIZE 0x0800
  39. @@ -21,12 +21,12 @@ NAND_PAGE_SIZE 0x0800
  40. # Configure RGMII-0 interface pad voltage to 1.8V
  41. DATA 0xffd100e0 0x1b1b1b9b
  42. -#Dram initalization for SINGLE x16 CL=5 @ 400MHz
  43. +# Dram initalization for SINGLE x16 CL=5 @ 400MHz
  44. DATA 0xffd01400 0x43000c30 # DDR Configuration register
  45. # bit13-0: 0xc30, (3120 DDR2 clks refresh rate)
  46. # bit23-14: 0x0,
  47. -# bit24: 0x1, enable exit self refresh mode on DDR access
  48. -# bit25: 0x1, required
  49. +# bit24: 0x1, enable exit self refresh mode on DDR access
  50. +# bit25: 0x1, required
  51. # bit29-26: 0x0,
  52. # bit31-30: 0x1,
  53. @@ -64,10 +64,10 @@ DATA 0xffd01410 0x0000000c # DDR Address
  54. # bit3-2: 11, Cs0size (1Gb)
  55. # bit5-4: 00, Cs1width (x8)
  56. # bit7-6: 11, Cs1size (1Gb)
  57. -# bit9-8: 00, Cs2width (nonexistent
  58. -# bit11-10: 00, Cs2size (nonexistent
  59. -# bit13-12: 00, Cs3width (nonexistent
  60. -# bit15-14: 00, Cs3size (nonexistent
  61. +# bit9-8: 00, Cs2width (nonexistent)
  62. +# bit11-10: 00, Cs2size (nonexistent)
  63. +# bit13-12: 00, Cs3width (nonexistent)
  64. +# bit15-14: 00, Cs3size (nonexistent)
  65. # bit16: 0, Cs0AddrSel
  66. # bit17: 0, Cs1AddrSel
  67. # bit18: 0, Cs2AddrSel
  68. @@ -88,7 +88,7 @@ DATA 0xffd0141c 0x00000c52 # DDR Mode
  69. # bit6-4: 0x4, CL=5
  70. # bit7: 0x0, TestMode=0 normal
  71. # bit8: 0x0, DLL reset=0 normal
  72. -# bit11-9: 0x6, auto-precharge write recovery ????????????
  73. +# bit11-9: 0x6, auto-precharge write recovery
  74. # bit12: 0x0, PD must be zero
  75. # bit31-13: 0x0, required
  76. @@ -148,8 +148,8 @@ DATA 0xffd0149c 0x0000e803 # CPU ODT Con
  77. DATA 0xffd01480 0x00000001 # DDR Initialization Control
  78. # bit0: 0x1, enable DDR init upon this register write
  79. -DATA 0xFFD20134 0x66666666 # L2 RAM Timing 0 Register
  80. -DATA 0xFFD20138 0x66666666 # L2 RAM Timing 1 Register
  81. +DATA 0xffd20134 0x66666666 # L2 RAM Timing 0 Register
  82. +DATA 0xffd20138 0x66666666 # L2 RAM Timing 1 Register
  83. # End of Header extension
  84. DATA 0x0 0x0