Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
078efa12
Commit
078efa12
authored
Nov 14, 2019
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uart-bootloader: disable eRTM14 flash, use native UART driver
parent
2fd8b9d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
boot.c
tools/uart-bootloader/boot.c
+5
-2
No files found.
tools/uart-bootloader/boot.c
View file @
078efa12
...
...
@@ -22,7 +22,7 @@
#include <stdint.h>
#include <stdio.h>
#
define
CONFIG_ERTM14_FLASH
#
undef
CONFIG_ERTM14_FLASH
#include "board.h"
...
...
@@ -66,12 +66,13 @@ static uint32_t orig_reset_vector = 0x4;
typedef
void
(
*
voidfunc_t
)();
struct
simple_uart_device
dev_uart
;
#ifdef CONFIG_ERTM14_FLASH
#define BASE_AUXWB 0x48000
struct
simple_uart_device
dev_uart
;
struct
gpio_device
gpio_aux
;
struct
spi_bus
spi_flash
;
struct
spi_flash_device
dev_flash
;
...
...
@@ -352,9 +353,11 @@ void boot_fsm()
on_cmd_go
(
rxbuf
+
5
,
len
);
break
;
#ifdef CONFIG_ERTM14_FLASH
case
CMD_GET_FLASH_ID
:
on_cmd_get_flash_id
(
rxbuf
+
5
,
len
);
break
;
#endif
default:
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment