| 97a63144 | 26-Jun-2017 |
Alexey Brodkin <abrodkin@synopsys.com> |
arcv2: Set IOC aperture so it covers available DDR
We used to use the same memory layout and size for a couple of boards and thus we just hardcoding IOC aperture start and size.
Now when we're gett
arcv2: Set IOC aperture so it covers available DDR
We used to use the same memory layout and size for a couple of boards and thus we just hardcoding IOC aperture start and size.
Now when we're getting more boards with more memory on board we need to have an ability to set IOC so it matches real DDR layout and size.
Even though it is not really a must but for simplicity we assume IOC covers all the DDR we have, that gives us a chance to not bother where DMA buffers are allocated - any part of DDR is OK.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
| 3daa7c7b | 21-Mar-2017 |
Vlad Zakharov <vzakhar@synopsys.com> |
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_T
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default. Therefore we remove CONFIG_CLK option from less common axs101 and axs103 defconfigs.
Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from axs10x.h, tb100.h and nsim.h configs files as it is no longer required.
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 0c77092e | 21-Mar-2017 |
Vlad Zakharov <vzakhar@synopsys.com> |
arc: dts: separate single axs10x.dts file
We want to use the same device tree blobs in both Linux and U-Boot for ARC boards.
Earlier device tree sources in U-Boot were very simplified and hadn't be
arc: dts: separate single axs10x.dts file
We want to use the same device tree blobs in both Linux and U-Boot for ARC boards.
Earlier device tree sources in U-Boot were very simplified and hadn't been updated for quite a long period of time.
So this commit is the first step on the road to unified device tree blobs.
First of all we re-organize device tree sources for AXS10X boards. As AXS101 and AXS103 boards consist of AXS10X motherboard and AXC001 and AXC003 cpu tiles respectively we add corresponding device tree source files: axs10x_mb.dtsi for motherboard, axc001.dtsi and axc003.dtsi for cpu tiles and axs101.dts and axs103.dts to represent actual boards.
Also we delete axs10x.dts as it is no longer used.
One more important change - we add timer device to ARC skeleton device tree sources as both ARC700 and ARCHS cores contain such timer. We add core_clk nodes to abilis_tb100, nsim, axc001 and axc003 device tree sources as it is referenced via phandle from timer node in common skeleton.dtsi file.
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9bef24d0 | 03-Aug-2016 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: No need in sections defined in sources with newer tools
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longe
arc: No need in sections defined in sources with newer tools
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
| 699c4e59 | 04-Aug-2016 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: Update exception & interrupt handling for ARCv2
Initially IVT for ARCv2 was simply copypasted from ARCompact with some selected fixes so basic stuff works.
Now we update it with more ARCv2 spe
arc: Update exception & interrupt handling for ARCv2
Initially IVT for ARCv2 was simply copypasted from ARCompact with some selected fixes so basic stuff works.
Now we update it with more ARCv2 specific vectors like * Software Interrupt * Division by zero * Data cache consistency error * Misaligned access
Also normal interrupts are now implemented properly and extened to all possible 240 items.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
| c7dea6e2 | 04-Jul-2016 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: make global_data.h usable in assembly files
Currently on attempt to use global_data.h in an assembly file following will happen: -------------------->8----------------- ./arch/arc/include/asm/g
arc: make global_data.h usable in assembly files
Currently on attempt to use global_data.h in an assembly file following will happen: -------------------->8----------------- ./arch/arc/include/asm/global_data.h: Assembler messages: ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_data{' ./arch/arc/include/asm/global_data.h:12: Error: junk at end of line, first unrecognized character is `}' scripts/Makefile.build:316: recipe for target 'arch/arc/lib/start.o' failed -------------------->8-----------------
In this change we disable struct arch_global_data in ASM which fixes the issue above.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|