Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
c04a76e6
Commit
c04a76e6
authored
19 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Fix compiler warnings in cpu/ppc4xx/usbdev.c
Patch by Steven Blakeslee, 04 Aug 2005
parent
d56019c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
cpu/ppc4xx/usbdev.c
+3
-3
3 additions, 3 deletions
cpu/ppc4xx/usbdev.c
with
6 additions
and
3 deletions
CHANGELOG
+
3
−
0
View file @
c04a76e6
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.3:
Changes for U-Boot 1.1.3:
======================================================================
======================================================================
* Fix compiler warnings in cpu/ppc4xx/usbdev.c
Patch by Steven Blakeslee, 04 Aug 2005
* Add support for AMCC Bamboo PPC440EP eval board
* Add support for AMCC Bamboo PPC440EP eval board
Patch by Stefan Roese, 04 Aug 2005
Patch by Stefan Roese, 04 Aug 2005
...
...
This diff is collapsed.
Click to expand it.
cpu/ppc4xx/usbdev.c
+
3
−
3
View file @
c04a76e6
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
#define USB_DT_INTERFACE 0x04
#define USB_DT_INTERFACE 0x04
#define USB_DT_ENDPOINT 0x05
#define USB_DT_ENDPOINT 0x05
unsigned
char
set_value
=
-
1
;
int
set_value
=
-
1
;
void
process_endpoints
(
unsigned
short
usb2d0_intrin
)
void
process_endpoints
(
unsigned
short
usb2d0_intrin
)
{
{
...
@@ -25,7 +25,7 @@ void process_endpoints(unsigned short usb2d0_intrin)
...
@@ -25,7 +25,7 @@ void process_endpoints(unsigned short usb2d0_intrin)
struct
usb_string_descriptor
usb_string_packet
;
struct
usb_string_descriptor
usb_string_packet
;
struct
devrequest
setup_packet
;
struct
devrequest
setup_packet
;
unsigned
int
*
setup_packet_pt
;
unsigned
int
*
setup_packet_pt
;
unsigned
char
*
packet_pt
;
unsigned
char
*
packet_pt
=
NULL
;
int
temp
,
temp1
;
int
temp
,
temp1
;
int
i
;
int
i
;
...
@@ -35,7 +35,7 @@ void process_endpoints(unsigned short usb2d0_intrin)
...
@@ -35,7 +35,7 @@ void process_endpoints(unsigned short usb2d0_intrin)
/*set usb address, seems to not work unless it is done in the next
/*set usb address, seems to not work unless it is done in the next
interrupt, so that is why it is done this way */
interrupt, so that is why it is done this way */
if
(
set_value
!=
-
1
)
if
(
set_value
!=
-
1
)
*
(
unsigned
char
*
)
USB2D0_FADDR_8
=
set_value
;
*
(
unsigned
char
*
)
USB2D0_FADDR_8
=
(
unsigned
char
)
set_value
;
/*endpoint 1 */
/*endpoint 1 */
if
(
usb2d0_intrin
&
0x01
)
{
if
(
usb2d0_intrin
&
0x01
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment