Skip to content
Commit e9be1ee7 authored by Simon Glass's avatar Simon Glass
Browse files

dm: ide: Separate the non-command code into its own file



At present the IDE command code includes both the command-processing code
and the core IDE functions and data structures.

Separate the latter into its own file, adding functions as needed to avoid
the command code accessing data structures directly.

With this commit:
- Most CONFIG option are referenced from the non-command code
- The concept of a 'current IDE device' is confined to the command code

This will make it easier to convert this code to driver model.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 11f610ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment