2018-06-04 11:52:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Copyright (C) 2018 Synopsys, Inc. All rights reserved.
|
|
|
|
|
ARC: HSDK-4xD: add initial board support
Add initial HSDK-4xD board support.
The ARC HS4x/HS4xD Development Kit includes a multicore ARC HS4xD-based
chip that integrates a wide range of interfaces including Ethernet,
HDMI, WiFi, Bluetooth, USB, SDIO, I2C, SPI, UART, I2S, ADC, PWM and
GPIO, as well as a Think Silicon GPU.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-04-21 21:33:40 +00:00
|
|
|
ifdef CONFIG_BOARD_HSDK
|
2020-02-12 11:23:54 +00:00
|
|
|
PLATFORM_CPPFLAGS += -mcpu=hs38_linux -mlittle-endian -matomic -mll64 \
|
|
|
|
-mdiv-rem -mswap -mnorm -mmpy-option=9 -mbarrel-shifter \
|
|
|
|
-mfpu=fpud_all
|
ARC: HSDK-4xD: add initial board support
Add initial HSDK-4xD board support.
The ARC HS4x/HS4xD Development Kit includes a multicore ARC HS4xD-based
chip that integrates a wide range of interfaces including Ethernet,
HDMI, WiFi, Bluetooth, USB, SDIO, I2C, SPI, UART, I2S, ADC, PWM and
GPIO, as well as a Think Silicon GPU.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-04-21 21:33:40 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_BOARD_HSDK_4XD
|
|
|
|
PLATFORM_CPPFLAGS += -mcpu=hs4x_rel31 -mlittle-endian -matomic -mll64 \
|
|
|
|
-mdiv-rem -mswap -mnorm -mmpy-option=9 -mbarrel-shifter \
|
|
|
|
-mfpu=fpud_all
|
|
|
|
endif
|
2020-02-12 11:23:54 +00:00
|
|
|
|
2018-06-04 11:52:32 +00:00
|
|
|
bsp-generate: u-boot u-boot.bin
|
|
|
|
$(Q)python3 $(srctree)/board/$(BOARDDIR)/headerize-hsdk.py \
|
|
|
|
--arc-id 0x52 --image $(srctree)/u-boot.bin \
|
|
|
|
--elf $(srctree)/u-boot
|
2018-07-11 15:24:44 +00:00
|
|
|
$(Q)tools/mkimage -T script -C none -n 'uboot update script' \
|
2018-06-04 11:52:32 +00:00
|
|
|
-d $(srctree)/u-boot-update.txt \
|
|
|
|
$(srctree)/u-boot-update.scr &> /dev/null
|