oweals/u-boot_mod.git
7 years agoAdd support for Wallys DR531 (QCA9531 v2)
Piotr Dymacz [Tue, 14 Jun 2016 19:24:52 +0000 (21:24 +0200)]
Add support for Wallys DR531 (QCA9531 v2)

7 years agoIntroduce new, common PCIe setup code for QC/A WiSoCs
Piotr Dymacz [Tue, 14 Jun 2016 19:16:52 +0000 (21:16 +0200)]
Introduce new, common PCIe setup code for QC/A WiSoCs

New code setups PCIe PLL and resets PCIe controller.
For now, it was tested only on real hardware based
on QCA9531 and AR9344.

For information purposes, include also new line in
board info message, with vendor and device ID of
device/s connected on PCIe bus/es.

7 years agotrivial: drop executable file attribute on source files
Piotr Dymacz [Tue, 14 Jun 2016 19:12:34 +0000 (21:12 +0200)]
trivial: drop executable file attribute on source files

7 years agoDrop old PCI/E related code
Piotr Dymacz [Tue, 14 Jun 2016 18:53:58 +0000 (20:53 +0200)]
Drop old PCI/E related code

7 years agoAdd PCIe and reset related registers/bit fields for QCA, plus minor fixes
Piotr Dymacz [Tue, 14 Jun 2016 17:48:34 +0000 (19:48 +0200)]
Add PCIe and reset related registers/bit fields for QCA, plus minor fixes

7 years agoRework PLL/clock related registers/bit fields in common QCA header
Piotr Dymacz [Sun, 12 Jun 2016 14:17:12 +0000 (16:17 +0200)]
Rework PLL/clock related registers/bit fields in common QCA header

7 years agoSetup GPIO_OUT register before GPIO_OUT_FUNCx and GPIO_IN_ENx in low level GPIO init
Piotr Dymacz [Fri, 3 Jun 2016 10:30:41 +0000 (12:30 +0200)]
Setup GPIO_OUT register before GPIO_OUT_FUNCx and GPIO_IN_ENx in low level GPIO init

8 years agoIgnore null character when waiting for autoboot abort
Piotr Dymacz [Thu, 31 Mar 2016 09:30:35 +0000 (11:30 +0200)]
Ignore null character when waiting for autoboot abort

8 years agoCosmetic cleanups in QC/A LSUART driver
Piotr Dymacz [Thu, 31 Mar 2016 09:19:47 +0000 (11:19 +0200)]
Cosmetic cleanups in QC/A LSUART driver

8 years agoAdd missing timer_init function in init sequence for not compressed U-Boot version
Piotr Dymacz [Wed, 30 Mar 2016 18:24:43 +0000 (20:24 +0200)]
Add missing timer_init function in init sequence for not compressed U-Boot version

8 years agoFix new gcc compile errors (do not use extern inline functions)
Piotr Dymacz [Tue, 29 Mar 2016 22:28:28 +0000 (00:28 +0200)]
Fix new gcc compile errors (do not use extern inline functions)

8 years agoFix mess with inline QC/A related functions
Piotr Dymacz [Tue, 29 Mar 2016 22:09:08 +0000 (00:09 +0200)]
Fix mess with inline QC/A related functions

8 years agoMerge pull request #88 from bittorf/readme_fix_url_to_uIP0.9
Piotr Dymacz [Tue, 22 Mar 2016 01:31:16 +0000 (02:31 +0100)]
Merge pull request #88 from bittorf/readme_fix_url_to_uIP0.9

README: fix URL to IP-stack uIP 0.9

8 years agoUpdate READMEs
Piotr Dymacz [Tue, 22 Mar 2016 01:09:21 +0000 (02:09 +0100)]
Update READMEs

8 years agoSwitch to OpenWrt toolchain (musl based)
Piotr Dymacz [Tue, 22 Mar 2016 01:07:44 +0000 (02:07 +0100)]
Switch to OpenWrt toolchain (musl based)

8 years agoRemove old and not needed anymore code from old QC/A headers
Piotr Dymacz [Tue, 22 Mar 2016 00:22:41 +0000 (01:22 +0100)]
Remove old and not needed anymore code from old QC/A headers

8 years agoClean little bit mess in code included from Atheros (Q)SDK, remove all printf()
Piotr Dymacz [Tue, 22 Mar 2016 00:15:11 +0000 (01:15 +0100)]
Clean little bit mess in code included from Atheros (Q)SDK, remove all printf()

8 years agoRemove atheros.h include from ap143.h config file
Piotr Dymacz [Tue, 22 Mar 2016 00:12:56 +0000 (01:12 +0100)]
Remove atheros.h include from ap143.h config file

8 years agoAdd SWITCH_CLOCK_CONTROL register definition in common QC/A header
Piotr Dymacz [Mon, 21 Mar 2016 23:53:34 +0000 (00:53 +0100)]
Add SWITCH_CLOCK_CONTROL register definition in common QC/A header

8 years agoAdd support for TP-Link TL-WR802N (QCA9533)
Piotr Dymacz [Mon, 21 Mar 2016 23:17:34 +0000 (00:17 +0100)]
Add support for TP-Link TL-WR802N (QCA9533)

8 years agoMake use of new PLL/clock profiles, remove some not really useful, fix profiles for...
Piotr Dymacz [Mon, 21 Mar 2016 22:32:28 +0000 (23:32 +0100)]
Make use of new PLL/clock profiles, remove some not really useful, fix profiles for QCA95xx and mark tested

8 years agoAdd more PLL/clock profiles for AR933x, mark tested
Piotr Dymacz [Mon, 21 Mar 2016 22:30:10 +0000 (23:30 +0100)]
Add more PLL/clock profiles for AR933x, mark tested

8 years agoDon't use CPU/DDR sync mode with fractional multipliers in PLL/clocks config
Piotr Dymacz [Mon, 21 Mar 2016 20:43:08 +0000 (21:43 +0100)]
Don't use CPU/DDR sync mode with fractional multipliers in PLL/clocks config

8 years agocmd_qcaclk: show proper nfrac values plus cosmetic changes
Piotr Dymacz [Mon, 21 Mar 2016 19:00:44 +0000 (20:00 +0100)]
cmd_qcaclk: show proper nfrac values plus cosmetic changes

8 years agoDrop CFG_HZ_FALLBACK as we don't need it anymore, clean in time.c
Piotr Dymacz [Mon, 21 Mar 2016 01:19:03 +0000 (02:19 +0100)]
Drop CFG_HZ_FALLBACK as we don't need it anymore, clean in time.c

8 years agoFix AR933x PLL/clock profiles
Piotr Dymacz [Mon, 21 Mar 2016 01:11:43 +0000 (02:11 +0100)]
Fix AR933x PLL/clock profiles

8 years agoReset also DDR controller in AR9331 during first boot
Piotr Dymacz [Sun, 20 Mar 2016 21:22:45 +0000 (22:22 +0100)]
Reset also DDR controller in AR9331 during first boot

8 years agoRemove time/delay related functions from lib_bootstrap, we don't need them anymore
Piotr Dymacz [Sun, 20 Mar 2016 21:12:14 +0000 (22:12 +0100)]
Remove time/delay related functions from lib_bootstrap, we don't need them anymore

8 years agoClean config headers from old and not needed defines
Piotr Dymacz [Sun, 20 Mar 2016 17:31:28 +0000 (18:31 +0100)]
Clean config headers from old and not needed defines

8 years agoRemove old code for ap143
Piotr Dymacz [Sun, 20 Mar 2016 17:29:50 +0000 (18:29 +0100)]
Remove old code for ap143

8 years agoAdd more information about DDR timing values and print them in board info
Piotr Dymacz [Sun, 20 Mar 2016 16:30:51 +0000 (17:30 +0100)]
Add more information about DDR timing values and print them in board info

8 years agoBe consistent with register names in common QC/A header
Piotr Dymacz [Sun, 20 Mar 2016 16:12:32 +0000 (17:12 +0100)]
Be consistent with register names in common QC/A header

8 years agoUse BIT() macro in common QC/A header
Piotr Dymacz [Sun, 20 Mar 2016 16:05:51 +0000 (17:05 +0100)]
Use BIT() macro in common QC/A header

8 years agoRestore workaround for AR9331 hang at boot issue
Piotr Dymacz [Sun, 20 Mar 2016 16:00:21 +0000 (17:00 +0100)]
Restore workaround for AR9331 hang at boot issue

It looks that we really need it, so restore workaround
from original Atheros (Q)SDK. In future we should try
to find better way to deal with this problem.

8 years agoAdd new, common setup code for QC/A WiSoC DDR controllers
Piotr Dymacz [Sun, 20 Mar 2016 14:09:33 +0000 (15:09 +0100)]
Add new, common setup code for QC/A WiSoC DDR controllers

In old code, based on Qualcomm/Atheros (Q)SDK, most of the
DDR controller related registers where setup with static
values, based on selected PLL/clocks configuration or
chosen board type.

New setup code is universal and configures DDR controller
based on real hardware state (clocks, memory type).

For now, the code doesn't support SDRAM memory type,
as I don't have access to any QC/A based platform with
such type of memory chip. But it seems, that newer QC/A
WiSoCs don't support it (excluding QCA953x v1?) anyway.

New code contains also fixed DQS delay tap controller tune
for AR93xx WiSoCs, which for now is used only for AR933x,
as it turned out that DDR BITS is available also on AR934x.

In old code, tune routine starts with some hardcoded values,
which leads to an assumption that this starting value is
inside working tap range. As it turned out after some tests,
this assumption is wrong and on some real hardware platforms
gives wrong delay tap values, outside correct/working range.

New code was tested on many different QC/A platforms, but
will need changes and fixes in future, mostly because of
missing (at the moment) descriptions of DDR BIST registers.

8 years agoFor AR933x always return 16-bit DDR width
Piotr Dymacz [Thu, 17 Mar 2016 20:51:18 +0000 (21:51 +0100)]
For AR933x always return 16-bit DDR width

8 years agoAdd DDR_FSM_WAIT_CONTROL register address in common QC/A header
Piotr Dymacz [Mon, 14 Mar 2016 00:10:52 +0000 (01:10 +0100)]
Add DDR_FSM_WAIT_CONTROL register address in common QC/A header

8 years agoSetup AHB master tout in QCA95xx low level init, as it's done for AR933x
Piotr Dymacz [Mon, 14 Mar 2016 00:09:38 +0000 (01:09 +0100)]
Setup AHB master tout in QCA95xx low level init, as it's done for AR933x

8 years agoAdd DDR_BURST{,2} register defines in common QC/A header
Piotr Dymacz [Sun, 13 Mar 2016 23:18:46 +0000 (00:18 +0100)]
Add DDR_BURST{,2} register defines in common QC/A header

8 years agoAdd functions which return DDR width and CAS latency, use them in printing board...
Piotr Dymacz [Sun, 13 Mar 2016 21:57:04 +0000 (22:57 +0100)]
Add functions which return DDR width and CAS latency, use them in printing board info

8 years agoCalculate SPI clock only if needed in qca_clocks.c
Piotr Dymacz [Sun, 13 Mar 2016 21:43:07 +0000 (22:43 +0100)]
Calculate SPI clock only if needed in qca_clocks.c

8 years agoAdjust qca_dram.h after last changes in bit fields define names
Piotr Dymacz [Sun, 13 Mar 2016 21:41:46 +0000 (22:41 +0100)]
Adjust qca_dram.h after last changes in bit fields define names

8 years agoAdd and fix DRAM register defines and two func prototypes in common QC/A header
Piotr Dymacz [Sun, 13 Mar 2016 21:39:36 +0000 (22:39 +0100)]
Add and fix DRAM register defines and two func prototypes in common QC/A header

8 years agoCosmetic changes and fixes in qca_clocks.c
Piotr Dymacz [Sun, 13 Mar 2016 10:48:28 +0000 (11:48 +0100)]
Cosmetic changes and fixes in qca_clocks.c

8 years agoMove DDR_RD_DATA_THIS_CYCLE reg setup in new AR933x dram init code before timing...
Piotr Dymacz [Thu, 10 Mar 2016 22:25:01 +0000 (23:25 +0100)]
Move DDR_RD_DATA_THIS_CYCLE reg setup in new AR933x dram init code before timing setup

8 years agoAdd some bootstrap register related defines in common QC/A header
Piotr Dymacz [Thu, 10 Mar 2016 17:19:08 +0000 (18:19 +0100)]
Add some bootstrap register related defines in common QC/A header

8 years agoMove up DDR_RD_DATA_THIS_CYCLE register setup in new AR933x dram init code
Piotr Dymacz [Thu, 10 Mar 2016 17:15:07 +0000 (18:15 +0100)]
Move up DDR_RD_DATA_THIS_CYCLE register setup in new AR933x dram init code

8 years agoIntroduce new DRAM related init code for QC/A (for now AR933x)
Piotr Dymacz [Wed, 9 Mar 2016 01:25:42 +0000 (02:25 +0100)]
Introduce new DRAM related init code for QC/A (for now AR933x)

8 years agoInclude workaround for AR933x PLL init from old code, should fix problem with hang...
Piotr Dymacz [Sun, 6 Mar 2016 15:02:51 +0000 (16:02 +0100)]
Include workaround for AR933x PLL init from old code, should fix problem with hang on start/restart

8 years agoAdd QC/A DRAM related reg defines, function prototypes and use defines from soc_commo...
Piotr Dymacz [Fri, 4 Mar 2016 01:12:21 +0000 (02:12 +0100)]
Add QC/A DRAM related reg defines, function prototypes and use defines from soc_common.h for memory types

8 years agoChange GPIO_RST_BUTTON_* define names
Piotr Dymacz [Thu, 3 Mar 2016 14:30:51 +0000 (15:30 +0100)]
Change GPIO_RST_BUTTON_* define names

8 years agoChange DEFAULT_FLASH_SIZE_IN_MB define name, use 4 by default, throw error on not...
Piotr Dymacz [Thu, 3 Mar 2016 13:05:27 +0000 (14:05 +0100)]
Change DEFAULT_FLASH_SIZE_IN_MB define name, use 4 by default, throw error on not supported value

8 years agoChange BOARD_CUSTOM_STRING define name, add default value if not defined
Piotr Dymacz [Thu, 3 Mar 2016 12:57:16 +0000 (13:57 +0100)]
Change BOARD_CUSTOM_STRING define name, add default value if not defined

8 years agoMinor changes in common spi_flash.c
Piotr Dymacz [Thu, 3 Mar 2016 11:44:17 +0000 (12:44 +0100)]
Minor changes in common spi_flash.c

8 years agoAdd support for TP-Link TL-WR841N v9 (QCA953x based)
Piotr Dymacz [Wed, 2 Mar 2016 22:36:29 +0000 (23:36 +0100)]
Add support for TP-Link TL-WR841N v9 (QCA953x based)

8 years agoFix ap143 Makefile
Piotr Dymacz [Wed, 2 Mar 2016 22:33:50 +0000 (23:33 +0100)]
Fix ap143 Makefile

8 years agoFix logic mistake in QC/A low level GPIO init
Piotr Dymacz [Wed, 2 Mar 2016 17:19:37 +0000 (18:19 +0100)]
Fix logic mistake in QC/A low level GPIO init

8 years agoUse 'CN' instead of 'CH' for indicate that device is for China market, plus minor...
Piotr Dymacz [Wed, 2 Mar 2016 14:47:01 +0000 (15:47 +0100)]
Use 'CN' instead of 'CH' for indicate that device is for China market, plus minor fixes in Makefiles

8 years agoInclude repository status (-{clean,dirty}) in version string
Piotr Dymacz [Wed, 2 Mar 2016 14:24:03 +0000 (15:24 +0100)]
Include repository status (-{clean,dirty}) in version string

8 years agoUse CONFIG_TPLINK_IMAGE_HEADER define to select TP-Link img header, plus minor change...
Piotr Dymacz [Wed, 2 Mar 2016 01:32:28 +0000 (02:32 +0100)]
Use CONFIG_TPLINK_IMAGE_HEADER define to select TP-Link img header, plus minor changes in Makefile

8 years agoAdd original U-Boot image for TP-Link TL-WR841N v9
Piotr Dymacz [Tue, 1 Mar 2016 20:54:04 +0000 (21:54 +0100)]
Add original U-Boot image for TP-Link TL-WR841N v9

8 years agoMove reset_button_status function to common qca file
Piotr Dymacz [Tue, 1 Mar 2016 10:45:27 +0000 (11:45 +0100)]
Move reset_button_status function to common qca file

8 years agoRemove old and not used anymore code for QCA953x low level init
Piotr Dymacz [Mon, 29 Feb 2016 23:21:04 +0000 (00:21 +0100)]
Remove old and not used anymore code for QCA953x low level init

8 years agoConfigure LSUART TX pin in low level GPIO init even if input/output masks are not...
Piotr Dymacz [Sun, 28 Feb 2016 22:48:00 +0000 (23:48 +0100)]
Configure LSUART TX pin in low level GPIO init even if input/output masks are not defined

8 years agoAdjust apu143.h config file for new PLL/clock and GPIO configuration code, minor...
Piotr Dymacz [Tue, 23 Feb 2016 08:57:49 +0000 (09:57 +0100)]
Adjust apu143.h config file for new PLL/clock and GPIO configuration code, minor changes for WR820

8 years agoAdjust db12x.h config file for new PLL/clock configuration code
Piotr Dymacz [Sun, 21 Feb 2016 13:18:40 +0000 (14:18 +0100)]
Adjust db12x.h config file for new PLL/clock configuration code

8 years agoAdjust ap121.h config file for new PLL/clock configuration code
Piotr Dymacz [Sun, 21 Feb 2016 11:43:43 +0000 (12:43 +0100)]
Adjust ap121.h config file for new PLL/clock configuration code

8 years agoRemove old and unused ar933x header file
Piotr Dymacz [Sun, 21 Feb 2016 11:40:15 +0000 (12:40 +0100)]
Remove old and unused ar933x header file

8 years agoAdd cmd_qcaclk to Makefile
Piotr Dymacz [Sun, 21 Feb 2016 09:45:04 +0000 (10:45 +0100)]
Add cmd_qcaclk to Makefile

8 years agoAdd new setclk/clearclk custom commands for QC/A
Piotr Dymacz [Sun, 21 Feb 2016 09:40:44 +0000 (10:40 +0100)]
Add new setclk/clearclk custom commands for QC/A

New code is universal, supports not only AR933x, but also
new QCA95xx and AR934x WiSoCs.

8 years agoIntroduce new low level init code for AR934x/QCA95xx and AR933x
Piotr Dymacz [Sun, 21 Feb 2016 09:29:34 +0000 (10:29 +0100)]
Introduce new low level init code for AR934x/QCA95xx and AR933x

New code is simpler, more universal and supports:
- clock configuration stored in FLASH
- non-fractional PLL/clocks configuration
- recovery mode (sets safe clocks when recovery button is pressed)

This was tested on many different QC/A WiSoCs and platforms,
including new QCA95xx chips.

Code for AR933x still needs some additional work. The original code
from Atheros SDK is very buggy and includes lot of (still) unknown
parts, like "pmu setup", "meas", etc. It seems that most of that
is related with radio configuration.

8 years agoRemove platform related code from start{_bootstrap}.S code, we will have it new low...
Piotr Dymacz [Sun, 21 Feb 2016 09:22:41 +0000 (10:22 +0100)]
Remove platform related code from start{_bootstrap}.S code, we will have it new low level init code

8 years agoDon't use dash in defines
Piotr Dymacz [Sun, 21 Feb 2016 09:18:09 +0000 (10:18 +0100)]
Don't use dash in defines

8 years agoRemove old code of setclk and clearclk custom commands
Piotr Dymacz [Sun, 21 Feb 2016 09:13:36 +0000 (10:13 +0100)]
Remove old code of setclk and clearclk custom commands

8 years agoAdd GPIO_FUNCTION_2 register defines, setup GPIO11/12 if needed in low level init...
Piotr Dymacz [Sun, 21 Feb 2016 01:30:33 +0000 (02:30 +0100)]
Add GPIO_FUNCTION_2 register defines, setup GPIO11/12 if needed in low level init code for AR933x

8 years agoFix CPU PLL dither register definitions; add some other needed defines in common...
Piotr Dymacz [Sat, 20 Feb 2016 01:17:26 +0000 (02:17 +0100)]
Fix CPU PLL dither register definitions; add some other needed defines in common QCA header file

8 years agoIntroduce new, low level GPIO initialization code
Piotr Dymacz [Fri, 19 Feb 2016 12:54:18 +0000 (13:54 +0100)]
Introduce new, low level GPIO initialization code

New code is universal and allows to predefine several config options:
- JTAG enable
- bitmasks for GPIOs set as inputs and outputs
- bitmasks for GPIO driven LEDs (active in low and hi)
- bitmasks for initial values on configured GPIOs
- LSUART GPIO lines

Code was tested on all supported WiSoCs: AR933x, AR934x and QCA95xx.

This commit removes also old GPIO related code and adds needed
bitmasks definitions in ap121 and db12x configs.

8 years agoFix AR933x GPIO related register bit fields in QC/A SOC common header file, add magic...
Piotr Dymacz [Thu, 18 Feb 2016 10:48:49 +0000 (11:48 +0100)]
Fix AR933x GPIO related register bit fields in QC/A SOC common header file, add magic value for 'PLL configuration inside FLASH' flag

8 years agoAdd some information about the author and clean up code in u-boot/common/command.c
Piotr Dymacz [Mon, 15 Feb 2016 13:13:57 +0000 (14:13 +0100)]
Add some information about the author and clean up code in u-boot/common/command.c

8 years agoAdd RTC related registers in QC/A SOC common header file
Piotr Dymacz [Sat, 13 Feb 2016 19:41:27 +0000 (20:41 +0100)]
Add RTC related registers in QC/A SOC common header file

8 years agoAdd original U-Boot images for two more AR9331 based devices
Piotr Dymacz [Thu, 11 Feb 2016 17:54:59 +0000 (18:54 +0100)]
Add original U-Boot images for two more AR9331 based devices

8 years agoFix wrong U-Boot bin images file permissions
Piotr Dymacz [Thu, 11 Feb 2016 17:01:49 +0000 (18:01 +0100)]
Fix wrong U-Boot bin images file permissions

8 years agoAdd original U-Boot images for two new GL-iNet devices: GL-AR150 and GL-AR300
Piotr Dymacz [Thu, 11 Feb 2016 16:59:32 +0000 (17:59 +0100)]
Add original U-Boot images for two new GL-iNet devices: GL-AR150 and GL-AR300

8 years agoAdd original U-Boot image for Wallys DR531
Piotr Dymacz [Thu, 11 Feb 2016 14:45:35 +0000 (15:45 +0100)]
Add original U-Boot image for Wallys DR531

8 years agoREADME: fix URL to IP-stack uIP 0.9 88/head
Bastian Bittorf [Fri, 8 Jan 2016 08:11:25 +0000 (09:11 +0100)]
README: fix URL to IP-stack uIP 0.9

The old link does not work anymore, so use the official source.

8 years agoFix printing clock values lower than 100 MHz
Piotr Dymacz [Tue, 15 Dec 2015 13:17:34 +0000 (14:17 +0100)]
Fix printing clock values lower than 100 MHz

8 years agoAllow to define particular stop character for autoboot
Piotr Dymacz [Tue, 15 Dec 2015 11:45:53 +0000 (12:45 +0100)]
Allow to define particular stop character for autoboot

This would be useful for boards which share serial console with some
other device, like MCU, which may unintentionally interrupt boot process.

It is fast and simple solution, for future we should restore functionality
from original U-Boot code, with string stop sequences.

8 years agoAdd some missing field defines in SPI FLASH related register
Piotr Dymacz [Mon, 14 Dec 2015 12:07:50 +0000 (13:07 +0100)]
Add some missing field defines in SPI FLASH related register

8 years agoUse macros for bit fiels definition in QC/A common header file
Piotr Dymacz [Thu, 10 Dec 2015 14:48:12 +0000 (15:48 +0100)]
Use macros for bit fiels definition in QC/A common header file

8 years agoAllow to use bit mask in asm code
Piotr Dymacz [Thu, 10 Dec 2015 14:33:14 +0000 (15:33 +0100)]
Allow to use bit mask in asm code

8 years agoFix wrong DPLL2 in SRIF area register definitions for QCA953x
Piotr Dymacz [Thu, 10 Dec 2015 13:54:52 +0000 (14:54 +0100)]
Fix wrong DPLL2 in SRIF area register definitions for QCA953x

As usual... you should not trust QC/A datasheets!
They are so buggy and contain lot of copy&paste mistakes.

DPLL2 register in SRIF for QCA953x seems to be totally different
than in other QCA95xx WiSOCs. Happily, definitions in original code
from SDK seem to be correct, so we will use it instead.

Clock settings based on setting default and SRIF PLL was confirmed on scope.

8 years agoUpdate default SPI divider value for QCA953x
Piotr Dymacz [Thu, 3 Dec 2015 08:05:44 +0000 (09:05 +0100)]
Update default SPI divider value for QCA953x

8 years agoInclude new FLASH common code file also in ap143 Makefile
Piotr Dymacz [Wed, 2 Dec 2015 23:56:53 +0000 (00:56 +0100)]
Include new FLASH common code file also in ap143 Makefile

8 years agoFix SPI clock calculation in setclk command, use new QC/A clocks calculation function
Piotr Dymacz [Wed, 2 Dec 2015 18:30:07 +0000 (19:30 +0100)]
Fix SPI clock calculation in setclk command, use new QC/A clocks calculation function

8 years agoInclude new FLASH common code file in Makefiles
Piotr Dymacz [Wed, 2 Dec 2015 18:24:56 +0000 (19:24 +0100)]
Include new FLASH common code file in Makefiles

8 years agoUpdate printing FLASH info in common code, allow to print info about more FLASH banks
Piotr Dymacz [Wed, 2 Dec 2015 18:14:58 +0000 (19:14 +0100)]
Update printing FLASH info in common code, allow to print info about more FLASH banks

8 years agoAdd new file with FLASH related common code for all QCA boards
Piotr Dymacz [Wed, 2 Dec 2015 18:08:27 +0000 (19:08 +0100)]
Add new file with FLASH related common code for all QCA boards

8 years agoInclude new QC/A SPI FLASH driver in Makefile
Piotr Dymacz [Wed, 2 Dec 2015 17:57:42 +0000 (18:57 +0100)]
Include new QC/A SPI FLASH driver in Makefile

8 years agoRemove from cmd_custom.c include of already removed header file
Piotr Dymacz [Wed, 2 Dec 2015 16:27:17 +0000 (17:27 +0100)]
Remove from cmd_custom.c include of already removed header file

8 years agoRefactor FLASH related code
Piotr Dymacz [Wed, 2 Dec 2015 16:23:15 +0000 (17:23 +0100)]
Refactor FLASH related code

Add more information fields in FLASH description structure, add list of supported chips,
move some defines related with SPI NOR FLASH to flash.h, clean and reformat code.